/* =====================================================
   KONA YA HISABATI - Global Styles
   Child-Friendly Design System
   ===================================================== */

/* Universal reset — strip default browser margins/padding */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700;800&family=Roboto:wght@400;600;700&family=Open+Sans:wght@400;600;700&family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@400;600;700&display=swap');

/* Root Variables - Color Palette */
:root {
    --primary-blue: #4A90E2;
    --primary-blue-dark: #357ABD;
    --primary-yellow: #FFD700;
    --primary-yellow-dark: #FFC107;
    --primary-green: #50C878;
    --primary-green-dark: #3CB371;
    --primary-red: #FF6B6B;
    --primary-red-dark: #EE5A5A;
    --primary-purple: #9B59B6;
    --primary-purple-dark: #8E44AD;
    --primary-orange: #FF8C00;
    --primary-orange-dark: #FF7F00;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #f5f5f5;
    --background-white: #ffffff;
    --navbar-dark: #0b2d89;
    --navbar-glow: rgba(255, 215, 0, 0.3);
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius-lg: 20px;
    --border-radius-md: 15px;
    --border-radius-sm: 10px;
    --dashboard-sidebar-width: 260px;
    --dashboard-sidebar-collapsed-width: 72px;
    --dashboard-topbar-height: 64px;
    --kyh-font-family: Poppins, sans-serif;
    --kyh-text-color: inherit;
    --kyh-bg-color: inherit;
}

