/**
 * Global Value-Chain Limited - Custom CSS
 * Only Brand-Specific Styles (Bootstrap handles the rest)
 */

/* ========== BRAND COLORS ========== */
:root {
    --brand-green: #16a34a;
    --brand-green-dark: #15803d;
    --brand-green-light: #22c55e;
    --brand-blue: #0ea5e9;
    --brand-warning: #f59e0b;
}

/* Override Bootstrap primary color */
.btn-primary {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark)) !important;
    border: none;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--brand-green-dark), #166534) !important;
    transform: translateY(-2px);
}

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

/* ========== LOGO ========== */
.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo-title {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
}

/* ========== NAVBAR ========== */
.navbar {
    backdrop-filter: blur(10px);
}

.nav-link {
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-green) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-green);
    transition: width 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ========== BADGES ========== */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(22, 163, 74, 0.05));
    color: var(--brand-green);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.badge-pill.badge-blue {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
    color: var(--brand-blue);
    border-color: rgba(14, 165, 233, 0.2);
}

/* ========== TEXT GRADIENT ========== */
.text-gradient {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== HERO SECTION ========== */
.hero-section {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.03), rgba(255, 255, 255, 1));
    min-height: 100vh;
}

.floating-badge {
    max-width: 320px;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-light));
}

/* ========== ICON BOXES ========== */
.icon-box-primary,
.icon-box-info,
.icon-box-warning {
    width: 56px;
    height: 56px;
}

.icon-box-primary {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
}

.icon-box-info {
    background: linear-gradient(135deg, #06b6d4, var(--brand-blue));
}

.icon-box-warning {
    background: linear-gradient(135deg, var(--brand-warning), #d97706);
}

.icon-circle-medium {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.icon-circle-large {
    width: 80px;
    height: 80px;
}

/* ========== GRADIENT CARDS ========== */
.card-gradient-green {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(22, 163, 74, 0.03));
    border: 1px solid rgba(22, 163, 74, 0.1) !important;
}

.card-gradient-blue {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0.03));
    border: 1px solid rgba(14, 165, 233, 0.1) !important;
}

/* ========== OBJECTIVE CARDS ========== */
.objective-card {
    transition: all 0.3s;
}

.objective-card:hover {
    border-color: var(--brand-green) !important;
    transform: translateY(-5px);
}

.objective-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(22, 163, 74, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

/* ========== STATS DARK CARD ========== */
.stats-dark-card {
    background: linear-gradient(135deg, #111827, #1f2937);
}

/* ========== APPLICATION CARDS ========== */
.application-card {
    transition: all 0.3s;
}

.application-card:hover {
    border-color: var(--brand-green) !important;
    transform: translateY(-5px);
}

/* ========== MARKET SEGMENTS CARD ========== */
.market-segments-card {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
}

.segment-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.segment-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* ========== BENEFIT BADGES ========== */
.benefit-badge {
    transition: all 0.3s;
}

.benefit-badge:hover {
    background: white !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ========== SUSTAINABILITY CARD ========== */
.sustainability-card {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(22, 163, 74, 0.03));
    border: 2px solid rgba(22, 163, 74, 0.1) !important;
}

/* ========== PROCESS STEPS ========== */
.process-step {
    transition: all 0.3s;
}

.process-step:hover {
    border-color: var(--brand-green) !important;
    transform: translateY(-5px);
}

.process-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-light));
}

/* ========== IMPACT CARDS ========== */
.impact-card {
    transition: all 0.3s;
}

.impact-card:hover {
    border-color: var(--brand-green) !important;
    transform: translateY(-5px);
}

/* ========== MARKET CONTEXT CARD ========== */
.market-context-card {
    background: linear-gradient(135deg, var(--brand-blue), #0284c7);
}

.market-item-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.market-item-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* ========== ADVANTAGE CARDS ========== */
.advantage-card {
    transition: all 0.3s;
}

.advantage-card:hover {
    border-color: var(--brand-green) !important;
    transform: translateY(-5px);
}

/* ========== GROWTH CARD ========== */
.growth-card {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(22, 163, 74, 0.03));
    border: 2px solid rgba(22, 163, 74, 0.1) !important;
}

/* ========== PARTNERSHIP BOX ========== */
.partnership-box {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(22, 163, 74, 0.03));
    border: 2px solid rgba(22, 163, 74, 0.1) !important;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, #111827, #1f2937) !important;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ========== SCROLL ANIMATIONS ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========== SMOOTH SCROLLING ========== */
html {
    scroll-behavior: smooth;
}

/* ========== FORM CONTROLS ========== */
.form-control:focus,
.form-select:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 0.25rem rgba(22, 163, 74, 0.1);
}

/* ========== SCROLL TO TOP BUTTON ========== */
#scrollTopBtn {
    transition: all 0.3s;
}

#scrollTopBtn:hover {
    transform: translateY(-5px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .floating-badge {
        position: static !important;
        margin-top: 1.5rem;
    }
    
    .hero-section {
        min-height: auto;
    }
}

/* ========== CUSTOM UTILITIES ========== */
.transition-all {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
}
