/* KMF - Custom styles (Tailwind extended) */
html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

/* Ensure logo and images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Global page layout: let Tailwind containers handle margins/padding */
body {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile menu drawer */
#mobile-menu {
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
}

/* Mobile backdrop */
#mobile-menu-backdrop {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glassmorphism utilities */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(30, 58, 95, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card hover for premium feel */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(30, 58, 95, 0.15);
}

/* Form focus ring in brand color */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #1e3a5f;
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.15);
}

/* Custom Typography & Prose */
.prose-custom {
    line-height: 1.8;
}
.prose-custom h2 { font-size: 1.75rem; font-weight: 800; color: #1e3a5f; margin-top: 2rem; margin-bottom: 1rem; }
.prose-custom h3 { font-size: 1.4rem; font-weight: 800; color: #1e3a5f; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.prose-custom p { margin-bottom: 1.25rem; }
.prose-custom ul { list-style: none; padding-left: 0; margin-bottom: 1.5rem; }
.prose-custom ul li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; }
.prose-custom ul li::before { content: '→'; position: absolute; left: 0; color: #f47b20; font-weight: bold; }
.prose-custom a { color: #f47b20; font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; transition: all 0.2s; }

.prose-custom a:hover { border-bottom-color: #f47b20; }

/* Infinite Marquee for Partners */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-content {
    display: inline-flex;
    flex-wrap: nowrap;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-content:hover {
    animation-play-state: paused;
}