body {
    font-family: var(--kyh-font-family);
    color: var(--kyh-text-color);
    background-color: var(--kyh-bg-color);
}

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

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body > nav:first-child,
body > header:first-child {
    margin-top: 0;
    padding-top: 0;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Child-Safe Grid System */
.container-child {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.row-child {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.col-child-1 { flex: 0 0 100%; max-width: 100%; padding: 15px; }
.col-child-2 { flex: 0 0 50%; max-width: 50%; padding: 15px; }
.col-child-3 { flex: 0 0 33.333%; max-width: 33.333%; padding: 15px; }
.col-child-4 { flex: 0 0 25%; max-width: 25%; padding: 15px; }

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .col-child-3 { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 768px) {
    .col-child-2, .col-child-3 { flex: 0 0 100%; max-width: 100%; }
}

/* Large Buttons for Children */
.btn-child {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 15px 30px;
    min-height: 70px;
    min-width: 120px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-child:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-child:active {
    transform: translateY(0);
}

.btn-child-large {
    min-height: 90px;
    min-width: 150px;
    font-size: 1.4rem;
}

.btn-child-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-child-primary:hover {
    background-color: var(--primary-blue-dark);
}

.btn-child-yellow {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
}

.btn-child-yellow:hover {
    background-color: var(--primary-yellow-dark);
}

.btn-child-green {
    background-color: var(--primary-green);
    color: white;
}

.btn-child-green:hover {
    background-color: var(--primary-green-dark);
}

.btn-child-red {
    background-color: var(--primary-red);
    color: white;
}

.btn-child-purple {
    background-color: var(--primary-purple);
    color: white;
}

.btn-child-orange {
    background-color: var(--primary-orange);
    color: white;
}

.btn-child-secondary {
    background-color: white;
    color: var(--primary-blue);
    border: 3px solid var(--primary-blue);
}

.btn-child-secondary:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Module Cards */
.module-card {
    background: linear-gradient(145deg, var(--background-white) 0%, #f8f9fa 100%);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 4px solid transparent;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    animation: cardFadeIn 0.6s ease forwards;
    opacity: 0;
}

.module-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    animation: cardBgFloat 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.module-card:nth-child(1) {
    animation-delay: 0.1s;
    background: linear-gradient(145deg, #ffffff 0%, #e3f2fd 100%);
}

.module-card:nth-child(2) {
    animation-delay: 0.2s;
    background: linear-gradient(145deg, #ffffff 0%, #fff3e0 100%);
}

.module-card:nth-child(3) {
    animation-delay: 0.3s;
    background: linear-gradient(145deg, #ffffff 0%, #e8f5e9 100%);
}

.module-card:nth-child(4) {
    animation-delay: 0.4s;
    background: linear-gradient(145deg, #ffffff 0%, #f3e5f5 100%);
}

.module-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-yellow);
}

.module-card:hover::before {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
}

.module-card-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    animation: iconFloat 3s ease-in-out infinite;
}

.module-card:hover .module-card-icon {
    transform: scale(1.2);
    animation: bounce 0.6s ease;
}

.module-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    position: relative;
    z-index: 1;
}

.module-card-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

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

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

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

@keyframes glow {
    from {
        box-shadow: 0 0 20px var(--primary-blue);
    }
    to {
        box-shadow: 0 0 40px var(--primary-yellow);
    }
}

@keyframes bounce {
    0%, 100% { transform: scale(1.2); }
    50% { transform: scale(1.4); }
}

/* Activity Container */
.activity-container {
    background: linear-gradient(145deg, var(--background-white) 0%, #f0f8ff 100%);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    max-width: 900px;
    margin: 0 auto;
}

.activity-header {
    text-align: center;
    margin-bottom: 30px;
}

.activity-title {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.activity-instruction {
    font-size: 1.5rem;
    color: var(--text-light);
}

/* Activity Display Area */
.activity-display {
    background: linear-gradient(135deg, #fff9e6 0%, #ffe4b5 100%);
    border-radius: var(--border-radius-md);
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 3px solid var(--primary-yellow);
}

.activity-objects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.activity-object {
    font-size: 4rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* Answer Options */
.answer-options {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding: 8px;
    max-width: 100%;
}

.answer-btn {
    width: 90px;
    height: 90px;
    font-size: 2.2rem;
    font-weight: 700;
    border-radius: 50%;
    border: 4px solid var(--primary-blue);
    background: linear-gradient(145deg, var(--background-white) 0%, #e8f4ff 100%);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.answer-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(145deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.answer-btn.correct {
    background: linear-gradient(145deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    border-color: var(--primary-green);
    color: white;
    animation: correctPulse 0.5s ease;
    box-shadow: 0 0 30px rgba(80, 200, 120, 0.6);
}

.answer-btn.incorrect {
    background: linear-gradient(145deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-color: var(--primary-red);
    color: white;
    animation: shake 0.5s ease;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

@keyframes correctPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Star Animation */
.star-animation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: var(--primary-yellow);
    animation: starBurst 1s ease forwards;
    z-index: 9999;
    pointer-events: none;
}

@keyframes starBurst {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(2); }
}

/* Progress Bar */
.progress-bar-child {
    width: 100%;
    height: 30px;
    background: linear-gradient(90deg, #e8f4ff 0%, #fff9e6 100%);
    border-radius: 15px;
    overflow: hidden;
    margin: 20px 0;
    border: 3px solid var(--primary-blue);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--primary-yellow) 50%, var(--primary-orange) 100%);
    border-radius: 12px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Badge Display */
.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-yellow) 0%, #FFC107 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: badgePop 0.5s ease;
    border: 3px solid white;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Navigation */
.navbar-child {
    background: var(--primary-blue);
    padding: 15px 30px;
    box-shadow: var(--shadow-soft);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--primary-yellow);
}

/* Form Styles */
.form-group-child {
    margin-bottom: 25px;
}

.form-label-child {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: block;
}

.form-control-child {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: 3px solid var(--primary-blue);
    border-radius: 0;
    font-family: 'Nunito', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(74, 144, 226, 0.1) inset;
    transition: all 0.3s ease;
}

.form-control-child:focus {
    outline: none;
    border-color: var(--primary-yellow);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 0 4px rgba(255, 215, 0, 0.15),
        0 4px 12px rgba(255, 215, 0, 0.2),
        0 0 0 1px rgba(255, 215, 0, 0.2) inset;
    transform: translateY(-1px);
}

/* Dashboard Cards */
.dashboard-card {
    background: linear-gradient(145deg, var(--background-white) 0%, #f8f9fa 100%);
    border-radius: 0;
    padding: 30px;
    margin-bottom: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: cardFadeIn 0.6s ease forwards;
    opacity: 0;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.08) 0%, transparent 70%);
    animation: cardBgFloat 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.dashboard-card > * {
    position: relative;
    z-index: 1;
}

.dashboard-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
}

/* Compact variant used for the Assigned Activities list (smaller cards) */
.assigned-card {
    padding: 16px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
}
.assigned-card h3 {
    font-size: 1.05rem;
    margin: 0 0 6px 0;
}
.assigned-card p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-light);
}
.assigned-card small {
    font-size: 0.8rem;
    color: var(--text-light);
}
.assigned-card .badge {
    padding: 3px 8px;
    font-size: 0.75rem;
    border-radius: 10px;
}
.assigned-card .btn-child {
    padding: 8px 12px;
    font-size: 0.92rem;
    min-height: 40px;
    min-width: 100px;
    border-radius: 10px;
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.dashboard-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.dashboard-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* Alert Messages */
.alert-child {
    padding: 20px 30px;
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.alert-child-success {
    background: linear-gradient(145deg, rgba(80, 200, 120, 0.95), rgba(60, 179, 113, 0.95));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 2px 4px rgba(80, 200, 120, 0.2),
        0 8px 16px rgba(80, 200, 120, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.alert-child-error {
    background: linear-gradient(145deg, rgba(255, 107, 107, 0.95), rgba(238, 90, 90, 0.95));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 2px 4px rgba(255, 107, 107, 0.2),
        0 8px 16px rgba(255, 107, 107, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.alert-child-info {
    background: linear-gradient(145deg, rgba(74, 144, 226, 0.95), rgba(53, 122, 189, 0.95));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 2px 4px rgba(74, 144, 226, 0.2),
        0 8px 16px rgba(74, 144, 226, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

/* Audio Button */
.audio-btn {
    background: linear-gradient(145deg, var(--primary-yellow) 0%, #FFC107 100%);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: 3px solid white;
}

.audio-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(145deg, #FFC107 0%, #FFB300 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.audio-btn:active {
    transform: scale(0.95);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .btn-child {
        min-height: 60px;
        min-width: 100px;
        font-size: 1rem;
    }
    
    .btn-child-large {
        min-height: 70px;
        min-width: 120px;
        font-size: 1.2rem;
    }
    
    .module-card {
        min-height: 200px;
        padding: 20px;
    }

    /* make assigned cards even more compact on small screens */
    .assigned-card {
        padding: 12px;
        min-height: 120px;
    }
    
    .module-card-icon {
        font-size: 3rem;
    }
    
    .module-card-title {
        font-size: 1.4rem;
    }
    
    .activity-title {
        font-size: 2rem;
    }
    
    .activity-instruction {
        font-size: 1.2rem;
    }
    
    .answer-btn {
        width: 76px;
        height: 76px;
        font-size: 1.8rem;
        gap: 8px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.hidden { display: none !important; }

/* =====================================================
   MODERN NAVBAR — Professional, Animated, Glassmorphism
   ===================================================== */
.navbar-modern {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.06),
        0 12px 30px rgba(0, 0, 0, 0.12),
        0 20px 50px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-modern.scrolled {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.97) 0%, rgba(0, 86, 179, 0.97) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 8px 20px rgba(0, 0, 0, 0.12),
        0 24px 60px rgba(0, 0, 0, 0.16);
}

body > .navbar-modern:first-child,
body > nav.navbar-modern:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page-child .hero-section {
    margin-top: 0;
}

.container-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 0;
    gap: 10px;
}

/* --- Brand --- */
.navbar-brand-modern {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-brand-modern:hover {
    transform: scale(1.04);
}

.navbar-brand-modern::after {
    content: '';
    position: absolute;
    inset: -6px -10px;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 40%, rgba(255, 215, 0, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.navbar-brand-modern:hover::after {
    opacity: 1;
}

.navbar-logo {
    width: 90px;
    height: 90px;
    border-radius: 14px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.navbar-brand-modern:hover .navbar-logo {
    transform: scale(1.06);
}

@media (max-width: 1024px) {
    .navbar-logo {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 768px) {
    .navbar-logo {
        width: 64px;
        height: 64px;
    }
}

.navbar-brand-modern:hover .navbar-logo {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
    transform: scale(1.06);
    border-color: rgba(255, 215, 0, 0.8);
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    color: white;
}

.brand-main {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    background: linear-gradient(90deg, #fff, rgba(255, 215, 0, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* --- Nav Menu --- */
.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
}

.navbar-item {
    position: relative;
}

.navbar-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
}

.navbar-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.navbar-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    transform: scaleX(0.85) scaleY(0);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.navbar-link:hover::before {
    transform: scaleX(1) scaleY(1);
    opacity: 1;
}

.navbar-link:hover {
    color: #fff;
    transform: translateY(-1px);
}

.navbar-link:hover i {
    transform: scale(1.15);
}

/* Active link with animated underline */
.navbar-item.active .navbar-link {
    color: var(--primary-yellow);
    font-weight: 600;
}

.navbar-item.active .navbar-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 3px;
    background: var(--primary-yellow);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: navActivePulse 2s ease-in-out infinite;
}

@keyframes navActivePulse {
    0%, 100% { box-shadow: 0 0 6px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 14px rgba(255, 215, 0, 0.7); }
}

/* Active link background shimmer */
.navbar-item.active .navbar-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.08);
    transform: scaleX(1) scaleY(1);
    opacity: 1;
}

/* --- Dropdown --- */
.navbar-item.has-dropdown {
    position: relative;
    padding-bottom: 10px;
}

.navbar-item.has-dropdown .navbar-link {
    position: relative;
    z-index: 2;
}

.navbar-item.has-dropdown .navbar-link .fa-chevron-down {
    font-size: 0.65rem;
    margin-left: 4px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-item.has-dropdown:hover .navbar-link .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 18px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    min-width: 220px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.96);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    pointer-events: none;
}

.navbar-menu .navbar-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

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

.dropdown-item:hover {
    background: rgba(74, 144, 226, 0.06);
    color: var(--primary-blue);
    padding-left: 26px;
}

.dropdown-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: var(--primary-blue);
    opacity: 0.6;
    transition: opacity 0.2s;
}

.dropdown-item:hover i {
    opacity: 1;
}

/* --- Right Section --- */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.navbar-user-name {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 4px;
    white-space: nowrap;
}

.nav-topup-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
    margin-right: 8px;
}
.nav-topup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35) !important;
    color: #fff !important;
}
.nav-topup-btn i {
    font-size: 0.9rem;
}

.navbar-logout-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a) !important;
    color: white !important;
    border: none !important;
}

.navbar-logout-btn:hover {
    background: linear-gradient(135deg, #ff5252, #e04848) !important;
    color: white !important;
}

/* --- Language Dropdown --- */
.language-dropdown {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    color: white;
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.language-btn .fa-chevron-down {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.language-dropdown:hover .language-btn .fa-chevron-down {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 18px 40px rgba(0, 0, 0, 0.12);
    min-width: 150px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.96);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.language-dropdown:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.language-option {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(74, 144, 226, 0.06);
    color: var(--primary-blue);
    padding-left: 26px;
}

/* --- Login Button --- */
.teacher-login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: white;
    color: var(--navbar-dark);
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.15);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.teacher-login-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.teacher-login-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.08),
        0 12px 30px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.teacher-login-btn:hover::before {
    opacity: 1;
}

.teacher-login-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.teacher-login-btn:hover i {
    transform: scale(1.1);
}

/* --- Hamburger --- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.hamburger-btn:hover {
    transform: scale(1.1);
}

.hamburger-btn span {
    width: 24px;
    height: 2.5px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.hamburger-btn:hover span:nth-child(1) {
    transform: translateX(4px);
}

.hamburger-btn:hover span:nth-child(3) {
    transform: translateX(-4px);
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero-section {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.hero-overlay h1,
.hero-overlay .col-lg-8 > p {
    color: #ffffff !important;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .navbar-menu {
        gap: 2px;
    }

    .navbar-link {
        padding: 9px 12px;
        font-size: 0.82rem;
    }

    .brand-main {
        font-size: 1.15rem;
    }

    .brand-subtitle {
        font-size: 0.65rem;
    }

    .navbar-logo {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 768px) {
    .navbar-modern {
        box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.04),
            0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 86, 179, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px 20px;
        gap: 6px;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
    }

    .navbar-menu.active {
        transform: translateX(0);
    }

    .navbar-link {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .navbar-item.active .navbar-link::after {
        bottom: 4px;
    }

    .hamburger-btn {
        display: flex;
    }

    .language-dropdown {
        display: none;
    }

    .teacher-login-btn {
        padding: 9px 16px;
        font-size: 0.82rem;
    }

    .navbar-brand-text {
        display: none;
    }

    .navbar-logo {
        width: 64px;
        height: 64px;
    }

    .hero-section {
        min-height: 500px;
    }
}

/* =====================================================
   KONA YA HISABATI — UI/UX Guideline Extensions
   ===================================================== */

body.page-child {
    background: var(--background-light);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(74, 144, 226, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 40%);
}

/* 16px baseline grid helpers */
.gap-16 { gap: 16px; }
.p-16 { padding: 16px; }

/* Logo in navbar */
.navbar-logo-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-yellow), var(--primary-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.navbar-logo-icon {
    font-size: 1.5rem;
    color: white;
}

.navbar-brand-modern {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hero — children learning illustration */
.hero-section {
    min-height: 560px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
    pointer-events: none;
}


.hero-bg-slide.slide-1 {
    opacity: 1;
    animation: slideCycleFirst 20s infinite;
}

.hero-bg-slide.slide-2 {
    opacity: 0;
    animation: slideCycle 20s infinite 5s;
}

.hero-bg-slide.slide-3 {
    opacity: 0;
    animation: slideCycle 20s infinite 10s;
}

.hero-bg-slide.slide-4 {
    opacity: 0;
    animation: slideCycle 20s infinite 15s;
}

@keyframes slideCycle {
    0%, 20% {
        opacity: 0;
    }
    25%, 45% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

@keyframes slideCycleFirst {
    0%, 20% {
        opacity: 1;
    }
    25%, 45% {
        opacity: 0;
    }
    50%, 100% {
        opacity: 0;
    }
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--primary-blue);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: transparent;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow-left {
    left: 20px;
}

.slider-arrow-right {
    right: 20px;
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slider-arrow-left {
        left: 10px;
    }
    
    .slider-arrow-right {
        right: 10px;
    }
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Transition Effects */
.hero-slide.effect-fade {
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.hero-slide.effect-fade.active {
    opacity: 1;
}

.hero-slide.effect-slide-left {
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.effect-zoom-in {
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), opacity 1s ease-in-out;
    transform: scale(1.3) translateX(100%);
    opacity: 0;
}

.hero-slide.effect-zoom-in.active {
    transform: scale(1) translateX(0);
    opacity: 1;
}

/* Destroy/Exit Animations */
.hero-slide.destroy-shatter {
    animation: shatterDestroy 0.8s ease-out forwards;
}

@keyframes shatterDestroy {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
        transform: scale(1);
    }
    50% {
        clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 50%, 50% 100%, 0 100%);
        opacity: 0.8;
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        clip-path: polygon(10% 10%, 30% 0, 50% 10%, 70% 0, 90% 10%, 100% 30%, 90% 50%, 100% 70%, 90% 90%, 70% 100%, 50% 90%, 30% 100%, 10% 90%, 0 70%, 10% 50%, 0 30%);
        opacity: 0;
        transform: scale(1.1) rotate(-5deg);
    }
}

.hero-slide.destroy-pixel-dissolve {
    animation: pixelDissolve 0.6s steps(10) forwards;
}

@keyframes pixelDissolve {
    0% {
        opacity: 1;
        filter: blur(0px);
    }
    100% {
        opacity: 0;
        filter: blur(10px);
        transform: scale(1.2);
    }
}

.hero-slide.destroy-smoke-fade {
    animation: smokeFade 1s ease-out forwards;
}

@keyframes smokeFade {
    0% {
        opacity: 1;
        filter: blur(0px) brightness(1);
        transform: scale(1);
    }
    100% {
        opacity: 0;
        filter: blur(20px) brightness(2);
        transform: scale(1.3);
    }
}

.hero-slide.destroy-glitch {
    animation: glitchDestroy 0.5s ease-in-out forwards;
}

@keyframes glitchDestroy {
    0% {
        opacity: 1;
        transform: translate(0, 0);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translate(-5px, 5px);
        filter: hue-rotate(90deg);
    }
    40% {
        transform: translate(5px, -5px);
        filter: hue-rotate(180deg);
    }
    60% {
        transform: translate(-5px, -5px);
        filter: hue-rotate(270deg);
    }
    80% {
        transform: translate(5px, 5px);
        filter: hue-rotate(360deg);
    }
    100% {
        opacity: 0;
        transform: translate(0, 0) scale(1.1);
    }
}

.hero-slide.destroy-breaking-glass {
    animation: breakingGlass 0.8s ease-out forwards;
}

@keyframes breakingGlass {
    0% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: scale(1);
    }
    25% {
        clip-path: polygon(0 0, 50% 0, 50% 50%, 0 50%, 50% 50%, 100% 50%, 100% 100%, 50% 100%, 50% 50%, 0 50%);
        transform: scale(1.02);
    }
    50% {
        clip-path: polygon(0 0, 33% 0, 33% 33%, 0 33%, 33% 33%, 66% 33%, 66% 66%, 33% 66%, 33% 33%, 0 33%, 66% 33%, 100% 33%, 100% 66%, 66% 66%, 66% 33%, 33% 33%, 66% 33%, 66% 66%, 100% 66%, 100% 100%, 66% 100%, 66% 66%, 33% 66%, 66% 66%, 66% 100%, 33% 100%, 33% 66%, 0 66%, 33% 66%, 33% 33%, 0 33%);
        transform: scale(1.05);
    }
    100% {
        opacity: 0;
        clip-path: polygon(5% 5%, 20% 0, 35% 5%, 50% 0, 65% 5%, 80% 0, 95% 5%, 100% 20%, 95% 35%, 100% 50%, 95% 65%, 100% 80%, 95% 95%, 80% 100%, 65% 95%, 50% 100%, 35% 95%, 20% 100%, 5% 95%, 0 80%, 5% 65%, 0 50%, 5% 35%, 0 20%);
        transform: scale(1.1);
    }
}

.hero-slide.destroy-blur-collapse {
    animation: blurCollapse 0.7s ease-in-out forwards;
}

@keyframes blurCollapse {
    0% {
        opacity: 1;
        filter: blur(0px);
        transform: scale(1);
    }
    100% {
        opacity: 0;
        filter: blur(30px);
        transform: scale(0.8);
    }
}

.hero-slide.destroy-rotate-disappear {
    animation: rotateDisappear 0.6s ease-in-out forwards;
}

@keyframes rotateDisappear {
    0% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: rotate(180deg) scale(0);
    }
}

.hero-slide.destroy-cyberpunk {
    animation: cyberpunkDestroy 0.8s ease-in-out forwards;
}

@keyframes cyberpunkDestroy {
    0% {
        opacity: 1;
        filter: none;
        transform: scale(1);
    }
    25% {
        filter: brightness(2) contrast(1.5);
        transform: scale(1.05);
    }
    50% {
        filter: brightness(3) contrast(2) hue-rotate(180deg);
        transform: scale(1.1);
    }
    75% {
        filter: brightness(4) contrast(3) hue-rotate(360deg) saturate(3);
        transform: scale(1.15);
    }
    100% {
        opacity: 0;
        filter: brightness(5) contrast(4) hue-rotate(540deg) saturate(5) blur(5px);
        transform: scale(1.2);
    }
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-slide.active {
    transform: translateX(0);
}

.hero-slide.prev-slide {
    transform: translateX(-100%);
}

.hero-illustration {
    position: relative;
    max-width: 420px;
    margin: 0 auto 24px;
    height: 200px;
}

.hero-scene {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 100%;
}

.hero-child {
    font-size: 4.5rem;
    animation: heroFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.hero-child:nth-child(2) { animation-delay: 0.4s; font-size: 5rem; }
.hero-child:nth-child(3) { animation-delay: 0.8s; }

.hero-math-float {
    position: absolute;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: heroFloat 2.5s ease-in-out infinite;
}

.hero-math-float.n1 { top: 10%; left: 5%; animation-delay: 0.2s; }
.hero-math-float.n2 { top: 5%; right: 10%; color: white; animation-delay: 0.6s; }
.hero-math-float.n3 { bottom: 30%; left: 15%; font-size: 2.5rem; animation-delay: 1s; }
.hero-shape { position: absolute; font-size: 2rem; animation: heroSpin 4s linear infinite; }
.hero-shape.s1 { bottom: 20%; right: 8%; }
.hero-shape.s2 { top: 25%; right: 25%; animation-direction: reverse; }

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

@keyframes heroSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-welcome-audio {
    margin-top: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.hero-actions-secondary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

/* Button bounce on click */
.btn-child.btn-bounce:active {
    animation: btnBounce 0.4s ease;
}

@keyframes btnBounce {
    0% { transform: scale(1); }
    40% { transform: scale(0.95); }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Categories page */
.section-heading {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 16px;
}

.section-heading h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.section-heading p {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    padding-bottom: 48px;
}

.module-card {
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.module-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 30px var(--primary-yellow), 0 0 60px rgba(74, 144, 226, 0.4);
    pointer-events: none;
}

.module-card:hover::after,
.module-card:focus-within::after {
    opacity: 1;
}

.module-card:focus-visible {
    outline: 4px solid var(--primary-orange);
    outline-offset: 4px;
}

.module-card-icon-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.module-card-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

/* Activity top bar */
.activity-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(90deg, var(--primary-blue), #5ba0e8);
    border-radius: var(--border-radius-md);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 57px;
    min-width: 57px;
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue);
    box-shadow: var(--shadow-soft);
}

.topbar-btn:hover,
.topbar-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.topbar-audio {
    margin-left: auto;
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.activity-footer-bar {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px dashed rgba(74, 144, 226, 0.3);
}

/* Page enter animation */
.page-enter {
    animation: pageEnter 0.5s ease forwards;
}

@keyframes pageEnter {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Site footer */
.site-footer {
    background: linear-gradient(135deg, #0a2540 0%, #1a365d 50%, #0d1f3c 100%);
    color: rgba(255,255,255,0.92);
    padding: 48px 0 0;
    margin-top: 48px;
}

.footer-grid {
    display: flex;
    gap: 40px;
}

.footer-col {
    flex: 1;
}

.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fbbf24;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #fbbf24;
    border-radius: 1px;
}

.footer-text {
    font-size: 0.88rem;
    opacity: 0.85;
    line-height: 1.6;
    margin: 0 0 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #fbbf24;
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s;
}

.footer-social a:hover {
    background: #fbbf24;
    color: #0a2540;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    opacity: 0.7;
}

/* Parent guide — large readable text */
.parent-guide-hero {
    text-align: center;
    padding: 32px 16px;
}

.parent-guide-hero i {
    font-size: 5rem;
    color: var(--primary-purple);
}

.parent-card {
    cursor: pointer;
    min-height: 180px;
}

.parent-card:hover {
    border-color: var(--primary-yellow);
}

.parent-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-blue);
}

.video-thumb {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #e8f4ff, #fff9e6);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 3px solid var(--primary-green);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-thumb:hover {
    transform: scale(1.02);
}

.video-thumb i {
    font-size: 4rem;
    color: var(--primary-green);
}

/* Teacher dashboard folder tabs */
.dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    justify-content: center;
}

.dashboard-tab {
    padding: 14px 24px;
    min-height: 57px;
    border-radius: 50px;
    background: white;
    border: 3px solid var(--primary-blue);
    color: var(--primary-blue);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dashboard-tab:hover,
.dashboard-tab.active {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Accessibility toolbar */
.a11y-toolbar {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.a11y-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid white;
    background: var(--primary-purple);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-hover);
    transition: transform 0.2s;
}

.a11y-btn:hover {
    transform: scale(1.1);
}

.a11y-btn#btnWhatsApp {
    background: #25D366;
}

.a11y-btn#btnWhatsApp:hover {
    background: #1ebe5d;
    transform: scale(1.1);
}

/* Floating WhatsApp support widget */
.whatsapp-support {
    position: fixed;
    bottom: 80px;
    right: 16px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.whatsapp-toggle {
    display: none;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #25D366;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 26px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    user-select: none;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    font-size: 1.4rem;
}

.whatsapp-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: none;
    padding: 2px 8px;
    white-space: nowrap;
    animation: waFade 2.5s ease-in-out infinite;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

@keyframes waFade {
    0%   { opacity: 0; transform: translateY(6px); }
    30%  { opacity: 1; transform: translateY(0); }
    70%  { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-6px); }
}

.whatsapp-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    min-width: 230px;
    animation: slideIn 0.2s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.whatsapp-toggle:checked + .whatsapp-btn + .whatsapp-menu,
.whatsapp-toggle:checked ~ .whatsapp-menu {
    display: flex;
}

.whatsapp-menu-header {
    background: #075E54;
    color: #fff;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
}

.whatsapp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
    font-size: 0.95rem;
}

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

.whatsapp-item:hover {
    background: #f0faf4;
    color: #075E54;
}

.whatsapp-item i {
    font-size: 1.3rem;
    color: #25D366;
}

body.dyslexia-mode {
    font-family: 'Comic Sans MS', 'Nunito', sans-serif;
    letter-spacing: 0.05em;
    word-spacing: 0.1em;
    line-height: 1.9;
}

body.high-contrast {
    --primary-blue: #003d82;
    --text-dark: #000;
    --background-light: #fff;
}

body.high-contrast .module-card,
body.high-contrast .activity-container {
    border: 3px solid #000;
}

/* Focus visible for keyboard users */
a:focus-visible,
button:focus-visible,
.module-card:focus-visible {
    outline: 3px solid var(--primary-orange);
    outline-offset: 3px;
}

/* Activity card in module list */
.activity-card-icon {
    font-size: 3.5rem;
}

.activity-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.activity-card-description {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

/* =====================================================
   Dashboard shell — shared admin / teacher / parent / learner
   Structure: body > .dashboard-shell (sidebar | dashboard-right) + .sidebar-backdrop
   Root-cause fix: shell has exactly 2 grid children; backdrop is a fixed body sibling
   (not a flex/grid child). Only .dashboard-main scrolls — topbar stays flush at top.
   ===================================================== */
html:has(body.dashboard-body) {
    margin: 0;
    padding: 0;
}

body.dashboard-body {
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: var(--background-light);
}

body.dashboard-sidebar-open {
    overflow: hidden;
}

body.dashboard-body > .dashboard-shell {
    grid-row: 1;
    grid-column: 1;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: var(--dashboard-sidebar-width) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
    transition: grid-template-columns 0.28s ease;
}

.dashboard-shell.sidebar-collapsed {
    grid-template-columns: var(--dashboard-sidebar-collapsed-width) minmax(0, 1fr);
}

.dashboard-sidebar {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    transition: width 0.28s ease;
    z-index: 1002;
}

.sidebar-nav {
    padding: 0;
}

.sidebar-logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.sidebar-logo-link {
    display: inline-block;
    text-decoration: none;
}

.sidebar-logo img {
    border-radius: 12px;
    background: transparent;
    padding: 0;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sidebar-link i {
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-link:hover,
.sidebar-item.active .sidebar-link {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-blue);
}

.sidebar-item.active .sidebar-link {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.dashboard-shell.sidebar-collapsed .sidebar-link span {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.dashboard-shell.sidebar-collapsed .sidebar-link {
    justify-content: center;
    padding: 12px 10px;
}

.dashboard-shell.sidebar-collapsed .sidebar-menu {
    padding-left: 8px;
    padding-right: 8px;
}

/* Fixed overlay — sibling of .dashboard-shell, toggled via body.dashboard-sidebar-open */
body.dashboard-body > .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    z-index: 1001;
    background: rgba(11, 45, 137, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.dashboard-right {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Fixed to viewport top — avoids parent grid/flex offset gaps above the bar */
.dashboard-topbar {
    position: fixed;
    top: 0;
    left: var(--dashboard-sidebar-width);
    right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    min-height: var(--dashboard-topbar-height);
    margin: 0;
    padding: 0 12px;
    background: #fff;
    color: var(--text-dark);
    z-index: 1001;
    border-radius: 0;
    box-shadow: none;
    transition: left 0.28s ease;
}

.dashboard-shell.sidebar-collapsed .dashboard-topbar {
    left: var(--dashboard-sidebar-collapsed-width);
}

header.dashboard-topbar {
    margin-block: 0;
}

.sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    font-size: 1.15rem;
    transition: background 0.2s ease;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sidebar-toggle-icon-collapse {
    display: none;
}

.dashboard-shell.sidebar-collapsed .sidebar-toggle-icon-menu {
    display: none;
}

.dashboard-shell.sidebar-collapsed .sidebar-toggle-icon-collapse {
    display: inline-block;
}

.dashboard-topbar-leading {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 0;
}

.dashboard-page-title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    min-width: 0;
}

.dashboard-topbar .navbar-logo {
    width: 60px;
    height: 60px;
    padding: 4px;
    flex-shrink: 0;
}

.dashboard-topbar-brand .brand-main {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-topbar-meta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dashboard-welcome-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-welcome-text {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.95rem;
}

.dashboard-user-icon {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.1rem;
}

.dashboard-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 15px;
}

.dashboard-welcome {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.dashboard-welcome-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.dashboard-user-name {
    color: white;
    font-size: 1rem;
    font-weight: 700;
}

.dashboard-user-role {
    color: var(--primary-yellow);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-user-profile {
    cursor: pointer;
    position: relative;
}

.dashboard-profile-image {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.dashboard-user-profile:hover .dashboard-profile-image {
    border-color: var(--primary-yellow);
    transform: scale(1.05);
}

.dashboard-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-profile-image i {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.3rem;
}

.profile-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
    border: 3px solid var(--primary-blue);
}

.profile-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-preview i {
    font-size: 2.5rem;
    color: var(--text-light);
}

.dashboard-role-badge {
    background: var(--primary-yellow);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.dashboard-user-name {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dashboard-notification-wrap {
    position: relative;
}

.dashboard-notification-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    cursor: pointer;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    font-size: 1.1rem;
}

.dashboard-notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--primary-red);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-notification-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 300px;
    max-height: 400px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    color: var(--text-dark);
}

.dashboard-main {
    width: 100%;
    min-width: 0;
    min-height: 100dvh;
    margin: 0;
    padding: calc(var(--dashboard-topbar-height) + 16px) 20px 16px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Avoid page-enter translateY on dashboard content (reads as a top gap on load) */
body.dashboard-body .dashboard-main {
    animation: none;
}

.dashboard-main > *:first-child {
    margin-top: 0;
}

body.dashboard-body .dashboard-main .container-child {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.dashboard-main .row-child {
    margin: -10px;
}

.dashboard-main .col-child-1,
.dashboard-main .col-child-2,
.dashboard-main .col-child-3,
.dashboard-main .col-child-4 {
    padding: 10px;
}

.dashboard-main .container-child {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.dashboard-main .table,
.dashboard-main table {
    max-width: 100%;
}

/* Shared Kona brand header and rebuilt navigation */
.kyh-brand-header { position: relative; z-index: 1020; background:#fff; border-bottom:1px solid #e7eef4; }
.kyh-brand-inner { width:min(1240px, calc(100% - 48px)); min-height:100px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.kyh-brand { display:inline-flex; align-items:center; gap:15px; color:#123958; text-decoration:none; }
.kyh-brand img { width:74px; height:74px; object-fit:contain; }
.kyh-brand-copy { display:grid; gap:1px; }
.kyh-brand-copy strong { color:#123958; font-family:'Nunito Sans','DM Sans',sans-serif; font-size:1.25rem; font-weight:900; line-height:1.2; }
.kyh-brand-copy small { color:#718297; font-size:.75rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.kyh-brand-promise { display:flex; align-items:center; gap:11px; padding:10px 15px; border:1px solid #e8eff5; background:#f8fbfd; }
.kyh-brand-promise-icon { width:40px; height:40px; display:grid; place-items:center; color:#0b75b9; background:#e7f4fc; border-radius:50%; }
.kyh-brand-promise strong,.kyh-brand-promise small { display:block; }
.kyh-brand-promise strong { color:#143e60; font-size:.8rem; }
.kyh-brand-promise small { color:#7a8c9e; font-size:.7rem; }
.kyh-navbar.navbar-modern { position:sticky; top:0; z-index:1010; padding:0; background:#f2f8fb; border-bottom:1px solid #deebf2; box-shadow:0 6px 18px rgba(18,57,88,.07); }
.kyh-nav-inner { width:min(1240px, calc(100% - 48px)); min-height:62px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.kyh-navbar .navbar-menu { display:flex; flex:1 1 auto; align-items:stretch; gap:2px; min-width:0; padding:0; margin:0; list-style:none; }
.kyh-navbar .navbar-item { display:flex; align-items:stretch; }
.kyh-navbar .navbar-link { position:relative; display:flex; align-items:center; gap:8px; min-height:62px; padding:0 13px; color:#214966 !important; border-radius:0; background:transparent; font-size:.76rem; font-weight:800; letter-spacing:.035em; text-decoration:none; white-space:nowrap; }
.kyh-navbar .navbar-link::after { position:absolute; right:13px; bottom:0; left:13px; height:3px; content:''; background:#f6b91e; transform:scaleX(0); transition:transform .2s ease; }
.kyh-navbar .navbar-link:hover,.kyh-navbar .navbar-item.active .navbar-link { color:#0876b9 !important; background:transparent; }
.kyh-navbar .navbar-link:hover::after,.kyh-navbar .navbar-item.active .navbar-link::after { transform:scaleX(1); }
.kyh-nav-tools { display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.kyh-navbar .navbar-login-group { display:flex; align-items:center; gap:6px; }
.kyh-navbar .nav-login-pill { min-height:38px; display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:0 12px; border:1px solid #cbdce8; border-radius:999px; color:#16496f; background:#fff; font-size:.72rem; font-weight:800; text-decoration:none; white-space:nowrap; }
.kyh-navbar .nav-login-pill:hover { color:#fff; border-color:#0b69a5; background:#0b69a5; }
.kyh-navbar .navbar-login-group-mobile { display:none; }
.kyh-navbar .language-dropdown { position:relative; }
.kyh-navbar .language-btn { min-height:38px; display:flex; align-items:center; gap:8px; padding:0 12px; border:1px solid #cbdce8; border-radius:999px; color:#16496f; background:#fff; font-size:.75rem; font-weight:800; }
.kyh-navbar .language-menu { position:absolute; top:calc(100% + 8px); right:0; z-index:20; display:none; min-width:140px; padding:6px; border:1px solid #e1eaf0; background:#fff; box-shadow:0 12px 28px rgba(17,53,81,.15); }
.kyh-navbar .language-dropdown:hover .language-menu,.kyh-navbar .language-dropdown:focus-within .language-menu,.kyh-navbar .language-dropdown.open .language-menu { display:grid; }
.kyh-navbar .language-option { padding:9px 11px; color:#214966; font-size:.82rem; text-decoration:none; }
.kyh-navbar .language-option:hover { color:#0876b9; background:#f2f8fb; }
.kyh-navbar .hamburger-btn { display:none; width:42px; height:42px; align-items:center; justify-content:center; flex-direction:column; gap:5px; border:1px solid #cbdce8; border-radius:8px; background:#fff; }
.kyh-navbar .hamburger-btn span { width:18px; height:2px; display:block; background:#16496f; }
.kyh-navbar .navbar-user-name { color:#16496f; font-size:.8rem; font-weight:800; }
@media (max-width:1150px) {
    .kyh-navbar .navbar-link { padding-inline:9px; font-size:.7rem; }
    .kyh-navbar .nav-login-pill { padding-inline:9px; }
    .kyh-navbar .nav-pill-label { display:none; }
}
@media (max-width:900px) {
    .kyh-brand-inner { min-height:82px; }
    .kyh-brand img { width:60px; height:60px; }
    .kyh-brand-promise { display:none; }
    .kyh-navbar.navbar-modern { z-index:1030; }
    .kyh-nav-inner { position:relative; min-height:58px; justify-content:flex-end; }
    .kyh-navbar .hamburger-btn { display:flex; order:3; }
    .kyh-navbar .navbar-menu { position:absolute; top:100%; right:0; bottom:auto; left:0; z-index:1031; display:none; width:100%; height:auto; max-height:calc(100svh - 150px); overflow-y:auto; padding:10px 24px 18px; border-top:1px solid #deebf2; background:#f7fbfd; box-shadow:0 14px 24px rgba(18,57,88,.16); }
    .kyh-navbar .navbar-menu.active,
    .kyh-navbar .navbar-menu.is-open { display:flex !important; flex-direction:column; visibility:visible; opacity:1; pointer-events:auto; transform:none; }
    .kyh-navbar .navbar-item { display:flex; flex-direction:column; }
    .kyh-navbar .navbar-link { min-height:46px; padding:0 12px; font-size:.8rem; }
    .kyh-navbar .navbar-link::after { right:auto; left:12px; width:34px; }
    .kyh-navbar .navbar-menu .navbar-login-group-mobile { display:flex; flex-direction:column; gap:8px; padding:10px 12px 4px; }
    .kyh-navbar .navbar-login-group-mobile .nav-login-pill { justify-content:flex-start; width:100%; }
    .kyh-navbar .navbar-login-group { display:none; }
    .kyh-nav-tools { margin-right:auto; }
}
@media (max-width:520px) {
    .kyh-brand-inner,.kyh-nav-inner { width:calc(100% - 32px); }
    .kyh-brand img { width:52px; height:52px; }
    .kyh-brand-copy strong { font-size:1.05rem; }
    .kyh-brand-copy small { font-size:.63rem; }
    .kyh-nav-inner { gap:8px; justify-content:space-between; }
    .kyh-navbar .hamburger-btn { order:0; }
    .kyh-nav-tools { order:1; margin:0 0 0 auto; }
    .kyh-navbar .navbar-user-name { display:none; }
}

@media (max-width: 992px) {
    .dashboard-shell,
    .dashboard-shell.sidebar-collapsed {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: min(var(--dashboard-sidebar-width), 88vw);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .dashboard-sidebar.open {
        transform: translateX(0);
    }

    .dashboard-shell.sidebar-collapsed .sidebar-link span {
        opacity: 1;
        width: auto;
    }

    .dashboard-shell.sidebar-collapsed .sidebar-link {
        justify-content: flex-start;
        padding: 12px 14px;
    }

    .dashboard-right {
        grid-column: 1;
        width: 100%;
    }

    .dashboard-topbar {
        left: 0;
    }

    body.dashboard-sidebar-open > .sidebar-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .dashboard-shell.sidebar-open .sidebar-toggle-icon-menu::before {
        content: none;
    }
}

@media (max-width: 768px) {
    .dashboard-topbar {
        min-height: 56px;
    }

    .dashboard-page-title,
    .dashboard-topbar-brand .brand-main {
        font-size: 0.95rem;
    }

    .dashboard-user-name {
        display: none;
    }

    .dashboard-topbar-meta .dashboard-logout-btn span {
        display: none;
    }

    .dashboard-topbar-meta .dashboard-logout-btn {
        min-width: 44px;
        padding: 8px 12px;
        justify-content: center;
    }

    .topbar-btn span {
        display: none;
    }

    .topbar-btn {
        padding: 12px 16px;
    }

    .hero-illustration {
        height: 160px;
    }

    .hero-child {
        font-size: 3.5rem;
    }
}

/* =====================================================
   Advanced Hero Slider Effects
   ===================================================== */

.hero-swiper {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 2;
}

/* Destroy Animation Effects */
.destroy-shatter {
    animation: shatterEffect 0.8s ease-out forwards;
}

@keyframes shatterEffect {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: brightness(1);
    }
    20% {
        transform: scale(1.02) rotate(1deg);
        filter: brightness(1.2);
    }
    40% {
        transform: scale(0.95) rotate(-2deg);
        opacity: 0.8;
        filter: blur(2px);
    }
    60% {
        transform: scale(0.85) rotate(3deg);
        opacity: 0.5;
        filter: blur(4px) brightness(1.5);
        clip-path: polygon(
            0% 0%, 100% 0%, 100% 100%, 0% 100%
        );
    }
    80% {
        transform: scale(0.7) rotate(-5deg);
        opacity: 0.3;
        filter: blur(8px) brightness(2);
        clip-path: polygon(
            10% 10%, 90% 5%, 95% 95%, 5% 90%
        );
    }
    100% {
        transform: scale(0.5) rotate(10deg);
        opacity: 0;
        filter: blur(15px) brightness(3);
        clip-path: polygon(
            20% 20%, 80% 15%, 85% 85%, 15% 80%
        );
    }
}

.destroy-pixel-dissolve {
    animation: pixelDissolve 1s ease-out forwards;
}

@keyframes pixelDissolve {
    0% {
        opacity: 1;
        filter: none;
    }
    25% {
        opacity: 0.8;
        filter: pixelate(8px);
    }
    50% {
        opacity: 0.5;
        filter: pixelate(16px) blur(2px);
    }
    75% {
        opacity: 0.2;
        filter: pixelate(32px) blur(5px);
    }
    100% {
        opacity: 0;
        filter: pixelate(64px) blur(10px);
    }
}

.destroy-smoke-fade {
    animation: smokeFade 1.2s ease-out forwards;
}

@keyframes smokeFade {
    0% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
    30% {
        opacity: 0.7;
        transform: scale(1.05);
        filter: blur(3px);
    }
    60% {
        opacity: 0.4;
        transform: scale(1.1);
        filter: blur(8px) brightness(1.3);
    }
    100% {
        opacity: 0;
        transform: scale(1.3) translateY(-20px);
        filter: blur(20px) brightness(2);
    }
}

.destroy-glitch {
    animation: glitchEffect 0.9s ease-out forwards;
}

@keyframes glitchEffect {
    0% {
        opacity: 1;
        transform: translateX(0);
        filter: none;
    }
    10% {
        transform: translateX(-10px);
        filter: hue-rotate(90deg);
    }
    20% {
        transform: translateX(10px);
        filter: hue-rotate(-90deg);
    }
    30% {
        transform: translateX(-5px);
        filter: hue-rotate(45deg) blur(1px);
    }
    40% {
        transform: translateX(5px);
        filter: hue-rotate(-45deg) blur(2px);
    }
    50% {
        transform: translateX(-15px) skewX(5deg);
        filter: hue-rotate(180deg) blur(3px);
        opacity: 0.6;
    }
    60% {
        transform: translateX(15px) skewX(-5deg);
        filter: hue-rotate(-180deg) blur(4px);
        opacity: 0.4;
    }
    70% {
        transform: translateX(-8px) skewX(3deg);
        filter: hue-rotate(90deg) blur(6px);
        opacity: 0.2;
    }
    80% {
        transform: translateX(8px) skewX(-3deg);
        filter: hue-rotate(-90deg) blur(8px);
        opacity: 0.1;
    }
    90% {
        transform: translateX(-3px);
        filter: blur(10px);
        opacity: 0.05;
    }
    100% {
        transform: translateX(0);
        filter: blur(15px);
        opacity: 0;
    }
}

.destroy-breaking-glass {
    animation: breakingGlass 0.7s ease-out forwards;
}

@keyframes breakingGlass {
    0% {
        opacity: 1;
        transform: scale(1);
        clip-path: inset(0 0 0 0);
    }
    15% {
        transform: scale(1.01);
        clip-path: polygon(
            0% 0%, 100% 0%, 100% 100%, 0% 100%
        );
    }
    30% {
        opacity: 0.8;
        transform: scale(0.98);
        clip-path: polygon(
            0% 0%, 50% 0%, 100% 50%, 100% 100%, 50% 100%, 0% 50%
        );
    }
    45% {
        opacity: 0.6;
        transform: scale(0.95);
        clip-path: polygon(
            0% 0%, 33% 0%, 66% 0%, 100% 0%,
            100% 33%, 100% 66%, 100% 100%,
            66% 100%, 33% 100%, 0% 100%,
            0% 66%, 0% 33%
        );
    }
    60% {
        opacity: 0.4;
        transform: scale(0.9);
        clip-path: polygon(
            0% 0%, 25% 0%, 50% 0%, 75% 0%, 100% 0%,
            100% 25%, 100% 50%, 100% 75%, 100% 100%,
            75% 100%, 50% 100%, 25% 100%, 0% 100%,
            0% 75%, 0% 50%, 0% 25%
        );
    }
    75% {
        opacity: 0.2;
        transform: scale(0.85);
        filter: blur(3px);
    }
    100% {
        opacity: 0;
        transform: scale(0.7);
        filter: blur(10px);
    }
}

.destroy-blur-collapse {
    animation: blurCollapse 1s ease-out forwards;
}

@keyframes blurCollapse {
    0% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
    25% {
        opacity: 0.8;
        transform: scale(0.95);
        filter: blur(5px);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.85);
        filter: blur(15px);
    }
    75% {
        opacity: 0.2;
        transform: scale(0.7);
        filter: blur(30px);
    }
    100% {
        opacity: 0;
        transform: scale(0.5);
        filter: blur(50px);
    }
}

.destroy-rotate-disappear {
    animation: rotateDisappear 0.8s ease-out forwards;
}

@keyframes rotateDisappear {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    25% {
        opacity: 0.8;
        transform: scale(0.9) rotate(90deg);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.7) rotate(180deg);
        filter: blur(3px);
    }
    75% {
        opacity: 0.2;
        transform: scale(0.5) rotate(270deg);
        filter: blur(8px);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) rotate(360deg);
        filter: blur(15px);
    }
}

.destroy-cyberpunk {
    animation: cyberpunkDestroy 1.1s ease-out forwards;
}

@keyframes cyberpunkDestroy {
    0% {
        opacity: 1;
        transform: scale(1);
        filter: none;
    }
    15% {
        transform: scale(1.02);
        filter: hue-rotate(0deg) saturate(1);
    }
    30% {
        opacity: 0.9;
        transform: scale(0.98);
        filter: hue-rotate(45deg) saturate(1.5) brightness(1.2);
    }
    45% {
        opacity: 0.7;
        transform: scale(0.95) skewX(2deg);
        filter: hue-rotate(90deg) saturate(2) brightness(1.5) blur(1px);
    }
    60% {
        opacity: 0.5;
        transform: scale(0.9) skewX(-2deg) translateY(-5px);
        filter: hue-rotate(135deg) saturate(3) brightness(2) blur(3px);
    }
    75% {
        opacity: 0.3;
        transform: scale(0.85) skewX(5deg) translateY(-10px);
        filter: hue-rotate(180deg) saturate(4) brightness(3) blur(6px);
    }
    90% {
        opacity: 0.1;
        transform: scale(0.75) skewX(-5deg) translateY(-15px);
        filter: hue-rotate(225deg) saturate(5) brightness(4) blur(10px);
    }
    100% {
        opacity: 0;
        transform: scale(0.6) skewX(0deg) translateY(-20px);
        filter: hue-rotate(270deg) saturate(6) brightness(5) blur(15px);
    }
}

/* Zoom-in animation for active slide */
.slide-zoom-in {
    animation: zoomInSlide 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes zoomInSlide {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Smooth fade transition */
.fade-transition {
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Left-to-right slide animation */
.slide-left-right {
    animation: slideLeftRight 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideLeftRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Swiper pagination customization */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary-yellow);
    width: 30px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* =====================================================
   Feature Cards Section
   ===================================================== */
.feature-cards-section {
    background: var(--background-light);
    padding: 60px 0;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #edf0f5;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: cardFadeIn 0.6s ease forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.feature-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a6edb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
}

.feature-card:nth-child(1) .feature-card-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a6edb 100%);
}

.feature-card:nth-child(2) .feature-card-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.feature-card:nth-child(3) .feature-card-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.feature-card:nth-child(4) .feature-card-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

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

.feature-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navbar-dark);
    margin: 0;
}

.feature-card-description {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.feature-card-link {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.feature-card-link:hover {
    color: var(--primary-blue-dark);
    gap: 8px;
}

/* =====================================================
   Statistics Bar Section
   ===================================================== */
.stats-section {
    background: var(--primary-blue);
    padding: 60px 0;
}

.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1;
}

.stat-label {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-yellow);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =====================================================
   Governance & Leadership Cards
   ===================================================== */
.governance-section {
    padding: 48px 0 32px;
    background: var(--background-light);
}

.leadership-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.leadership-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.leadership-card .image-frame {
    background-color: #f3f4f6;
    overflow: hidden;
    text-align: center;
}

.leadership-card .image-frame img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    padding: 8px;
}

.leadership-card .image-frame .fallback-icon {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 3rem;
}

.leadership-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.leadership-card .card-body h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    min-height: 48px;
}

.leadership-card .role-box {
    padding: 12px 16px;
    margin-top: auto;
}

.leadership-card .role-box .role-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0056b3;
    margin: 0;
}

.governance-carousel {
    position: relative;
}

.governance-scroll {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.governance-scroll::-webkit-scrollbar {
    display: none;
}

.governance-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-blue);
    transition: all 0.2s;
}

.governance-arrow:hover {
    background: transparent;
    color: var(--primary-blue-dark);
}

.governance-arrow-left {
    left: -22px;
}

.governance-arrow-right {
    right: -22px;
}

@media (max-width: 768px) {
    .governance-arrow {
        display: none;
    }
}

/* =====================================================
   Why Choose Section
   ===================================================== */
.why-choose-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 48px 0;
}

.section-heading-center {
    text-align: center;
    margin-bottom: 30px;
}

.why-choose-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px 0;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-yellow) 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.why-choose-item {
    animation: cardFadeIn 0.6s ease forwards;
    opacity: 0;
}

/* =====================================================
   Responsive Design for New Sections
   ===================================================== */
@media (max-width: 992px) {
    .col-child-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .stats-bar {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .why-choose-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .feature-cards-section,
    .why-choose-section {
        padding: 50px 0;
    }
    
    .stats-section {
        padding: 40px 0;
    }
    
    .col-child-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .stats-bar {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .feature-card-title {
        font-size: 1.3rem;
    }
    
    .why-choose-title {
        font-size: 1.8rem;
    }
    
    .why-choose-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .why-choose-item-title {
        font-size: 1.2rem;
    }
}

/* Utility classes for padding */
.py-16 {
    padding-top: 64px;
    padding-bottom: 64px;
}

@media (max-width: 768px) {
    .py-16 {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* =====================================================
   NEW FEATURE CARDS CSS - Modern Design
   ===================================================== */

.feature-cards-section {
    margin-top: 40px;
}

.feature-cards-container {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #FFFFFF;
    border-radius: 0;
    padding: 35px 28px;
    box-shadow: 0 10px 30px rgba(13, 91, 255, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    min-height: 280px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(13, 91, 255, 0.15);
}

.feature-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #0D5BFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: transform 0.3s ease;
}

.feature-card-icon i,
.feature-card-icon svg {
    font-size: 32px;
    color: #FFFFFF;
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.1);
}

.feature-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #081F5C;
    margin: 0 0 15px 0;
}

.feature-card-description {
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #5B657C;
    margin: 0;
    flex-grow: 1;
}

.feature-card-learn-more {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0D5BFF;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    transition: color 0.3s ease;
}

.feature-card-learn-more:hover {
    color: #FF8A00;
}

.feature-card-learn-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.feature-card-learn-more:hover::after {
    transform: translateX(5px);
}

/* =====================================================
   NEW STATS BAR CSS - Modern Design
   ===================================================== */

.stats-section {
    margin-top: 45px;
}

.stats-bar {
    width: 100%;
    background: linear-gradient(135deg, #0D5BFF 0%, #081F5C 100%);
    border-radius: 22px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 40px rgba(13, 91, 255, 0.25);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.stat-icon i,
.stat-icon svg {
    font-size: 28px;
    color: #FFFFFF;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 8px 0;
    line-height: 1;
}

.stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #FF8A00;
    margin: 0;
}

/* =====================================================
   NEW WHY CHOOSE SECTION CSS - Modern Design
   ===================================================== */

.why-choose-section {
    padding: 40px 0;
    text-align: center;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 30px;
}

.why-choose-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #007bff;
    margin: 0 0 12px 0;
    position: relative;
    display: inline-block;
}

.why-choose-title span {
    color: #FF8A00;
}

.why-choose-underline {
    width: 90px;
    height: 4px;
    background: #0D5BFF;
    border-radius: 2px;
    margin: 0 auto;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.why-choose-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #edf0f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.why-choose-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a6edb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
}

.why-choose-item:hover .why-choose-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.35);
}

.why-choose-item-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navbar-dark);
    margin: 0 0 10px 0;
}

.why-choose-item-description {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   RESPONSIVE DESIGN - Tablet (max-width: 992px)
   ===================================================== */

@media (max-width: 992px) {
    .feature-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stats-bar {
        flex-wrap: wrap;
        gap: 30px;
        padding: 35px;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 15px);
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .stat-number {
        font-size: 38px;
    }
    
    .stat-label {
        font-size: 17px;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .why-choose-title {
        font-size: 42px;
    }
    
    .feature-card-title {
        font-size: 24px;
    }
    
    .feature-card-description {
        font-size: 16px;
    }
}

/* =====================================================
   RESPONSIVE DESIGN - Mobile (max-width: 768px)
   ===================================================== */

@media (max-width: 768px) {
    .feature-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .feature-card {
        padding: 30px 20px;
        min-height: auto;
    }
    
    .feature-card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 18px;
    }
    
    .feature-card-icon i,
    .feature-card-icon svg {
        font-size: 28px;
    }
    
    .feature-card-title {
        font-size: 22px;
    }
    
    .feature-card-description {
        font-size: 15px;
    }
    
    .stats-bar {
        flex-direction: column;
        gap: 35px;
        padding: 30px 20px;
        border-radius: 18px;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .stat-item:not(:last-child) {
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 16px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-icon i,
    .stat-icon svg {
        font-size: 24px;
    }
    
    .why-choose-section {
        margin-top: 60px;
        padding: 50px 0;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-choose-title {
        font-size: 32px;
    }
    
    .why-choose-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .why-choose-item-title {
        font-size: 22px;
    }
    
    .why-choose-item-description {
        font-size: 15px;
    }
    
    .why-choose-underline {
        width: 70px;
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

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

.feature-card {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.stat-item {
    animation: fadeInUp 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.why-choose-item {
    animation: fadeInUp 0.6s ease forwards;
}

.why-choose-item:nth-child(1) { animation-delay: 0.1s; }
.why-choose-item:nth-child(2) { animation-delay: 0.2s; }
.why-choose-item:nth-child(3) { animation-delay: 0.3s; }
.why-choose-item:nth-child(4) { animation-delay: 0.4s; }

/* =====================================================
   Benefit Cards (professional cards with bg image)
   ===================================================== */
.benefit-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 50px;
}

.benefit-card-wrap {
    position: relative;
    flex: 0 0 auto;
    width: 280px;
    max-width: 100%;
}

.benefit-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px 32px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #edf0f5;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
    overflow: hidden;
    min-height: 300px;
    width: 100%;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.benefit-card.has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
}

.benefit-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.65) 100%);
    border-radius: 18px;
    transition: opacity 0.35s ease;
}

.benefit-card.has-bg:hover .benefit-card-overlay {
    opacity: 0.85;
}

.benefit-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.benefit-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.benefit-card.has-bg .benefit-card-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.benefit-card:hover .benefit-card-icon {
    transform: scale(1.06);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.4);
}

.benefit-card.has-bg:hover .benefit-card-icon {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.benefit-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navbar-dark);
    margin: 0 0 10px 0;
    letter-spacing: -0.01em;
}

.benefit-card.has-bg .benefit-card-title {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.benefit-card-desc {
    font-family: 'Nunito', sans-serif;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.benefit-card.has-bg .benefit-card-desc {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
    .benefit-card-wrap {
        width: 240px;
    }
}

@media (max-width: 576px) {
    .benefit-cards-grid {
        gap: 16px;
    }
    .benefit-card-wrap {
        width: 180px;
    }
    .benefit-card {
        min-height: 230px;
        padding: 28px 16px 24px;
    }
    .benefit-card-icon {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
        margin-bottom: 14px;
    }
    .benefit-card-title {
        font-size: 1rem;
    }
    .benefit-card-desc {
        font-size: 0.82rem;
    }
}

/* =====================================================
   Compact dashboard & auth sizing
   ===================================================== */
body.dashboard-body .btn-child,
body.dashboard-body .btn-child-large {
    min-height: 42px;
    min-width: auto;
    font-size: 0.95rem;
    padding: 10px 18px;
}

body.dashboard-body .activity-title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
}

body.dashboard-body .dashboard-card {
    padding: 20px;
    opacity: 1;
    animation: none;
}

body.dashboard-body .dashboard-card-title {
    font-size: 1.15rem;
}

body.dashboard-body .form-control-child,
body.dashboard-body .form-control,
body.dashboard-body .form-select {
    min-height: 42px;
    font-size: 0.95rem;
    padding: 10px 14px;
}

.auth-page {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #000000;
}

.auth-page.auth-split-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

/* Legacy single-card auth (unchanged for other pages) */
.auth-card {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    padding: 28px 24px;
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hover);
}

.auth-card .activity-title {
    font-size: 1.5rem;
}

.auth-card .btn-child,
.auth-card .btn-child-large {
    min-height: 44px;
    font-size: 1rem;
    padding: 10px 20px;
    width: 100%;
}

.auth-card .form-control-child {
    min-height: 44px;
    font-size: 1rem;
}

/* =====================================================
   Split-screen authentication (Login / Register)
   ===================================================== */
.auth-split-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.auth-fade-in {
    animation: authFadeIn 0.55s ease forwards;
}

@keyframes authFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-split-card {
    display: flex;
    flex-wrap: wrap;
    min-height: min(640px, calc(100vh - 48px));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 10px 20px rgba(0, 0, 0, 0.04),
        0 24px 48px rgba(11, 45, 137, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.auth-split-visual {
    position: relative;
    flex: 0 0 45%;
    max-width: 45%;
    min-height: 280px;
    background: linear-gradient(160deg, var(--navbar-dark) 0%, var(--primary-blue) 55%, var(--primary-green) 100%);
    color: #fff;
    overflow: hidden;
}

.auth-split-visual-bg {
    position: absolute;
    inset: 0;
    background-color: hsl(211, 75%, 63%);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.02);
    transition: transform 0.6s ease;
}

.auth-split-card:hover .auth-split-visual-bg {
    transform: scale(1.06);
}

.auth-split-card:hover {
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.04),
        0 16px 32px rgba(0, 0, 0, 0.06),
        0 32px 64px rgba(11, 45, 137, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.auth-split-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 45, 137, 0.55) 0%,
        rgba(11, 45, 137, 0.35) 45%,
        rgba(11, 45, 137, 0.75) 100%
    );
}

.auth-split-visual-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: inherit;
    padding: 32px 28px;
    text-align: center;
}

.auth-split-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s ease;
    margin-bottom: 16px;
}

.auth-split-brand:hover {
    opacity: 0.92;
    color: #fff;
}

.auth-split-brand-logo {
    border-radius: 12px;
    background: transparent;
    padding: 0;
    width: 180px;
    height: 180px;
}

.auth-split-brand-name {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.auth-split-tagline {
    margin: 12px 0 0;
    font-size: 1.2rem;
    opacity: 0.92;
}

.auth-split-visual-spacer {
    display: none;
}

.auth-split-social {
    display: none;
}

.auth-split-social-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
    margin-bottom: 10px;
}

.auth-split-social-links {
    display: flex;
    gap: 10px;
}

.auth-split-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.auth-split-social-link:hover {
    background: var(--primary-yellow);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.auth-split-form-panel {
    flex: 1 1 55%;
    max-width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 44px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.auth-form-header {
    margin-bottom: 28px;
}

.auth-form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px;
}

.auth-form-subtitle {
    margin: 0;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.5;
}

.auth-split-form-panel .form-group-child {
    margin-bottom: 20px;
}

.auth-split-form-panel .form-label-child {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.92rem;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-light);
    pointer-events: none;
    z-index: 1;
    font-size: 0.95rem;
}

.auth-split-form-panel .auth-input.form-control-child,
.auth-split-form-panel .auth-input-wrap .form-control-child,
.auth-split-form-panel select.form-control-child {
    width: 100%;
    min-height: 48px;
    padding: 12px 44px 12px 42px;
    border: 2px solid var(--primary-blue);
    border-radius: 0;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(74, 144, 226, 0.1) inset;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.auth-split-form-panel .auth-input-wrap .form-control-child {
    padding-right: 48px;
}

.auth-split-form-panel .form-control-child:focus {
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 0 4px rgba(74, 144, 226, 0.15),
        0 4px 12px rgba(74, 144, 226, 0.2),
        0 0 0 1px rgba(74, 144, 226, 0.2) inset;
    outline: none;
    transform: translateY(-1px);
}

.auth-split-form-panel select.form-control-child {
    padding-left: 14px;
}

.auth-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--text-light);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.auth-password-toggle:hover {
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.15);
    transform: translateY(-50%) scale(1.05);
}

.auth-submit-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 0;
    box-shadow: 
        0 2px 4px rgba(74, 144, 226, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 8px rgba(74, 144, 226, 0.25),
        0 8px 20px rgba(74, 144, 226, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.auth-submit-btn.is-loading {
    pointer-events: none;
    opacity: 0.88;
    position: relative;
}

.auth-submit-btn.is-loading .auth-btn-text {
    opacity: 0;
}

.auth-submit-btn.is-loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: authSpin 0.7s linear infinite;
}

@keyframes authSpin {
    to { transform: rotate(360deg); }
}

.auth-form-footer {
    margin-top: 24px;
    text-align: center;
}

.auth-form-footer p {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.auth-form-footer a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-form-footer a:hover {
    color: var(--primary-blue-dark);
}

.auth-link-muted {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.auth-link-muted:hover {
    color: var(--primary-blue);
}

.auth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.auth-split-form-panel .alert-child {
    margin-bottom: 20px;
    border-radius: var(--border-radius-sm);
}

@media (max-width: 992px) {
    .auth-split-visual {
        flex: 0 0 100%;
        max-width: 100%;
        min-height: 220px;
    }

    .auth-split-form-panel {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 32px 28px;
    }

    .auth-split-card {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .auth-page.auth-split-page {
        padding: 16px 12px;
    }

    .auth-split-form-panel {
        padding: 28px 20px;
    }

    .auth-form-title {
        font-size: 1.5rem;
    }

    .auth-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-split-visual-content {
        padding: 24px 20px;
    }
}

/* Nav login pills */
.navbar-login-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-login-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: background 0.2s, transform 0.2s;
}

.nav-login-pill:hover {
    background: transparent;
    color: var(--primary-yellow);
    transform: translateY(-1px);
}

.nav-login-pill.teacher { background: transparent; }
.nav-login-pill.parent { background: transparent; }
.nav-login-pill.learner { background: transparent; }

/* Modal system */
.kona-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 45, 137, 0.55);
    z-index: 10050;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.kona-modal-overlay.is-open {
    display: flex;
}

.kona-modal {
    background: #fff;
    border-radius: 0;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10051;
}

.kona-modal-lg { max-width: 640px; }

.kona-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 2px solid var(--background-light);
    background: linear-gradient(90deg, var(--navbar-dark), var(--primary-blue));
    color: #fff;
}

.kona-modal-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #fff;
}

.kona-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
}

.kona-modal-body {
    padding: 20px;
}

.kona-modal-footer {
    padding: 12px 20px 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Home page professional */
.home-stats-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.home-stat {
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.home-stat strong {
    display: block;
}

.home-stat span {
    font-size: 0.9rem;
    color: #FFD43B;
    opacity: 0.95;
}

.nav-pill-label {
    display: inline;
}

@media (max-width: 992px) {
    .nav-pill-label {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar-login-group {
        display: none;
    }

    .navbar-menu.is-open .navbar-login-group-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 12px 0;
        gap: 8px;
    }
}

/*
 * DEBUG / ROOT CAUSE (2026-05): Top gap came from (1) sidebar-backdrop inside .dashboard-right
 * flex column, (2) scrolling .dashboard-right with sticky topbar, (3) duplicate !important
 * flush overrides, (4) whitespace text nodes as flex/grid items in indented templates.
 * Fix: shell = sidebar + .dashboard-right only; backdrop as fixed body sibling; topbar
 * position:fixed at viewport top; scroll only .dashboard-main with padding-top for bar height.
 */

@media (max-width: 992px) {
    .dashboard-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .dashboard-topbar {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 768px) {
    .dashboard-main {
        padding-left: 12px;
        padding-right: 12px;
        padding-top: calc(56px + 16px);
    }

    .dashboard-topbar {
        min-height: 56px;
    }
}

/* =====================================================
   KONA YA HISABATI - About Page Modern Styling
   Premium SaaS/Educational Landing Page Design
   ===================================================== */

/* About Page Body */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4ff 100%);
}

/* Minimal Top Bar */
.about-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.about-topbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-back-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    flex-shrink: 0;
}

.about-back-btn:hover {
    transform: translateX(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.about-back-btn i {
    font-size: 1.2rem;
}

.about-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.about-logo-text {
    display: flex;
    flex-direction: column;
}

.about-logo-main {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navbar-dark);
    line-height: 1.2;
}

.about-logo-sub {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

/* Hero Section */
.about-hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(60px);
}

.about-hero-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    top: -100px;
    right: -100px;
    animation: floatShape 8s ease-in-out infinite;
}

.about-hero-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-yellow);
    bottom: -50px;
    left: -50px;
    animation: floatShape 10s ease-in-out infinite reverse;
}

.about-hero-shape.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--primary-green);
    top: 50%;
    right: 20%;
    animation: floatShape 12s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.about-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-hero-left {
    animation: fadeInUp 0.8s ease forwards;
}

.about-hero-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    color: var(--navbar-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.about-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--navbar-dark);
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--navbar-dark), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 500px;
}

.about-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.about-hero-right {
    animation: fadeInRight 0.8s ease 0.2s forwards;
    opacity: 0;
}

.about-hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    box-shadow: 0 20px 60px rgba(74, 144, 226, 0.3);
    animation: heroImageFloat 6s ease-in-out infinite;
}

@keyframes heroImageFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.about-stat-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 20px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    animation: statCardFloat 4s ease-in-out infinite;
}

.about-stat-card.stat-1 {
    top: 20px;
    right: 20px;
    animation-delay: 0s;
}

.about-stat-card.stat-2 {
    bottom: 40px;
    right: 0;
    animation-delay: 1s;
}

.about-stat-card.stat-3 {
    bottom: 20px;
    left: 20px;
    animation-delay: 2s;
}

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

.about-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 4px;
}

/* Section Headers */
.about-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.about-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--navbar-dark);
    margin-bottom: 16px;
}

.about-section-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-yellow), var(--primary-green));
    border-radius: 2px;
    margin: 0 auto;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Mission Section */
.about-mission {
    padding: 100px 0;
    background: white;
}

.about-mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-mission-card {
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-mission-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.05) 0%, transparent 70%);
    animation: cardBgFloat 10s ease-in-out infinite;
}

.about-mission-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 24px;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.about-mission-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* Goals Section */
.about-goals {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4ff 100%);
}

.about-goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.about-goal-card {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green), var(--primary-yellow));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-goal-card:hover::before {
    transform: scaleX(1);
}

.about-goal-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-goal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navbar-dark);
    margin-bottom: 12px;
}

.about-goal-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Target Users Section */
.about-users {
    padding: 100px 0;
    background: white;
}

.about-users-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-user-card {
    background: white;
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-user-gradient {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    z-index: 0;
}

.about-user-card.user-children .about-user-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
}

.about-user-card.user-teachers .about-user-gradient {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
}

.about-user-card.user-parents .about-user-gradient {
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-yellow-dark));
}

.about-user-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-user-card:hover .about-user-gradient {
    opacity: 0.12;
}

.about-user-icon {
    position: relative;
    z-index: 1;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.about-user-card.user-teachers .about-user-icon {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
}

.about-user-card.user-parents .about-user-icon {
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
}

.about-user-title {
    position: relative;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navbar-dark);
    margin-bottom: 12px;
}

.about-user-description {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Learning Principles Section */
.about-principles {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4ff 100%);
}

.about-principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.about-principle-card {
    padding: 45px;
    position: relative;
    overflow: hidden;
}

.about-principle-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.05) 0%, transparent 70%);
    animation: cardBgFloat 10s ease-in-out infinite;
}

.about-principle-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-principle-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navbar-dark);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.about-principle-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Team Section */
.about-team {
    padding: 100px 0;
    background: white;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.about-team-card {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.about-team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-team-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navbar-dark);
    margin-bottom: 8px;
}

.about-team-role {
    font-size: 0.95rem;
    font-weight: 600;
}

/* CTA Section */
.about-cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.about-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 50%, var(--primary-yellow) 100%);
    z-index: 0;
}

.about-cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.about-cta-shape.cta-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
}

.about-cta-shape.cta-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

.about-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.about-cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.about-cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
}

.about-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-hero-right {
        order: -1;
    }

    .about-hero-visual {
        height: 350px;
    }

    .about-hero-image {
        width: 220px;
        height: 220px;
        font-size: 6rem;
    }

    .about-users-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-topbar-content {
        padding: 0 16px;
    }

    .about-logo-main {
        font-size: 1rem;
    }

    .about-logo-sub {
        font-size: 0.65rem;
    }

    .about-hero {
        padding: 60px 0 80px;
    }

    .about-hero-visual {
        height: 300px;
    }

    .about-hero-image {
        width: 180px;
        height: 180px;
        font-size: 5rem;
    }

    .about-stat-card {
        padding: 15px 18px;
    }

    .about-stat-number {
        font-size: 1.5rem;
    }

    .about-stat-label {
        font-size: 0.75rem;
    }

    .about-section-header {
        margin-bottom: 40px;
    }

    .about-goals-grid {
        grid-template-columns: 1fr;
    }

    .about-users-grid {
        grid-template-columns: 1fr;
    }

    .about-principles-grid {
        grid-template-columns: 1fr;
    }

    .about-team-grid {
        grid-template-columns: 1fr;
    }

    .about-mission-card,
    .about-principle-card {
        padding: 35px 25px;
    }

    .about-goal-card,
    .about-user-card,
    .about-team-card {
        padding: 35px 25px;
    }

    .about-cta {
        padding: 80px 0;
    }

    .about-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-child {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .about-topbar-content {
        padding: 0 12px;
    }

    .about-back-btn {
        width: 40px;
        height: 40px;
    }

    .about-back-btn i {
        font-size: 1rem;
    }

    .about-logo-icon {
        width: 40px;
        height: 40px;
    }

    .about-logo-main {
        font-size: 0.9rem;
    }

    .about-logo-sub {
        font-size: 0.6rem;
    }

    .about-hero {
        padding: 40px 0 60px;
    }

    .about-hero-visual {
        height: 250px;
    }

    .about-hero-image {
        width: 150px;
        height: 150px;
        font-size: 4rem;
    }

    .about-hero-label {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .about-hero-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .about-hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .about-hero-buttons .btn-child {
        width: 100%;
    }

    .about-stat-card {
        padding: 12px 15px;
        min-width: 80px;
    }

    .about-stat-number {
        font-size: 1.3rem;
    }

    .about-stat-label {
        font-size: 0.7rem;
    }

    .about-section-header {
        margin-bottom: 30px;
    }

    .about-section-label {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .about-section-title {
        font-size: 1.5rem;
    }

    .about-mission-card,
    .about-principle-card,
    .about-goal-card,
    .about-user-card,
    .about-team-card {
        padding: 30px 20px;
    }

    .about-mission-icon,
    .about-principle-icon,
    .about-goal-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .about-mission-icon i,
    .about-principle-icon i {
        font-size: 1.5rem;
    }

    .about-goal-icon-wrapper i {
        font-size: 1.3rem;
    }

    .about-goal-title,
    .about-user-title,
    .about-team-name {
        font-size: 1.1rem;
    }

    .about-goal-description,
    .about-user-description,
    .about-team-role {
        font-size: 0.9rem;
    }

    .about-user-icon,
    .about-team-avatar {
        width: 60px;
        height: 60px;
    }

    .about-user-icon i,
    .about-team-avatar i {
        font-size: 1.5rem;
    }

    .about-mission-text,
    .about-principle-description {
        font-size: 1rem;
    }
}

/* =====================================================
   ANNOUNCEMENTS — Top Bar (kyh-topbar-*) & Notice Board (kyh-board-*)
   ===================================================== */

/* --- Top Urgent Announcement Bar --- */
.kyh-topbar-wrap {
    background: linear-gradient(90deg, var(--primary-red) 0%, #e55555 100%);
    color: #fff;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    position: relative;
    z-index: 1001;
    overflow: hidden;
}

.kyh-topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    text-align: center;
}

.kyh-topbar-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    animation: kyhPulse 2s ease-in-out infinite;
}

@keyframes kyhPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.kyh-topbar-text {
    font-weight: 600;
    flex: 1 1 auto;
    min-width: 0;
}

.kyh-topbar-text strong {
    margin-right: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    opacity: 0.9;
}

.kyh-topbar-close {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.kyh-topbar-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* --- Scrolling Announcement Ticker (below nav) --- */
.kyh-ticker-wrap {
    background: #fff;
    border-top: 2px solid #f59e0b;
    border-bottom: 2px solid #f59e0b;
    overflow: hidden;
    position: relative;
    z-index: 999;
    width: 100%;
    min-height: 46px;
    height: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.kyh-ticker-wrap::before,
.kyh-ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 2;
    pointer-events: none;
}

.kyh-ticker-wrap::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), transparent);
}

