/* Tasleeh Holding - Ultra Creative Design #C9A961 */
:root {
    --tasleeh-white: #FFFFFF;
    --tasleeh-gold: #e3c06f;
    --tasleeh-bronze: #B8935C;
    --tasleeh-black: #000000;
    --bg-primary: #FAFBFC;
    --bg-card: #FFFFFF;
    --text-dark: #1A202C;
    --text-muted: #718096;
    --border-color: #E2E8F0;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    --purple: #8c6b42;
    --pink: #EC4899;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #F5F7FA;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}
/* style.css */
@font-face{
  font-family: 'UAEDirham';
  src: url('/font/aed-Regular.woff2') format('woff2'),
       url('/font/aed-Regular.woff')  format('woff'),
       url('/font/aed-Regular.otf')   format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Animated background with fixed color */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 169, 97, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 8s ease-in-out infinite;
}




@keyframes backgroundPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Floating particles with more effects */
.container::before,
.container::after {
    content: '';
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.12) 0%, transparent 70%);
    filter: blur(60px);
    animation: float 25s ease-in-out infinite, pulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.container::before {
    top: -200px;
    left: -200px;
    animation-delay: 0s, 0s;
}

.container::after {
    bottom: -200px;
    right: -200px;
    animation-delay: -12s, -2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(100px, 100px) rotate(90deg) scale(1.1); }
    50% { transform: translate(0, 200px) rotate(180deg) scale(0.9); }
    75% { transform: translate(-100px, 100px) rotate(270deg) scale(1.05); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-brand {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 50%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% auto;
}

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

.nav-brand::after {
    content: 'âœ¨';
    position: absolute;
    right: -25px;
    top: -5px;
    font-size: 1rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(1.2) rotate(180deg); }
}

.nav-toggle {
    display: block;
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 100%);
    color: var(--tasleeh-white);
    border: none;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 1rem;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(201, 169, 97, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

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

.nav-toggle:active::before {
    width: 300px;
    height: 300px;
}

.nav-toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 24px rgba(201, 169, 97, 0.4);
}

.nav-menu {
    list-style: none;
    display: none;
}

.nav-menu.active {
    display: block;
    animation: menuSlide 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.nav-menu li {
    margin: 0.5rem 0;
    animation: fadeInStagger 0.4s ease-out backwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.15s; }
.nav-menu li:nth-child(3) { animation-delay: 0.2s; }
.nav-menu li:nth-child(4) { animation-delay: 0.25s; }
.nav-menu li:nth-child(5) { animation-delay: 0.3s; }
.nav-menu li:nth-child(6) { animation-delay: 0.35s; }
.nav-menu li:nth-child(7) { animation-delay: 0.4s; }

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

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.2), transparent);
    transition: left 0.6s ease;
}

.nav-menu a:hover::before {
    left: 100%;
}

.nav-menu a:hover {
    background-color: rgba(201, 169, 97, 0.1);
    transform: translateX(8px);
    color: var(--tasleeh-bronze);
}

.nav-menu a.active {
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 100%);
    color: var(--tasleeh-white);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
    animation: activeGlow 2s ease-in-out infinite;
}

@keyframes activeGlow {
    0%, 100% { box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(201, 169, 97, 0.6); }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

h1 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    animation: titleEntrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@keyframes titleEntrance {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--tasleeh-gold), var(--tasleeh-bronze), var(--purple));
    border-radius: 3px;
    animation: underlineExpand 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.4s backwards;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.4);
}

@keyframes underlineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

h2 {
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    perspective: 1000px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: cardEntrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
    transform-style: preserve-3d;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
.stat-card:nth-child(5) { animation-delay: 0.5s; }
.stat-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(-15deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--tasleeh-gold), 
        var(--purple), 
        var(--pink), 
        var(--tasleeh-bronze),
        var(--tasleeh-gold)
    );
    background-size: 300% 300%;
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    animation: gradientRotate 8s linear infinite;
    transition: opacity 0.3s ease;
}

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

.stat-card:hover::before {
    opacity: 0.6;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(201, 169, 97, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    border-radius: 20px;
    background-size: 200% 200%;
    animation: shimmerMove 3s ease-in-out infinite;
}

@keyframes shimmerMove {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

.stat-card:hover {
    transform: translateY(-15px) scale(1.02) rotateX(2deg);
    box-shadow: 0 25px 50px rgba(201, 169, 97, 0.25);
    border-color: var(--tasleeh-gold);
}

.stat-card.alert {
    border-left: 4px solid var(--danger);
}

.stat-card.alert:hover {
    box-shadow: 0 25px 50px rgba(239, 68, 68, 0.25);
}

.stat-card.success {
    border-left: 4px solid var(--success);
}

.stat-card.success:hover {
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.25);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--tasleeh-gold), transparent);
    border-radius: 1px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 50%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
    animation: numberCount 1s ease-out;
}

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

.stat-icon {
    font-size: 3rem;
    opacity: 0.15;
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    transition: all 0.4s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.stat-card:hover .stat-icon {
    opacity: 0.3;
    transform: scale(1.2) rotate(15deg);
}

/* Buttons */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.8s backwards;
}

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

.btn {
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 100%);
    color: var(--tasleeh-white);
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 16px rgba(201, 169, 97, 0.3);
    position: relative;
    overflow: hidden;
}

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

.btn:active::before {
    width: 400px;
    height: 400px;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 30px rgba(201, 169, 97, 0.4);
}

.btn:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 10px;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    border-color: var(--tasleeh-gold);
    background: rgba(201, 169, 97, 0.05);
    box-shadow: 0 8px 16px rgba(201, 169, 97, 0.2);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    box-shadow: 0 15px 30px rgba(239, 68, 68, 0.4);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 0.85rem;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--tasleeh-gold);
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.1);
    transform: translateY(-2px);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 1s backwards;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
}

.data-table thead {
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 100%);
    color: var(--tasleeh-white);
    font-size: 0.98em;
}

.data-table th {
    padding: 1.25rem;
    font-weight: 800;
    font-size: 0.98em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr {
    transition: all 0.3s ease;
    cursor: pointer;
}

.data-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(201, 169, 97, 0.05), rgba(139, 92, 246, 0.05));
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out backwards;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.1), transparent);
    transition: left 0.6s ease;
}

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

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

