.animate-step_container {
    margin: auto;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.animate-step_container .main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.animate-step_container .highlight {
    color: #ff6b35;
}

/* Main grid layout */
.animate-step_container .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Steps 1-3 occupy the first row */
.animate-step_container .step:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.animate-step_container .step:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.animate-step_container .step:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

/* Step 4 and character span the second row */
.animate-step_container .step:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.animate-step_container .character-container {
    grid-column: 2 / 4;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animate-step_container .step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.animate-step_container .step-number {
    width: 80px;
    height: 80px;
    background: #ff6b35;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: visible;
}

.animate-step_container .step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.animate-step_container .step-description {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
}

/* Step 4 specific styling */
.animate-step_container .step:nth-child(4) {
    text-align: left;
}

.animate-step_container .step:nth-child(4) .step-number {
    margin: 0 0 1.5rem 0;
}

.animate-step_container .character-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.animate-step_container .character-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
}

.animate-step_container .closing-message {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8e53 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 2rem;
}

.animate-step_container .closing-highlight {
    font-weight: 700;
}

/* Wave animation */
.animate-step_container .wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 107, 53, 0.5);
    border-radius: 50%;
    z-index: -1;
    animation: wave 1.5s ease-out forwards;
}

@keyframes wave {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}


/* Responsive design */
@media (min-width: 769px) {
    /* margin-left: 50px; */

    .animate-step_container .step:nth-child(4) {
        position: relative;
        left: calc(100% - 3vw);
        z-index: 1;
    }


}

/* Responsive design */
@media (max-width: 768px) {
    .animate-step_container {
        padding: 2rem;
    }

    .animate-step_container .main-title {
        font-size: 2rem;
    }

    .animate-step_container .steps-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        gap: 3rem;
    }

    .animate-step_container .step:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .animate-step_container .step:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .animate-step_container .step:nth-child(3) {
        grid-column: 1;
        grid-row: 3;
    }

    .animate-step_container .step:nth-child(4) {
        grid-column: 1;
        grid-row: 4;
        text-align: center;
    }

    .animate-step_container .character-container {
        grid-column: 1;
        grid-row: 5;
    }

    .animate-step_container .step:nth-child(4) .step-number {
        margin: 0 auto 1.5rem;
    }

    .animate-step_container .character-placeholder {
        width: 150px;
        height: 150px;
    }
}


























/* Testimonials */
.testimonials-section {
    padding: 80px 20px;
    background: var(--light-gray);
}

.testimonials-section .section-title {
    color: var(--primary-orange);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(42, 148, 58, 0.1);
    border: 2px solid var(--primary-orange);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark-gray);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-orange);
}

.author-info h4 {
    font-weight: 600;
    color: var(--primary-orange);
}

.author-info p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.rating {
    color: #ffd700;
    margin-bottom: 10px;
}






























/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--medium-orange) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-white {
    background: var(--white);
    color: var(--primary-orange);
    font-weight: 700;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.cta-section .btn-white:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}




/* Search form */
.trajet-search-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: auto;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-top: 20px;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr 120px 120px 150px;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input,
.form-select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(254, 107, 53, 0.1);
}

/* Search button */
.search-btn {
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    align-self: end;
}

.search-btn:hover {
    background: var(--dark-orange);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* =====================================
   HOMEPAGE SEARCH FORM - RESPONSIVE
===================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .trajet-search-form {
        padding: 1.5rem;
        margin: 1rem;
        margin-bottom: 2rem;
    }

    .search-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .search-row .form-group:nth-child(3),
    .search-row .form-group:nth-child(4) {
        grid-column: auto;
    }

    .search-btn {
        grid-column: 1 / -1;
        width: 100%;
        padding: 1rem 2rem;
        justify-content: center;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .trajet-search-form {
        padding: 1.25rem;
        margin: 0.75rem;
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }

    .search-row {
        grid-template-columns: 1fr;
        gap: 0.875rem;
        margin-bottom: 1rem;
    }

    .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.375rem;
    }

    .form-input,
    .form-select {
        padding: 0.875rem 0.75rem;
        font-size: 1rem;
    }

    .search-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    /* Briques section responsive */
    .briques-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .brique-card {
        padding: 1.25rem;
    }

    /* Events grid responsive */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Features grid responsive */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Stats section responsive */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* CTA section responsive */
    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        padding: 0 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Testimonials responsive */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.25rem;
    }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
    .trajet-search-form {
        padding: 1rem;
        margin: 0.5rem;
        margin-bottom: 1rem;
    }

    .search-row {
        gap: 0.75rem;
    }

    .form-input,
    .form-select {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .search-btn {
        padding: 0.875rem;
    }

    /* Stats section for very small screens */
    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

























