/* ============================================
   NileTech Learning Platform - Stylesheet
   ============================================ */

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

:root {
    /* Nile River - South Sudan Color Palette */
    /* Nile River Blues & Teals */
    --nile-blue: #006994;
    --nile-deep: #004d73;
    --nile-light: #0099cc;
    --nile-teal: #008b8b;
    --river-cyan: #00b3b3;
    
    /* South Sudan Landscape - Greens */
    --savanna-green: #2d5016;
    --forest-green: #4a7c3a;
    --grass-green: #6b9f5f;
    --palm-green: #8bc34a;
    
    /* South Sudan - Golds & Earth Tones */
    --sunset-gold: #f4a460;
    --savanna-gold: #daa520;
    --earth-brown: #8b4513;
    --sand-beige: #f5deb3;
    
    /* South Sudan Flag Colors */
    --ss-black: #000000;
    --ss-red: #da020e;
    --ss-green: #078930;
    --ss-blue: #0f47af;
    --ss-yellow: #fcdd09;
    
    /* Primary Colors (Nile-inspired) */
    --primary-color: var(--nile-blue);
    --primary-dark: var(--nile-deep);
    --primary-light: var(--nile-light);
    --secondary-color: var(--forest-green);
    --secondary-dark: var(--savanna-green);
    --secondary-light: var(--grass-green);
    --accent-color: var(--sunset-gold);
    --accent-light: var(--savanna-gold);
    
    /* Text Colors */
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b6b6b;
    
    /* Background Colors */
    --bg-light: #f0f8f5;
    --bg-lighter: #f8fcf9;
    --bg-white: #ffffff;
    --border-color: #d4e8d8;
    
    /* Nile River Gradients */
    --gradient-primary: linear-gradient(135deg, var(--nile-blue) 0%, var(--nile-teal) 50%, var(--river-cyan) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--forest-green) 0%, var(--grass-green) 100%);
    --gradient-hero: linear-gradient(135deg, var(--nile-deep) 0%, var(--nile-blue) 30%, var(--nile-teal) 60%, var(--palm-green) 100%);
    --gradient-river: linear-gradient(180deg, var(--nile-deep) 0%, var(--nile-blue) 50%, var(--nile-light) 100%);
    --gradient-savanna: linear-gradient(135deg, var(--savanna-green) 0%, var(--forest-green) 50%, var(--sunset-gold) 100%);
    --gradient-success: linear-gradient(135deg, var(--forest-green) 0%, var(--grass-green) 100%);
    --gradient-sunset: linear-gradient(135deg, var(--sunset-gold) 0%, var(--savanna-gold) 100%);
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
    
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-colored: 0 10px 30px -5px rgba(37, 99, 235, 0.3);
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.75rem;
    background: var(--gradient-river);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-brand h1::after {
    content: '🌊';
    font-size: 0.8em;
    margin-left: 0.3em;
    opacity: 0.7;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
    padding: var(--spacing-xs) var(--spacing-sm);
    position: relative;
    border-radius: var(--radius-sm);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-river);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: var(--nile-blue);
    transform: translateY(-2px);
}

.nav-menu a:hover::after {
    width: 80%;
    background: var(--gradient-river);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section - Nile River Theme
   ============================================ */
.hero {
    background: var(--gradient-hero);
    color: white;
    padding: var(--spacing-2xl) var(--spacing-sm);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 179, 179, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 139, 139, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, var(--nile-deep) 0%, var(--nile-blue) 30%, var(--nile-teal) 60%, var(--palm-green) 100%);
    animation: waterShimmerBg 20s ease-in-out infinite;
}

@keyframes waterShimmerBg {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

/* River wave pattern overlay - enhanced */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 250px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 250" preserveAspectRatio="none"><path d="M0,120 Q150,80 300,120 T600,120 Q750,80 900,120 T1200,120 L1200,250 L0,250 Z" fill="rgba(255,255,255,0.12)"/></svg>') repeat-x;
    background-size: 1200px 250px;
    animation: riverFlow 18s linear infinite;
    opacity: 0.7;
    z-index: 1;
}

@keyframes riverFlow {
    0% {
        background-position-x: 0;
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        background-position-x: 1200px;
        transform: translateY(0);
    }
}

