:root {
    --color-primary-10: var(--ref-color-primary-10);
    --color-primary-20: var(--ref-color-primary-20);
    --color-primary-30: var(--ref-color-primary-30);
    --color-primary-40: var(--ref-color-primary-40);
    --color-primary-50: var(--ref-color-primary-50);
    --color-primary-60: var(--ref-color-primary-60);
    --color-primary-65: var(--ref-color-primary-65);
    --color-primary-70: var(--ref-color-primary-70);
    --color-primary-80: var(--ref-color-primary-80);
    --color-primary-85: var(--ref-color-primary-85);
    --color-primary-90: var(--ref-color-primary-90);
    --color-primary-95: var(--ref-color-primary-95);
    --color-primary-97: var(--ref-color-primary-97);
    --color-primary-98: var(--ref-color-primary-98);
    --color-primary-99: var(--ref-color-primary-99);
    --color-gradient-1: #FFE7C9;
    --color-gradient-2: #FFE2CD;
    --color-gradient-3: #FFE6C9;
    --color-gradient-4: #FFE2C9;
    --color-text-dark: #333;
    --color-white: white;
    --color-orange: rgb(237, 121, 43);
}

html {
    scroll-behavior: smooth;
}

.mypecon-logo {
    position: absolute;
    top: 80px;
    left: 70px;
    width: 198px;
    height: 60px;
    display: block;
}

.mypecon-logo img {
    position: absolute;
    width: 230px;
    height: auto;
}
@media screen and (max-width: 768px) {
    .mypecon-logo img {
        width: 125px;
        top: -60px;
        left: -30px;
    }
}

.btn-mypecon.shadow-sm {
    box-shadow: 0 4px 6px -1px rgba(194 133 9 / 0.1), 0 2px 4px -2px rgba(194 133 9 / 0.1) !important;
}

.circle-icon {
    padding: 1rem;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    color: var(--color-white);
    background-color: var(--color-primary-65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(161 108 0 / 9%);
}

#roi .card .circle-icon,
#process .circle-icon {
    width: 3.4rem;
    height: 3.4rem;
    margin: 1rem auto;
    padding: 1rem;
}

.feature-icon {
    width: 5rem;
    height: 5rem;
    display: block;
    margin: 1rem auto;
}

.feature-icon-wrapper {
    width: 7rem;
    height: 7rem;
    border-radius: 10px;
    padding: 1rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-sm {
    width: 4rem;
    height: 4rem;
}

.feature-icon-lg {
    width: 5.5rem;
    height: 5.5rem;
}

.btn-mypecon {
    background-color: var(--color-primary-60) !important;
}

.btn-mypecon.btn-lg {
    font-weight: bold;
    border-radius: 6rem !important;
    padding: 0.75rem 1.5rem;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: 0.07rem;
    font-weight: 500;
}

.strong-description {
    font-size: 1.125rem;
    font-weight: bold;
}

.phone {
    display: inline-block;
    padding: 0;
}

.phone p {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.phone a {
    padding: .2rem .4rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary-50);
}

.phone a:hover,
.phone a:focus {
    color: var(--color-primary-40);
    text-decoration: none;
    background-color: var(--color-primary-95);
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.feature-item {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    height: 100%;
}

.feature-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    font-size: 1.5rem;
    color: var(--color-white);
    background: var(--color-primary-65);
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(161 108 0 / 9%);
}

.feature-item .label {
    margin-bottom: 0.2rem;
    font-weight: bold;
    text-align: center;
}

/* Section Layouts */
section {
    padding: 4rem 0;
}

section.chapter-start {
    border-top: 2px solid var(--color-primary-90);
}

section.top {
    padding: 0;
    font-size: 1.5rem;
    color: var(--color-primary-20);
}

.two-columns {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

/* Card Layouts */
.card-container {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem 1.5rem;
}

.card {
    border-radius: .75rem;
    border: none;
}

.container.card-container .card {
    color: var(--color-primary-20);
    text-align: left;
    background-color: var(--color-primary-95);
    border-color: transparent;
    border-radius: 10px;
}

.container.card-container .card-title {
    font-weight: bold;
    margin: 0 0 .75rem 0;
}

.card.popular {
    border: 1px solid var(--color-primary-60);
    box-shadow: 0 3px 6px rgba(161 108 0 / 9%);
}

.card.popular>div:first-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.4rem;
    padding: 0.2rem 0;
    font-size: 0.875rem;
    line-height: 1.2;
    color: var(--color-primary-30);
    text-align: center;
    background-color: var(--color-primary-95);
    border-top-left-radius: .75rem;
    border-top-right-radius: .75rem;
}

.card.popular .card-title {
    margin: .75rem 0;
}

.card-body {
    display: flex;
    flex-direction: column;
}

.card-text {
    white-space: pre-wrap;
    font-weight: normal;
    text-align: left;
    font-size: 0.9375rem;
}

.card-tag {
    font-size: 0.875rem;
}

/* Utility Classes */
.spacer {
    height: 3rem;
}

.bg-light {
    background: var(--color-primary-95) !important;
}

.bg-gradient-light {
    background: linear-gradient(to bottom, var(--color-primary-95), var(--color-primary-95) 50%, rgba(255, 255, 255, 0) 100%) !important;
}

.bg-gradient-light-up {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-primary-95) 50%, var(--color-primary-95) 100%) !important;
}