.kyh-ticker-wrap::after {
    right: 0;
    background: linear-gradient(-90deg, rgba(255, 255, 255, 0.95), transparent);
}

.kyh-ticker-inner {
    height: 100%;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 56px 0 0;
    position: relative;
    display: flex;
    align-items: center;
}

.kyh-ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: kyhMarquee 80s linear infinite;
    will-change: transform;
}

.kyh-ticker-wrap:hover .kyh-ticker-track {
    animation-play-state: paused;
}

.kyh-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #007bff;
    flex-shrink: 0;
    white-space: nowrap;
}

.kyh-ticker-item strong {
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.72rem;
    background: #007bff;
    color: #fff;
    padding: 3px 12px;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.kyh-ticker-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #007bff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    animation: kyhPulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    max-width: 32px;
    max-height: 32px;
}

.kyh-ticker-spacer {
    display: inline-flex;
    align-items: center;
    padding: 0 6px;
    font-size: 1rem;
    color: #007bff;
    opacity: 0.3;
    flex-shrink: 0;
}

@keyframes kyhMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* --- Notes Board + Events Calendar Section --- */
.kyh-notevents-section {
    padding: 48px 0 32px;
    background: var(--background-light);
}

.kyh-notevents-row {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.kyh-notevents-left {
    flex: 0 0 65%;
    min-width: 0;
}

.kyh-notevents-right {
    flex: 0 0 35%;
    min-width: 0;
}

.kyh-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: #007bff;
    margin: 0 0 12px;
}