.card-title {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Section */
.section {
    margin-bottom: 3rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: modalBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

@keyframes modalBounce {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.modal-header h2 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.75rem;
    font-weight: 700;
}

.close-modal {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: var(--text-muted);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

/* Alerts */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid;
    animation: alertSlide 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
    font-weight: 500;
}

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

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success);
    color: #065f46;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger);
    color: #991b1b;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--warning);
    color: #92400e;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.badge-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    color: var(--success);
    border: 2px solid var(--success);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.badge-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    color: var(--danger);
    border: 2px solid var(--danger);
    animation: badgePulse 2s ease-in-out infinite;
    animation-delay: 0.3s;
}

.badge-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%);
    color: var(--warning);
    border: 2px solid var(--warning);
}

.badge-info {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.15) 0%, rgba(184, 147, 92, 0.15) 100%);
    color: var(--tasleeh-gold);
    border: 2px solid var(--tasleeh-gold);
}

.badge:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Utility Classes */
.text-danger {
    color: var(--danger) !important;
    font-weight: 600;
}

.text-success {
    color: var(--success) !important;
    font-weight: 600;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--tasleeh-gold), var(--tasleeh-bronze));
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--tasleeh-bronze), var(--purple));
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Glowing effect for important elements */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(201, 169, 97, 0.5),
                    0 0 10px rgba(201, 169, 97, 0.3),
                    0 0 15px rgba(201, 169, 97, 0.2);
    }
    50% {
        box-shadow: 0 0 10px rgba(201, 169, 97, 0.8),
                    0 0 20px rgba(201, 169, 97, 0.5),
                    0 0 30px rgba(201, 169, 97, 0.3);
    }
}

/* Particle effect on hover */
.stat-card::after {
    animation: particleFloat 4s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(5px, -5px);
    }
    50% {
        transform: translate(-5px, -10px);
    }
    75% {
        transform: translate(-5px, 5px);
    }
}

/* Ripple effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Magnetic hover effect for cards */
.stat-card,
.card {
    transform-style: preserve-3d;
}

/* 3D Tilt effect on tables */
.data-table tbody tr:hover {
    transform: perspective(1000px) rotateX(2deg) scale(1.02);
}

/* Neon glow text effect 
h1:hover {
    animation: none !important;
}*/

/*@keyframes neonGlow {
    from {
        text-shadow: 0 0 10px rgba(201, 169, 97, 0.5),
                     0 0 20px rgba(201, 169, 97, 0.3),
                     0 0 30px rgba(201, 169, 97, 0.2);
    }
    to {
        text-shadow: 0 0 20px rgba(201, 169, 97, 0.8),
                     0 0 30px rgba(201, 169, 97, 0.5),
                     0 0 40px rgba(201, 169, 97, 0.3);
    }
}*/

/* Morphing background shapes */
@keyframes morphShape {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    50% {
        border-radius: 70% 30% 50% 50% / 30% 70% 70% 30%;
    }
    75% {
        border-radius: 40% 70% 60% 30% / 70% 50% 40% 60%;
    }
}

/* Stagger animation for list items */
.data-table tbody tr {
    animation: rowFadeIn 0.5s ease-out backwards;
}

.data-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.data-table tbody tr:nth-child(2) { animation-delay: 0.15s; }
.data-table tbody tr:nth-child(3) { animation-delay: 0.2s; }
.data-table tbody tr:nth-child(4) { animation-delay: 0.25s; }
.data-table tbody tr:nth-child(5) { animation-delay: 0.3s; }

/*@keyframes rowFadeIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}*/

/* Glass morphism effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Tablet Styles */
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex;
        justify-content: flex-end;
    }
    
    .nav-menu li {
        margin: 0 0.25rem;
    }
    
    .nav-brand {
        margin-bottom: 0;
        float: left;
    }
    
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
    }

    h1 {
        font-size: 3rem;
    }

    .stat-value {
        font-size: 3rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .container {
        padding: 3rem 2rem;
    }
    
    .data-table th,
    .data-table td {
        white-space: nowrap;
    }

    /* Add parallax effect on desktop */
    .stat-card {
        transition: transform 0.3s ease;
    }

    .stat-card:hover {
        transform: translateY(-20px) scale(1.03) rotateX(5deg);
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .stats-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0F172A;
        --bg-card: #1E293B;
        --text-dark: #F1F5F9;
        --text-muted: #94A3B8;
        --border-color: #334155;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
    }/* Tasleeh Holding - Ultra Creative Design with 3D Water Effects */
:root {
    --tasleeh-white: #FFFFFF;
    --tasleeh-gold: #C9A961;
    --tasleeh-bronze: #B8935C;
    --tasleeh-black: #000000;
    --bg-primary: #0A1628;
    --bg-card: #FFFFFF;
    --text-dark: #1A202C;
    --text-muted: #718096;
    --border-color: #E2E8F0;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    --purple: #8c6b42;
    --pink: #EC4899;
    --water-blue: #4FC3F7;
    --water-cyan: #00BCD4;
    --water-teal: #009688;
    --water-aqua: #1DE9B6;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0A1628 0%, #1a2744 50%, #2d3e5f 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated water background with fixed color */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(79, 195, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 188, 212, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(29, 233, 182, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: waterFlow 12s ease-in-out infinite;
}

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

/* Water wave effect */
body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(0deg, rgba(79, 195, 247, 0.1) 0%, transparent 100%);
    animation: wave 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes wave {
    0%, 100% { transform: translateY(0) scaleY(1); }
    50% { transform: translateY(-20px) scaleY(1.1); }
}

/* Floating particles with more effects */
.container::before,
.container::after {
    content: '';
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.12) 0%, transparent 70%);
    filter: blur(60px);
    animation: float 25s ease-in-out infinite, pulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.container::before {
    top: -200px;
    left: -200px;
    animation-delay: 0s, 0s;
}

