* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Luxury AgTech Colors */
    --brand-dark-deep: #0B132B;   /* Very deep slate/blue */
    --brand-dark-medium: #1C2541; /* Slate medium */
    --brand-green-rich: #059669;  /* Vibrant emerald green */
    --brand-green-deep: #047857;  /* Deep forest emerald */
    --brand-gold: #D4AF37;        /* Metallic luxury gold */
    --bg-light-soft: #FAFAF9;     /* Cream/stone off-white */
    --bg-light-sage: #F3F5F4;     /* Sage/slate tint off-white */
    --text-dark: #1E293B;         /* Slate dark text */
    --text-muted: #64748B;        /* Muted slate text */
    
    /* Smooth Transition */
    --transition-luxury: all 0.55s cubic-bezier(0.16, 1, 0.3, 1); /* easeOutExpo */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}


/* Hero Section with premium cover image */

.hero {
    color: white;
    padding: clamp(92px, 12vh, 128px) 0 clamp(70px, 9vh, 96px);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: left;
    background:
        linear-gradient(120deg, rgba(4, 25, 12, 0.84) 0%, rgba(6, 35, 20, 0.62) 40%, rgba(18, 54, 111, 0.18) 100%),
        url('../images/Story.png') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.14), transparent 28%),
        radial-gradient(circle at 78% 28%, rgba(40, 167, 69, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(4, 25, 12, 0.1) 0%, rgba(4, 25, 12, 0.35) 100%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    pointer-events: none;
}

.hero-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1320px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    align-items: center;
    gap: 2rem;
}

.hero-copy {
    max-width: 760px;
    padding: 2rem 2.1rem;
    border-radius: 30px;
    background: rgba(7, 23, 14, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    color: #f4e7a1;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.32);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.hero-kicker i {
    color: #ffd95c;
}

.hero h1 {
    margin: 1rem 0 1.05rem;
    font-size: clamp(3rem, 5.8vw, 5.5rem);
    line-height: 0.96;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-lead {
    max-width: 42rem;
    margin-bottom: 0.9rem;
    font-size: clamp(1.05rem, 1.15vw, 1.25rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.hero-sublead {
    max-width: 38rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.65rem;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.3rem;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes particles {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}


/* Enhanced Button styling */

.btn-hero {
    padding: 0.95rem 1.7rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(4, 120, 87, 0.22);
    transition: var(--transition-luxury);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-green-deep) 0%, var(--brand-green-rich) 100%);
    border: none;
    color: white;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 35px rgba(4, 120, 87, 0.4);
    color: white;
}

.btn-hero:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: none;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}


/* Container */

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}


/* Section */

.section {
    padding: 100px 0;
}

.section-title {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #36622E, #4A7C23);
    border-radius: 3px;
}


/* Ecosystem Section */

.ecosystem {
    background: #ffffff;
    border-bottom: 1px solid rgba(54, 98, 46, 0.1);
    position: relative;
    padding: 80px 0;
}

.ecosystem-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.ecosystem-text {
    padding: 2rem;
}

.ecosystem-text h2 {
    font-size: 3rem;
    color: #0E2A5B;
    margin-bottom: 2rem;
    font-weight: 800;
}

.ecosystem-text p {
    font-size: 1.15rem;
    line-height: 2;
    color: #444;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.ecosystem-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}


/* Enhanced hex hover effects */

#hex-cycle-svg {
    max-width: 100%;
    height: auto;
}

#hex-cycle-svg .hex-group {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

#hex-cycle-svg .hex-group:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 16px rgba(54, 98, 46, 0.4));
}

#hex-cycle-svg .hex-polygon {
    fill: rgba(255, 255, 255, 0.08);
    stroke: #36622E;
    stroke-width: 4;
    transition: all 0.3s ease;
}

#hex-cycle-svg .hex-group:hover .hex-polygon {
    fill: rgba(232, 249, 234, 0.45);
    stroke: #2d5016;
    stroke-width: 5;
}

#hex-cycle-svg .hex-label {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    pointer-events: none;
    transition: all 0.3s ease;
    paint-order: stroke;
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 3px;
}

#hex-cycle-svg .hex-group:hover .hex-label {
    fill: #0E2A5B;
    font-weight: 700;
}

#hex-cycle-svg .flow {
    stroke: #36622E;
    stroke-width: 4;
    stroke-linecap: round;
    fill: none;
    opacity: 0.98;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: draw 1.2s ease-out forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}


/* Tooltip styling */

#tooltip-fo {
    pointer-events: none;
}

#tooltip-fo div {
    font-size: 14px;
    font-weight: 600;
    color: #0E2A5B;
    text-align: center;
    font-family: system-ui, sans-serif;
    word-wrap: break-word;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* Impact Section */

.impact {
    background: linear-gradient(180deg, var(--bg-light-sage) 0%, var(--bg-light-soft) 100%);
    border-bottom: 1px solid rgba(4, 120, 87, 0.08);
}

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 32px rgba(11, 19, 43, 0.04);
    border: 1px solid rgba(4, 120, 87, 0.12);
    border-left: 5px solid var(--brand-green-rich);
    transition: var(--transition-luxury);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.06), transparent);
    transition: var(--transition-luxury);
    z-index: 0;
}