.bg-gradient {
    background: linear-gradient(45deg,
    var(--color-gradient-1),
    var(--color-gradient-2),
    var(--color-gradient-3),
    var(--color-gradient-4));
    background-size: 400% 400%;
    background-position: 50% 0%;
    /* animation: gradientBG 15s ease infinite; */
}

.card.shadow-sm {
    border: 1px solid rgba(207 130 23 / 20%) !important;
    box-shadow: 0 4px 3px -1px rgba(207 130 23 / 10%), 0 2px 2px -2px rgba(207 130 23 / 10%) !important;
}
.card.bg-light.shadow-sm {
    box-shadow: 0 0 rgba(207 130 23 / 10%), 0 0 rgba(207 130 23 / 10%), 0 4px 6px -1px rgba(207 130 23 / 10%), 0 2px 4px -2px rgba(207 130 23 / 10%) !important;
}
.card.bg-light.shadow-sm {
    border: 1px solid var(--color-primary-90) !important;
}

h3.card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

/* Animations */
@keyframes fade-in-background {
    0% {
        background: rgba(255 244 233 / 0%);
    }

    100% {
        background: rgba(255 244 233 / 10%);
    }
}

.problem-section-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.problem-image-container {
    flex: 0 0 auto;
    width: 300px;
    overflow: hidden;
    margin-top: 3rem;
    opacity: 0.95;
}

.problem-image {
    width: 200%;
    height: auto;
    object-fit: cover;
    object-position: left center;
    transform: translateX(0);
    -webkit-mask-image: linear-gradient(to top, 
        transparent 0%, 
        black 6px, 
        black 100%);
    mask-image: linear-gradient(to top, 
        transparent 0%, 
        black 6px, 
        black 100%);
}

.problem-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.problem-cards-horizontal {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 19rem));
    max-width: 100%;
    justify-content: center;
}

.solution-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.solution-cards-horizontal {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 19rem));
    max-width: 100%;
    justify-content: center;
}

.solution-cards .card-text {
    padding: 0;
    margin: 0;
    white-space: normal;
}

.solution-cards .check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-cards .check-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.solution-cards .check-list li:last-child {
    margin-bottom: 0;
}

.solution-cards .check-list .check-icon {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    margin-right: 0.6rem;
    margin-top: 0.125rem;
    color: var(--ref-color-primary-60);
}

.solution-cards .check-list .check-text {
    flex: 1;
    color: var(--color-text-dark);
}

/* Interview Section */
.interview {
    justify-content: center;
}

.interview .card-img-top {
    width: 200px;
    height: 200px;
    margin-top: -1px;
    border-top-left-radius: .75rem;
    border-top-right-radius: .75rem;
}

.interview.users-voice .card-img-top {
    height: 200px;
}

.card-deck .card {
    min-width: 200px;
    width: 220px;
    max-width: 220px;
}

/* Card Hover Animations */
#case-studies .card,
#coaches .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

#case-studies .card:hover,
#coaches .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(211, 131, 18, 0.15), 0 4px 8px rgba(211, 131, 18, 0.1) !important;
}



.interview .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1.5rem;
}

.interview .card-title {
    margin-bottom: 0;
    font-weight: bold;
    text-align: center;
    font-size: 0.95rem;
}

.interview .card-text {
    flex-grow: 1;
    margin-bottom: .5rem;
    font-size: 0.95rem;
    text-align: center;
}

a.view-detail {
    color: var(--color-primary-30);
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    padding: .9rem 1.4rem;
    border-radius: 2rem;
    transition: background 0.5s;
}

a.view-detail:hover, a.view-detail:focus {
    font-weight: bold;
    background: var(--color-primary-90);
}

#problem h2 {
    line-height: 1.75;
}

#problem h2 .text-mypecon {
    word-break: keep-all;
    white-space: nowrap;
    font-weight: bold;
}

#problem h2 .text-mypecon>span {
    position: relative;
}

#problem h2 .text-mypecon>span::before {
    content: "•";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-1.9rem) scale(0.8);
    color: var(--color-primary-65);
}

