/* =========================
   PAGE HERO SECTION
========================= */

.page-hero-section {
    background: #ffffff;
}

.page-hero-wrapper {
    position: relative;
    height: 85vh;
    min-height: 520px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Content Card */
.page-hero-card {
    position: absolute;
    left: 110px;
    top: 340px;
    padding: 10px;
    width: 600px;
    max-width: 600px;
}

.page-hero-title {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.page-hero-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 22px;
}

/* =========================
   Responsive
========================= */

@media (max-width: 991px) {

    .page-hero-wrapper {
        height: 65vh;
        min-height: 480px;
        /* mobile bg */
        background-size: cover;
        background-position: center;
    }

    /* text card reposition */

    .page-hero-card {
        left: 20px;
        right: 20px;
        top: auto;
        bottom: 40px;

        width: auto;
        max-width: 100%;

        padding: 20px;
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 0px 25px rgba(0, 0, 0, 0.25);
    }

    .page-hero-title {
        font-size: 24px;
    }

    .page-hero-desc {
        font-size: 13px;
    }

}




/* =========================
   MF Portfolio Section
========================= */

.mf-portfolio-section {
    background: #ffffff;
}

/* Black Background Image Container */
.mf-portfolio-wrapper {
    position: relative;

    padding: 80px 40px 100px;

    border-radius: 28px;
    overflow: hidden;

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Title */
.mf-title {
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
}

/* Card */
.mf-card {
    background: #f3f3f3;
    padding: 28px;
    border-radius: 18px;

    box-shadow: 0 0 25px rgba(255, 255, 255, 0.7);
    transition: 0.3s ease;
}

.mf-card:hover {
    transform: translateY(-6px);
}

/* Responsive */
@media (max-width: 991px) {

    .mf-portfolio-wrapper {
        padding: 60px 20px 80px;
        background-color: black;
    }
}

/* =========================
   MF Types Section
========================= */

.mf-types-section {
    background: #ffffff;
}

.mf-types-title {
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
}

/* Card */
.mf-type-card {
    background: #f3f3f3;
    padding: 28px 22px 22px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.mf-type-card:hover {
    transform: translateY(-6px);
}

/* Floating Icon */
.mf-type-icon {
    position: absolute;
    top: -20px;
    left: 20px;

    width: 60px;
    height: 60px;

    background: #ffffff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mf-type-icon img {
    width: 60px;
}

/* =========================
   Talk To Expert
========================= */

.talk-title {
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
}

.talk-form .form-control {
    border: 1px solid #ccc;
    padding: 12px 18px;
}

/* GIF Card */
.talk-gif-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: #f3f3f3;
}

.talk-gif {
    width: 100%;
    object-fit: cover;
}

/* Mobile */
@media (max-width: 991px) {

    .mf-type-icon {
        left: 50%;
        transform: translateX(-50%);
    }

    .mf-type-card {
        text-align: center;
        padding-top: 40px;
    }
}

/* =========================
   MF Benefits Section
========================= */

.mf-benefits-section {
    background: #ffffff;
}

.mf-benefits-title {
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
}

/* Benefit Card */
.mf-benefit-card {
    background: #ffffff;
    padding: 18px 12px;
    border: 1px solid #d4d4d4;
    border-radius: 14px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.18);
    transition: 0.3s ease;
}

.mf-benefit-card:hover {
    transform: translateY(-4px);
}

/* Icon Circle */
.mf-benefit-icon {
    width: 42px;
    height: 42px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.mf-benefit-icon img {
    width: 60px;
}

/* GIF Wrapper */
.mf-benefits-gif-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: #f3f3f3;
}

.mf-benefits-gif {
    width: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {

    .mf-benefits-title {
        text-align: center;
    }

    .mf-benefits-section .row {
        text-align: center;
    }

}

/* =========================
   Fund Selection Section
========================= */

.fund-selection-section {
    background: #ffffff;
}

/* Black Rounded Container */
.fund-selection-wrapper {
    background: #000;
    padding: 70px 60px;
    border-radius: 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Title */
.fund-selection-title {
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
}

/* Steps */
.fund-step {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.fund-step:last-child {
    border-bottom: none;
}

/* Number */
.fund-step-number {
    width: 40px;
    color: #888;
    font-weight: 600;
    font-size: 16px;
}

/* Text */
.fund-step-text {
    color: #cccccc;
    font-size: 18px;
}

/* GIF Wrapper */
.fund-selection-gif-wrapper {
    border-radius: 20px;
    overflow: hidden;
    background: #f3f3f3;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    display: inline-block;
}

.fund-selection-gif {
    width: 100%;
    max-width: 260px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {

    .fund-selection-wrapper {
        padding: 50px 25px;
        text-align: center;
    }

    .fund-selection-title {
        margin-top: 30px;
    }

    .fund-step {
        justify-content: center;
        text-align: left;
    }
}


/* Fund step text fade effect */

.fund-selection-steps .fund-step {
    transition: opacity .3s ease;
}

/* 1st */
.fund-selection-steps .fund-step:nth-child(1) {
    opacity: 0.35;
}

/* 2nd */
.fund-selection-steps .fund-step:nth-child(2) {
    opacity: 0.65;
}

/* 3rd (highlight) */
.fund-selection-steps .fund-step:nth-child(3) {
    opacity: 1;
}

/* 4th */
.fund-selection-steps .fund-step:nth-child(4) {
    opacity: 0.65;
}

/* 5th */
.fund-selection-steps .fund-step:nth-child(5) {
    opacity: 0.35;
}



.how-it-works {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
}

.how-it-works-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.how-it-works-wrapper.reverse {
    flex-direction: row-reverse;
}

.how-it-works-image img {
    width: 350px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.how-it-works-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.how-step-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f5f5f5;
    padding: 18px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-icon img {
    width: 40px;
}

/* =========================
   Fund Step Hover Effect
========================= */

.fund-selection-steps:hover .fund-step {
    opacity: 0.35;
    transition: all 0.35s ease;
}

/* Highlight hovered item */
.fund-selection-steps .fund-step:hover {
    opacity: 1 !important;
    transform: translateX(6px);
}

/* Text highlight */
.fund-selection-steps .fund-step:hover .fund-step-text {
    color: #ffffff;
}

/* Step number highlight */
.fund-selection-steps .fund-step:hover .fund-step-number {
    color: #ffffff;
}

.fund-step {
    cursor: pointer;
}