
/* =========================================
   GURGAON KALI BARI — OUR JOURNEY TIMELINE
   Dedicated stylesheet
========================================= */

/* Main timeline section */
.about-journey-section {
    padding: 75px 5%;
    background: #fffaf4;
    overflow: hidden;
}

.about-journey-section .about-content-width {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Section heading */
.about-journey-section .about-section-heading {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.about-journey-section .about-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #9b4935;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.about-journey-section .about-section-heading h2 {
    margin: 0 auto 16px;
    color: #783321;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.25;
}

.about-journey-section .about-section-heading p {
    max-width: 720px;
    margin: 0 auto;
    color: #716157;
    font-size: 1rem;
    line-height: 1.8;
}

.about-journey-section .about-heading-line {
    width: 65px;
    height: 3px;
    margin: 22px auto 0;
    border-radius: 3px;
    background: #c49a43;
}

/* Timeline layout */
.about-journey-section .about-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
    width: 100%;
    margin: 0 auto;
}

/* Gold line behind the four milestones */
.about-journey-section .about-timeline::before {
    content: "";
    position: absolute;
    top: 29px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #d8b77b,
        #b98a49,
        #d8b77b
    );
}

/* Each timeline item */
.about-journey-section .about-timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: 0;
    box-sizing: border-box;
}

/* Year marker */
.about-journey-section .about-timeline-year {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    margin: 0 0 22px;
    padding: 4px;
    box-sizing: border-box;
    border: 4px solid #fffaf4;
    border-radius: 50%;
    outline: 2px solid #c49a43;
    background: #9b4935;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 4px 12px rgba(70, 40, 25, 0.14);
}

/* Milestone card */
.about-journey-section .about-timeline-card {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    padding: 25px 20px;
    box-sizing: border-box;
    border: 1px solid #ead9c1;
    border-top: 4px solid #9b4935;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(78, 47, 31, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.about-journey-section .about-timeline-card:hover {
    transform: translateY(-5px);
    border-top-color: #c49a43;
    box-shadow: 0 13px 30px rgba(78, 47, 31, 0.13);
}

/* Small label inside each card */
.about-journey-section .about-timeline-label {
    display: block;
    margin: 0 0 12px;
    color: #9b4935;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    line-height: 1.6;
}

/* Card title */
.about-journey-section .about-timeline-card h3 {
    margin: 0 0 14px;
    color: #783321;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Card paragraphs */
.about-journey-section .about-timeline-card p {
    margin: 0 0 13px;
    color: #594b42;
    font-size: 0.88rem;
    line-height: 1.8;
}

.about-journey-section .about-timeline-card p:last-child {
    margin-bottom: 0;
}

.about-journey-section .about-timeline-card strong {
    color: #783321;
    font-weight: 800;
}

/* Tablet: two columns */
@media (max-width: 1050px) {
    .about-journey-section {
        padding: 65px 4%;
    }

    .about-journey-section .about-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 22px;
    }

    .about-journey-section .about-timeline::before {
        display: none;
    }

    .about-journey-section .about-timeline-year {
        align-self: flex-start;
        margin-left: 10px;
        margin-bottom: 16px;
    }

    .about-journey-section .about-timeline-card {
        padding: 24px;
    }
}

/* Mobile: one column */
@media (max-width: 650px) {
    .about-journey-section {
        padding: 48px 18px 55px;
    }

    .about-journey-section .about-section-heading {
        margin-bottom: 35px;
    }

    .about-journey-section .about-section-heading h2 {
        font-size: 1.9rem;
    }

    .about-journey-section .about-section-heading p {
        font-size: 0.94rem;
    }

    .about-journey-section .about-timeline {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .about-journey-section .about-timeline-item {
        width: 100%;
    }

    .about-journey-section .about-timeline-year {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
        margin-left: 8px;
        margin-bottom: 14px;
        font-size: 0.75rem;
    }

    .about-journey-section .about-timeline-card {
        padding: 22px 19px;
    }

    .about-journey-section .about-timeline-card h3 {
        font-size: 1.15rem;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .about-journey-section .about-timeline-card {
        transition: none;
    }

    .about-journey-section .about-timeline-card:hover {
        transform: none;
    }
}