.container::after {
    bottom: -200px;
    right: -200px;
    animation-delay: -12s, -2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(100px, 100px) rotate(90deg) scale(1.1); }
    50% { transform: translate(0, 200px) rotate(180deg) scale(0.9); }
    75% { transform: translate(-100px, 100px) rotate(270deg) scale(1.05); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-brand {
    font-size: 1.6rem;
    font-weight: 800;
    background: radial-gradient(circle,rgba(255,255,255,.12) 0%,transparent 65%);
    /*radial-gradient(circle,rgba(255,255,255,.12) 0%,transparent 65%)*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% auto;
}

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

.nav-brand::after {
    content: 'âœ¨';
    position: absolute;
    right: -25px;
    top: -5px;
    font-size: 1rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(1.2) rotate(180deg); }
}

.nav-toggle {
    display: block;
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 100%);
    color: var(--tasleeh-white);
    border: none;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 1rem;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(201, 169, 97, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

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

.nav-toggle:active::before {
    width: 300px;
    height: 300px;
}

.nav-toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 24px rgba(201, 169, 97, 0.4);
}

.nav-menu {
    list-style: none;
    display: none;
}

.nav-menu.active {
    display: block;
    animation: menuSlide 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.nav-menu li {
    margin: 0.5rem 0;
    animation: fadeInStagger 0.4s ease-out backwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.15s; }
.nav-menu li:nth-child(3) { animation-delay: 0.2s; }
.nav-menu li:nth-child(4) { animation-delay: 0.25s; }
.nav-menu li:nth-child(5) { animation-delay: 0.3s; }
.nav-menu li:nth-child(6) { animation-delay: 0.35s; }
.nav-menu li:nth-child(7) { animation-delay: 0.4s; }

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

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.2), transparent);
    transition: left 0.6s ease;
}

.nav-menu a:hover::before {
    left: 100%;
}

.nav-menu a:hover {
    background-color: rgba(201, 169, 97, 0.1);
    transform: translateX(8px);
    color: var(--tasleeh-bronze);
}

.nav-menu a.active {
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 100%);
    color: var(--tasleeh-white);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
    animation: activeGlow 2s ease-in-out infinite;
}

@keyframes activeGlow {
    0%, 100% { box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(201, 169, 97, 0.6); }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

h1 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    animation: titleEntrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@keyframes titleEntrance {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--tasleeh-gold), var(--tasleeh-bronze), var(--purple));
    border-radius: 3px;
    animation: underlineExpand 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.4s backwards;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.4);
}

@keyframes underlineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

h2 {
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    perspective: 1000px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: cardEntrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
    transform-style: preserve-3d;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
.stat-card:nth-child(5) { animation-delay: 0.5s; }
.stat-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(-15deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--tasleeh-gold), 
        var(--purple), 
        var(--pink), 
        var(--tasleeh-bronze),
        var(--tasleeh-gold)
    );
    background-size: 300% 300%;
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    animation: gradientRotate 8s linear infinite;
    transition: opacity 0.3s ease;
}

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

.stat-card:hover::before {
    opacity: 0.6;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(201, 169, 97, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    border-radius: 20px;
    background-size: 200% 200%;
    animation: shimmerMove 3s ease-in-out infinite;
}

@keyframes shimmerMove {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

.stat-card:hover {
    transform: translateY(-15px) scale(1.02) rotateX(2deg);
    box-shadow: 0 25px 50px rgba(201, 169, 97, 0.25);
    border-color: var(--tasleeh-gold);
}

.stat-card.alert {
    border-left: 4px solid var(--danger);
}

.stat-card.alert:hover {
    box-shadow: 0 25px 50px rgba(239, 68, 68, 0.25);
}

.stat-card.success {
    border-left: 4px solid var(--success);
}

.stat-card.success:hover {
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.25);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--tasleeh-gold), transparent);
    border-radius: 1px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 50%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
    animation: numberCount 1s ease-out;
}

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

.stat-icon {
    font-size: 3rem;
    opacity: 0.15;
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    transition: all 0.4s ease;
    animation: iconFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(201, 169, 97, 0.3));
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        filter: drop-shadow(0 0 20px rgba(201, 169, 97, 0.3));
    }
    50% { 
        transform: translateY(-15px) rotate(10deg) scale(1.1); 
        filter: drop-shadow(0 10px 30px rgba(201, 169, 97, 0.5));
    }
}

.stat-card:hover .stat-icon {
    opacity: 0.35;
    transform: scale(1.3) rotate(15deg);
    filter: drop-shadow(0 10px 40px rgba(201, 169, 97, 0.6));
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1.3) rotate(15deg); }
    50% { transform: scale(1.4) rotate(20deg); }
}

/* Buttons */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.8s backwards;
}

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

/* Buttons with 3D water effect */
.btn {
    background: linear-gradient(135deg, 
        var(--water-cyan) 0%, 
        var(--water-blue) 50%,
        var(--water-teal) 100%
    );
    color: var(--tasleeh-white);
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 
        0 10px 30px rgba(79, 195, 247, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

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

.btn:active::before {
    width: 500px;
    height: 500px;
}

.btn::after {
    content: 'ðŸ’§';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(/* Tasleeh Holding - Ultra Creative Design with 3D Water Effects */
:root {
    --tasleeh-white: #FFFFFF;
    --tasleeh-gold: #C9A961;
    --tasleeh-bronze: #B8935C;
    --tasleeh-black: #000000;
    --bg-primary: #0A1628;
    --bg-card: #FFFFFF;
    --text-dark: #1A202C;
    --text-muted: #718096;
    --border-color: #E2E8F0;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    --purple: #8c6b42;
    --pink: #EC4899;
    --water-blue: #4FC3F7;
    --water-cyan: #00BCD4;
    --water-teal: #009688;
    --water-aqua: #1DE9B6;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0A1628 0%, #1a2744 50%, #2d3e5f 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated water background with fixed color */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(79, 195, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 188, 212, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(29, 233, 182, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: waterFlow 12s ease-in-out infinite;
}

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

/* Water wave effect */
body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(0deg, rgba(79, 195, 247, 0.1) 0%, transparent 100%);
    animation: wave 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes wave {
    0%, 100% { transform: translateY(0) scaleY(1); }
    50% { transform: translateY(-20px) scaleY(1.1); }
}

/* Floating water bubbles */
.container::before,
.container::after {
    content: '';
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.2) 0%, rgba(0, 188, 212, 0.1) 50%, transparent 100%);
    filter: blur(80px);
    animation: floatBubble 30s ease-in-out infinite, bubblePulse 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    box-shadow: 
        inset 0 0 50px rgba(79, 195, 247, 0.3),
        0 0 100px rgba(0, 188, 212, 0.2);
}

.container::before {
    top: -250px;
    left: -250px;
    animation-delay: 0s, 0s;
}

.container::after {
    bottom: -250px;
    right: -250px;
    animation-delay: -15s, -3s;
}

@keyframes floatBubble {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translate(150px, -150px) rotate(90deg) scale(1.2); 
    }
    50% { 
        transform: translate(0, -300px) rotate(180deg) scale(0.8); 
    }
    75% { 
        transform: translate(-150px, -150px) rotate(270deg) scale(1.1); 
    }
}

@keyframes bubblePulse {
    0%, 100% { 
        opacity: 0.4; 
        filter: blur(80px);
    }
    50% { 
        opacity: 0.7; 
        filter: blur(100px);
    }
}

/* Navigation with 3D water effect */
.navbar {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(79, 195, 247, 0.05) 50%,
        rgba(255, 255, 255, 0.95) 100%
    );
    backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 2px solid rgba(79, 195, 247, 0.3);
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 
        0 8px 32px rgba(79, 195, 247, 0.2),
        inset 0 -2px 10px rgba(79, 195, 247, 0.1);
    animation: slideDown 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(79, 195, 247, 0.1) 25%,
        rgba(0, 188, 212, 0.15) 50%,
        rgba(79, 195, 247, 0.1) 75%,
        transparent 100%
    );
    animation: waterShimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes waterShimmer {
    0%, 100% { transform: translateX(-100%); opacity: 0.3; }
    50% { transform: translateX(100%); opacity: 0.6; }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-brand {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 50%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% auto;
}

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

.nav-brand::after {
    content: 'âœ¨';
    position: absolute;
    right: -25px;
    top: -5px;
    font-size: 1rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(1.2) rotate(180deg); }
}

.nav-toggle {
    display: block;
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 100%);
    color: var(--tasleeh-white);
    border: none;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 1rem;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(201, 169, 97, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

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

.nav-toggle:active::before {
    width: 300px;
    height: 300px;
}

.nav-toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 24px rgba(201, 169, 97, 0.4);
}

.nav-menu {
    list-style: none;
    display: none;
}

.nav-menu.active {
    display: block;
    animation: menuSlide 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.nav-menu li {
    margin: 0.5rem 0;
    animation: fadeInStagger 0.4s ease-out backwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.15s; }
.nav-menu li:nth-child(3) { animation-delay: 0.2s; }
.nav-menu li:nth-child(4) { animation-delay: 0.25s; }
.nav-menu li:nth-child(5) { animation-delay: 0.3s; }
.nav-menu li:nth-child(6) { animation-delay: 0.35s; }
.nav-menu li:nth-child(7) { animation-delay: 0.4s; }

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

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.2), transparent);
    transition: left 0.6s ease;
}

