/**
 * KEVIM - Public Application Stylesheet
 * Developed by Formular World Solutions Ltd (FWS)
 */

:root {
    --primary-color: #0b6623;       /* Deep Nigerian Emerald Green */
    --primary-hover: #084d1a;
    --accent-gold: #f59e0b;         /* Warm Gold/Amber */
    --accent-dark: #0f172a;         /* Deep Navy */
    --surface-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--surface-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-title {
    font-family: 'Poppins', sans-serif;
}

/* Top Announcement */
.top-announcement {
    background: #0f5132;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

/* Main Navbar */
.main-navbar {
    background: linear-gradient(135deg, #0b6623 0%, #14532d 100%);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.brand-title {
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: #ffffff;
}

.brand-subtitle {
    font-size: 0.72rem;
    color: #cbd5e1;
    letter-spacing: 0.2px;
}

.navbar-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e2e8f0 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fde047 !important;
}

.btn-survey-cta {
    background-color: #fbbf24;
    border-color: #f59e0b;
    color: #0f172a !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.39);
    transition: all 0.25s ease;
}

.btn-survey-cta:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* Hero Section */
.hero-slider-section {
    background: linear-gradient(135deg, rgba(11, 102, 35, 0.92) 0%, rgba(15, 23, 42, 0.94) 100%),
                url('../images/hero_pattern.png') center/cover no-repeat;
    color: white;
    padding: 90px 0 80px 0;
    position: relative;
}

.hero-heading {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 650px;
}

/* Stat Counters */
.counter-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.counter-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.counter-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Floating WhatsApp Button (Prompt Requirement 4F) */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 62px;
    height: 62px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp-btn:hover {
    color: white;
    transform: scale(1.12);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.6;
    animation: pulse-wave 2s infinite ease-out;
    z-index: -1;
}

@keyframes pulse-wave {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: #0f172a;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Multi-step Survey Wizard */
.survey-wizard-container {
    max-width: 860px;
    margin: 40px auto;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.survey-progress-bar {
    height: 8px;
    background-color: #e2e8f0;
}

.survey-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #0b6623);
    transition: width 0.3s ease;
}

.survey-step-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 30px;
}

.step-indicator-badge {
    background: #0b6623;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Audio Recorder Styles */
.audio-recorder-box {
    background: #f1f5f9;
    border: 2px dashed #94a3b8;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.audio-recorder-box.recording {
    border-color: #ef4444;
    background: #fef2f2;
}

.rec-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    transition: transform 0.2s;
}

.rec-btn-record { background-color: #ef4444; }
.rec-btn-stop { background-color: #1e293b; }
.rec-btn-play { background-color: #10b981; }

.waveform-canvas {
    width: 100%;
    height: 60px;
    background: #e2e8f0;
    border-radius: 8px;
    margin: 15px 0;
}

/* Public Footer */
.public-footer {
    background-color: #0b2912;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fbbf24;
}

