/* Custom Styles for Westphal Safety */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    color: #1f2937; /* text-gray-800 */
    scroll-behavior: smooth;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accordion transition for FAQs */
.accordion-content {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
.accordion-content.open {
    max-height: 500px;
    opacity: 1;
}

/* SVG icon transitions for FAQs */
.accordion-icon {
    transition: transform 0.3s ease;
}
.accordion-icon.open {
    transform: rotate(180deg);
}

/* Header transition on scroll */
#main-header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding-top: 0.75rem !important; /* py-3 equivalent */
    padding-bottom: 0.75rem !important;
}

/* Custom shape for hero image */
@media (min-width: 768px) {
    .clip-path-hero {
        clip-path: polygon(5% 0, 100% 0%, 100% 95%, 0% 100%);
    }
}
