/* =========================
   GLOBAL SECTION SPACING
   ========================= */
section {
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

/* =========================
   HOME SECTION (COVERFLOW)
   ========================= */
.section {
    min-height: auto;
    /* allow natural height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#home {
    background: radial-gradient(circle at center, #f0f4f8 0%, #d9e2ec 100%);
    overflow: hidden;
}

/* Wrapper */
.coverflow-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ================== HERO SECTION ================== */
.products-hero {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #f5fcf5, #e8f8ed);
    /* Soft organic vibe */
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* Floating Organic Blobs */
.hero-blobs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    background: rgba(22, 163, 74, 0.18);
    animation: floatBlob 12s ease-in-out infinite;
}

.hero-blobs span:nth-child(1) {
    width: 160px;
    height: 160px;
    top: 5%;
    left: 12%;
}

.hero-blobs span:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 18%;
    right: 8%;
}

.hero-blobs span:nth-child(3) {
    width: 140px;
    height: 140px;
    bottom: 12%;
    left: 35%;
}

.hero-blobs span:nth-child(4) {
    width: 180px;
    height: 180px;
    bottom: 8%;
    right: 18%;
}

@keyframes floatBlob {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-25px) translateX(15px);
    }
}

/* Glass Hero Card */
.hero-card {
    display: inline-block;
    max-width: 950px;
    width: 90%;
    padding: 60px 50px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(20px);
    box-shadow: 0 35px 85px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: fadeUp 1s ease forwards;
}

.hero-card:hover {
    transform: translateY(-7px) scale(1.03);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.18);
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
    border-radius: 999px;
    background: rgba(34, 97, 40, 0.25);
    color: #064e3b;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-badge i {
    font-size: 18px;
    color: #16a34a;
}

.hero-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.25);
}

/* Hero Heading */
.hero-card h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 22px 0 18px;
    line-height: 1.2;
    color: #064e3b;
    letter-spacing: -0.5px;
}

/* Accent Line */
.hero-accent {
    width: 150px;
    height: 5px;
    margin: 18px auto 24px;
    border-radius: 999px;
    background: linear-gradient(90deg, #16a34a, #22c55e, #4ade80);
    animation: growLine 0.9s ease forwards;
}

/* Hero Description */
.hero-card p {
    font-size: 17px;
    line-height: 1.7;
    color: #064e3b;
    max-width: 720px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growLine {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 150px;
        opacity: 1;
    }
}

/* Reveal Scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* Responsive */







/* Coverflow container */
.coverflow-container {
    width: 100%;
    height: 420px;
    /* fixed height for carousel */
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 60px;
    /* space after coverflow */
}

/* Coverflow */
.coverflow {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

/* Individual item */
.coverflow-item {
    position: absolute;
    width: 300px;
    height: 300px;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s ease;
}

/* Card */
.coverflow-item .cover {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #222;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85);
}

.coverflow-item .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reflection */
.coverflow-item .reflection {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(-1);
    opacity: 0.2;
    filter: blur(2px);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 1) 100%);
}

/* Navigation buttons */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    z-index: 30;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.nav-button.prev {
    left: 40px;
}

.nav-button.next {
    right: 40px;
}

/* Dots */
.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 30;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.4);
}

/* Play / Pause */
.play-pause-button {
    position: absolute;
    bottom: -70px;
    /* moved below coverflow */
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 20px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    z-index: 30;
    transition: all 0.3s ease;
}

.play-pause-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) scale(1.1);
}

/* Fade animation */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.organic-export {
    padding: 100px 24px;
    background: linear-gradient(180deg, #f3faf4, #e8f7ea);
    font-family: 'Inter', sans-serif;
}

/* HEADER */
.organic-head {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
    position: relative;
}

.organic-head .badge {
    display: inline-block;
    background: #34d399;
    color: white;
    font-weight: 600;
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.organic-head .badge:hover {
    transform: translateY(-2px) scale(1.05);
}

.organic-head h2 {
    font-size: 32px;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.organic-head p {
    font-size: 15px;
    line-height: 1.6;
    color: #047857;
}

/* GRID */
.organic-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

/* CARD */
.organic-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
    cursor: pointer;
    transition: transform .45s ease, box-shadow .45s ease;
}

.organic-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .6s ease;
}

.organic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, .15);
}

