/* ===== NEWBHARTI.IN LIGHT THEME CSS ===== */
/* Modern, clean, professional design for job portal */

/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background: transparent;
    overflow-x: hidden;
    position: relative;
}

/* ===== CSS VARIABLES ===== */
:root {
    --brand-primary: #1E88E5;
    --brand-secondary: #26A69A;
    --brand-accent: #00C853;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-surface: #F1F5F9;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    --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);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    min-width: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

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

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--brand-primary);
    background: rgba(30, 136, 229, 0.1);
    transform: translateY(-1px);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-buttons .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
}

.nav-cta {
    background: var(--brand-primary);
    color: white;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 2rem;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
}

.title-accent {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

.btn-secondary:hover {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(25px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--brand-primary);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--brand-secondary);
}

.feature-card:hover .feature-icon svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.feature-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* ===== CREDENTIALS SECTION ===== */
.credentials {
    background: var(--bg-secondary);
    padding: 4rem 0;
    border-top: 1px solid var(--border-light);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.credential-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.credential-icon {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.credential-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.credential-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== PRODUCT SHOWCASE ===== */
.product-showcase {
    padding: 4rem 0;
    background: var(--bg-primary);
}

/* ===== MISSION & VISION ===== */
.mission-vision {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ===== FOOTER ===== */
footer {
    background: rgba(10, 11, 15, 0.7);
    backdrop-filter: blur(15px);
    color: white;
    padding: 4rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer .container > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

footer h3, footer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

footer p, footer li {
    color: #D1D5DB;
    line-height: 1.6;
}

footer a {
    color: #60A5FA;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #93C5FD;
}

/* ===== FLASH MESSAGES ===== */
.flash-message {
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.flash-success {
    background: rgba(0, 200, 83, 0.1);
    color: var(--brand-accent);
    border: 1px solid rgba(0, 200, 83, 0.3);
}

.flash-error {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .feature-card {
        padding: 3rem;
    }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 1200px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

/* Mobile Large (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
        flex-wrap: wrap;
    }
    
    .logo-section {
        flex: 1;
        min-width: 200px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .nav-container {
        padding: 0 0.75rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-section {
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .features {
        margin: 1rem 0.5rem;
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
        margin: 0.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    footer {
        padding: 2rem 0;
    }
    
    footer .container > div {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }

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

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

    .logo-text {
        font-size: 1rem;
    }

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

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

    .credentials-grid {
        gap: 1rem;
    }

    .credential-item {
        padding: 1.5rem;
    }
}

/* ===== ADMIN PANEL LIGHT THEME ===== */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: var(--bg-secondary);
}

.admin-sidebar {
    width: 250px;
    background: var(--bg-primary);
    border-right: 1px solid var(--border-light);
    padding: 2rem 1rem;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100vh;
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.admin-sidebar.show {
    left: 0;
}

.admin-main {
    flex: 1;
    padding: 2rem;
    margin-left: 0;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.admin-main.sidebar-open {
    margin-left: 250px;
}

.admin-content {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.nav-btn {
    padding: 1rem;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.nav-btn:hover {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-btn.active {
    background: var(--brand-primary);
    color: white;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
/* Animated Background System for All Pages */

/* Base Animated Background - ENABLED */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    animation: gradientShift 15s ease-in-out infinite;
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.animated-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

/* Particles System - DISABLED */
.particles {
    display: none;
}

.particle {
    display: none;
}

/* Geometric Shapes - DISABLED */
.geometric-shapes {
    display: none;
}

.shape {
    display: none;
}

.shape:nth-child(1) {
    top: 20%;
    left: 10%;
    border-radius: 0;
    transform: rotate(45deg);
}

.shape:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 40px;
    height: 40px;
}

.shape:nth-child(3) {
    bottom: 20%;
    left: 20%;
    width: 80px;
    height: 80px;
    border-radius: 0;
    transform: rotate(30deg);
}

/* Floating Elements - DISABLED */
.floating-elements {
    display: none;
}

.floating-book {
    display: none;
}

.floating-book::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 0 rgba(255, 255, 255, 0.2),
                0 16px 0 rgba(255, 255, 255, 0.1),
                0 24px 0 rgba(255, 255, 255, 0.1);
}

.floating-document {
    display: none;
}

.floating-document::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 0 rgba(255, 255, 255, 0.3),
                0 12px 0 rgba(255, 255, 255, 0.2),
                0 18px 0 rgba(255, 255, 255, 0.1),
                0 24px 0 rgba(255, 255, 255, 0.1);
}

.floating-pen {
    display: none;
}

.floating-pen::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -1px;
    width: 5px;
    height: 3px;
    background: #FFD700;
    border-radius: 50%;
}

/* Water Ripple Effects - ENABLED */
.water-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 2;
    animation: ripple 1.2s ease-out;
    transform: translate(-50%, -50%);
}

.water-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: rippleInner 2s ease-out;
    transform: translate(-50%, -50%);
}

/* Keyframe Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes gradientShift {
    0% { background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%); }
    25% { background: linear-gradient(135deg, #764ba2 0%, #f093fb 50%, #667eea 100%); }
    50% { background: linear-gradient(135deg, #f093fb 0%, #667eea 50%, #764ba2 100%); }
    75% { background: linear-gradient(135deg, #667eea 0%, #f093fb 50%, #764ba2 100%); }
    100% { background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes floatBook {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) translateX(0px); 
        opacity: 0.6; 
    }
    25% { 
        transform: translateY(-30px) rotate(5deg) translateX(10px); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateY(-60px) rotate(-3deg) translateX(-5px); 
        opacity: 0.7; 
    }
    75% { 
        transform: translateY(-30px) rotate(2deg) translateX(15px); 
        opacity: 0.9; 
    }
}

@keyframes floatDocument {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) translateX(0px); 
        opacity: 0.5; 
    }
    33% { 
        transform: translateY(-40px) rotate(-8deg) translateX(-10px); 
        opacity: 0.8; 
    }
    66% { 
        transform: translateY(-20px) rotate(6deg) translateX(8px); 
        opacity: 0.6; 
    }
}

@keyframes floatPen {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) translateX(0px); 
        opacity: 0.7; 
    }
    20% { 
        transform: translateY(-25px) rotate(15deg) translateX(5px); 
        opacity: 0.9; 
    }
    40% { 
        transform: translateY(-50px) rotate(-10deg) translateX(-8px); 
        opacity: 0.8; 
    }
    60% { 
        transform: translateY(-30px) rotate(8deg) translateX(12px); 
        opacity: 0.6; 
    }
    80% { 
        transform: translateY(-10px) rotate(-5deg) translateX(-3px); 
        opacity: 0.7; 
    }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

@keyframes rippleInner {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Enhanced body styles for clean background */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Ensure interactive elements are above animated background */
a, button, input, select, textarea, .btn, .card, .feature, .admin-card, 
.nav-link, .mobile-nav-link, .logo, .user-info, .admin-header, 
.admin-sidebar, .admin-content, .login-container, .form-group, 
.form-control, .table, .modal, .dropdown, .tooltip {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* Ensure animated elements don't interfere with interactive elements */
.floating-book, .floating-document, .floating-pen {
    pointer-events: none;
    z-index: 1;
}

/* Enhanced sections with better contrast */
.features, .section, .admin-content, .login-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    margin: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card, .content-card, .stat-card, .action-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.feature-card:hover, .action-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Enhanced navigation */
.navbar {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced footer */
footer {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Admin specific styles */
.admin-container {
    background: transparent;
}

.admin-sidebar {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-main {
    background: transparent;
}

/* Login page specific */
.login-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Mobile and Tablet */
@media (max-width: 768px) {
    .features, .section, .admin-content, .login-container {
        margin: 1rem 0.5rem;
        padding: 3rem 0;
    }
    
    .feature-card, .content-card, .stat-card, .action-btn {
        padding: 1.5rem;
        margin: 0.5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Reduce floating elements on mobile for better performance */
    .floating-book, .floating-document, .floating-pen {
        display: none;
    }
    
}

@media (max-width: 480px) {
    .features, .section, .admin-content, .login-container {
        margin: 0.5rem;
        padding: 2rem 0;
    }
    
    .feature-card, .content-card, .stat-card, .action-btn {
        padding: 1.25rem;
        margin: 0.25rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    /* Hide all floating elements on very small screens */
    .floating-elements {
        display: none;
    }
    
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .feature-card, .content-card, .stat-card, .action-btn {
        padding: 2rem;
    }
    
    /* Reduce floating elements on tablet */
    .floating-book:nth-child(n+4),
    .floating-document:nth-child(n+4),
    .floating-pen:nth-child(n+3) {
        display: none;
    }
}
