    /* Custom styles for Brentford Volunteer Fire Department */

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }

    /* Selection color */
    ::selection {
        background-color: rgba(201, 168, 76, 0.3);
        color: #ffffff;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #050A18;
    }
    ::-webkit-scrollbar-thumb {
        background: #142945;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #C9A84C;
    }

    /* Scroll reveal animations */
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @media (prefers-reduced-motion: no-preference) {
        .scroll-reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        }
    }

    /* Navbar styles */
    #navbar {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    #navbar.scrolled {
        background-color: rgba(5, 10, 24, 0.92);
        border-bottom: 1px solid rgba(201, 168, 76, 0.1);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

    /* Mobile menu */
    #mobile-menu {
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    #mobile-menu.open {
        display: block;
    }

    #mobile-menu.hidden {
        display: none;
    }

    /* Mobile menu button animation */
    .menu-line {
        display: block;
    }

    #mobile-menu-btn.active .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    #mobile-menu-btn.active .menu-line:nth-child(2) {
        opacity: 0;
    }
    #mobile-menu-btn.active .menu-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        width: 1.5rem;
    }

    /* Mobile links */
    .mobile-link {
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-link:last-child {
        border-bottom: none;
    }

    /* Gold shimmer effect on hero title */
    @keyframes shimmer {
        0% { background-position: -200% center; }
        100% { background-position: 200% center; }
    }

    /* Floating animation for decorative elements */
    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }

    .float-animation {
        animation: float 4s ease-in-out infinite;
    }

    /* Pulse animation for status indicator */
    @keyframes pulse-ring {
        0% { box-shadow: 0 0 0 0 rgba(126, 212, 200, 0.4); }
        70% { box-shadow: 0 0 0 8px rgba(126, 212, 200, 0); }
        100% { box-shadow: 0 0 0 0 rgba(126, 212, 200, 0); }
    }

    .pulse-ring {
        animation: pulse-ring 2s infinite;
    }

    /* Form focus states */
    input:focus, select:focus, textarea:focus {
        outline: none;
    }

    /* Select arrow */
    select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        padding-right: 2.5rem;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .font-display {
            word-break: keep-all;
        }
    }