.nav-menu a:hover::before {
    left: 100%;
}

.nav-menu a:hover {
    background-color: rgba(201, 169, 97, 0.1);
    transform: translateX(8px);
    color: var(--tasleeh-bronze);
}

.nav-menu a.active {
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 100%);
    color: var(--tasleeh-white);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
    animation: activeGlow 2s ease-in-out infinite;
}

@keyframes activeGlow {
    0%, 100% { box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(201, 169, 97, 0.6); }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

h1 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    animation: titleEntrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@keyframes titleEntrance {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--tasleeh-gold), var(--tasleeh-bronze), var(--purple));
    border-radius: 3px;
    animation: underlineExpand 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.4s backwards;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.4);
}

@keyframes underlineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

h2 {
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Stats Grid with 3D Water Cards */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    perspective: 2000px;
}

.stat-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(79, 195, 247, 0.08) 50%,
        rgba(255, 255, 255, 0.95) 100%
    );
    backdrop-filter: blur(30px) saturate(180%);
    border: 2px solid rgba(79, 195, 247, 0.3);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(79, 195, 247, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(79, 195, 247, 0.2);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: cardEntrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
.stat-card:nth-child(5) { animation-delay: 0.5s; }
.stat-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(100px) rotateX(-25deg) translateZ(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0) translateZ(0);
    }
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 0%,
        rgba(79, 195, 247, 0.4) 25%,
        rgba(0, 188, 212, 0.5) 50%,
        rgba(29, 233, 182, 0.4) 75%,
        transparent 100%
    );
    background-size: 200% 200%;
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    filter: blur(20px);
    animation: waterGradient 10s linear infinite;
    transition: opacity 0.6s ease;
}

@keyframes waterGradient {
    0% { transform: rotate(0deg) scale(1); background-position: 0% 50%; }
    50% { transform: rotate(180deg) scale(1.1); background-position: 100% 50%; }
    100% { transform: rotate(360deg) scale(1); background-position: 0% 50%; }
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transition: left 0.8s ease;
    z-index: 2;
    pointer-events: none;
}

.stat-card:hover::after {
    left: 100%;
}

