/* =========================================================
   CAPABILITIES PAGE - PREMIUM HIGH-TECH OVERHAUL
   Philosophy: Clinical Excellence + Organic Farming
========================================================= */

:root {
    --g-forest: #064e3b;
    --g-emerald: #065f46;
    --g-light: #f8fafc;
    --a-gold: #c5a059;
    --a-gold-light: #f7dfa1;
    --cap-dark: #0f172a;
    --glass-white: rgba(255, 255, 255, 0.95);
    --gold-gradient: linear-gradient(135deg, #c5a059, #f7dfa1, #b08d4a);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--cap-bg);
    color: var(--cap-dark);
}

.serif-gold {
    font-family: 'Playfair Display', serif;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

/* 1. HERO ENHANCEMENT */
.cap-new-hero {
    position: relative;
    height: 75vh;
    min-height: 550px;
    background: url('/images/Home/hero_bg_slide1_new.webp') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: visible;
}

.cap-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(6, 78, 59, 1) 100%);
    backdrop-filter: blur(1px);
    z-index: 1;
}

/* ELITE STATS BAR */
.elite-stats-bar {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 900px;
    height: 80px;
    background: var(--glass-white);
    border-radius: 50px;
    box-shadow: 0 20px 50px rgba(0, 44, 34, 0.1);
    z-index: 20;
    border: none;
    display: flex;
    align-items: center;
    backdrop-filter: blur(20px);
}

.stats-bar-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 40px;
}

.bar-stat-item {
    text-align: center;
}

.bar-stat-item span {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: #064e3b;
    line-height: 1;
}

.bar-stat-item strong {
    font-size: 0.65rem;
    color: var(--cap-gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 800;
}

/* 5. FLOW CHART - INDUSTRY 4.0 */
.bg-dark-tech {
    background: #f8fafc;
    background-image: radial-gradient(#22c55e 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    /* Subtle tech grid */
    padding: 60px 0;
    position: relative;
    border-top: 1px solid #f1f5f9;
    margin-top: 40px;
}

.bg-dark-tech::before {
    display: none;
}

.flow-box.tech {
    background: #fff;
    border: none;
    color: #0f172a;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.flow-box.tech::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: var(--g-emerald);
    transform: scaleX(0);
    transition: 0.4s;
}

.flow-box.tech:hover {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #14532d;
}

.flow-box.tech:hover::after {
    transform: scaleX(1);
}

.flow-branch.dark {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
}

.flow-branch.dark .branch-title {
    background: #064e3b;
    color: #fff;
}

.flow-branch.dark::before {
    background: #22c55e;
}

/* 6. THE NEW VIDEO SECTION (The "Floating Cinema") */
.story-cinematic-section {
    padding: 140px 0;
    background: #fff;
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.story-video-bg-hub {
    opacity: 0.15;
    /* Make it very subtle / watermark style */
    filter: none;
}

.story-video-overlay {
    background: linear-gradient(180deg, #fcfdfd 0%, rgba(252, 253, 253, 0) 50%, #fcfdfd 100%);
}

.story-main-quote {
    color: #0f172a;
}

.story-main-quote span {
    background: linear-gradient(to right, #064e3b, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-narrative-box {
    border-left: 3px solid #22c55e;
}

.story-narrative-box p {
    color: #475569;
}

.story-culture-badges .culture-badge-item {
    color: #0f172a;
}

.story-floating-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 30px 60px rgba(0, 44, 34, 0.08);
}

.story-floating-card h4 {
    color: #064e3b;
}

.story-floating-card p {
    color: #64748b;
}

.story-pre-title {
    color: #064e3b;
    opacity: 0.5;
}

/* ================= RECOVERED & ENHANCED COMPONENTS ================= */

/* ================= STRATEGIC NEXUS (Elite Capsule Design) ================= */
.sourcing-nexus-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0, 44, 34, 0.05);
    position: relative;
    overflow: hidden;
}

.nexus-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nexus-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    position: relative;
    transition: 0.3s;
}

.nexus-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: #e2e8f0;
}