.organic-card:hover img {
    transform: scale(1.08);
}

/* OVERLAY */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.85), rgba(6, 78, 59, 0.2) 60%, transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.organic-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay span {
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 600;
    color: #065f46;
    font-size: 13px;
    letter-spacing: 0.05em;
}

/* POPUP */
.grade-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 999;
}

.grade-popup.active {
    opacity: 1;
    pointer-events: auto;
}

.popup-box {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px);
    border-radius: 28px;
    padding: 36px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.popup-box h4 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #065f46;
}

.popup-box p {
    font-size: 15px;
    color: #047857;
    line-height: 1.6;
}

.popup-box button {
    margin-top: 24px;
    padding: 10px 28px;
    border-radius: 999px;
    border: none;
    background: #34d399;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.popup-box button:hover {
    background: #059669;
    transform: translateY(-2px);
}


/* ================== FARM STORY ================== */
.farm-story {
    position: relative;
    max-width: 1000px;
    margin: 120px auto;
    padding: 0 20px;
}

/* ================== Background Animated Blobs ================== */
.farm-bg-blobs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: floatBg 15s ease-in-out infinite;
    z-index: 0;
}

.farm-bg-blobs span:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 0;
    left: 10%;
    background: #a7f3d0;
    animation-delay: 0s;
}

.farm-bg-blobs span:nth-child(2) {
    width: 250px;
    height: 250px;
    top: 15%;
    right: 10%;
    background: #6ee7b7;
    animation-delay: 3s;
}

.farm-bg-blobs span:nth-child(3) {
    width: 180px;
    height: 180px;
    bottom: 10%;
    left: 25%;
    background: #bbf7d0;
    animation-delay: 5s;
}

.farm-bg-blobs span:nth-child(4) {
    width: 220px;
    height: 220px;
    bottom: 5%;
    right: 20%;
    background: #4ade80;
    animation-delay: 7s;
}

.farm-bg-blobs span:nth-child(5) {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 50%;
    background: #22c55e;
    animation-delay: 2s;
}

@keyframes floatBg {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    50% {
        transform: translate(20px, -20px);
        opacity: 0.25;
    }
}

/* ================== Glass Card ================== */
.farm-glass {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(245, 255, 245, 0.15));
    backdrop-filter: blur(25px);
    border-radius: 32px;
    padding: 55px 45px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(34, 197, 74, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.farm-glass:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 55px 130px rgba(0, 0, 0, 0.18);
}

