/* ═══════════════════════════════════════════════════════════════════
   ORGANIC SHAPES & COMPONENTS - Nature Inspired Design Elements
   ═══════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────
   WAVE DIVIDERS - ORGANIC TRANSITIONS
   ───────────────────────────────────────────────────────────────── */

.wave-divider {
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="%23f5f3f0" opacity="0.8"/></svg>') repeat-x;
    background-size: 400px 100px;
    display: block;
}

.wave-divider.green {
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="%230066cc" opacity="0.1"/></svg>');
}

.wave-divider.accent {
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="%23d4a574" opacity="0.15"/></svg>');
}

/* ─────────────────────────────────────────────────────────────────
   DECORATIVE ELEMENTS - NATURE ACCENTS
   ───────────────────────────────────────────────────────────────── */

.leaf-accent {
    position: absolute;
    font-size: 4rem;
    opacity: 0.1;
    transform: rotate(-15deg);
    pointer-events: none;
}

.leaf-accent.top-left {
    top: -20px;
    left: -20px;
}

.leaf-accent.top-right {
    top: -20px;
    right: -20px;
    transform: rotate(15deg);
}

.leaf-accent.bottom-left {
    bottom: -20px;
    left: -20px;
    transform: rotate(-45deg);
}

.leaf-accent.bottom-right {
    bottom: -20px;
    right: -20px;
    transform: rotate(45deg);
}

/* ─────────────────────────────────────────────────────────────────
   BLOB SHAPES - ORGANIC BACKGROUNDS
   ───────────────────────────────────────────────────────────────── */

.blob {
    position: absolute;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(26, 117, 230, 0.1));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.5;
    mix-blend-mode: multiply;
}

.blob-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation: blob-animate 8s infinite;
}

.blob-2 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    right: -50px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(160, 133, 77, 0.1));
    animation: blob-animate-reverse 7s infinite;
}

@keyframes blob-animate {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(50px, 50px) scale(1.05);
    }
}

@keyframes blob-animate-reverse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-30px, 50px) scale(0.9);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
    75% {
        transform: translate(-50px, -50px) scale(0.95);
    }
}

/* ─────────────────────────────────────────────────────────────────
   GRADIENT BOXES
   ───────────────────────────────────────────────────────────────── */

.gradient-box-primary {
    background: linear-gradient(135deg, #0066cc 0%, #1a75e6 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    color: white;
}

.gradient-box-secondary {
    background: linear-gradient(135deg, #8b6f47 0%, #d4a574 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    color: white;
}

.gradient-box-mixed {
    background: linear-gradient(135deg, #0066cc 0%, #87ceeb 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    color: white;
}

/* ─────────────────────────────────────────────────────────────────
   TAGS & BADGES
   ───────────────────────────────────────────────────────────────── */

.badge-nature {
    display: inline-block;
    background: var(--nature-accent);
    color: var(--nature-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-nature.primary {
    background: var(--nature-primary);
    color: white;
}

.badge-nature.success {
    background: var(--nature-leaf);
    color: white;
}

.badge-nature.warning {
    background: var(--nature-accent);
    color: var(--nature-dark);
}

.badge-nature.info {
    background: var(--nature-sky);
    color: white;
}

/* ─────────────────────────────────────────────────────────────────
   STAT CARDS - WITH ANIMATED COUNTERS
   ───────────────────────────────────────────────────────────────── */

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #1a75e6, #d4a574);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(45, 80, 22, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─────────────────────────────────────────────────────────────────
   FORM ELEMENTS
   ───────────────────────────────────────────────────────────────── */

.form-control-nature {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control-nature:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
    outline: none;
}

.form-label-nature {
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.form-group-nature {
    margin-bottom: 1.5rem;
}

.input-group-nature {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #d4a574;
    font-size: 1.25rem;
}

/* ─────────────────────────────────────────────────────────────────
   TIMELINE
   ───────────────────────────────────────────────────────────────── */

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #0066cc, #d4a574, #0066cc);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 52%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 52%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #0066cc;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(45, 80, 22, 0.15);
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────
   TABS
   ───────────────────────────────────────────────────────────────── */

.tabs-nature {
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    gap: 1rem;
}

.tab-nature {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-nature.active {
    color: #0066cc;
}

.tab-nature.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0066cc, #1a75e6);
}

.tab-content-nature {
    display: none;
    padding: 2rem 0;
    animation: fadeIn 0.3s ease;
}

.tab-content-nature.active {
    display: block;
}

/* ─────────────────────────────────────────────────────────────────
   ACCORDION
   ───────────────────────────────────────────────────────────────── */

.accordion-nature {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.08);
}

.accordion-item-nature {
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.accordion-item-nature:last-child {
    border-bottom: none;
}

.accordion-header-nature {
    padding: 1.5rem;
    background: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #0066cc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    transition: all 0.3s ease;
}

.accordion-header-nature:hover {
    background: #f5f3f0;
}

.accordion-header-nature.active {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.05), rgba(107, 158, 62, 0.05));
}

.accordion-icon {
    width: 24px;
    height: 24px;
    border: 2px solid #0066cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.accordion-header-nature.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-body-nature {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-body-nature.active {
    max-height: 500px;
    padding: 1.5rem;
    padding-top: 0;
}

.accordion-text {
    color: #666;
    line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────────
   PROGRESS BARS
   ───────────────────────────────────────────────────────────────── */

.progress-nature {
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-nature {
    background: linear-gradient(90deg, #0066cc, #1a75e6);
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.2);
}

.progress-bar-nature.success {
    background: linear-gradient(90deg, #1a75e6, #87ceeb);
}

.progress-bar-nature.warning {
    background: linear-gradient(90deg, #d4a574, #a0854d);
}

.progress-bar-nature.danger {
    background: linear-gradient(90deg, #c97575, #e55b5b);
}

/* ─────────────────────────────────────────────────────────────────
   ALERTS & NOTIFICATIONS
   ───────────────────────────────────────────────────────────────── */

.alert-nature {
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.alert-nature.success {
    background: rgba(107, 158, 62, 0.1);
    border-left-color: #1a75e6;
    color: #0066cc;
}

.alert-nature.warning {
    background: rgba(212, 165, 116, 0.1);
    border-left-color: #d4a574;
    color: #5c4033;
}

.alert-nature.danger {
    background: rgba(201, 117, 117, 0.1);
    border-left-color: #c97575;
    color: #7a2f2f;
}

.alert-nature.info {
    background: rgba(74, 144, 193, 0.1);
    border-left-color: #4a90c1;
    color: #1e5a8f;
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────
   HOVER EFFECTS & ANIMATIONS
   ───────────────────────────────────────────────────────────────── */

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(45, 80, 22, 0.2);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(45, 80, 22, 0.3);
}

/* ─────────────────────────────────────────────────────────────────
   ANIMATIONS
   ───────────────────────────────────────────────────────────────── */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* ─────────────────────────────────────────────────────────────────
   MOBILE RESPONSIVENESS
   ───────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 40px;
        margin-right: 0;
        text-align: left;
    }
    
    .timeline-dot {
        left: 0;
    }
    
    .tabs-nature {
        gap: 0.5rem;
    }
    
    .tab-nature {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .alert-nature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .accordion-body-nature.active {
        max-height: 600px;
    }
}