#problem img {
    width: min(100%, 95vw);
}

/* Sub Section Title */
.sub-section-title {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-size: 1.5rem;
}

.sub-section-title::before,
.sub-section-title::after {
    content: '';
    flex-shrink: 0;
    width: 30px;
    border-bottom: 2px solid var(--color-orange);
}

.sub-section-title::before {
    margin-right: 1rem;
}

.sub-section-title::after {
    margin-left: 1rem;
}

/* Top Section */
.navbar-brand {
    animation: navbar-img 1s cubic-bezier(0.26, 1, 0.48, 1) forwards;
}

.top h1 {
    font-size: 3.5rem;
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.top h2 {
    letter-spacing: 0.5rem;
}

.top-container {
    max-height: min(768px, max(468px, calc(100vh - 15rem)));
    height: 768px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-container img.bg-img {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .top-container {
        max-height: 100vh;
        height: auto;
    }
    .top-container img.bg-img {
        max-width: 100vw;
        width: 100vw;
    }
}


#roi .card {
    height: 100%;
    min-height: 16rem;
    padding: 1rem 0;
}

#roi label {
    font-weight: bold;
}

#process h4 {
    font-size: 1.25rem;
    font-weight: bold;
}

#process p {
    font-size: 1rem;
    text-align: left;
}

#process .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-orange);
}

#process .right-arrow {
    display: inline-block;
}

#process .steps>div:not(:last-child) {
    display: grid;
    grid-template-columns: 1fr 3rem;
}

@keyframes navbar-img {
    0% {
        opacity: 0;
        transform: scale(0);
        transform-origin: left center;
    }

    100% {
        opacity: 1;
        transform: scale(1);
        transform-origin: left center;
    }
}

.navbar-nav .nav-item.nav-active-section .nav-link {
    color: var(--ref-color-primary-55) !important;
    font-weight: bold;
    position: relative;
}

.navbar-nav .nav-item.nav-active-section {
    transition: all 0.3s ease;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 767px) {
    .problem-section-wrapper {
        flex-direction: column;
    }

    .problem-image-container {
        width: min(80%, 400px);
        margin: 0 auto 2rem auto;
        padding: 0;
    }

    .problem-cards,
    .problem-cards-horizontal {
        grid-template-columns: 1fr;
        justify-items: center;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .problem-cards > .card {
        width: 100%;
    }

    .solution-cards,
    .solution-cards-horizontal {
        grid-template-columns: 1fr;
        justify-items: center;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .solution-cards > .card {
        width: 100%;
    }

    .card-deck {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .interview.card-deck .card,
    .interview.card-deck.users-voice .card {
        width: min(80vw, 220px);
        max-width: min(80vw, 220px);
    }

    .interview .card-img-top,
    .interview.users-voice .card-img-top {
        height: min(80vw, 220px);
    }

    #process .steps>div:not(:last-child) {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 3rem;
        justify-items: center;
    }

    #process .arrow i {
        transform: rotate(90deg);
    }
}

@media (max-width: 575px) {
    .interview .card-img-top,
    .interview.users-voice .card-img-top {
        height: min(80vw, 220px);
    }
}

@media (min-width: 768px) {
    section.top {
        padding-bottom: 0;
    }

    section.top .image {
        min-height: 100%;
        margin-bottom: 0;
    }

    .features {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2.5rem;
        margin: 0 auto;
    }

    .feature-item {
        display: flex;
        flex-direction: column;
    }

    .card-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .two-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .problem-cards-horizontal {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 19rem));
        max-width: 100%;
        justify-content: center;
    }

    .solution-cards-horizontal {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 19rem));
        max-width: 100%;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .card-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1440px) {
    .card-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .problem-section-wrapper {
        position: relative;
        justify-content: center;
    }

    .problem-image-container {
        position: absolute;
        left: -100px;
    }

    .problem-cards {
        max-width: 768px;
        margin: 0 auto;
    }

    .problem-cards-horizontal {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 19rem));
        max-width: 100%;
        justify-content: center;
    }

    .solution-cards {
        max-width: 768px;
        margin: 0 auto;
    }

    .solution-cards-horizontal {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 19rem));
        max-width: 100%;
        justify-content: center;
    }
}

@keyframes svg-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.svg-animation {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.svg-element-animate {
    animation: svg-fade-in 3s ease-in-out forwards;
    opacity: 0;
}

.comment-bar {
    display: inline-block;
    position: relative;
}

.comment-note {
    position: absolute;
    right: 0;
    top: 100%;
    font-size: 0.625rem;
    font-weight: normal;
    color: var(--color-primary-50);
    letter-spacing: 0;
    white-space: nowrap;
}
