/* -------------------------------------------------------------------------- */
/* Process / How It Works Page CSS                                            */
/* -------------------------------------------------------------------------- */

/* Hero Section */
.process-hero {
    position: relative;
    padding: 12rem 0 6rem 0;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFDFB;
}

.process-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(250, 235, 240, 0.70), rgba(250, 235, 240, 0.70)), url('/public/assets/images/background design 6.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.process-hero .container {
    position: relative;
    z-index: 2;
}

.gold-overline {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-secondary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.process-hero-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.process-hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-main);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 2. Timeline Wrapper */
.timeline-wrapper {
    background-color: #FFFDFB; /* Light cream */
    padding: 3rem 0;
    position: relative;
    border-top: 1px solid rgba(200, 155, 95, 0.3);
    border-bottom: 1px solid rgba(200, 155, 95, 0.3);
}

/* Faint grid background */
.timeline-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* 3. The Vertical Dotted Line */
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-image: linear-gradient(to bottom, var(--color-primary) 50%, transparent 50%);
    background-size: 2px 20px;
    background-repeat: repeat-y;
    transform: translateX(-50%);
    opacity: 0.3;
    z-index: 1;
}

/* Timeline Step Row */
.timeline-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
    z-index: 2;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

/* Content & Image Columns */
.timeline-content {
    width: 47%;
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 2.5rem 3rem;
    box-shadow: 0 15px 35px rgba(122, 18, 56, 0.05);
    border: 1px solid rgba(122, 18, 56, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(122, 18, 56, 0.08);
}

.timeline-image {
    width: 45%;
}

.timeline-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    display: block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.timeline-image img.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alignment Helpers */
.text-right { text-align: right; }
.text-left { text-align: left; }

.flex-start { display: flex; justify-content: flex-start; }
.flex-end { display: flex; justify-content: flex-end; }
.justify-start { display: flex; justify-content: flex-start; }
.justify-end { display: flex; justify-content: flex-end; }

/* Timeline Center Heart */
.timeline-center {
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

.heart-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-primary);
}

.heart-dot svg {
    width: 20px;
    height: 20px;
}

/* Step Badges (01, 02...) */
.step-badge-container {
    margin-bottom: 1rem;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-primary);
}

.step-icon svg {
    width: 32px;
    height: 32px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Typography */
.step-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Bottom CTA */
.process-bottom-cta {
    background-color: #fdf0f4;
    padding: 3rem 0;
}

.cta-card {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/public/assets/images/leaves background.png') center/cover;
    border-radius: 40px 12px 40px 12px;
    padding: 4rem 2rem;
    color: #FFFFFF;
    box-shadow: 0 15px 40px rgba(122, 18, 56, 0.2);
    position: relative;
    overflow: hidden;
}

/* Add a subtle background pattern to the card */
.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-card .cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #FFFFFF;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-card .cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* Trust Bar */
.trust-bar {
    background: linear-gradient(rgba(255, 253, 251, 0.87), rgba(255, 253, 251, 0.87)), url('/public/assets/images/background design 5.jpg') center/cover;
    padding: 3rem 0;
    border-top: 1px solid rgba(200, 155, 95, 0.3);
}

.trust-bar-inner {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.15rem;
    padding: 2.5rem 1.5rem;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(122, 18, 56, 0.05);
    border: 1px solid rgba(122, 18, 56, 0.35);
    flex: 1;
    min-width: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(122, 18, 56, 0.1);
    border-color: rgba(122, 18, 56, 0.65);
}

.trust-item svg {
    width: 48px;
    height: 48px;
    color: var(--color-secondary);
}

.trust-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 400;
    line-height: 1.6;
    margin-top: -5px;
    margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .timeline-line {
        left: 20px;
    }
    .timeline-center {
        position: absolute;
        left: 0;
        width: 40px;
        height: 100%;
        align-items: flex-start;
        padding-top: 2rem;
    }
    .timeline-step {
        flex-direction: column !important; /* Stack vertically */
        padding-left: 50px;
    }
    .timeline-content {
        width: 100%;
        text-align: left;
        order: 2; /* Text always second on mobile */
    }
    .timeline-image {
        width: 100%;
        text-align: left;
        order: 1; /* Image always first on mobile */
        margin-bottom: 2rem;
        justify-content: flex-start;
    }
    .step-badge-container {
        justify-content: flex-start;
    }
    .trust-bar-inner {
        flex-direction: column;
        gap: 1.5rem;
    }
}