.kyh-notes-header,
.kyh-events-header {
    margin-bottom: 24px;
}

.kyh-notes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kyh-note-item {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
}

.kyh-note-item:last-child {
    border-bottom: none;
}

.kyh-note-img {
    width: 200px;
    min-height: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.kyh-note-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kyh-note-body {
    padding: 18px 20px 18px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.kyh-note-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navbar-dark);
    margin: 0;
    line-height: 1.35;
}

.kyh-note-date {
    font-size: 0.82rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.kyh-note-date i {
    color: var(--primary-blue);
    font-size: 0.75rem;
}

.kyh-note-excerpt {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.kyh-note-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--primary-blue);
    text-decoration: none;
    transition: gap 0.2s;
}

.kyh-note-link:hover {
    gap: 10px;
    color: var(--primary-blue-dark);
}

.kyh-note-link i {
    font-size: 0.75rem;
}

/* Events Calendar */
.kyh-events-calendar {
    padding: 0;
}

.kyh-events-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.kyh-event-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.kyh-event-item:last-child {
    border-bottom: none;
}

.kyh-event-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 68px;
    flex-shrink: 0;
    line-height: 1;
}

.kyh-event-day {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
}

.kyh-event-month {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.kyh-event-info {
    flex: 1;
    min-width: 0;
}

.kyh-event-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navbar-dark);
    margin: 0 0 4px;
    line-height: 1.3;
}

