html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.hero,
.navbar,
.footer {
    width: 100%;
    max-width: 100%;
}

header,
nav,
main,
section,
footer {
    width: 100%;
    max-width: 100%;
}

/* Prevent decorative transforms/absolute elements from creating horizontal scroll */
main {
    overflow-x: clip;
}

.kinetic-gradient { background: linear-gradient(135deg, #a14000 0%, #ff6a00 100%); }
.glass-panel { backdrop-filter: blur(24px); background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(255, 255, 255, 0.4); }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.ambient-shadow { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08); }
.hero-glow { filter: drop-shadow(0 0 30px rgba(255, 106, 0, 0.15)); }
.dot-pattern { background-image: radial-gradient(rgba(161, 64, 0, 0.1) 1px, transparent 1px); background-size: 32px 32px; }
.card-lift:hover { transform: translateY(-8px); box-shadow: 0 25px 50px -12px rgba(161, 64, 0, 0.15); border-color: rgba(161, 64, 0, 0.2); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.animate-marquee { display: flex; animation: marquee 40s linear infinite; }
.testimonial-showcase {
    background: radial-gradient(circle at 20% 20%, rgba(255, 106, 0, 0.12), transparent 55%), #191c1e;
}

.testimonial-viewport {
    padding: 0 8px;
}

.testimonial-wrapper,
.testimonial-track {
    display: flex;
    gap: 0;
    width: 100%;
    flex-wrap: nowrap;
    transition: transform 700ms ease;
    will-change: transform;
}

.testimonial-track:hover {
    animation-play-state: running;
}

.testimonial-card,
.testimonial-item {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    padding: 0 12px;
}

.testimonial-panel {
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    min-height: 100%;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.testimonial-indicator {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.35);
    transition: all 240ms ease;
}

.testimonial-indicator:hover {
    background: rgba(255, 255, 255, 0.55);
}

.testimonial-indicator.active {
    width: 28px;
    background: #ff6a00;
}

.testimonial-card p,
.testimonial-card h3,
.testimonial-item p,
.testimonial-item h3,
.testimonial-item blockquote {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-section {
    overflow: hidden;
}

section:has(.testimonial-track),
div:has(> .testimonial-track) {
    overflow: hidden;
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delayed { animation: float 6s ease-in-out 2s infinite; }
.tracking-tighter-plus { letter-spacing: -0.04em; }

@media (max-width: 768px) {
    .testimonial-card,
    .testimonial-item {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
}

/* New Animations */
@keyframes reveal-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal-on-scroll { opacity: 0; }
.reveal-on-scroll.active { animation: reveal-up 1s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
