/* Custom Global Styling & Smooth Scrolling */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    overflow-x: hidden;
}

/* Glassmorphism & Modern Card Effects */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #005C8A;
}

/* Form focus ring enhancements */
input:focus, select:focus, textarea:focus {
    border-color: #005C8A !important;
    box-shadow: 0 0 0 4px rgba(0, 92, 138, 0.15) !important;
}

/* Logo Theme Gradient Utilities */
.logo-gradient-text {
    background: linear-gradient(135deg, #005C8A 0%, #00D27F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-gradient-bg {
    background: linear-gradient(135deg, #005C8A 0%, #00D27F 100%);
}
.logo-gradient-border {
    border-image: linear-gradient(135deg, #005C8A 0%, #00D27F 100%) 1;
}

/* Table styling for mobile responsive scroll */
table th, table td {
    white-space: nowrap;
}

@media (min-width: 768px) {
    table th, table td {
        white-space: normal;
    }
}

/* Micro-animations */
.hover-lift {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

/* FAQ Accordion Transitions */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    opacity: 1;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Floating Action Button */
#backToTop {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#backToTop.hidden-btn {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

/* Mobile Drawer Keyframe Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in.slide-in-from-top {
    animation: slideDown 0.25s ease-out forwards;
}