.kyh-event-time {
    font-size: 0.78rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.kyh-event-time i {
    color: var(--primary-blue);
    font-size: 0.7rem;
}

.kyh-board-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--primary-blue);
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    align-self: flex-start;
}

.kyh-board-card-btn:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.35);
}

.kyh-board-card-btn i {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.kyh-board-card-btn:hover i {
    transform: translateX(3px);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .kyh-notevents-row {
        flex-direction: column;
    }

    .kyh-notevents-left,
    .kyh-notevents-right {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .kyh-note-item {
        flex-direction: column;
    }

    .kyh-note-img {
        width: 100%;
        height: 200px;
    }

    .kyh-note-body {
        padding: 0 16px 16px;
    }
}

@media (max-width: 768px) {
    .kyh-topbar-inner {
        padding: 8px 16px;
        font-size: 0.82rem;
        gap: 8px;
    }

    .kyh-topbar-icon {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
}

/* =====================================================
   LATEST ANNOUNCEMENTS — Homepage Section
   ===================================================== */

.kyh-latest-section {
    padding: 48px 0 32px;
    background: var(--background-white);
}

.kyh-latest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.kyh-latest-card {
    display: flex;
    flex-direction: column;
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kyh-latest-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.kyh-latest-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e0e0e0;
}

.kyh-latest-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kyh-latest-card:hover .kyh-latest-img img {
    transform: scale(1.05);
}

.kyh-latest-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.kyh-latest-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.kyh-latest-meta i {
    margin-right: 4px;
    color: var(--primary-blue);
}

.kyh-latest-urgent {
    display: inline-block;
    background: var(--primary-red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 10px;
    border-radius: 999px;
}

.kyh-latest-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navbar-dark);
    margin: 0 0 8px;
    line-height: 1.35;
}

.kyh-latest-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

.kyh-latest-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-blue);
    text-decoration: none;
    transition: gap 0.2s;
    align-self: flex-start;
}

