/* Glass Green Effect Design System */
html { scroll-behavior: smooth; }
body {
    background: linear-gradient(135deg, #0b1620 0%, #0a1a2b 100%);
    background-attachment: fixed;
    color: #f1f5f9;
}

/* Enhanced glow effects */
.glow-teal {
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.3), 0 0 40px rgba(20, 184, 166, 0.1);
}
.glow-teal-intense {
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.4), 0 0 60px rgba(20, 184, 166, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glow-teal-intense:hover {
    box-shadow: 0 0 40px rgba(20, 184, 166, 0.6), 0 0 80px rgba(20, 184, 166, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.05);
}
.glow-card {
    background-color: #0e1a2a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}
.glow-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 60px rgba(20, 184, 166, 0.2);
}
.glow-card:hover .card-content {
    transform: translateZ(20px);
}
.glow-border {
    position: relative;
    border: 1px solid rgba(20, 184, 166, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glow-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.6), rgba(6, 182, 212, 0.3), rgba(20, 184, 166, 0.6));
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.glow-border:hover {
    border-color: rgba(20, 184, 166, 0.6);
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
    transform: translateY(-1px);
}
.glow-border:hover::before {
    opacity: 1;
}
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-4px) scale(1.02);
}
.hover-glow {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-glow:hover {
    text-shadow: 0 0 25px rgba(20, 184, 166, 0.6), 0 0 50px rgba(20, 184, 166, 0.3);
    color: rgb(153, 246, 228);
}
.hover-bg-shift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: 200% 200%;
    background-position: 0% 50%;
}
.hover-bg-shift:hover {
    background-position: 100% 50%;
}
.hover-float {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-float:hover {
    transform: translateY(-6px);
    filter: drop-shadow(0 10px 30px rgba(20, 184, 166, 0.2));
}
.tag-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.tag-hover:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(6, 182, 212, 0.1));
    border-color: rgba(20, 184, 166, 0.6);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.2);
}
.logo-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo-hover:hover {
    transform: rotate(-5deg) scale(1.1);
}
.logo-hover:hover .logo-icon {
    animation: pulse 0.6s ease-in-out;
}
.card-image-hover {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.card-image-hover img {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-image-hover:hover img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1.1) contrast(1.1);
}
.floating-stats-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-stats-hover:hover {
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}
.button-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.button-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}
.button-hover:hover::before {
    left: 100%;
}
.button-hover:hover {
    transform: translateY(-2px) scale(1.05);
}
.interactive-text:hover {
    background: linear-gradient(135deg, #14b8a6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.02);
}
.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
    from { box-shadow: 0 0 20px rgba(20, 184, 166, 0.3), 0 0 40px rgba(20, 184, 166, 0.1); }
    to { box-shadow: 0 0 30px rgba(20, 184, 166, 0.5), 0 0 60px rgba(20, 184, 166, 0.2); }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
.animate-fade-in { animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; opacity: 0; }
.animate-slide-up { animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; opacity: 0; }
.animate-scale-in { animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; opacity: 0; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.backdrop-glow {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.text-glow {
    text-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}
.bg-gradient-glow {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(6, 182, 212, 0.05));
}
/* Ambient lighting effect */
.ambient-light {
    position: fixed;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: ambientMove 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}
.ambient-light-2 {
    position: fixed;
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: ambientMove2 10s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}
@keyframes ambientMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, -50px) scale(1.1); }
}
@keyframes ambientMove2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, 60px) scale(0.9); }
}
/* Cursor interaction effects */
.cursor-glow {
    cursor: pointer;
}

.custom-cursor-ring {
    width: 28px;
    height: 28px;
    border: 1.5px solid rgba(45, 212, 191, 0.85);
    border-radius: 9999px;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: rgba(13, 148, 136, 0.15) 0px 0px 0px 2px, rgba(20, 184, 166, 0.25) 0px 0px 30px;
    transition: width 0.2s, height 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.06s, opacity 0.2s;
    backdrop-filter: blur(1px);
    opacity: 0.9;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background: rgba(94, 234, 212, 0.95);
    border-radius: 9999px;
    transform: translate(-50%, -50%);
    transition: transform 0.06s, opacity 0.2s;
    box-shadow: rgba(94, 234, 212, 0.6) 0px 0px 10px;
    opacity: 0.9;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

/* Custom Overrides for Bootstrap Components */
.card, .content-card {
    background-color: #0e1a2a !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem !important;
    color: #f1f5f9;
}
.card-header {
    background-color: rgba(20, 184, 166, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(20, 184, 166, 0.05) !important;
}

.table {
    color: #cbd5e1 !important;
}
.table>tbody>tr>* {
    background-color: rgba(20, 184, 166, 0.15) !important;
    color: #cbd5e1 !important;
    transition: all 0.3s ease;
    border-color: rgba(255, 255, 255, 0.05) !important;
}
.table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: rgba(20, 184, 166, 0.22) !important;
}
.table-hover>tbody>tr:hover>* {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05);
}
.table-bordered>:not(caption)>*>* {
    border-color: rgba(255, 255, 255, 0.05);
}
.table thead th {
    border-bottom: 2px solid rgba(20, 184, 166, 0.3);
    color: #14b8a6;
    background-color: rgba(14, 26, 42, 0.6) !important;
}