.nexus-icon-box {
    width: 45px;
    height: 45px;
    background: #f0fdf4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    font-size: 1.2rem;
    transition: 0.4s;
}

.nexus-text-box {
    text-align: left;
}

.nexus-text-box h5 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #064e3b;
    margin-bottom: 2px;
}

.nexus-text-box p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.3;
}

/* Hover States */
.nexus-item:hover {
    background: #f0fdf4;
    border-radius: 80px;
}

.nexus-item:hover .nexus-icon-box {
    background: #22c55e;
    color: #fff;
    transform: rotate(10deg) scale(1.1);
}

.nexus-item:hover h5 {
    color: #14532d;
}





/* ================= MINIMALIST TECHNICAL TILES (Compact 2-Row) ================= */
.lifecycle-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.lifecycle-tiles.row-bottom {
    grid-template-columns: repeat(3, 1fr);
    width: 75%;
    margin-top: 20px;
}

.tile-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tile-img-box {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.tile-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.tile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.08);
    border-color: #22c55e;
}

.tile-card:hover .tile-img-box img {
    transform: scale(1.1);
}

.tile-num {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(34, 197, 94, 0.9);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 900;
    z-index: 5;
}

.tile-body {
    flex-grow: 1;
}

.tile-body h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #064e3b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tile-body h4::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: #f1f5f9;
}

.tile-body p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

/* Pulse Hover Effect */
.tile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: 0.6s;
    pointer-events: none;
}

.tile-card:hover::before {
    opacity: 1;
    top: -20%;
    left: -20%;
}




/* ================= LOGIC STREAM FLOWCHART (Ultra Compact) ================= */
.logic-stream-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.stream-common-path {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 40px;
    position: relative;
}

.stream-common-path::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    height: 2px;
    background: repeating-linear-gradient(to right, #e2e8f0, #e2e8f0 10px, transparent 10px, transparent 20px);
    z-index: 1;
}

.stream-node {
    background: #fff;
    border: 1.5px solid #f1f5f9;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #475569;
    position: relative;
    z-index: 2;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
    min-width: 140px;
    text-align: center;
}

.stream-node:hover {
    border-color: #22c55e;
    transform: translateY(-3px);
    color: #064e3b;
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.1);
}

.stream-split-hub {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.logic-branch {
    background: #f8fafc;
    border-radius: 30px;
    padding: 25px;
    border: 1px solid #f1f5f9;
}

.branch-header {
    font-weight: 900;
    color: #064e3b;
    letter-spacing: 3px;
    font-size: 0.7rem;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.branch-flow {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.logic-step {
    width: 100%;
    background: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    border-left: 4px solid #e2e8f0;
    transition: 0.3s;
}

.logic-step:hover {
    border-left-color: #22c55e;
    background: #f0fdf4;
    padding-left: 20px;
}

.logic-step.final {
    background: var(--g-forest);
    color: #fff;
    border: none;
    text-align: center;
}

/* Branch arrow connectors */
.logic-arrow {
    color: #cbd5e1;
    font-size: 0.8rem;
}




/* VISION QUOTE SECTION (Elite Image Design - Medium Size) */
.vision-quote-section {
    padding: 80px 0;
    background: #fff;
}

.vision-wrapper {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0, 44, 34, 0.1);
}

.vision-img-frame {
    position: absolute;
    inset: 0;
}

.vision-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-overlay-white {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.vision-content {
    position: relative;
    z-index: 10;
    max-width: 750px;
    padding: 40px;
}

.vision-content i {
    font-size: 3rem;
    color: #22c55e;
    opacity: 0.3;
}

.vision-quote-text {
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

.vision-quote-text span {
    color: #22c55e;
}

.vision-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-line {
    width: 40px;
    height: 2px;
    background: #22c55e;
}

.vision-author span {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #64748b;
    font-size: 0.9rem;
}

.vision-desc {
    font-size: 1.1rem;
    font-weight: 500;
    color: #475569;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}







.cap-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(6, 78, 59, 1) 100%);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.cap-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.7rem;
    margin-bottom: 25px;
    display: inline-block;
    color: #fff;
    backdrop-filter: blur(10px);
}

.cap-title {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    margin-bottom: 25px;
    text-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: white;
    letter-spacing: -3px;
    line-height: 1;
}

.cap-lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 650px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.5;
}


/* SECTIONS */
.cap-section {
    padding: 60px 0;
}

.bg-light-alt {
    background: linear-gradient(to bottom, #ffffff, #f1f5f9);
}

.section-head {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--g-forest);
    line-height: 1.2;
    letter-spacing: -1px;
}

.sub-gold {
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--a-gold);
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.gold-line {
    width: 60px;
    height: 4px;
    background: var(--cap-gold);
    border-radius: 2px;
}

.cap-text {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
}

.section-max-w {
    max-width: 700px;
    margin: 0 auto;
    color: #64748b;
    font-size: 1.1rem;
}

/* 2. ADVANCED IMAGE FRAMING (The "Wow" Design) */
.cap-img-frame {
    position: relative;
    padding: 20px;
}

.cap-img-frame img {
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.frame-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 2px solid var(--cap-gold);
    border-radius: 20px;
    z-index: 1;
    transform: translate(20px, -20px);
}

/* STRENGTH CARD */
.strength-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.strength-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(197, 160, 89, 0.2);
    border-color: var(--cap-gold);
}

.s-img {
    height: 180px;
    overflow: hidden;
}

.s-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.strength-card:hover .s-img img {
    transform: scale(1.1);
}

.s-content {
    padding: 25px;
}

.s-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--cap-dark);
}