.kyh-latest-link:hover {
    gap: 10px;
    color: var(--primary-blue-dark);
}

.kyh-latest-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.kyh-page-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 20px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.kyh-page-link:hover {
    background: var(--primary-blue-dark);
    color: #fff;
}

.kyh-page-info {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

@media (max-width: 768px) {
    .kyh-latest-grid {
        grid-template-columns: 1fr;
    }
    .kyh-latest-img {
        height: 180px;
    }
    .kyh-latest-section {
        padding: 32px 0 24px;
    }
}

/* =====================================================
   DASHBOARD — RuangAdmin Layout with Kona Colors
   ===================================================== */

/* Layout Wrappers */
#wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

#wrapper #content-wrapper {
    background-color: var(--background-light);
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

#wrapper #content-wrapper #content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

/* Sidebar Base */
.sidebar {
    width: 6.5rem;
    height: 100vh;
    overflow-y: auto;
    background: #fff;
    transition: width 0.25s ease;
    z-index: 1050;
}

.sidebar .nav-item {
    position: relative;
}

.sidebar .nav-item .nav-link {
    display: flex;
    align-items: center;
    padding: 0.9rem 1rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    z-index: 1;
}

.sidebar .nav-item .nav-link i {
    font-size: 1rem;
    width: 1.5rem;
    text-align: center;
    margin-right: 0.5rem;
}

.sidebar .nav-item .nav-link:hover {
    color: var(--primary-blue);
    background: rgba(0, 0, 0, 0.05);
}

.sidebar .nav-item.active .nav-link {
    color: var(--primary-blue);
    font-weight: 600;
}

.sidebar .nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--primary-blue);
    border-radius: 2px 0 0 2px;
}