.stat-card:hover {
    transform: 
        translateY(-25px) 
        scale(1.05) 
        rotateX(5deg) 
        translateZ(50px);
    box-shadow: 
        0 40px 80px rgba(79, 195, 247, 0.4),
        0 0 60px rgba(0, 188, 212, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(79, 195, 247, 0.4);
    border-color: rgba(79, 195, 247, 0.6);
}

.stat-card.alert {
    border-left: 5px solid var(--danger);
    box-shadow: 
        0 20px 60px rgba(239, 68, 68, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.stat-card.alert:hover {
    box-shadow: 
        0 40px 80px rgba(239, 68, 68, 0.4),
        0 0 60px rgba(239, 68, 68, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.stat-card.success {
    border-left: 5px solid var(--success);
    box-shadow: 
        0 20px 60px rgba(16, 185, 129, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.stat-card.success:hover {
    box-shadow: 
        0 40px 80px rgba(16, 185, 129, 0.4),
        0 0 60px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--tasleeh-gold), transparent);
    border-radius: 1px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, 
        var(--water-cyan) 0%, 
        var(--water-blue) 30%,
        var(--water-teal) 60%, 
        var(--water-aqua) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
    animation: numberCount 1s ease-out;
    text-shadow: 0 0 30px rgba(79, 195, 247, 0.5);
    filter: drop-shadow(0 4px 8px rgba(79, 195, 247, 0.3));
    background-size: 200% 200%;
    animation: waterFlow 4s ease-in-out infinite, numberCount 1s ease-out;
}

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

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

.stat-icon {
    font-size: 3rem;
    opacity: 0.2;
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    transition: all 0.6s ease;
    animation: iconFloatWater 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(79, 195, 247, 0.5));
}

@keyframes iconFloatWater {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        filter: drop-shadow(0 0 30px rgba(79, 195, 247, 0.5));
    }
    25% {
        transform: translateY(-8px) rotate(5deg) scale(1.05);
        filter: drop-shadow(0 10px 40px rgba(0, 188, 212, 0.7));
    }
    50% { 
        transform: translateY(-15px) rotate(10deg) scale(1.1); 
        filter: drop-shadow(0 20px 50px rgba(29, 233, 182, 0.8));
    }
    75% {
        transform: translateY(-8px) rotate(5deg) scale(1.05);
        filter: drop-shadow(0 10px 40px rgba(79, 195, 247, 0.7));
    }
}

.stat-card:hover .stat-icon {
    opacity: 0.4;
    transform: scale(1.4) rotate(20deg) translateZ(30px);
    filter: drop-shadow(0 20px 60px rgba(79, 195, 247, 0.9));
    animation: iconSplash 0.8s ease;
}

@keyframes iconSplash {
    0%, 100% { transform: scale(1.4) rotate(20deg); }
    50% { transform: scale(1.5) rotate(25deg); }
}

/* Buttons */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.8s backwards;
}

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

/* Buttons with 3D water effect */
.btn {
    background: linear-gradient(135deg, 
        var(--water-cyan) 0%, 
        var(--water-blue) 50%,
        var(--water-teal) 100%
    );
    color: var(--tasleeh-white);
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 
        0 10px 30px rgba(79, 195, 247, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

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

.btn:active::before {
    width: 500px;
    height: 500px;
}

.btn::after {
    content: '💧';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(/* Tasleeh Holding - Ultra Creative Design with 3D Water Effects */
:root {
    --tasleeh-white: #FFFFFF;
    --tasleeh-gold: #C9A961;
    --tasleeh-bronze: #B8935C;
    --tasleeh-black: #000000;
    --bg-primary: #0A1628;
    --bg-card: #FFFFFF;
    --text-dark: #1A202C;
    --text-muted: #718096;
    --border-color: #E2E8F0;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    --purple: #8c6b42;
    --pink: #EC4899;
    --water-blue: #4FC3F7;
    --water-cyan: #00BCD4;
    --water-teal: #009688;
    --water-aqua: #1DE9B6;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0A1628 0%, #1a2744 50%, #2d3e5f 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated water background with fixed color */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(79, 195, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 188, 212, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(29, 233, 182, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: waterFlow 12s ease-in-out infinite;
}

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

/* Water wave effect */
body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(0deg, rgba(79, 195, 247, 0.1) 0%, transparent 100%);
    animation: wave 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes wave {
    0%, 100% { transform: translateY(0) scaleY(1); }
    50% { transform: translateY(-20px) scaleY(1.1); }
}

/* Floating water bubbles */
.container::before,
.container::after {
    content: '';
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.2) 0%, rgba(0, 188, 212, 0.1) 50%, transparent 100%);
    filter: blur(80px);
    animation: floatBubble 30s ease-in-out infinite, bubblePulse 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    box-shadow: 
        inset 0 0 50px rgba(79, 195, 247, 0.3),
        0 0 100px rgba(0, 188, 212, 0.2);
}

.container::before {
    top: -250px;
    left: -250px;
    animation-delay: 0s, 0s;
}

.container::after {
    bottom: -250px;
    right: -250px;
    animation-delay: -15s, -3s;
}

@keyframes floatBubble {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translate(150px, -150px) rotate(90deg) scale(1.2); 
    }
    50% { 
        transform: translate(0, -300px) rotate(180deg) scale(0.8); 
    }
    75% { 
        transform: translate(-150px, -150px) rotate(270deg) scale(1.1); 
    }
}

@keyframes bubblePulse {
    0%, 100% { 
        opacity: 0.4; 
        filter: blur(80px);
    }
    50% { 
        opacity: 0.7; 
        filter: blur(100px);
    }
}

/* Navigation with 3D water effect */
.navbar {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(79, 195, 247, 0.05) 50%,
        rgba(255, 255, 255, 0.95) 100%
    );
    backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 2px solid rgba(79, 195, 247, 0.3);
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 
        0 8px 32px rgba(79, 195, 247, 0.2),
        inset 0 -2px 10px rgba(79, 195, 247, 0.1);
    animation: slideDown 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(79, 195, 247, 0.1) 25%,
        rgba(0, 188, 212, 0.15) 50%,
        rgba(79, 195, 247, 0.1) 75%,
        transparent 100%
    );
    animation: waterShimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes waterShimmer {
    0%, 100% { transform: translateX(-100%); opacity: 0.3; }
    50% { transform: translateX(100%); opacity: 0.6; }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-brand {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 50%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% auto;
}

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

.nav-brand::after {
    content: '✨';
    position: absolute;
    right: -25px;
    top: -5px;
    font-size: 1rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(1.2) rotate(180deg); }
}

.nav-toggle {
    display: block;
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 100%);
    color: var(--tasleeh-white);
    border: none;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 1rem;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(201, 169, 97, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

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

.nav-toggle:active::before {
    width: 300px;
    height: 300px;
}

.nav-toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 24px rgba(201, 169, 97, 0.4);
}

.nav-menu {
    list-style: none;
    display: none;
}

.nav-menu.active {
    display: block;
    animation: menuSlide 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.nav-menu li {
    margin: 0.5rem 0;
    animation: fadeInStagger 0.4s ease-out backwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.15s; }
.nav-menu li:nth-child(3) { animation-delay: 0.2s; }
.nav-menu li:nth-child(4) { animation-delay: 0.25s; }
.nav-menu li:nth-child(5) { animation-delay: 0.3s; }
.nav-menu li:nth-child(6) { animation-delay: 0.35s; }
.nav-menu li:nth-child(7) { animation-delay: 0.4s; }

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

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.2), transparent);
    transition: left 0.6s ease;
}

.nav-menu a:hover::before {
    left: 100%;
}

.nav-menu a:hover {
    background-color: rgba(201, 169, 97, 0.1);
    transform: translateX(8px);
    color: var(--tasleeh-bronze);
}

.nav-menu a.active {
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 100%);
    color: var(--tasleeh-white);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
    animation: activeGlow 2s ease-in-out infinite;
}

