/* Our Story — interactive timeline block */
.cc-our-story {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 120% 80% at 10% 0%, rgba(0, 207, 255, 0.08), transparent 55%),
                radial-gradient(ellipse 90% 70% at 95% 20%, rgba(238, 37, 56, 0.06), transparent 50%),
                linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.cc-our-story__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cc-our-story__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    animation: ccStoryFloat 14s ease-in-out infinite;
}

.cc-our-story__orb--1 {
    width: 280px;
    height: 280px;
    top: -40px;
    left: -60px;
    background: rgba(0, 207, 255, 0.22);
}

.cc-our-story__orb--2 {
    width: 220px;
    height: 220px;
    top: 30%;
    right: -40px;
    background: rgba(238, 37, 56, 0.16);
    animation-delay: -4s;
}

.cc-our-story__orb--3 {
    width: 180px;
    height: 180px;
    bottom: 8%;
    left: 35%;
    background: rgba(0, 2, 72, 0.08);
    animation-delay: -8s;
}

@keyframes ccStoryFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -18px) scale(1.06); }
}

.cc-our-story .container {
    position: relative;
    z-index: 1;
}

.cc-our-story__header {
    max-width: 760px;
    margin: 0 auto 48px;
}

/* Two-column body: detail panel + timeline */
.cc-our-story__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px 56px;
    align-items: start;
}

.cc-our-story__detail {
    position: sticky;
    top: 110px;
}

.cc-our-story__media {
    margin: 0 0 16px;
    border-radius: 12px;
    overflow: hidden;
}

.cc-our-story__media img {
    width: 100%;
    display: block;
}

.cc-our-story__active-panel {
    background: #fff;
    border: 1px solid rgba(0, 2, 72, 0.08);
    border-radius: 18px;
    padding: 28px 30px;
    box-shadow: 0 16px 40px rgba(0, 2, 72, 0.08);
    min-height: 220px;
    transition: box-shadow 0.35s ease;
}

.cc-our-story__active-panel.is-pulse {
    box-shadow: 0 22px 48px rgba(0, 2, 72, 0.12);
}

.cc-our-story__active-step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ee2538;
    margin-bottom: 12px;
}

.cc-our-story__active-step::before {
    content: "";
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, #00cfff, #ee2538);
    border-radius: 999px;
}

.cc-our-story__active-label {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 14px;
    color: #000248;
}

.cc-our-story__active-text {
    margin: 0;
    color: rgba(0, 2, 72, 0.82);
    font-size: 17px;
    line-height: 1.75;
}

.cc-our-story__timeline-wrap {
    padding-top: 4px;
}

.cc-our-story__timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.cc-our-story__track {
    position: absolute;
    left: 15px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: rgba(0, 2, 72, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.cc-our-story__track-fill {
    display: block;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #00cfff 0%, #ee2538 100%);
    border-radius: inherit;
    transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-our-story__milestone {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 18px 20px 18px 52px;
    border: 1px solid rgba(0, 2, 72, 0.06);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    text-align: left;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cc-our-story__milestone:hover {
    background: #fff;
    border-color: rgba(0, 2, 72, 0.1);
}

.cc-our-story__milestone.is-active {
    background: #fff;
    border-color: rgba(238, 37, 56, 0.22);
    box-shadow: 0 10px 28px rgba(0, 2, 72, 0.08);
}

.cc-our-story__dot {
    position: absolute;
    left: 8px;
    top: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid rgba(0, 2, 72, 0.22);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    z-index: 1;
}

.cc-our-story__milestone.is-active .cc-our-story__dot {
    border-color: #ee2538;
    box-shadow: 0 0 0 5px rgba(238, 37, 56, 0.14);
}

.cc-our-story__milestone-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cc-our-story__milestone-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cc-our-story__milestone-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(0, 207, 255, 0.12);
    color: #0098be;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.cc-our-story__milestone-year {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #00a8d4;
}

.cc-our-story__milestone-label {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: #000248;
}

.cc-our-story__milestone:not(.is-active) .cc-our-story__milestone-label {
    color: rgba(0, 2, 72, 0.78);
}

@media only screen and (max-width: 991px) {
    .cc-our-story__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cc-our-story__detail {
        position: static;
        order: 1;
    }

    .cc-our-story__timeline-wrap {
        order: 2;
    }

    .cc-our-story__header {
        margin-bottom: 28px;
    }

    .cc-our-story__active-panel {
        min-height: 0;
    }

    .cc-our-story__active-label {
        font-size: 24px;
    }
}

@media only screen and (max-width: 767px) {
    .cc-our-story__milestone {
        padding-left: 48px;
    }

    .cc-our-story__milestone-label {
        font-size: 17px;
    }

}

body.active-dark-mode .cc-our-story {
    background: radial-gradient(ellipse 120% 80% at 10% 0%, rgba(0, 207, 255, 0.1), transparent 55%),
                linear-gradient(180deg, #1f2126 0%, #181a1f 100%);
}

body.active-dark-mode .cc-our-story__active-text {
    color: rgba(255, 255, 255, 0.78);
}

body.active-dark-mode .cc-our-story__active-panel,
body.active-dark-mode .cc-our-story__milestone,
body.active-dark-mode .cc-our-story__milestone.is-active {
    background: #262930;
    border-color: rgba(255, 255, 255, 0.08);
}

body.active-dark-mode .cc-our-story__active-label,
body.active-dark-mode .cc-our-story__milestone-label {
    color: #fff;
}