/* Sidebar Brand */
.sidebar-brand {
    height: 70px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem;
    color: var(--text-dark);
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sidebar-brand .sidebar-brand-icon img {
    display: block;
}

.sidebar-brand .sidebar-brand-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Sidebar Divider */
.sidebar-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

/* Sidebar Heading */
.sidebar-heading {
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(0, 0, 0, 0.4);
}

/* Sidebar Toggled State */
.sidebar.toggled {
    width: 6.5rem !important;
    overflow: visible;
}

.sidebar.toggled .sidebar-brand .sidebar-brand-text {
    display: none;
}

.sidebar.toggled .sidebar-heading {
    text-align: center;
}

.sidebar.toggled .sidebar-heading::after {
    display: block;
    content: '';
    width: 100%;
}

.sidebar.toggled .nav-item .nav-link span {
    display: none;
}

.sidebar.toggled .nav-item .nav-link i {
    margin-right: 0;
    font-size: 1.2rem;
}

/* Sidebar Light Override */
.sidebar-light {
    background: #fff;
}

/* Version */
.version {
    padding: 1rem;
    text-align: center;
    font-size: 0.7rem;
    color: rgba(0, 0, 0, 0.3);
}

/* Topbar */
.bg-navbar {
    background: #fff !important;
}

.topbar {
    height: 64px;
    gap: 8px;
    flex-shrink: 0;
    z-index: 1051;
}

#container-wrapper {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.topbar-search {
    position: relative;
    display: flex;
    align-items: center;
}

.topbar-search-icon {
    position: absolute;
    left: 12px;
    color: rgba(0, 0, 0, 0.35);
    font-size: 0.85rem;
    pointer-events: none;
}

.topbar-search-input {
    width: 220px;
    padding: 6px 12px 6px 34px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--text-dark);
    background: rgba(0, 0, 0, 0.03);
    outline: none;
    transition: border-color 0.2s, background 0.2s, width 0.2s;
}

.topbar-search-input:focus {
    width: 280px;
    border-color: var(--primary-blue);
    background: #fff;
}

.topbar-search-input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.topbar-search-shortcut {
    display: none;
    position: absolute;
    right: 10px;
    padding: 1px 6px;
    font-size: 0.7rem;
    color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.03);
    pointer-events: none;
}

@media (min-width: 768px) {
    .topbar-search-shortcut {
        display: block;
    }
}

.topbar #sidebarToggleTop {
    color: var(--text-dark);
    font-size: 1.2rem;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
}

.topbar #sidebarToggleTop:hover {
    opacity: 0.8;
}

.topbar .nav-item .nav-link {
    color: var(--text-dark) !important;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
}

.topbar .nav-item .nav-link:hover {
    color: var(--primary-blue) !important;
}

.topbar .badge-counter {
    position: absolute;
    top: 2px;
    right: 6px;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 10px;
    background: var(--primary-red);
    color: #fff;
    min-width: 18px;
    text-align: center;
}

.topbar-divider {
    width: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    height: 2rem;
    margin: auto 0.5rem;
}

.topbar .dropdown-list {
    padding: 0;
    border: none;
    overflow: hidden;
    min-width: 280px;
}

.topbar .dropdown-list .dropdown-header {
    background: var(--primary-blue);
    color: #fff;
    padding: 0.75rem 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
}

.topbar .dropdown-list .dropdown-item {
    white-space: normal;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    border-bottom: 1px solid #f0f0f0;
}

.topbar .dropdown-list .dropdown-item:last-child {
    border-bottom: none;
}

.topbar .dropdown-list .dropdown-item .text-gray-500 {
    font-size: 0.75rem;
}

.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    font-size: 0.85rem;
}

/* Dropdown Menu (user dropdown) */
.topbar .dropdown-menu {
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: none;
    min-width: 200px;
}

.topbar .dropdown-menu .dropdown-item {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    transition: background 0.15s;
}

.topbar .dropdown-menu .dropdown-item:hover {
    background: var(--background-light);
    color: var(--primary-blue);
}

.topbar .dropdown-menu .dropdown-item i {
    width: 1.2rem;
    text-align: center;
}

/* Sticky Footer */
.sticky-footer {
    background: #fff;
    padding: 1rem 0;
    border-top: 1px solid #e3e6f0;
    flex-shrink: 0;
}