.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(20, 184, 166, 0.3) !important;
    color: #f1f5f9 !important;
    transition: all 0.3s ease;
}
.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #14b8a6 !important;
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.4) !important;
    color: #f1f5f9 !important;
}
.form-select option,
.form-select optgroup {
    background-color: #142033 !important;
    color: #f1f5f9 !important;
}
.form-control::placeholder {
    color: #64748b !important;
}
.form-label {
    color: #cbd5e1 !important;
    font-weight: 500;
}

.btn-primary {
    background-color: #0d9488 !important;
    border-color: #0d9488 !important;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover {
    background-color: #14b8a6 !important;
    border-color: #14b8a6 !important;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
    transform: translateY(-2px);
}
.btn-success {
    background-color: rgba(20, 184, 166, 0.8) !important;
    border-color: rgba(20, 184, 166, 0.8) !important;
    color: #ffffff !important;
}
.btn-success:hover {
    background-color: rgba(20, 184, 166, 1) !important;
    border-color: rgba(20, 184, 166, 1) !important;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: rgba(100, 116, 139, 0.4) !important;
    border-color: rgba(100, 116, 139, 0.5) !important;
    color: #f1f5f9 !important;
}
.btn-secondary:hover {
    background-color: rgba(100, 116, 139, 0.6) !important;
    box-shadow: 0 0 15px rgba(100, 116, 139, 0.3);
    transform: translateY(-2px);
}
.btn-outline-primary {
    color: #14b8a6 !important;
    border-color: #14b8a6 !important;
}
.btn-outline-primary:hover {
    background-color: #14b8a6 !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.4);
}

.text-muted {
    color: #94a3b8 !important;
}
.border {
    border-color: rgba(255, 255, 255, 0.05) !important;
}
.border-bottom {
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}
.list-group-item {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: #cbd5e1 !important;
}
.modal-content {
    background: rgba(14, 26, 42, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(20, 184, 166, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(20, 184, 166, 0.1), 0 0 40px rgba(20, 184, 166, 0.15) !important;
    color: #f1f5f9;
    border-radius: 1.5rem !important;
}
.modal-header {
    border-bottom: 1px solid rgba(20, 184, 166, 0.2) !important;
    background-color: rgba(20, 184, 166, 0.05) !important;
    border-top-left-radius: calc(1.5rem - 1px) !important;
    border-top-right-radius: calc(1.5rem - 1px) !important;
}
.modal-footer {
    border-top: 1px solid rgba(20, 184, 166, 0.2) !important;
    background-color: rgba(20, 184, 166, 0.05) !important;
    border-bottom-left-radius: calc(1.5rem - 1px) !important;
    border-bottom-right-radius: calc(1.5rem - 1px) !important;
}
.modal-title {
    color: #f1f5f9;
    text-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
    font-weight: 600;
}
.modal-backdrop.show {
    opacity: 0.6 !important;
}
.modal-backdrop {
    background-color: #0b1620 !important;
}
.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.dropdown-menu {
    background-color: #142033;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.dropdown-item {
    color: #cbd5e1;
}
.dropdown-item:hover {
    background-color: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}
.dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.05);
}

/* Pagination */
.page-link {
    background-color: #142033;
    border-color: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}
.page-link:hover {
    background-color: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.3);
    color: #14b8a6;
}
.page-item.active .page-link {
    background-color: #0d9488;
    border-color: #0d9488;
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.4);
}
.page-item.disabled .page-link {
    background-color: rgba(14, 26, 42, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
    color: #64748b;
}

/* Select2 Overrides */
.select2-container--bootstrap-5 .select2-selection {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(20, 184, 166, 0.3) !important;
    color: #f1f5f9 !important;
}
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #14b8a6 !important;
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.4) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}
.select2-container--bootstrap-5 .select2-selection__rendered {
    color: #f1f5f9 !important;
}
.select2-container--bootstrap-5 .select2-selection__placeholder {
    color: #64748b !important;
}
.select2-container--bootstrap-5 .select2-dropdown {
    background-color: #142033 !important;
    border: 1px solid rgba(20, 184, 166, 0.3) !important;
}
.select2-container--bootstrap-5 .select2-results__option {
    color: #cbd5e1 !important;
}
.select2-container--bootstrap-5 .select2-results__option[aria-selected="true"] {
    background-color: rgba(20, 184, 166, 0.2) !important;
}
.select2-container--bootstrap-5 .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(20, 184, 166, 0.4) !important;
    color: #ffffff !important;
}

.text-primary {
    color: #14b8a6 !important; /* teal-500 */
}

/* Global scrollbar style */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #0b1620;
}
::-webkit-scrollbar-thumb {
    background: rgba(20, 184, 166, 0.3);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(20, 184, 166, 0.6);
}