/* Additional river wave layer - enhanced */
.hero::after {
    content: '';
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    width: 100%;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200" preserveAspectRatio="none"><path d="M0,100 Q200,60 400,100 T800,100 Q1000,60 1200,100 L1200,200 L0,200 Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
    background-size: 1200px 200px;
    animation: riverFlowReverse 22s linear infinite;
    opacity: 0.6;
    z-index: 1;
}

@keyframes riverFlowReverse {
    0% {
        background-position-x: 1200px;
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
    100% {
        background-position-x: 0;
        transform: translateY(0);
    }
}

/* Floating river elements */
@keyframes moveBackground {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(50px, 30px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    font-style: italic;
    opacity: 0.95;
    font-weight: var(--font-weight-medium);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.9;
    opacity: 0.95;
    font-weight: var(--font-weight-normal);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 2.25rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-river);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 10px 30px -5px rgba(0, 107, 148, 0.4);
    background: var(--gradient-primary);
}

.btn-secondary {
    background: var(--gradient-savanna);
    color: white;
    border: 2px solid transparent;
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 10px 30px -5px rgba(45, 80, 22, 0.4);
}

.btn-module {
    background: var(--gradient-river);
    color: white;
    width: 100%;
    margin-top: var(--spacing-sm);
    border: none;
    display: block;
    text-align: center;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.btn-module:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 10px 30px -5px rgba(0, 107, 148, 0.4);
    background: var(--gradient-primary);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-nav {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    margin-left: var(--spacing-xs);
}

.nav-link-login {
    color: var(--text-dark) !important;
}

.nav-link-login:hover {
    color: var(--nile-blue) !important;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.hero-buttons .btn {
    min-width: 180px;
    position: relative;
    z-index: 1;
}

/* ============================================
   Modules Section - Savanna Theme
   ============================================ */
.modules {
    padding: var(--spacing-2xl) var(--spacing-sm);
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(107, 159, 95, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(218, 165, 32, 0.05) 0%, transparent 50%);
}

.modules::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--nile-blue), var(--palm-green), transparent);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-river);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-river);
    border-radius: var(--radius-full);
}

.section-subtitle {
    text-align: center;
    color: var(--text-medium);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    font-weight: var(--font-weight-medium);
    margin-top: var(--spacing-md);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.module-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: visible;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-river);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.module-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--palm-green), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

.module-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    display: inline-block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.module-card:hover .module-icon {
    transform: scale(1.1) rotate(5deg);
}

.module-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-river);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: var(--font-weight-bold);
}

.module-description {
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ============================================
   Mentorship Section - Savanna Theme
   ============================================ */
.mentorship {
    padding: var(--spacing-2xl) var(--spacing-sm);
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    position: relative;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(74, 124, 58, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(244, 164, 96, 0.06) 0%, transparent 50%);
}

.mentorship-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.mentorship-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.placeholder-image {
    font-size: 8rem;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-light) 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: moveBackground 15s linear infinite;
}

.placeholder-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl);
}

/* ============================================
   Mentorship Page - Mentor Cards
   ============================================ */