@keyframes activeGlow {
    0%, 100% { box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(201, 169, 97, 0.6); }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

h1 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    animation: titleEntrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@keyframes titleEntrance {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--tasleeh-gold), var(--tasleeh-bronze), var(--purple));
    border-radius: 3px;
    animation: underlineExpand 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.4s backwards;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.4);
}

@keyframes underlineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

h2 {
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Stats Grid with 3D Water Cards */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    perspective: 2000px;
}

.stat-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(79, 195, 247, 0.08) 50%,
        rgba(255, 255, 255, 0.95) 100%
    );
    backdrop-filter: blur(30px) saturate(180%);
    border: 2px solid rgba(79, 195, 247, 0.3);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(79, 195, 247, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(79, 195, 247, 0.2);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: cardEntrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
.stat-card:nth-child(5) { animation-delay: 0.5s; }
.stat-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(100px) rotateX(-25deg) translateZ(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0) translateZ(0);
    }
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 0%,
        rgba(79, 195, 247, 0.4) 25%,
        rgba(0, 188, 212, 0.5) 50%,
        rgba(29, 233, 182, 0.4) 75%,
        transparent 100%
    );
    background-size: 200% 200%;
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    filter: blur(20px);
    animation: waterGradient 10s linear infinite;
    transition: opacity 0.6s ease;
}

@keyframes waterGradient {
    0% { transform: rotate(0deg) scale(1); background-position: 0% 50%; }
    50% { transform: rotate(180deg) scale(1.1); background-position: 100% 50%; }
    100% { transform: rotate(360deg) scale(1); background-position: 0% 50%; }
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transition: left 0.8s ease;
    z-index: 2;
    pointer-events: none;
}

.stat-card:hover::after {
    left: 100%;
}

.stat-card:hover {
    transform: 
        translateY(-25px) 
        scale(1.05) 
        rotateX(5deg) 
        translateZ(50px);
    box-shadow: 
        0 40px 80px rgba(79, 195, 247, 0.4),
        0 0 60px rgba(0, 188, 212, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(79, 195, 247, 0.4);
    border-color: rgba(79, 195, 247, 0.6);
}

.stat-card.alert {
    border-left: 5px solid var(--danger);
    box-shadow: 
        0 20px 60px rgba(239, 68, 68, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.stat-card.alert:hover {
    box-shadow: 
        0 40px 80px rgba(239, 68, 68, 0.4),
        0 0 60px rgba(239, 68, 68, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.stat-card.success {
    border-left: 5px solid var(--success);
    box-shadow: 
        0 20px 60px rgba(16, 185, 129, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.stat-card.success:hover {
    box-shadow: 
        0 40px 80px rgba(16, 185, 129, 0.4),
        0 0 60px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--tasleeh-gold), transparent);
    border-radius: 1px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, 
        var(--water-cyan) 0%, 
        var(--water-blue) 30%,
        var(--water-teal) 60%, 
        var(--water-aqua) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
    animation: numberCount 1s ease-out;
    text-shadow: 0 0 30px rgba(79, 195, 247, 0.5);
    filter: drop-shadow(0 4px 8px rgba(79, 195, 247, 0.3));
    background-size: 200% 200%;
    animation: waterFlow 4s ease-in-out infinite, numberCount 1s ease-out;
}

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

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

.stat-icon {
    font-size: 3rem;
    opacity: 0.2;
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    transition: all 0.6s ease;
    animation: iconFloatWater 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(79, 195, 247, 0.5));
}

@keyframes iconFloatWater {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        filter: drop-shadow(0 0 30px rgba(79, 195, 247, 0.5));
    }
    25% {
        transform: translateY(-8px) rotate(5deg) scale(1.05);
        filter: drop-shadow(0 10px 40px rgba(0, 188, 212, 0.7));
    }
    50% { 
        transform: translateY(-15px) rotate(10deg) scale(1.1); 
        filter: drop-shadow(0 20px 50px rgba(29, 233, 182, 0.8));
    }
    75% {
        transform: translateY(-8px) rotate(5deg) scale(1.05);
        filter: drop-shadow(0 10px 40px rgba(79, 195, 247, 0.7));
    }
}

.stat-card:hover .stat-icon {
    opacity: 0.4;
    transform: scale(1.4) rotate(20deg) translateZ(30px);
    filter: drop-shadow(0 20px 60px rgba(79, 195, 247, 0.9));
    animation: iconSplash 0.8s ease;
}

@keyframes iconSplash {
    0%, 100% { transform: scale(1.4) rotate(20deg); }
    50% { transform: scale(1.5) rotate(25deg); }
}

/* Buttons */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.8s backwards;
}

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

.btn {
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 100%);
    color: var(--tasleeh-white);
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 16px rgba(201, 169, 97, 0.3);
    position: relative;
    overflow: hidden;
}

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

.btn:active::before {
    width: 400px;
    height: 400px;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 30px rgba(201, 169, 97, 0.4);
}

.btn:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 10px;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    border-color: var(--tasleeh-gold);
    background: rgba(201, 169, 97, 0.05);
    box-shadow: 0 8px 16px rgba(201, 169, 97, 0.2);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    box-shadow: 0 15px 30px rgba(239, 68, 68, 0.4);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 0.85rem;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--tasleeh-gold);
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.1);
    transform: translateY(-2px);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 1s backwards;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
}

.data-table thead {
    background: linear-gradient(135deg, var(--tasleeh-gold) 0%, var(--tasleeh-bronze) 100%);
    color: var(--tasleeh-white);
}

.data-table th {
    padding: 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.data-table tbody tr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0%;
    background: linear-gradient(180deg, var(--tasleeh-gold), var(--purple));
    transition: height 0.3s ease;
}

.data-table tbody tr:hover::before {
    height: 100%;
}

.data-table tbody tr:hover {
    background: linear-gradient(90deg, 
        rgba(201, 169, 97, 0.08), 
        rgba(201, 169, 97, 0.03),
        rgba(139, 92, 246, 0.03)
    );
    transform: translateX(8px) scale(1.01);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.05),
        -4px 0 8px rgba(201, 169, 97, 0.1);
}

.data-table tbody tr:hover td {
    color: var(--text-dark);
    font-weight: 500;
}