/* Heading */
.farm-glass h3 {
    font-size: 32px;
    font-weight: 700;
    color: #065f46;
    /* dark green */
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* Paragraph */
.farm-glass p {
    font-size: 17px;
    line-height: 1.8;
    color: #047857;
    /* medium green */
    max-width: 750px;
    margin: 0 auto 30px;
}

/* Tags */
.farm-tags {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.farm-tags span {
    padding: 10px 24px;
    border-radius: 999px;
    background: rgba(34, 197, 74, 0.25);
    color: #065f46;
    font-size: 15px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.farm-tags span:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    background: rgba(34, 197, 74, 0.35);
}

/* Responsive */




/* ================= MOVED FROM Products.cshtml ================= */
:root {
    --pr-gold: #ca8a04;
    /* Darker, richer gold */
    --pr-dark: #022c22;
    /* Deep Jungle Green */
    --pr-bg: #ffffff;
    --pr-bg-alt: #f1f5f9;
    --pr-text: #1e293b;
    --pr-text-muted: #64748b;
    --pr-font-serif: 'Playfair Display', serif;
    --pr-font-sans: 'Outfit', sans-serif;
}

body {
    background-color: var(--pr-bg);
    font-family: var(--pr-font-sans);
    color: var(--pr-text);
    overflow-x: hidden;
}

/* HERO */
.pr-hero {
    height: 70vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: #000;
    overflow: hidden;
}

.pr-hero-bg {
    position: absolute;
    inset: 0;
    background: url('/Images/Home/hero_products_v2.webp') center/cover no-repeat fixed;
    opacity: 0.95;
    transform: scale(1.05);
}

.pr-hero-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(6, 78, 59, 0.4), rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(2px);
}

.pr-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.pr-hero-tag {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: #fff;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.pr-hero-title {
    font-family: var(--pr-font-serif);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.pr-hero-title span {
    font-style: italic;
    color: var(--pr-gold);
}

/* 3D GALLERY (MATCHING LOOKBOOK) */

/* 3D GALLERY (MATCHING LOOKBOOK) */
.pr-3d-wrapper {
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at center, #ffffff 0%, #f8fafc 100%);
}

.pr-3d-container {
    width: 100%;
    height: 500px;
    perspective: 1500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    margin-top: 30px;
}

.pr-3d-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pr-3d-item {
    position: absolute;
    width: 340px;
    height: 340px;
    cursor: pointer;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease;
}

.pr-3d-card {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pr-3d-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pr-3d-reflection {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(-1);
    opacity: 0.12;
    filter: blur(4px);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}

/* CONTROLS (MATCHING LOOKBOOK) */
.pr-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    color: var(--pr-dark);
    font-size: 28px;
    cursor: pointer;
    z-index: 100;
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.pr-nav-btn:hover {
    background: var(--pr-gold);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.pr-prev {
    left: 40px;
}

.pr-next {
    right: 40px;
}

.pr-dots {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.pr-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.3s;
}

.pr-dot.active {
    background: var(--pr-gold);
    transform: scale(1.3);
}

.pr-autoplay-btn {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    color: var(--pr-dark);
    cursor: pointer;
    z-index: 100;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

/* GRADES GRID (MATCHING LOOKBOOK STYLE) */
.pr-grade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.pr-grade-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.pr-grade-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.pr-grade-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.pr-grade-item:hover img {
    transform: scale(1.1);
}

.pr-grade-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 25px;
    opacity: 0;
    transition: 0.3s;
}

.pr-grade-item:hover .pr-grade-overlay {
    opacity: 1;
}

.pr-grade-tag {
    background: #fff;
    color: var(--pr-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
}

/* POPUP */
.pr-popup {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.pr-popup.active {
    opacity: 1;
    pointer-events: auto;
}

.pr-popup-box {
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    max-width: 450px;
    text-align: center;
    border: 2px solid var(--pr-gold);
}

.pr-popup-box h4 {
    font-family: var(--pr-font-serif);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= REPLACED INLINE STYLES ================= */
.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

.chap-subtitle {
    font-family: var(--pr-font-serif);
    font-size: 3rem;
    color: var(--pr-dark);
}

.chap-subdesc {
    color: var(--pr-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.bg-white {
    background: #fff;
}

.popup-close-btn {
    margin-top: 25px;
    padding: 10px 30px;
    background: var(--pr-dark);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

/* MODERN HERO (Adapted from Capabilities) */
.pr-modern-hero {
    position: relative;
    height: 60vh;
    /* Reduced from 85vh for compactness */
    min-height: 450px;
    background: url('/images/Home/hero_products_v2.webp') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.pr-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(6, 78, 59, 0.8) 100%);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.pr-hero-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.75rem;
    margin-bottom: 30px;
    display: inline-block;
    color: #fff;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pr-hero-modern-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    color: white;
    letter-spacing: -3px;
    /* Tighter tracking for more impact */
    line-height: 0.95;
    font-family: var(--pr-font-sans);
    text-transform: uppercase;
}

.pr-hero-modern-title span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    background: linear-gradient(135deg, #fde047, #facc15, #eab308);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pr-hero-lead {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* MODERN GRADES GRID */
.pr-modern-section {
    padding: 120px 0;
    background: #f8fafc;
    position: relative;
}

.pr-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.pr-modern-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
}

.pr-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.pr-card-img {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.pr-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.pr-modern-card:hover .pr-card-img img {
    transform: scale(1.1);
}

.pr-card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pr-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    font-family: var(--pr-font-sans);
}

.pr-card-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pr-card-btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 8px 20px;
    border-radius: 50px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 700;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.pr-modern-card:hover .pr-card-btn {
    background: #0f172a;
    color: #fff;
}

/* POPUP IMPROVEMENTS */
.pr-popup-box {
    background: #fff;
    border: none;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.25);
    padding: 40px;
}

.popup-close-btn {
    background: #0f172a;
    margin-top: 30px;
    padding: 12px 35px;
    font-weight: 700;
}

.popup-close-btn:hover {
    background: #334155;
    transform: translateY(-2px);
}


/* Fix Popup Close Button Visibility */
.popup-close-btn {
    background: #dc2626 !important;
    /* vivid red for visibility */
    color: #ffffff !important;
    border: 2px solid #b91c1c !important;
    padding: 12px 30px !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.popup-close-btn:hover {
    background: #b91c1c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(185, 28, 28, 0.5);
}


/* MODERN 3D CAROUSEL ENHANCEMENTS */
.pr-3d-card {
    border-radius: 20px !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15) !important;
    border: 4px solid #fff !important;
    transition: all 0.5s ease-out;
}

.pr-3d-item[style*='translateZ(0px)'] .pr-3d-card {
    /* Active Center Item Glow */
    box-shadow: 0 25px 60px rgba(34, 197, 94, 0.25) !important;
    border-color: #f8fafc !important;
    transform: scale(1.02);
}

.pr-3d-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.5));
    opacity: 0.6;
}

/* Modern Navigation Buttons */
.pr-nav-btn {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(8px);
    border: none !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    font-size: 1.2rem !important;
    color: #0f172a !important;
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.pr-nav-btn:hover {
    background: #0f172a !important;
    color: #fff !important;
    transform: translateY(-50%) scale(1.15) !important;
}

.pr-autoplay-btn {
    background: #0f172a !important;
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3) !important;
}

/* Modern Chapter Header */
.chap-label {
    color: #059669 !important;
    /* Emerald 600 */
    background: rgba(5, 150, 105, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem !important;
    letter-spacing: 3px !important;
}

/* Refined 3D Track Spacing */
.pr-3d-container {
    perspective: 2000px !important;
    height: 550px !important;
}


/* PREMIUM SPEC GRID DESIGN (CHAPTER 02 REVAMP) */
.pr-spec-bg {
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
}

.pr-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    column-gap: 30px;
    row-gap: 50px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
}

.pr-spec-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pr-spec-card:hover {
    box-shadow: 0 30px 80px rgba(6, 78, 59, 0.1);
    transform: translateY(-10px);
    border-color: rgba(34, 197, 94, 0.3);
}

.spec-img-box {
    width: 100%;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
    background: #f1f5f9;
}

.spec-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.pr-spec-card:hover .spec-img-box img {
    transform: scale(1.15);
}

.spec-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 78, 59, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
}

.pr-spec-card:hover .spec-overlay {
    opacity: 1;
}

.view-btn {
    background: #fff;
    color: #064e3b;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transform: translateY(20px);
    transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pr-spec-card:hover .view-btn {
    transform: translateY(0);
}

.spec-info {
    width: 100%;
}

.spec-code {
    font-size: 0.75rem;
    font-weight: 800;
    color: #22c55e;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.spec-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    font-family: var(--pr-font-sans);
}

.spec-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Stagger Animation Trigger */
.shift-down {
    margin-top: 40px;
}

.shift-up {
    margin-top: 0;
}



/* Modern Controls for 3D Slider */
.pr-controls-modern {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}


/* ULTRA MODERN LIGHT GREEN SECTION 2 */
.pr-spec-bg {
    background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%) !important;
    /* Mint Green */
    padding: 120px 0;
}

/* Clean White Modern Cards */
.pr-spec-card {
    background: #ffffff !important;
    border-radius: 28px !important;
    border: none !important;
    box-shadow: 0 20px 50px rgba(6, 78, 59, 0.06) !important;
    padding: 15px !important;
    overflow: visible !important;
    transform-style: preserve-3d;
}

.pr-spec-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 30px 60px rgba(6, 78, 59, 0.15) !important;
}

.spec-img-box {
    height: 260px !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.spec-overlay {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(2px);
}

.spec-overlay i {
    color: #fff;
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0.5);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pr-spec-card:hover .spec-overlay i {
    opacity: 1;
    transform: scale(1);
}

.spec-info {
    padding: 20px 10px 10px;
    text-align: center;
}

.spec-title {
    font-size: 1.35rem !important;
    letter-spacing: -0.5px;
    color: #064e3b !important;
    margin-bottom: 8px !important;
}

.spec-desc {
    font-size: 0.95rem !important;
    color: #059669 !important;
    /* Lighter emerald/teal text */
    font-weight: 500;
}

/* REDESIGNED POPUP (CLEAN) */
.pr-popup-box {
    background: #fff !important;
    padding: 50px 40px !important;
    border-radius: 30px !important;
    width: 100%;
    max-width: 500px !important;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 60, 40, 0.3) !important;
}

.popup-close-x {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    color: #64748b;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.popup-close-x:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

.pop-brand {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #10b981;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#popTitle {
    font-size: 2.2rem !important;
    color: #064e3b !important;
    margin-bottom: 15px !important;
}

.pop-divider {
    width: 50px;
    height: 4px;
    background: #facc15;
    margin: 0 auto 25px;
    border-radius: 10px;
}


/* =========================================
   ULTRA-PREMIUM VISUAL OVERHAUL 
   ========================================= */

/* 1. ANIMATED HERO BACKGROUND */
.pr-modern-hero {
    background-attachment: fixed !important;
    background-position: center center !important;
    overflow: hidden !important;
}

.pr-modern-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(22, 163, 74, 0.2), transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

/* 2. CINEMATIC TEXT REVEAL */
.pr-hero-modern-title {
    background: linear-gradient(to right, #ffffff, #dcfce7, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shineText 5s linear infinite;
}

@keyframes shineText {
    to {
        background-position: 200% center;
    }
}

/* 3. SECTION 2: 3D TILT CARDS & GLASS EFFECT */
.pr-spec-grid {
    perspective: 1000px;
}

.pr-spec-card {
    transition: transform 0.1s ease, box-shadow 0.3s ease !important;
    /* Fast transform for tilt */
    transform-style: preserve-3d;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
}

/* Inner 3D Lift */
.spec-img-box,
.spec-info {
    transform: translateZ(20px);
    transition: transform 0.3s ease;
}

.pr-spec-card:hover .spec-img-box {
    transform: translateZ(40px);
}

.pr-spec-card:hover {
    box-shadow:
        0 20px 50px rgba(6, 78, 59, 0.1),
        0 0 0 1px rgba(6, 78, 59, 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.5) !important;
}

/* 4. FLOATING PARTICLES (New Element via CSS) */
.pr-spec-bg {
    background:
        radial-gradient(circle at 10% 20%, rgba(167, 243, 208, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(167, 243, 208, 0.4) 0%, transparent 20%),
        linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%) !important;
}

/* 5. POPUP ENHANCEMENTS */
.pr-popup {
    backdrop-filter: blur(15px) !important;
    background: rgba(6, 78, 59, 0.4) !important;
}

.pr-popup-box {
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: popInSpring 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popInSpring {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* Fix for Tilt Jitter - Smoother transitions */
.pr-spec-card {
    will-change: transform;
    transform-style: preserve-3d;
}

/* Make Hero Text Massive & Modern */
.pr-hero-modern-title {
    font-size: clamp(4rem, 10vw, 7rem) !important;
    letter-spacing: -4px !important;
}

/* Make Hero Badge Glow */
.pr-hero-badge {
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3) !important;
}

/* Adjust Stagger Grid for new tilt logic */
.shift-down {
    margin-top: 60px;
}



/* FIX SIZES AND LAYOUTS */
.pr-hero-modern-title {
    font-size: clamp(3rem, 6vw, 4.5rem) !important;
    /* REDUCED SIZE */
    letter-spacing: -1.5px !important;
}

/* Restored Slider Buttons */
.pr-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(30, 41, 59, 0.8) !important;
    color: #fff !important;
    z-index: 100 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.pr-nav-btn:hover {
    background: #22c55e !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.pr-prev {
    left: 20px !important;
}

.pr-next {
    right: 20px !important;
}

.pr-controls-center {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
}

/* CLEAN & SOLID MINT GRID (No Gimmicks) */
.pr-simple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.pr-clean-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.05);
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.pr-clean-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(6, 78, 59, 0.12);
}

.clean-img-wrap {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.clean-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.pr-clean-card:hover .clean-img-wrap img {
    transform: scale(1.1);
}

.clean-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 163, 74, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.pr-clean-card:hover .clean-overlay {
    opacity: 1;
}

.clean-overlay i {
    color: #fff;
    font-size: 2rem;
    transform: rotate(90deg);
    transition: 0.4s;
}

.pr-clean-card:hover .clean-overlay i {
    transform: rotate(0);
}

.clean-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.clean-body h3 {
    font-size: 1.25rem;
    color: #064e3b;
    font-weight: 800;
    margin-bottom: 10px;
}

.clean-body p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ================= UNIFIED SHOWCASE STYLES ================= */
.pr-main-showcase {
    padding: 120px 0 160px;
    background: #ffffff;
    position: relative;
}

.showcase-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.lux-badge {
    background: rgba(6, 78, 59, 0.05);
    color: #064e3b;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 4px;
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid rgba(6, 78, 59, 0.1);
}

.showcase-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 20px;
}

.showcase-title span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #c5a059;
    font-weight: 500;
}

.showcase-lead {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
}

.showcase-divider {
    width: 60px;
    height: 3px;
    background: #c5a059;
    margin: 30px auto 0;
    border-radius: 10px;
}

.active-item-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #064e3b;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.active-item-desc {
    color: #475569;
    font-size: 1rem;
    max-width: 650px;
    line-height: 1.7;
    margin: 0 auto 40px;
}

.carousel-info-box {
    text-align: center;
    margin-bottom: 40px;
}

/* ================= PRODUCT CATALOG GRID (NEW) ================= */
.catalog-section {
    padding: 120px 0;
    background: #ffffff;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.catalog-card {
    background: #f8fafc;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    transform: translateY(-15px);
    background: #ffffff;
    box-shadow: 0 50px 100px rgba(6, 78, 59, 0.1);
    border-color: #c5a059;
}

.catalog-img-box {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.catalog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s ease;
}

.catalog-card:hover .catalog-img-box img {
    transform: scale(1.1);
}

.catalog-body {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.catalog-cat {
    font-size: 0.75rem;
    font-weight: 800;
    color: #c5a059;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.catalog-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #064e3b;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.catalog-desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 0;
}

.catalog-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.indicator-line {
    flex-grow: 1;
    height: 1px;
    background: #e2e8f0;
}

.catalog-card:hover .indicator-line {
    background: #c5a059;
}

.indicator-icon {
    color: #c5a059;
    font-size: 1.2rem;
    transition: 0.4s;
}

.catalog-card:hover .indicator-icon {
    transform: translateX(10px);
}