.page-mentorship {
    padding: var(--spacing-2xl) var(--spacing-sm);
    background: linear-gradient(135deg, 
        rgba(0, 77, 115, 0.95) 0%, 
        rgba(0, 105, 148, 0.98) 20%,
        rgba(0, 139, 139, 0.95) 50%,
        rgba(0, 179, 179, 0.92) 80%,
        rgba(32, 178, 170, 0.95) 100%);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 105, 148, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(0, 179, 179, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(0, 139, 139, 0.2) 0%, transparent 70%),
        linear-gradient(135deg, 
            rgba(0, 77, 115, 0.95) 0%, 
            rgba(0, 105, 148, 0.98) 20%,
            rgba(0, 139, 139, 0.95) 50%,
            rgba(0, 179, 179, 0.92) 80%,
            rgba(32, 178, 170, 0.95) 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    animation: mentorshipShimmer 20s ease-in-out infinite;
}

@keyframes mentorshipShimmer {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

/* Watery Background Layers for Mentorship Page */
.mentorship-water-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.mentorship-water-layer {
    position: absolute;
    width: 200%;
    height: 100%;
    opacity: 0.7;
}

.mentorship-water-layer-1 {
    bottom: 0;
    left: -50%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 250" preserveAspectRatio="none"><path d="M0,125 Q300,75 600,125 T1200,125 L1200,250 L0,250 Z" fill="rgba(255,255,255,0.15)"/><path d="M0,150 Q250,100 500,150 T1000,150 Q1250,200 1200,150 L1200,250 L0,250 Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
    background-size: 1200px 250px;
    animation: mentorshipWaterFlow1 18s linear infinite;
}

.mentorship-water-layer-2 {
    bottom: 15%;
    left: -100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 220" preserveAspectRatio="none"><path d="M0,140 Q250,90 500,140 T1000,140 Q1250,190 1200,140 L1200,220 L0,220 Z" fill="rgba(255,255,255,0.12)"/></svg>') repeat-x;
    background-size: 1200px 220px;
    animation: mentorshipWaterFlow2 22s linear infinite;
}

.mentorship-water-layer-3 {
    bottom: 30%;
    left: -150%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200" preserveAspectRatio="none"><path d="M0,120 Q200,70 400,120 T800,120 Q1000,170 1200,120 L1200,200 L0,200 Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
    background-size: 1200px 200px;
    animation: mentorshipWaterFlow3 25s linear infinite;
}

@keyframes mentorshipWaterFlow1 {
    0% { 
        transform: translateX(0) translateY(0); 
    }
    100% { 
        transform: translateX(50%) translateY(-8px); 
    }
}

@keyframes mentorshipWaterFlow2 {
    0% { 
        transform: translateX(0) translateY(0); 
    }
    100% { 
        transform: translateX(50%) translateY(5px); 
    }
}

@keyframes mentorshipWaterFlow3 {
    0% { 
        transform: translateX(0) translateY(0); 
    }
    100% { 
        transform: translateX(50%) translateY(-5px); 
    }
}

/* Floating Water Bubbles for Mentorship Page */
.mentorship-water-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.mentorship-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(3px);
    animation: mentorshipBubbleFloat 18s infinite ease-in-out;
}

.mentorship-bubble-1 {
    width: 100px;
    height: 100px;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 22s;
}

.mentorship-bubble-2 {
    width: 70px;
    height: 70px;
    left: 40%;
    animation-delay: 3s;
    animation-duration: 20s;
}

.mentorship-bubble-3 {
    width: 90px;
    height: 90px;
    left: 65%;
    animation-delay: 6s;
    animation-duration: 24s;
}

.mentorship-bubble-4 {
    width: 60px;
    height: 60px;
    left: 80%;
    animation-delay: 9s;
    animation-duration: 18s;
}

.mentorship-bubble-5 {
    width: 85px;
    height: 85px;
    left: 25%;
    animation-delay: 12s;
    animation-duration: 21s;
}

@keyframes mentorshipBubbleFloat {
    0% {
        bottom: -100px;
        opacity: 0;
        transform: translateX(0) scale(0.8);
    }
    10% {
        opacity: 0.7;
    }
    50% {
        transform: translateX(30px) scale(1.1);
    }
    90% {
        opacity: 0.7;
    }
    100% {
        bottom: 100%;
        opacity: 0;
        transform: translateX(-30px) scale(0.8);
    }
}

/* Water Droplets for Mentorship Page */
.mentorship-water-droplets {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.mentorship-water-droplets::before,
.mentorship-water-droplets::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: mentorshipDropletFall 10s linear infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.mentorship-water-droplets::before {
    left: 15%;
    animation-delay: 0s;
}

.mentorship-water-droplets::after {
    left: 80%;
    animation-delay: 5s;
}

@keyframes mentorshipDropletFall {
    0% {
        top: -10px;
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        top: 100%;
        opacity: 0;
        transform: translateY(100vh);
    }
}

/* Ensure mentorship content appears above water effects */
.page-mentorship .container {
    position: relative;
    z-index: 2;
}

.page-mentorship .mentorship-header,
.page-mentorship .mentors-grid,
.page-mentorship .mentorship-empty {
    position: relative;
    z-index: 2;
}

.mentorship-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.mentorship-header .section-title {
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.mentorship-header .mentorship-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.mentorship-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.mentor-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.98) 50%, rgba(232, 244, 248, 0.98) 100%);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 105, 148, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 139, 139, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.98) 50%, rgba(232, 244, 248, 0.98) 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.mentor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-river);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