.sticky-footer .copyright {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Card overrides for dashboard cards */
.dashboard-body .card {
    border: none;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.dashboard-body .card-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem 1.25rem;
}

.dashboard-body .card-header h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.dashboard-body .card-body {
    padding: 1.25rem;
}

/* Stat card icon colors */
.dashboard-body .text-info { color: var(--primary-blue) !important; }
.dashboard-body .text-success { color: var(--primary-green) !important; }
.dashboard-body .text-warning { color: var(--primary-yellow-dark) !important; }
.dashboard-body .text-primary { color: var(--primary-blue) !important; }
.dashboard-body .text-danger { color: var(--primary-red) !important; }
.dashboard-body .text-gray-800 { color: var(--text-dark) !important; }
.dashboard-body .text-gray-500 { color: var(--text-light) !important; }

/* Badge overrides — plain text only, no background */
.badge, .badge-danger, .badge-success, .badge-warning,
.badge-primary, .badge-secondary, .badge-info, .badge-light, .badge-dark,
[class*="badge-"], .status-badge, .swal-badge {
    background: none !important;
    background-color: transparent !important;
}
.badge i, .badge svg { margin-right: 0.25em; }
.status-badge { font-weight: 600; }

/* Table inside card */
.dashboard-body .table-bordered {
    border: 1px solid #e3e6f0;
}

.dashboard-body .table-bordered th,
.dashboard-body .table-bordered td {
    border: 1px solid #e3e6f0;
    padding: 0.75rem;
    vertical-align: middle;
}

.dashboard-body .table thead th {
    background: var(--background-light);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    border-bottom: 2px solid #e3e6f0;
}

/* Breadcrumb */
.dashboard-body .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.dashboard-body .breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.dashboard-body .breadcrumb-item.active {
    color: var(--text-light);
}

/* Scroll to top */
.scroll-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    text-align: center;
    color: #fff;
    background: var(--primary-blue);
    line-height: 46px;
    border-radius: 50%;
    z-index: 1050;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.scroll-to-top:hover {
    background: var(--navbar-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* Animated grow-in */
@keyframes growIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.animated--grow-in {
    animation-name: growIn;
    animation-duration: 0.2s;
    animation-timing-function: transform cubic-bezier(0.18, 1.25, 0.4, 1), opacity cubic-bezier(0, 1, 0.4, 1);
}

/* Keep existing dashboard-main styling */
.dashboard-body {
    background: var(--background-light);
}

.dashboard-body .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Sidebar backdrop */
.sidebar-backdrop {
    display: none;
}

/* Attach existing dashboard-card styles to the new card context */
.dashboard-body .card .dashboard-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.dashboard-body .card .dashboard-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 6.5rem !important;
    }

    .sidebar .sidebar-brand .sidebar-brand-text,
    .sidebar .sidebar-heading,
    .sidebar .nav-item .nav-link span {
        display: none;
    }

    .sidebar .nav-item .nav-link {
        justify-content: center;
        padding: 0.75rem;
    }

    .sidebar .nav-item .nav-link i {
        margin-right: 0;
        font-size: 1.2rem;
    }

    #wrapper #content-wrapper {
        margin-left: 0;
    }

    .sidebar.toggled {
        width: 16rem !important;
    }

    .sidebar.toggled .sidebar-brand .sidebar-brand-text,
    .sidebar.toggled .sidebar-heading,
    .sidebar.toggled .nav-item .nav-link span {
        display: block;
    }

    .sidebar.toggled .nav-item .nav-link {
        justify-content: flex-start;
    }

    .sidebar.toggled .nav-item .nav-link i {
        margin-right: 0.5rem;
        font-size: 1rem;
    }

    .topbar .dropdown-list {
        min-width: 240px;
    }

    .dashboard-body .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Square forms — override all inline border-radius on form elements */
.modal-content,
.form-control,
.form-select,
.btn,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="file"],
input[type="search"],
input[type="tel"],
input[type="url"],
select,
textarea {
    border-radius: 0 !important;
}

.tracking-wider {
    letter-spacing: 0.08em;
}

/* Registration pages reuse the shared split-screen login design. */
.auth-page.auth-registration-page {
    align-items: flex-start;
    padding-top: 32px;
    padding-bottom: 32px;
}

.auth-registration-page .auth-split-wrapper {
    max-width: 1180px;
}

.auth-registration-page .auth-split-card {
    min-height: 0;
    align-items: stretch;
}

.auth-registration-page .auth-split-visual {
    min-height: 640px;
}

.auth-registration-page .auth-split-form-panel {
    justify-content: flex-start;
    padding-top: 42px;
    padding-bottom: 42px;
}

.auth-registration-content {
    width: 100%;
}

.registration-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
}

.registration-steps > span {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    color: #75869a;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.registration-steps > span b {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid #cbd8e6;
    border-radius: 50%;
    color: #6d7d8e;
    background: #fff;
    font-size: .78rem;
}

.registration-steps > span.is-current { color: var(--primary-blue); }
.registration-steps > span.is-current b { border-color: var(--primary-blue); color: #fff; background: var(--primary-blue); }
.registration-steps > span.is-complete b { border-color: #2f9a68; color: #fff; background: #2f9a68; }

.registration-steps-line {
    height: 1px;
    flex: 1 1 auto;
    background: #dce5ed;
}

.auth-registration-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.auth-registration-actions .auth-submit-btn { flex: 1 1 auto; width: auto; margin-top: 0; }

.auth-step-back {
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid #cbd8e6;
    border-radius: 8px;
    color: #34536d;
    background: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.auth-step-back:hover { border-color: var(--primary-blue); color: var(--primary-blue); background: #f4f9ff; }

.auth-form-grid-full {
    grid-column: 1 / -1;
}

.auth-registration-section-title {
    margin: 4px 0 18px;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 700;
}

.auth-registration-admin-title {
    margin-top: 10px;
    padding-top: 22px;
    border-top: 1px solid rgba(29, 43, 69, 0.12);
}

.auth-guardian-section {
    margin: 4px 0 18px;
    padding: 18px;
    border: 1px solid rgba(29, 43, 69, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.56);
}

.auth-guardian-section .auth-form-subtitle {
    margin-bottom: 18px;
    font-size: 0.92rem;
}

.auth-consent-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 4px 0 0;
    color: var(--text-dark);
    line-height: 1.5;
}

.auth-consent-check .form-check-input {
    flex: 0 0 auto;
    margin-top: 0.25em;
}

.auth-claim-code {
    display: inline-block;
    margin: 0 0 12px;
    padding: 10px 16px;
    border: 1px dashed var(--primary-blue);
    border-radius: 8px;
    background: rgba(74, 144, 226, 0.08);
    font-size: 1.3rem;
    letter-spacing: 0.12em;
}

@media (max-width: 992px) {
    .auth-registration-page .auth-split-visual {
        min-height: 220px;
    }
}

@media (max-width: 576px) {
    .auth-page.auth-registration-page {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .auth-registration-page .auth-split-form-panel {
        padding: 44px 22px 42px;
    }

    .auth-registration-page .auth-form-header {
        margin-bottom: 32px;
    }

    .auth-registration-page .registration-steps {
        margin-top: 4px;
        margin-bottom: 28px;
    }

    .auth-registration-page .auth-form .form-group-child {
        margin-bottom: 23px;
    }

    .auth-registration-page .auth-registration-section-title {
        margin-top: 8px;
        margin-bottom: 20px;
    }

    .auth-guardian-section {
        margin-top: 8px;
        padding: 16px;
    }

    .registration-steps { gap: 7px; }
    .registration-steps > span { gap: 5px; font-size: .68rem; }
    .registration-steps > span b { width: 27px; height: 27px; font-size: .7rem; }
    .auth-registration-actions { gap: 8px; margin-top: 14px; }
    .auth-step-back { min-height: 48px; padding-inline: 13px; }
}

/* Shared transparent public footer used across all pages. */
.site-footer {
    position:relative;
    isolation:isolate;
    overflow:hidden;
    margin:0;
    padding:0 0 16px;
    border:0;
    color:#f4f7f9;
    background-color:#05090d;
    background-image:linear-gradient(105deg,rgba(2,8,14,.9),rgba(3,12,19,.76) 52%,rgba(2,8,14,.89)),url('../assets/images/1.jpeg');
    background-position:center 48%;
    background-size:cover;
    box-shadow:none;
}
.site-footer::before { position:absolute; z-index:0; inset:0; display:block; content:''; background:linear-gradient(0deg,rgba(0,0,0,.38),transparent 60%),radial-gradient(circle at 80% 15%,rgba(237,155,34,.12),transparent 32%); }
.site-footer > .kyh-footer-contact-strip,
.site-footer > .container-child { position:relative; z-index:1; }
.site-footer .kyh-footer-contact-strip {
    min-height:76px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:36px;
    padding:14px 24px;
    border-bottom:1px solid rgba(255,255,255,.16);
    background:transparent;
}
.site-footer .kyh-footer-contact-strip > div { display:flex; align-items:center; gap:11px; }
.site-footer .kyh-footer-contact-strip > div > i { color:#d98619; font-size:1rem; }
.site-footer .kyh-footer-contact-strip span { display:grid; gap:2px; }
.site-footer .kyh-footer-contact-strip small { color:rgba(255,255,255,.68); font-size:.68rem; }
.site-footer .kyh-footer-contact-strip strong { color:#fff; font-size:.79rem; font-weight:700; }
.site-footer .container-child { width:min(1240px,calc(100% - 48px)); padding:36px 0 0; }
.site-footer .footer-grid,
.site-footer .kyh-reference-footer-grid { display:grid; grid-template-columns:1.1fr .9fr 1fr; gap:48px; margin:0; }
.site-footer .footer-col { width:auto; max-width:none; padding:0; }
.site-footer .footer-heading { margin:0 0 15px; color:#fff; font-size:.95rem; font-weight:700; letter-spacing:.045em; }
.site-footer .footer-heading::after { width:26px; height:2px; background:#e39727; }
.site-footer .footer-text { color:rgba(255,255,255,.77); font-size:.82rem; line-height:1.7; opacity:1; }
.site-footer .footer-links { display:grid; gap:9px; padding:0; list-style:none; }
.site-footer .footer-links a { color:rgba(255,255,255,.78); font-size:.8rem; line-height:1.6; text-decoration:none; }
.site-footer .footer-links a:hover { color:#ffc45a; }
.site-footer .footer-social { display:flex; align-items:center; gap:10px; margin-top:14px; }
.site-footer .footer-social a { width:32px; height:32px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.28); border-radius:50%; color:#fff; background:rgba(255,255,255,.08); text-decoration:none; }
.site-footer .footer-social a:hover { border-color:#e39727; color:#17232a; background:#e39727; }
.site-footer .kyh-footer-news { display:grid; align-content:start; gap:9px; }
.site-footer .kyh-footer-news .footer-heading { margin-bottom:4px; }
.site-footer .kyh-footer-news-item { display:grid; grid-template-columns:42px minmax(0,1fr); align-items:center; gap:10px; color:inherit; text-decoration:none; }
.site-footer .kyh-footer-news-item img,
.site-footer .kyh-footer-news-placeholder { width:42px; height:42px; display:grid; place-items:center; border-radius:4px; color:#fff; background:rgba(255,255,255,.14); object-fit:cover; }
.site-footer .kyh-footer-news-item > span:last-child { display:grid; gap:3px; }
.site-footer .kyh-footer-news-item strong { display:-webkit-box; overflow:hidden; color:rgba(255,255,255,.9); font-size:.72rem; font-weight:600; line-height:1.4; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.site-footer .kyh-footer-news-item small { color:rgba(255,255,255,.62); font-size:.62rem; }
.site-footer .footer-bottom { width:min(980px,100%); margin:28px auto 0; padding:14px 0 0; border-top:1px solid rgba(255,255,255,.16); color:rgba(255,255,255,.7); font-size:.72rem; }
.site-footer .footer-bottom p { margin:0; text-align:center; }
@media (max-width:760px) {
    .site-footer .kyh-footer-contact-strip { align-items:flex-start; flex-direction:column; gap:13px; padding:18px 24px; }
    .site-footer .container-child { width:calc(100% - 40px); padding-top:30px; }
    .site-footer .footer-grid,.site-footer .kyh-reference-footer-grid { grid-template-columns:1fr 1fr; gap:28px 20px; }
    .site-footer .footer-col:first-child { grid-column:1 / -1; }
    .site-footer .footer-bottom { margin-top:24px; }
}
@media (max-width:420px) {
    .site-footer .footer-grid,.site-footer .kyh-reference-footer-grid { grid-template-columns:1fr; }
    .site-footer .footer-col:first-child { grid-column:auto; }
}
