/* *****************************************************
    ** Oyetu Network - Modern Theme Design System **
***************************************************** */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

html {
    font-size: 15px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background-color: var(--bg-muted);
    -webkit-font-smoothing: antialiased;
}

:root {
    --white: #ffffff;

    /* Refined Deep Slate & Modern Teal Palette */
    --brand-dark: #0f172a;        /* Harmonized dark slate */
    --brand-surface: #1e293b;

    /* Modern, balanced teal scale */
    --primary-50: #f0fdfa;
    --primary-100: #ccfbf1;
    --primary-200: #99f6e4;
    --primary-300: #5eead4;
    --primary-400: #2dd4bf;
    --primary-500: #14b8a6;
    --primary-600: #0d9488;       /* Primary Oyetu Teal */
    --primary-700: #0f766e;
    --primary-800: #115e59;
    --primary-900: #134e4a;

    /* Neutral System */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    /* Semantic Theme Mappings */
    --primary: var(--primary-600);
    --primary-lifted: var(--primary-500);
    --primary-accented: var(--primary-700);

    --secondary: var(--neutral-700);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-800);

    --success: #10b981;
    --info: #06b6d4;
    --warning: #f59e0b;
    --error: #ef4444;

    --text: var(--neutral-900);
    --text-muted: var(--neutral-500);
    --text-inverted: var(--white);

    --border: var(--neutral-200);
    --border-muted: var(--neutral-100);

    --bg: #ffffff;
    --bg-muted: #f8fafc;
    --bg-surface: #ffffff;

    --rounding-sm: 0.5rem;
    --rounding-md: 0.875rem;
    --rounding-lg: 1.25rem;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.12);
}

/* Header & Navigation Styling */
.header {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}

.topbar {
    background: var(--brand-dark);
    color: var(--neutral-400);
    font-size: 0.825rem;
    padding: 0.5rem 0;
}

.topbar a, .topbar .btn {
    color: var(--neutral-300) !important;
}

.topbar a:hover {
    color: var(--primary-300) !important;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    color: var(--brand-dark) !important;
}

.navbar-brand span.brand-accent {
    color: var(--primary-600);
}

.main-navbar-wrapper {
    background: var(--brand-dark);
    padding: 0.25rem 0;
}

.main-navbar-wrapper .nav-link {
    color: var(--neutral-300) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    border-radius: var(--rounding-sm);
    transition: all 0.2s ease;
}

.main-navbar-wrapper .nav-link:hover,
.main-navbar-wrapper .nav-item.active .nav-link {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.08);
}

/* Hero & Search Styling */
.hero-search-wrapper {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #1e293b 100%);
    border-radius: var(--rounding-lg);
    padding: 3.5rem 2rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-search-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.25) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

/* Modern Card Layouts */
.card {
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
    background: var(--bg-surface);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

/* Badges */
.badge-soft-primary {
    background-color: var(--primary-50);
    color: var(--primary-700);
    border: 1px solid var(--primary-200);
}

/* Buttons System */
.btn-primary {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--rounding-sm);
    padding: 0.625rem 1.25rem;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
    transition: all 0.2s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--primary-700);
    border-color: var(--primary-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.btn-outline-primary {
    color: var(--primary-600);
    border-color: var(--primary-600);
    font-weight: 600;
    border-radius: var(--rounding-sm);
}

.btn-outline-primary:hover {
    background: var(--primary-600);
    color: var(--white);
    border-color: var(--primary-600);
}

/* Action Grid Icons */
.action-icon-btns .card-accent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
    text-decoration: none;
    color: var(--neutral-800);
    font-weight: 600;
    transition: all 0.2s ease;
}

.action-icon-btns .card-accent-item:hover {
    border-color: var(--primary-600);
    color: var(--primary-600);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.action-icon-btns .ico-container {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.875rem;
    transition: all 0.2s ease;
}

.action-icon-btns .card-accent-item:hover .ico-container {
    background: var(--primary-600);
    color: var(--white);
}

/* Modern Footer */
.footer {
    background: var(--brand-dark);
    color: var(--neutral-400);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer a {
    color: var(--neutral-300);
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--primary-300);
    text-decoration: none;
}

p:contains('Powered by') {
  display: none !important;
}