/* Water flow pattern on mentor cards */
.mentor-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100" preserveAspectRatio="none"><path d="M0,50 Q50,40 100,50 T200,50 L200,100 L0,100 Z" fill="rgba(0,105,148,0.03)"/></svg>') repeat-x;
    background-size: 200px 100%;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
    animation: waterFlowPattern 15s linear infinite;
}

@keyframes waterFlowPattern {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 200px;
    }
}

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

.mentor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25), 0 0 30px rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(232, 244, 248, 1) 50%, rgba(208, 232, 240, 1) 100%);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 105, 148, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 139, 139, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(232, 244, 248, 1) 50%, rgba(208, 232, 240, 1) 100%);
}

/* Ensure mentor card content appears above background patterns */
.mentor-card .mentor-avatar,
.mentor-card .mentor-name,
.mentor-card .mentor-role,
.mentor-card .mentor-bio,
.mentor-card .mentor-contact,
.mentor-card .btn-contact-mentor {
    position: relative;
    z-index: 2;
}

.mentor-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--nile-light);
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: var(--shadow-md);
}

.mentor-card:hover .mentor-avatar {
    transform: scale(1.1);
    border-color: var(--nile-blue);
    box-shadow: var(--shadow-lg);
}

.mentor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}

.mentor-card:hover .mentor-image {
    transform: scale(1.1);
}

.mentor-name {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--nile-deep);
    font-weight: var(--font-weight-bold);
}

.mentor-role {
    color: var(--nile-blue);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
}

.mentor-bio {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    text-align: left;
    font-size: 0.95rem;
}

.mentor-contact {
    color: var(--text-dark);
    font-size: 0.9rem;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    margin-top: var(--spacing-sm);
}

.mentor-contact strong {
    color: var(--nile-deep);
}

/* Contact Mentor Button */
.btn-contact-mentor {
    background: var(--gradient-river);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 105, 148, 0.3);
}

.btn-contact-mentor:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 105, 148, 0.4);
    background: linear-gradient(135deg, #008b8b 0%, #00b3b3 100%);
}

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

/* Special Featured Styling for Peter Mangor Buol */
.mentor-card-featured {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(250, 250, 250, 1) 50%,
        rgba(255, 255, 255, 1) 100%);
    border: 3px solid #e0e0e0;
    box-shadow: var(--shadow-xl), 0 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
}

.mentor-card-featured::after {
    content: '⭐ Featured Mentor';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #666 0%, #888 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--shadow-md);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-md);
    }
    50% {
        transform: scale(1.05);
        box-shadow: var(--shadow-lg);
    }
}

.mentor-card-featured::before {
    display: none;
}

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

.mentor-card-featured .mentor-avatar {
    border: 4px solid #d0d0d0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15), var(--shadow-lg);
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.mentor-card-featured:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(0, 0, 0, 0.15);
    border-color: #c0c0c0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(248, 248, 248, 1) 50%,
        rgba(255, 255, 255, 1) 100%);
}

.mentor-card-featured .mentor-name {
    color: #333;
    font-size: 1.6rem;
    font-weight: var(--font-weight-bold);
}

.mentor-card-featured .mentor-role {
    color: #666;
    font-weight: var(--font-weight-semibold);
}

/* ============================================
   Feedback Section - River Theme
   ============================================ */
.feedback {
    padding: var(--spacing-2xl) var(--spacing-sm);
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 107, 148, 0.04) 0%, transparent 70%),
        radial-gradient(circle at 10% 30%, rgba(0, 139, 139, 0.04) 0%, transparent 60%);
}

.feedback-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.feedback-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

/* ============================================
   Footer - South Sudan Theme
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--nile-deep) 0%, var(--savanna-green) 100%);
    color: white;
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-sm);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ss-black) 0%, var(--ss-red) 25%, var(--ss-green) 50%, var(--ss-blue) 75%, var(--ss-yellow) 100%);
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,40 C200,60 400,20 600,40 C800,60 1000,20 1200,40 L1200,120 L0,120 Z" fill="rgba(0,0,0,0.1)"/></svg>') repeat-x;
    background-size: 1200px 100px;
    animation: riverFlow 15s linear infinite;
    opacity: 0.5;
}

.footer p {
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-md) 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .mentorship-content,
    .feedback-content {
        grid-template-columns: 1fr;
    }

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

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

    .btn-nav {
        margin-left: 0;
        margin-top: var(--spacing-xs);
    }

    .placeholder-image {
        font-size: 5rem;
        min-height: 200px;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   Authentication Forms (Signup & Login) - Nile Theme
   ============================================ */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-sm);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    opacity: 0.3;
}

