html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFFFFF;
    color: #0F172A;
    font-feature-settings: "kern" 1, "liga" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-gradient {
    background: radial-gradient(circle at 15% 20%, rgba(0, 166, 251, 0.08), transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(148, 163, 184, 0.06), transparent 55%),
    radial-gradient(circle at 50% 75%, rgba(0, 166, 251, 0.05), transparent 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.99));
}

.section-divider {
    background: linear-gradient(90deg, rgba(148, 163, 184, 0) 0%, rgba(0, 166, 251, 0.3) 50%, rgba(148, 163, 184, 0) 100%);
    height: 1px;
    margin: 4rem 0;
}

.stat-glow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05), 0 4px 6px -1px rgba(0, 166, 251, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-glow:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 166, 251, 0.15);
    transform: translateY(-2px);
}

.tile-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

.tile-hover:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(0, 166, 251, 0.4);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 166, 251, 0.15);
}

.slider {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.slider-fullscreen {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.slider-track-fullscreen {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide-fullscreen {
    min-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.slider-slide-fullscreen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-indicators-fullscreen button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-indicators-fullscreen button:hover {
    transform: scale(1.2);
}

/* Mobile menu styles */
.mobile-submenu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease-out, margin-top 0.3s ease-out;
    margin-top: 0;
}

.mobile-submenu:not(.hidden) {
    max-height: 1000px;
    opacity: 1;
    margin-top: 0.5rem;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-in, margin-top 0.3s ease-in;
}

.mobile-menu-arrow {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-arrow.rotate-180 {
    transform: rotate(180deg);
}

/* Ensure mobile menu is above everything */
#mobile-menu {
    z-index: 99999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: white !important;
    isolation: isolate !important;
}

#mobile-menu > div:first-child {
    position: absolute !important;
    inset: 0 !important;
    background-color: white !important;
    z-index: 1 !important;
}

#mobile-menu > div:last-child {
    position: relative !important;
    z-index: 2 !important;
    background-color: white !important;
}

/* Ensure slider stays below mobile menu */
.slider-fullscreen {
    z-index: 0 !important;
}

main {
    z-index: 20 !important;
    position: relative !important;
}

/* Prevent body scroll when menu is open */
body.overflow-hidden {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
    min-width: 100%;
    position: relative;
}

.slider-slide img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slider-indicators button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgba(148, 163, 184, 0.4);
}

.slider-indicators button.active {
    opacity: 1;
    transform: scale(1.3);
    background-color: rgba(0, 166, 251, 0.8);
}

/* Professional button styles */
.btn-primary {
    background: linear-gradient(135deg, #00A6FB 0%, #0095E0 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 166, 251, 0.3), 0 2px 4px -2px rgba(0, 166, 251, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 166, 251, 0.4), 0 4px 6px -4px rgba(0, 166, 251, 0.3);
}

.btn-secondary {
    border: 1.5px solid rgba(148, 163, 184, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    border-color: rgba(0, 166, 251, 0.5);
    background-color: rgba(0, 166, 251, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Refined card styles */
.card-refined {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-refined:hover {
    border-color: rgba(0, 166, 251, 0.3);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 166, 251, 0.1);
    transform: translateY(-4px);
}

/* Professional text gradients */
.text-gradient {
    background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