.s-content p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* STATS STRIP */
.cap-stats {
    background: var(--cap-green);
    padding: 50px 0;
    color: white;
    margin: 20px 0;
}

.cap-stats h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--cap-gold);
    font-family: 'Playfair Display', serif;
}

.cap-stats p {
    margin: 0;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* FEATURE BOX */
.feature-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    border: 1px dashed #cbd5e1;
    transition: 0.3s;
}

.feature-box:hover {
    border-color: var(--cap-gold);
    background: #fdfdfd;
}

.fb-icon {
    font-size: 2.5rem;
    color: var(--cap-gold);
    margin-bottom: 20px;
}

.feature-box h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 0.9rem;
    color: #64748b;
}

/* TIMELINE GRID (LIGHT) */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.t-card {
    background: #fff;
    border: 1px solid rgba(197, 160, 89, 0.1);
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.t-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.15);
    border-color: var(--cap-gold);
}

.t-img {
    height: 220px;
    overflow: hidden;
    border-radius: 30px;
    margin: 15px;
}

.t-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t-info {
    padding: 20px;
}

.t-info span {
    font-size: 0.7rem;
    color: var(--cap-green);
    font-weight: 800;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.t-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--cap-dark);
}

.t-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* CHART (RESTORED STYLE) */
.flow-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.flow-row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-box {
    background: white;
    border: 2px solid var(--cap-gold);
    color: var(--cap-dark);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: inline-block;
    transition: 0.3s;
}

.flow-box:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.arrow {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin: 10px 0;
}

.flow-split {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.flow-branch {
    flex: 1;
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    border: 1px dashed #cbd5e1;
}

.branch-title {
    font-weight: 800;
    color: var(--cap-gold);
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.flow-box.small {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-width: 1px;
    width: 100%;
    border-radius: 10px;
}

.flow-box.done {
    background: var(--cap-green);
    color: white;
    border-color: var(--cap-green);
}

/* HD VIDEO PLAYER (Style from VideoBox) */
.hd-video-container {
    max-width: 750px;
    /* Reduced to medium-small */
    margin: 0 auto;
    background: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
    transition: 0.4s;
}

.video-player-frame {
    position: relative;
    background: #000;
    overflow: hidden;
}

.hd-video-element {
    width: 100%;
    display: block;
    transition: 0.5s;
}

.hd-video-container:hover .hd-video-element {
    transform: scale(1.02);
}

/* PREMIUM CONTROLS */
.hd-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 0 20px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s;
    display: flex;
    justify-content: center;
    z-index: 5;
}

.video-player-frame:hover .hd-controls-bar {
    opacity: 1;
    transform: translateY(0);
}

.control-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hd-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
}