.auth-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.auth-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: var(--spacing-xl);
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

.auth-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.auth-header h2 {
    font-size: 2.5rem;
    background: var(--gradient-river);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.5px;
    position: relative;
}

.auth-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-river);
    border-radius: var(--radius-full);
}

.auth-header p {
    color: var(--text-medium);
    font-size: 1.1rem;
    font-weight: var(--font-weight-medium);
    margin-top: var(--spacing-md);
}

.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.form-group:focus-within label {
    color: var(--primary-color);
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--bg-lighter);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.form-group input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), var(--shadow-md);
    transform: translateY(-2px);
}

.form-group input:hover:not(:focus) {
    border-color: var(--primary-light);
    background-color: var(--bg-white);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-group input:valid:not(:placeholder-shown):not(:focus) {
    border-color: var(--secondary-color);
    background-color: #f0fdf4;
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
    font-weight: var(--font-weight-medium);
    padding-left: 0.5rem;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.error-message::before {
    content: '⚠ ';
    margin-right: 0.25rem;
}

.btn-full {
    width: 100%;
    padding: 1.125rem;
    font-size: 1.1rem;
    margin-top: var(--spacing-md);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-full::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-full:hover::after {
    width: 400px;
    height: 400px;
}

.auth-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--border-color);
    position: relative;
}

.auth-footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-river);
    border-radius: var(--radius-full);
}

.auth-footer p {
    color: var(--text-medium);
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.auth-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-river);
    transition: width 0.3s ease;
}

.auth-footer a:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.auth-footer a:hover::after {
    width: 100%;
}

/* Additional Auth Form Enhancements */
.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-river);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.form-group {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

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

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

/* Success indicator styling for valid inputs */
.form-group input:valid:not(:placeholder-shown):not(:focus) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%2310b981' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

/* Responsive adjustments for auth forms */
@media (max-width: 768px) {
    .auth-section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .auth-container {
        padding: var(--spacing-lg);
    }
    
    .auth-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: var(--spacing-md);
        margin: var(--spacing-sm);
        border-radius: var(--radius-lg);
    }

    .auth-header h2 {
        font-size: 1.75rem;
    }
    
    .auth-header p {
        font-size: 1rem;
    }

    .form-group {
        margin-bottom: var(--spacing-md);
    }
    
    .form-group input {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }

    .btn-full {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .auth-footer {
        margin-top: var(--spacing-md);
        padding-top: var(--spacing-md);
    }
}

/* ============================================
   Search Functionality Styles
   ============================================ */
.search-container {
    margin: 20px 0;
}

.search-input:focus {
    outline: none;
    border-color: #006994 !important;
    box-shadow: 0 0 0 3px rgba(0, 105, 148, 0.1) !important;
}

.search-results-list {
    padding: 10px;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.3s;
}

.search-result-item:hover {
    background: #f5f5f5;
}

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

.search-result-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.search-result-content {
    flex: 1;
}

.search-result-content h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.1rem;
}

.search-result-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.search-result-action {
    padding: 8px 20px;
    background: #006994;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.search-result-action:hover {
    background: #005a7a;
}

.search-no-results,
.search-error {
    padding: 20px;
    text-align: center;
    color: #666;
}

.search-error {
    color: #ef4444;
}

/* ============================================
   Notification System Styles
   ============================================ */
#notification-bell {
    cursor: pointer;
    transition: transform 0.3s;
}

#notification-bell:hover {
    transform: scale(1.1);
}

.notification-header {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
    border-radius: 8px 8px 0 0;
}

.notification-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.btn-mark-all-read {
    background: #006994;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-mark-all-read:hover {
    background: #005a7a;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
}

.notification-item:hover {
    background: #f5f5f5;
}

.notification-item.unread {
    background: #f0f8ff;
}

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

.notification-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-message {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
}

.notification-time {
    color: #666;
    font-size: 0.8rem;
}

.notification-unread-indicator {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