.data-table tbody tr:hover td:first-child {
    color: var(--tasleeh-gold);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Cards with enhanced 3D water effects */
.card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%,
        rgba(79, 195, 247, 0.08) 50%,
        rgba(255, 255, 255, 0.98) 100%
    );
    backdrop-filter: blur(30px) saturate(180%);
    border: 2px solid rgba(79, 195, 247, 0.25);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 
        0 15px 50px rgba(79, 195, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(79, 195, 247, 0.1);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: fadeInUp 0.6s ease-out backwards;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(79, 195, 247, 0.3), 
        rgba(255, 255, 255, 0.5),
        rgba(0, 188, 212, 0.3),
        transparent
    );
    transition: left 1s ease;
    transform: skewX(-25deg);
    filter: blur(10px);
}

.card:hover::before {
    left: 150%;
}

.card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, 
        rgba(79, 195, 247, 0.06) 0%, 
        transparent 50%
    );
    animation: cardWaveRotate 15s linear infinite;
    pointer-events: none;
}

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

.card:hover {
    box-shadow: 
        0 30px 70px rgba(79, 195, 247, 0.35),
        0 0 60px rgba(0, 188, 212, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 0 80px rgba(79, 195, 247, 0.08);
    transform: translateY(-10px) translateZ(20px);
    border-color: rgba(79, 195, 247, 0.5);
}

.card-title {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(79, 195, 247, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 2px 10px rgba(79, 195, 247, 0.1);
}

/* Section */
.section {
    margin-bottom: 3rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: modalBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

@keyframes modalBounce {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.modal-header h2 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.75rem;
    font-weight: 700;
}

.close-modal {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: var(--text-muted);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

/* Alerts */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid;
    animation: alertSlide 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
    font-weight: 500;
}

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

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success);
    color: #065f46;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger);
    color: #991b1b;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--warning);
    color: #92400e;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.badge-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    color: var(--success);
    border: 2px solid var(--success);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.badge-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    color: var(--danger);
    border: 2px solid var(--danger);
    animation: badgePulse 2s ease-in-out infinite;
    animation-delay: 0.3s;
}

.badge-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%);
    color: var(--warning);
    border: 2px solid var(--warning);
}

.badge-info {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.15) 0%, rgba(184, 147, 92, 0.15) 100%);
    color: var(--tasleeh-gold);
    border: 2px solid var(--tasleeh-gold);
}

.badge:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Utility Classes */
.text-danger {
    color: var(--danger) !important;
    font-weight: 600;
}

.text-success {
    color: var(--success) !important;
    font-weight: 600;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--tasleeh-gold), var(--tasleeh-bronze));
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--tasleeh-bronze), var(--purple));
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    text-align: center;
    animation: slideInUp 0.5s ease-out;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.loading-spinner::before,
.loading-spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.loading-spinner::before {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(79, 195, 247, 0.2);
    border-top-color: var(--water-cyan);
    border-right-color: var(--water-blue);
    border-bottom-color: var(--water-teal);
    animation: spinLoader 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.loading-spinner::after {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border: 4px solid transparent;
    border-top-color: var(--water-aqua);
    animation: spinLoader 1s linear infinite reverse;
}

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

.loading-text {
    color: var(--water-cyan);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-subtext {
    color: rgba(79, 195, 247, 0.7);
    font-size: 0.9rem;
}

/* Water droplets animation */
.loading-drops {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.water-drop {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.8) 0%, rgba(0, 188, 212, 0.4) 100%);
    border-radius: 50%;
    animation: dropFall 2s ease-in infinite;
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.6);
}

.water-drop:nth-child(1) { left: 10%; animation-delay: 0s; }
.water-drop:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.water-drop:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.water-drop:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.water-drop:nth-child(5) { left: 90%; animation-delay: 1.2s; }

@keyframes dropFall {
    0% {
        top: -10%;
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        top: 110%;
        opacity: 0;
        transform: scale(0.5);
    }
}

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

/* Glowing effect for important elements */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(201, 169, 97, 0.5),
                    0 0 10px rgba(201, 169, 97, 0.3),
                    0 0 15px rgba(201, 169, 97, 0.2);
    }
    50% {
        box-shadow: 0 0 10px rgba(201, 169, 97, 0.8),
                    0 0 20px rgba(201, 169, 97, 0.5),
                    0 0 30px rgba(201, 169, 97, 0.3);
    }
}

/* Particle effect on hover */
.stat-card {
    position: relative;
}

.stat-card:hover {
    animation: cardLevitate 0.6s ease-out forwards;
}

@keyframes cardLevitate {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.03); }
    100% { transform: translateY(-15px) scale(1.02); }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(8px, -8px);
    }
    50% {
        transform: translate(-8px, -15px);
    }
    75% {
        transform: translate(-8px, 8px);
    }
}

/* Add sparkle effects on buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '💧';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
}

.btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    animation: waterDrop 1.5s ease-in-out infinite;
}

@keyframes waterDrop {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1) rotate(0deg); 
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3) rotate(180deg); 
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1));
    }
}

.btn:hover {
    transform: translateY(-6px) scale(1.05) translateZ(20px);
    box-shadow: 
        0 20px 50px rgba(79, 195, 247, 0.6),
        0 0 40px rgba(0, 188, 212, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn:active {
    transform: translateY(-3px) scale(1.02) translateZ(10px);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 12px;
}

.btn-secondary {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(79, 195, 247, 0.1) 50%,
        rgba(255, 255, 255, 0.9) 100%
    );
    color: var(--water-cyan);
    border: 2px solid rgba(79, 195, 247, 0.4);
    box-shadow: 
        0 8px 20px rgba(79, 195, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    border-color: var(--water-cyan);
    background: rgba(79, 195, 247, 0.15);
    box-shadow: 
        0 15px 35px rgba(79, 195, 247, 0.3),
        0 0 30px rgba(0, 188, 212, 0.2);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    box-shadow: 
        0 10px 30px rgba(239, 68, 68, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-danger:hover {
    box-shadow: 
        0 20px 50px rgba(239, 68, 68, 0.6),
        0 0 40px rgba(239, 68, 68, 0.4);
}

/* Ripple effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Magnetic hover effect for cards */
.stat-card,
.card {
    transform-style: preserve-3d;
}

/* 3D Tilt effect on tables */
.data-table tbody tr:hover {
    transform: perspective(1000px) rotateX(2deg) scale(1.02);
}