.hd-btn:hover {
    background: var(--cap-gold);
    border-color: var(--cap-gold);
    transform: scale(1.1);
}

.hd-btn.main-play {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.4);
}

.hd-btn.main-play:hover {
    background: #fff;
    color: var(--cap-dark);
}

/* CAPTION */
.video-caption-premium {
    padding: 30px 40px;
    background: white;
    text-align: left;
}

.video-caption-premium h4 {
    font-weight: 800;
    color: var(--cap-green);
    margin: 0;
    font-size: 1.25rem;
}

.video-caption-premium p {
    color: #64748b;
    margin: 5px 0 0;
    font-size: 0.95rem;
}

.more-videos-btn {
    background: var(--cap-gold);
    color: white !important;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.more-videos-btn:hover {
    background: var(--cap-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}



/* HERO DECORATIVE SHAPES */
.cap-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.shape-1,
.shape-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: pulseShape 8s infinite alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--cap-gold);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #10b981;
    bottom: -50px;
    left: -50px;
    animation-delay: -4s;
}

@keyframes pulseShape {

    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.2) translate(30px, 30px);
        opacity: 0.5;
    }
}

/* ================= REVEAL ANIMATIONS ================= */
.reveal {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease forwards;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagg.delay-3 {
    transition-delay: 0.6s;
}

/* 3. CORE STRENGTHS - NEON GLASS */
.strength-card-v2 {
    background: linear-gradient(145deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 35px;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(34, 197, 94, 0.1);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.strength-card-v2:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.1);
    border-color: #22c55e;
}

.s-img-v2 {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.s-img-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
}

.strength-card-v2:hover .s-img-v2 img {
    transform: scale(1.15) rotate(-2deg);
}

.s-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--g-forest);
    color: #fff;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.s-content-v2 {
    padding: 30px;
}

.s-content-v2 h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--cap-dark);
}

.s-content-v2 p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 4. TIMELINE HUB - 3D PERSPECTIVE */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.t-card {
    background: #fff;
    border: none;
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.t-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(34, 197, 94, 0.15);
}

.t-img {
    height: 220px;
    filter: grayscale(100%) brightness(0.9);
    transition: 0.5s ease;
    border-radius: 30px;
    margin: 15px;
}

.t-card:hover .t-img {
    filter: grayscale(0%) brightness(1);
}

.t-info {
    padding: 25px;
    background: white;
    position: relative;
    z-index: 2;
}

.t-info span {
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 900;
    margin-bottom: 8px;
}

.t-info h4 {
    font-size: 1.25rem;
    font-weight: 800;
}

/* ================= LINEAL LOGIC CHAIN (Vertical Flow) ================= */
/* ================= LINEAL LOGIC CHAIN (Centered & Simplified) ================= */
.logic-chain-wrapper {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}

.chain-step {
    margin-bottom: 25px;
    position: relative;
}

.chain-content {
    background: #fff;
    border: 1px solid #f1f5f9;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    color: #064e3b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: 0.4s;
    display: inline-block;
    min-width: 300px;
}

.chain-step::after {
    content: '\f107';
    /* fa-chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    color: #cbd5e1;
    font-size: 0.8rem;
}

.chain-step:last-child::after {
    display: none;
}

.chain-step:hover .chain-content {
    border-color: #22c55e;
    background: #f0fdf4;
    transform: scale(1.03);
}

.chain-split-parallel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.branch-track {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.branch-name {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--a-gold);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.mini-step {
    width: 100%;
    max-width: 260px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    transition: 0.3s;
}

.mini-step:hover {
    border-color: #22c55e;
    background: #fcfdfd;
    color: #14532d;
    transform: translateY(-3px);
}

.ship-node {
    width: 100%;
    max-width: 260px;
    margin-top: 10px;
    background: #064e3b;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    box-shadow: 0 10px 25px rgba(6, 78, 59, 0.2);
}







/* ================= CINEMATIC AGRO-CULTURE HUB (Moved from Home) ================= */
.story-cinematic-section {
    padding: 140px 0;
    background: #fff;
    border: none;
}

.story-video-bg-hub {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.story-video-bg-hub video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.story-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 44, 34, 0.98) 0%, rgba(2, 44, 34, 0.7) 45%, transparent 100%);
    z-index: 2;
}

