/* Global and custom styling for Alumith / HSEQSE */

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #0A0A0A;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', serif;
}

/* Hide scrollbar for cleaner aesthetic */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F3F4F6;
}
::-webkit-scrollbar-thumb {
    background: #CECECE;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D1D5DB;
}

/* Utility for sharp content areas vs rounded buttons */
.sharp-edge {
    border-radius: 0px;
}
.pill-edge {
    border-radius: 9999px;
}

/* Slide animation for trusted-by carousel logos */
@keyframes slide-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Values section float-pills style & animations */
@keyframes hover-shake-anim {
    0%, 100% { transform: scale(1.05) rotate(0deg); }
    25% { transform: scale(1.05) rotate(-5deg); }
    50% { transform: scale(1.05) rotate(5deg); }
    75% { transform: scale(1.05) rotate(-5deg); }
}

.hover-shake-trigger:hover {
    animation: hover-shake-anim 0.4s infinite ease-in-out;
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    z-index: 50;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.bounce-pill {
    position: absolute;
    will-change: left, top;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .bounce-pill {
        font-size: 1rem;
        padding: 0.875rem 1.75rem;
    }
}

/* Typewriter Cursor */
.typewriter-cursor::after {
    content: '|';
    animation: cursor-blink 0.8s infinite;
}
@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Mobile layout for values section pills */
@media (max-width: 767px) {
    .bounce-pill {
        position: static !important;
        transform: none !important;
        margin: 0.25rem !important;
    }
    #values-pills-container {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
    }
}
