.participant-name {
    flex-grow: 0 !important;
    width: 400px; 
}

.btn.sending {
    position: relative;
    color: transparent !important;
}

.btn.sending::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* General Body and Typography */
body {
    font-family: 'Inter', sans-serif; /* Modern sans-serif font */
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa; /* Light gray background */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* A more distinct font for headings */
    font-weight: 700;
    color: #212529;
}

/* Custom styles for the alternative page */
.alternative-header {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff; /* Primary blue */
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.15rem;
    font-weight: 300;
    color: #555;
}

/* Comparison Table */
.comparison-table .table {
    border-radius: .5rem;
    overflow: hidden; /* Ensures rounded corners apply to table */
    border: 1px solid #dee2e6;
}

.comparison-table thead th {
    background-color: #007bff; /* Primary blue */
    color: white;
    border-color: #007bff;
    font-weight: 600;
}

.comparison-table tbody tr:nth-of-type(odd) {
    background-color: #f2f2f2; /* Light stripe for readability */
}

.comparison-table tbody tr:hover {
    background-color: #e9ecef; /* Subtle hover effect */
}

/* Origin Story Card */
.origin-story-card {
    background-color: #ffffff;
    border: none;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

/* Testimonials */
.scrolling-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem; /* Space for scrollbar */
}

.testimonial-scroller {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping */
}

.testimonial-card {
    flex: 0 0 auto; /* Don't grow, don't shrink, base on content */
    width: 300px; /* Fixed width for cards */
    margin-right: 1.5rem;
    background-color: #ffffff;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
}

.testimonial-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
}

.testimonial-card .card-body {
    padding: 1.5rem;
}

.testimonial-card .card-text {
    font-style: italic;
    color: #495057;
}

.testimonial-card .blockquote-footer {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .alternative-header {
        font-size: 2rem;
    }
    .lead {
        font-size: 1rem;
    }
    .testimonial-card {
        width: 250px; /* Smaller width on smaller screens */
    }
}

/* Hide scrollbar for testimonial scroller */
.scrolling-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar for WebKit browsers */
}

.scrolling-wrapper {
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}