.story-hub-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
}

.story-pre-title {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #22c55e;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 30px;
    font-size: 0.8rem;
}

.story-pre-title::after {
    content: '';
    width: 60px;
    height: 2px;
    background: #22c55e;
}

.story-main-quote {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

.story-main-quote span {
    background: linear-gradient(to right, #ffffff, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-narrative-box {
    padding-left: 40px;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.story-narrative-box p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 45px;
    font-style: italic;
}

.story-culture-badges {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.culture-badge-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #fff;
}

.culture-badge-item i {
    font-size: 2rem;
    color: #22c55e;
}

.culture-badge-item span {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.story-floating-card {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px);
    border-radius: 40px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    z-index: 15;
    animation: storyFloat 10s ease-in-out infinite;
}

@keyframes storyFloat {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-55%) translateX(15px);
    }
}

.story-floating-card h4 {
    color: #fff;
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.story-floating-card .card-icon {
    width: 60px;
    height: 60px;
    background: #22c55e;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
}

/* ================= MODERN OVERVIEW STYLES ================= */
.modern-intro-box {
    padding-right: 40px;
}

.cap-text.large {
    font-size: 1.35rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.6;
}

.accent-list {
    list-style: none;
    padding: 0;
}

.accent-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: var(--cap-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.accent-list li i {
    color: #22c55e;
    font-size: 1.4rem;
}

/* CANVAS IMAGE DISPLAY */
.cap-img-canvas {
    position: relative;
    padding: 60px;
}

.main-cap-img {
    width: 100%;
    border-radius: 60px 0 60px 0;
    position: relative;
    z-index: 2;
    transform: rotate(-2deg);
    border: 12px solid #fff;
    box-shadow: 0 50px 100px rgba(0, 44, 34, 0.15);
    transition: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    outline: 1px solid rgba(0, 0, 0, 0.05);
    /* Precision stroke */
}

.sub-cap-img {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 65%;
    border-radius: 40px;
    border: 10px solid #fff;
    box-shadow: 0 30px 70px rgba(0, 44, 34, 0.2);
    z-index: 10;
    transform: rotate(3deg);
    transition: 0.8s;
    outline: 1px solid rgba(0, 0, 0, 0.05);
}

.cap-img-canvas:hover .main-cap-img {
    transform: rotate(0) scale(1.03);
}

.cap-img-canvas:hover .sub-cap-img {
    transform: rotate(0) translate(-10px, -10px);
}

.canvas-decorator {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    z-index: 1;
}

/* Background Fillers (Floating Particles) */
.capabilities-page-wrapper {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.capabilities-page-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('/images/Home/intro_modern_bg.webp') repeat;
    opacity: 0.03;
    pointer-events: none;
}

/* TYPOGRAPHY */
.text-success {
    color: #16a34a !important;
}

/* 6. THE NEW VIDEO SECTION (The "Floating Cinema") */
.video-cinema-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 60px 120px rgba(0, 44, 34, 0.2);
    aspect-ratio: 16/9;
}

.video-cinema-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-cinema-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
    color: #fff;
}

.video-cinema-text h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.video-cinema-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Floating Narrative in Video Hub */
.video-feature-pill {
    position: absolute;
    top: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 20px 30px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-feature-pill h5 {
    color: #22c55e;
    font-weight: 900;
    margin-bottom: 5px;
}

.video-feature-pill p {
    font-size: 0.85rem;
    margin: 0;
}

/* Organic Dividers */
.section-divider-curve {
    display: none;
}

/* Mobile Capabilities Page Only */
