
.testimonials,
.featured-events,
.features,
.event-section {
    position: relative;
    overflow: hidden;
}

.testimonials::before,
.testimonials::after,
.featured-events::before,
.features::before,
.features::after,
.event-section::before,
.event-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(95px);
    z-index: 0;
    pointer-events: none;
}

.home-sparkle {
    position: absolute;
    z-index: 0;
    color: #ffb347;
    opacity: 0;
    pointer-events: none;
    animation: ec-twinkle 4.5s ease-in-out infinite;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials {
    background: #f8fafc;
    padding: 5rem 6% 6rem;
}

.testimonials::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 179, 71, 0.3), transparent 70%);
    top: -140px;
    left: -100px;
    animation: ec-float-blob 12s ease-in-out infinite;
}

.testimonials::after {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(238, 113, 38, 0.2), transparent 70%);
    bottom: -150px;
    right: -100px;
    animation: ec-float-blob 15s ease-in-out infinite reverse;
}

.testimonials-sparkle-1 { top: 10%; right: 14%; font-size: 1.2rem; animation-delay: 0.4s; }
.testimonials-sparkle-2 { bottom: 14%; left: 9%; font-size: 1rem; color: #EE7126; animation-delay: 2.1s; }

.testimonials h2 {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 2.1rem;
    font-weight: 700;
    background: linear-gradient(90deg, #1a1a2e, #EE7126, #ffb347, #1a1a2e);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: ec-gradient-shift 6s ease infinite;
}

.testimonials .subtitle {
    position: relative;
    z-index: 1;
}

.testimonial-grid {
    position: relative;
    z-index: 1;
}

.testimonial {
    position: relative;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(20, 20, 40, 0.09), 0 2px 8px rgba(20, 20, 40, 0.05);
    border: 1px solid rgba(238, 113, 38, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #EE7126, #ffb347);
    transform: scaleX(0.22);
    transform-origin: left;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(238, 113, 38, 0.18), 0 0 0 1px rgba(238, 113, 38, 0.1);
}

.testimonial:hover::before {
    transform: scaleX(1);
    opacity: 1;
}

.testimonial .stars {
    color: #EE7126;
    letter-spacing: 2px;
}

.testimonial hr {
    border-color: rgba(238, 113, 38, 0.15);
}

.testimonial-author .name {
    color: #1a1a2e;
    font-weight: 700;
}

.testimonial-author .title {
    color: #6b7280;
}

/* ========================================
   FEATURED EVENTS
   ======================================== */

.featured-events {
    background: #fff9f4;
    padding-bottom: 3rem;
}

.featured-events::before {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(238, 113, 38, 0.18), transparent 70%);
    top: -120px;
    right: -80px;
    animation: ec-float-blob 13s ease-in-out infinite;
}

.featured-event-text {
    position: relative;
    z-index: 1;
}

.featured-event-text h2 {
    display: inline-block;
    font-weight: 700;
    background: linear-gradient(90deg, #1a1a2e, #EE7126, #ffb347, #1a1a2e);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: ec-gradient-shift 6s ease infinite;
}

.custom-carousel-container {
    position: relative;
    z-index: 1;
}

.carousel-btn {
    background: linear-gradient(135deg, #EE7126, #ff9852);
    opacity: 1;
    box-shadow: 0 8px 20px rgba(238, 113, 38, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 26px rgba(238, 113, 38, 0.4);
}

/* ========================================
   FEATURES + STEPS ("Creating Your Own Event?")
   ======================================== */

.features {
    background: #f8fafc;
    padding: 5rem 0 4rem;
}

.features::before {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 179, 71, 0.3), transparent 70%);
    top: -140px;
    left: -120px;
    animation: ec-float-blob 12s ease-in-out infinite;
}

.features::after {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(238, 113, 38, 0.2), transparent 70%);
    bottom: -160px;
    right: -110px;
    animation: ec-float-blob 14s ease-in-out infinite reverse;
}

.features-sparkle-1 { top: 8%; left: 6%; font-size: 1.3rem; animation-delay: 0.6s; }
.features-sparkle-2 { top: 55%; right: 8%; font-size: 1.05rem; color: #EE7126; animation-delay: 2.6s; }

.feature-text,
.features > .container,
.features .subtitle {
    position: relative;
    z-index: 1;
}

.feature-text h2 {
    display: inline-block;
    font-weight: 700 !important;
    background: linear-gradient(90deg, #1a1a2e, #EE7126, #ffb347, #1a1a2e);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: ec-gradient-shift 6s ease infinite;
}

.feature-text h2 span {
    background: none;
    -webkit-text-fill-color: initial;
    color: #1a1a2e;
    display: inline-block;
}

.feature-box {
    position: relative;
    border: 1px solid rgba(238, 113, 38, 0.1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(20, 20, 40, 0.07), 0 2px 8px rgba(20, 20, 40, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #EE7126, #ffb347);
    transform: scaleX(0.22);
    transform-origin: left;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(238, 113, 38, 0.18), 0 0 0 1px rgba(238, 113, 38, 0.1);
}

.feature-box:hover::before {
    transform: scaleX(1);
    opacity: 1;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(238, 113, 38, 0.14), rgba(255, 179, 71, 0.14));
    color: #EE7126 !important;
    margin-bottom: 14px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, #EE7126, #ffb347);
    color: #fff !important;
}

.feature-box h4 {
    font-weight: 700 !important;
    color: #1a1a2e;
}

.feature-box p {
    color: #6b7280;
}

/* ── Steps ── */
.steps {
    position: relative;
    z-index: 1;
}

.steps h3 {
    display: inline-block;
    font-weight: 700;
    background: linear-gradient(90deg, #1a1a2e, #EE7126, #ffb347, #1a1a2e);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: ec-gradient-shift 6s ease infinite;
}

.step-item {
    transition: transform 0.28s ease;
}

.step-item:hover {
    transform: translateY(-6px);
}

.step-icon {
    background: linear-gradient(135deg, #EE7126, #ffb347);
    box-shadow: 0 10px 22px rgba(238, 113, 38, 0.3);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.step-item:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 14px 28px rgba(238, 113, 38, 0.4);
}

/* ========================================
   EVENT TYPE CARDS ("Perfect for Every Event Type")
   ======================================== */

.event-section {
    background: #fff9f4;
    padding: 5rem 0;
}

.event-section::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(238, 113, 38, 0.18), transparent 70%);
    top: -130px;
    right: -100px;
    animation: ec-float-blob 13s ease-in-out infinite;
}

.event-section::after {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(255, 179, 71, 0.22), transparent 70%);
    bottom: -140px;
    left: -100px;
    animation: ec-float-blob 15s ease-in-out infinite reverse;
}

.event-section-sparkle-1 { top: 10%; left: 10%; font-size: 1.25rem; animation-delay: 0.8s; }
.event-section-sparkle-2 { top: 60%; right: 12%; font-size: 1rem; color: #EE7126; animation-delay: 2.4s; }

.event-section > .container {
    position: relative;
    z-index: 1;
}

.event-section h2 {
    display: inline-block;
    font-weight: 700;
    background: linear-gradient(90deg, #1a1a2e, #EE7126, #ffb347, #1a1a2e);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: ec-gradient-shift 6s ease infinite;
}

.event-section .event-card {
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(20, 20, 40, 0.08), 0 2px 8px rgba(20, 20, 40, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.event-section .event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 46px rgba(238, 113, 38, 0.22), 0 0 0 1px rgba(238, 113, 38, 0.1);
}

.event-section .event-img img {
    transition: transform 0.4s ease;
}

.event-section .event-card:hover .event-img img {
    transform: scale(1.06);
}

.event-section .event-icon {
    background: linear-gradient(135deg, #EE7126, #ffb347);
    box-shadow: 0 6px 14px rgba(238, 113, 38, 0.35);
}

/* ========================================
   CTA BANNER
   ======================================== */

.cta-section::before {
    background: radial-gradient(circle, rgba(255, 179, 71, 0.4), transparent 70%);
    animation: ec-float-blob 12s ease-in-out infinite;
}

.cta-section::after {
    background: radial-gradient(circle, rgba(238, 113, 38, 0.3), transparent 70%);
    animation: ec-float-blob 14s ease-in-out infinite reverse;
}

.cta-highlight {
    display: inline-block;
    background-image: linear-gradient(90deg, #EE7126, #ffb347, #EE7126) !important;
    background-size: 250% auto;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    animation: ec-gradient-shift 6s ease infinite;
}

.cta-section .btn-orange {
    background: linear-gradient(135deg, #EE7126, #ff9852);
    border: none;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(238, 113, 38, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-section .btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(238, 113, 38, 0.38);
    color: #fff;
}

.cta-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ========================================
   Reduced motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    .testimonials::before, .testimonials::after,
    .featured-events::before,
    .features::before, .features::after,
    .event-section::before, .event-section::after,
    .cta-section::before, .cta-section::after,
    .home-sparkle,
    .testimonials h2,
    .feature-text h2,
    .steps h3,
    .event-section h2,
    .featured-event-text h2,
    .cta-highlight {
        animation: none;
    }
}