.stat-card:hover::before {
    width: 100%;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 45px rgba(4, 120, 87, 0.12);
    border-color: var(--brand-green-rich);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #0E2A5B;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    color: #666;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}



.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(54, 98, 46, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(54, 98, 46, 0.2);
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card .card-body {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.product-card h5 {
    color: #0E2A5B;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #36622E;
    margin: 0.5rem 0;
}

.btn-add-cart {
    background: linear-gradient(135deg, #36622E, #4A7C23);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(54, 98, 46, 0.3);
}

.btn-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(54, 98, 46, 0.4);
    background: linear-gradient(135deg, #4A7C23, #5faa3a);
}


/* Team Section */

#team {
    min-height: 85vh;
    padding: 80px 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--brand-dark-deep) 0%, #152238 50%, #062419 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

#team::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.2), transparent), radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200% 200%;
    animation: particles 20s linear infinite;
}

.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition-luxury);
    background: #000;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(5, 150, 105, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover::after {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(5, 150, 105, 0.3);
}

.team-photo-portrait {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top;
    transition: all 0.6s ease;
}

.team-card:hover .team-photo-portrait {
    transform: scale(1.12);
    filter: brightness(1.15);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(6, 16, 32, 0.7) 45%, rgba(6, 16, 32, 0.95) 100%);
    color: white;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.team-card:hover .team-overlay {
    padding-bottom: 1.7rem;
}

.team-overlay h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.team-overlay p {
    margin: 0.3rem 0 0 0;
    font-size: 0.7rem;
    font-weight: 600;
    color: #cfe7ff;
    opacity: 1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 0 6px rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.25);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    display: inline-block;
}

.mentor-card {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(54, 98, 46, 0.5);
}

.mentor-card .team-photo-portrait {
    height: 460px;
}

.team-group-card .team-photo-portrait {
    height: 460px;
    object-position: center;
}

.team-group-card .team-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(7, 20, 38, 0.92) 100%);
}


/* Group Activities Section */

.activities {
    background: var(--bg-light-soft);
    border-bottom: 1px solid rgba(4, 120, 87, 0.08);
}

.activities-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
    color: #444;
}

.activity-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 10px 30px rgba(11, 19, 43, 0.04);
    border: 1px solid rgba(4, 120, 87, 0.08);
    transition: var(--transition-luxury);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(4, 120, 87, 0.1);
    border-color: var(--brand-green-rich);
}

.activity-header h3 {
    font-weight: 800;
    color: #0E2A5B;
    margin-bottom: 0.8rem;
}

.activity-header p {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.4rem;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.activity-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.activity-figure {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.activity-figure img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.activity-figure:hover img {
    transform: scale(1.08);
}

.activity-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
}


/* Footer */

.footer {
    background: linear-gradient(135deg, #143766 0%, #245388 100%);
    color: white;
    padding: 4rem 0 2rem;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer a {
    transition: all 0.3s ease;
}

.footer a:hover {
    transform: scale(1.2);
    filter: brightness(1.3);
}


/* Responsive */

@media (max-width: 992px) {
    .ecosystem-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .ecosystem-text,
    .ecosystem-graphic {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 88px 0 64px;
    }

    .hero-shell {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-copy {
        padding: 1.3rem 1rem;
        border-radius: 22px;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 10vw, 3.3rem);
        line-height: 1;
    }

    .hero-lead {
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-sublead {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero {
        width: 100%;
        padding: 0.85rem 1.2rem;
        font-size: 0.98rem;
    }

    .hero-chip {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
    .ecosystem-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .team-photo-portrait {
        height: 350px;
    }
    .team-group-card .team-photo-portrait {
        height: 360px;
    }
    .activity-grid {
        grid-template-columns: 1fr;
    }
    .activity-figure img {
        height: 240px;
    }
    .section {
        padding: 60px 0;
    }
    #hex-cycle-svg {
        width: 100%;
        height: auto;
    }
}


/* Smooth scroll behavior */

html {
    scroll-behavior: smooth;
}


/* Selection color */

::selection {
    background: var(--brand-green-rich);
    color: white;
}

::-moz-selection {
    background: var(--brand-green-rich);
    color: white;
}

section {
    scroll-margin-top: 120px;
}

/* Premium custom buttons and links overrides */
.btn-success {
    background: linear-gradient(135deg, var(--brand-green-deep) 0%, var(--brand-green-rich) 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0.75rem 2.2rem !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(4, 120, 87, 0.2) !important;
    transition: var(--transition-luxury) !important;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-success:hover {
    background: linear-gradient(135deg, #035a40 0%, #15b780 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(4, 120, 87, 0.35) !important;
    color: #ffffff !important;
}

.text-success {
    color: var(--brand-green-deep) !important;
    text-decoration: none !important;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.text-success::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--brand-green-rich);
    transition: var(--transition-luxury);
}

.text-success:hover {
    color: var(--brand-green-rich) !important;
}

.text-success:hover::after {
    width: 100%;
}