/* Neon glow text effect */
h1:hover {
    animation: neonGlow 1.5s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    from {
        text-shadow: 0 0 10px rgba(201, 169, 97, 0.5),
                     0 0 20px rgba(201, 169, 97, 0.3),
                     0 0 30px rgba(201, 169, 97, 0.2);
    }
    to {
        text-shadow: 0 0 20px rgba(201, 169, 97, 0.8),
                     0 0 30px rgba(201, 169, 97, 0.5),
                     0 0 40px rgba(201, 169, 97, 0.3);
    }
}

/* Morphing background shapes */
@keyframes morphShape {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    50% {
        border-radius: 70% 30% 50% 50% / 30% 70% 70% 30%;
    }
    75% {
        border-radius: 40% 70% 60% 30% / 70% 50% 40% 60%;
    }
}

/* Stagger animation for list items */
.data-table tbody tr {
    animation: rowFadeIn 0.5s ease-out backwards;
}

.data-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.data-table tbody tr:nth-child(2) { animation-delay: 0.15s; }
.data-table tbody tr:nth-child(3) { animation-delay: 0.2s; }
.data-table tbody tr:nth-child(4) { animation-delay: 0.25s; }
.data-table tbody tr:nth-child(5) { animation-delay: 0.3s; }

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

/* Glass morphism effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Tablet Styles */
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex;
        justify-content: flex-end;
    }
    
    .nav-menu li {
        margin: 0 0.25rem;
    }
    
    .nav-brand {
        margin-bottom: 0;
        float: left;
    }
    
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
    }

    h1 {
        font-size: 3rem;
    }

    .stat-value {
        font-size: 3rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .container {
        padding: 3rem 2rem;
    }
    
    .data-table th,
    .data-table td {
        white-space: nowrap;
    }

    /* Add parallax effect on desktop */
    .stat-card {
        transition: transform 0.3s ease;
    }

    .stat-card:hover {
        transform: translateY(-20px) scale(1.03) rotateX(5deg);
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .stats-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Attachment Gallery Styles */
.attachment-item {
    background: rgba(79, 195, 247, 0.05);
    border-radius: 12px;
    padding: 1rem;
    border: 2px solid rgba(79, 195, 247, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.attachment-item:hover {
    border-color: rgba(79, 195, 247, 0.5);
    box-shadow: 0 8px 20px rgba(79, 195, 247, 0.2);
    transform: translateY(-3px);
}

.attachment-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.attachment-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(79, 195, 247, 0.3);
}

.attachment-item video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.attachment-filename {
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.attachment-icon {
    font-size: 1.2rem;
}

/* Image Lightbox Effect */
@keyframes imageZoom {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Video Player Styling */
video::-webkit-media-controls-panel {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2) 0%, rgba(0, 188, 212, 0.2) 100%);
}

/* Attachment Grid for Multiple Files */
@media (min-width: 768px) {
    #view_attachments {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    #view_attachments {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0F172A;
        --bg-card: #1E293B;
        --text-dark: #F1F5F9;
        --text-muted: #94A3B8;
        --border-color: #334155;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
    }
    
    .navbar,
    .btn-group {
        display: none;
    }
    
    .stat-card,
    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
/* ============================================
   RTL (Right-to-Left) Support for Arabic
   ============================================ */

[dir="rtl"] {
    text-align: right;
}

/* RTL Typography */
[dir="rtl"] body {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
}

/* RTL Navbar */
[dir="rtl"] .navbar {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .dropdown-menu {
    left: 0;
    right: auto;
}

[dir="rtl"] .dropdown-menu a:hover {
    transform: translateX(-5px);
}

/* RTL Tables */
[dir="rtl"] table {
    text-align: right;
}

[dir="rtl"] th,
[dir="rtl"] td {
    text-align: right;
}

/* RTL Forms */
[dir="rtl"] .form-group label {
    text-align: right;
}

[dir="rtl"] input[type="text"],
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="password"],
[dir="rtl"] input[type="number"],
[dir="rtl"] input[type="date"],
[dir="rtl"] input[type="tel"],
[dir="rtl"] textarea,
[dir="rtl"] select {
    text-align: right;
    direction: rtl;
}

/* RTL Buttons */
[dir="rtl"] .btn-group {
    flex-direction: row-reverse;
}

/* RTL Cards */
[dir="rtl"] .card {
    text-align: right;
}

[dir="rtl"] .stat-card {
    text-align: right;
}

/* RTL Alerts */
[dir="rtl"] .alert {
    text-align: right;
}

/* RTL Modal */
[dir="rtl"] .modal-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .modal-body {
    text-align: right;
}

[dir="rtl"] .modal-footer {
    flex-direction: row-reverse;
}

/* RTL Spacing Adjustments */
[dir="rtl"] .mr-2 {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .ml-2 {
    margin-left: 0;
    margin-right: 0.5rem;
}

[dir="rtl"] .pr-2 {
    padding-right: 0;
    padding-left: 0.5rem;
}

[dir="rtl"] .pl-2 {
    padding-left: 0;
    padding-right: 0.5rem;
}

/* RTL Icons and Arrows */
[dir="rtl"] .arrow-right::after {
    content: "←";
}

[dir="rtl"] .arrow-left::after {
    content: "→";
}

/* RTL Float */
[dir="rtl"] .float-right {
    float: left !important;
}

[dir="rtl"] .float-left {
    float: right !important;
}

/* RTL Text Alignment */
[dir="rtl"] .text-left {
    text-align: right !important;
}

[dir="rtl"] .text-right {
    text-align: left !important;
}

/* RTL Responsive Menu */
@media (max-width: 992px) {
    [dir="rtl"] .nav-menu {
        text-align: right;
    }
    
    [dir="rtl"] .dropdown-menu {
        right: 0;
        left: auto;
    }
}

/* RTL Badge and Status */
[dir="rtl"] .badge {
    direction: rtl;
}

/* RTL Pagination */
[dir="rtl"] .pagination {
    flex-direction: row-reverse;
}

/* RTL Breadcrumbs */
[dir="rtl"] .breadcrumb {
    flex-direction: row-reverse;
}

/* RTL List Items */
[dir="rtl"] ul,
[dir="rtl"] ol {
    padding-right: 1.5rem;
    padding-left: 0;
}

/* RTL Checkboxes and Radio Buttons */
[dir="rtl"] input[type="checkbox"],
[dir="rtl"] input[type="radio"] {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* RTL Number Formatting */
[dir="rtl"] .number,
[dir="rtl"] .amount,
[dir="rtl"] .price {
    direction: ltr;
    display: inline-block;
}

