/* =======================================================
   IP & TECHNOLOGY VALUATION PAGE - STYLES
   Adheres to the Plus Jakarta Sans typography and theme colors
   ======================================================= */

/* --- Hero Banner Section --- */
.valuation-banner {
    background: linear-gradient(135deg, rgba(0, 54, 112, 0.75) 0%, rgba(0, 74, 173, 0.65) 55%, rgba(0, 54, 112, 0.6) 100%), url('../images/valuation-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.valuation-banner::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(255, 101, 0, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.valuation-banner::after {
    content: "";
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 183, 7, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.valuation-banner .ban-content {
    position: relative;
    z-index: 2;
}

.valuation-banner .ban-content h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.valuation-banner .ban-content p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    opacity: 0.92;
}

/* --- Section Layouts --- */
.valuation-section {
    padding-block: 60px;
}

.valuation-section-sm {
    padding-block: 50px;
}

.valuation-intro-text {
    font-size: 16px;
    line-height: 1.8;
    /* max-width: 900px;
    margin: 0 auto;
    text-align: center; */
}

/* --- "Why IP & Technology Valuation Matters" Cards --- */
.valuation-matters-card {
    background: #ffffff;
    border: 1px solid rgba(255, 101, 0, 0.16);
    border-radius: 12px;
    padding: 32px 26px;
    text-align: center;
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.valuation-matters-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #ffb707, #ff5f00);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.valuation-matters-card:hover {
    box-shadow: 0 8px 30px rgba(255, 101, 0, 0.13);
    transform: translateY(-6px);
    border-color: rgba(255, 101, 0, 0.32);
}

.valuation-matters-card:hover::before {
    opacity: 1;
}

.valuation-matters-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.valuation-matters-card:hover .valuation-matters-icon {
    transform: scale(1.1);
}

.valuation-icon-orange {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #ff6500;
}

.valuation-icon-blue {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #004aad;
}

.valuation-icon-teal {
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
    color: #00796b;
}

.valuation-matters-card h5 {
    font-weight: 700;
    font-size: 18px;
    color: #004aad;
    margin-bottom: 12px;
}

.valuation-matters-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
    text-align: center;
}

/* --- "What Valuation Offers" Section --- */
.valuation-offers-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef1f6;
    padding: 40px;
    overflow: hidden;
}

.valuation-offers-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: center;
}

/* Methodology Grid List */
.valuation-meth-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.valuation-meth-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    border-left: 4px solid #ff6500;
    padding: 18px 24px;
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
}

.valuation-meth-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.valuation-meth-item-alt {
    border-left-color: #004aad;
}

.valuation-meth-item .meth-icon {
    font-size: 22px;
    color: #004aad;
    display: flex;
    align-items: center;
}

.valuation-meth-item-alt .meth-icon {
    color: #ff6500;
}

.valuation-meth-item h6 {
    font-weight: 700;
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 0;
}

/* --- Who Can Benefit Tags --- */
.valuation-benefit-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%);
}

.valuation-benefit-tag {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 24px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 74, 173, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.valuation-benefit-tag:hover {
    box-shadow: 0 6px 25px rgba(0, 74, 173, 0.12);
    transform: translateY(-3px);
    border-color: rgba(0, 74, 173, 0.25);
}

.valuation-benefit-tag .benefit-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #004aad, #1565c0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.valuation-benefit-tag h6 {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a2e;
    margin-bottom: 0;
}

/* --- Valuation Process Timeline Redesign --- */
.val-timeline-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    padding-bottom: 20px;
}

/* Vertical Line */
.val-timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, rgba(255, 101, 0, 0.5), rgba(0, 74, 173, 0.5));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
}

.val-timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.val-timeline-item:nth-child(odd) {
    left: 0;
}

.val-timeline-item:nth-child(even) {
    left: 50%;
}

/* Connecting dots */
.val-timeline-dot {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: white;
    top: 24px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.val-timeline-item:nth-child(odd) .val-timeline-dot {
    right: -20px;
}

.val-timeline-item:nth-child(even) .val-timeline-dot {
    left: -20px;
}

/* Arrow Rotation */
.val-timeline-item:nth-child(even) .val-timeline-dot i {
    transform: rotate(180deg);
}

.val-dot-orange {
    border: 4px solid #ff6500;
    box-shadow: 0 0 0 6px rgba(255, 101, 0, 0.15);
}

.val-dot-blue {
    border: 4px solid #004aad;
    box-shadow: 0 0 0 6px rgba(0, 74, 173, 0.15);
}

.val-timeline-content {
    padding: 30px;
    background: #ffffff;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 74, 173, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.val-timeline-item:nth-child(odd) .val-timeline-content {
    border-right: 4px solid #ff6500;
}

.val-timeline-item:nth-child(even) .val-timeline-content {
    border-left: 4px solid #004aad;
}

.val-timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.val-timeline-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
}

/* .val-timeline-num {
    position: absolute;
    right: 0;
    top: -15px;
    font-size: 50px;
    font-weight: 800;
    color: rgba(0, 74, 173, 0.05);
    z-index: 0;
} */

.val-timeline-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1;
}

.val-icon-orange {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #ff6500;
}

.val-icon-blue {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #004aad;
}

.val-timeline-header h5 {
    font-weight: 700;
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 0;
    z-index: 1;
    line-height: 1.4;
}

.val-timeline-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* --- CTA Section --- */
.valuation-cta {
    background: linear-gradient(135deg, #003670 0%, #004aad 50%, #003670 100%);
    position: relative;
    overflow: hidden;
}

.valuation-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 101, 0, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.valuation-cta h3 {
    font-weight: 700;
    font-size: 30px;
    color: #fff;
    margin-bottom: 15px;
}

.valuation-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: center;
}

.valuation-cta .col-lg-10 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.valuation-btn-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 15px;
}

.valuation-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    padding: 14px 36px !important;
    border-radius: 12px !important;
    background: linear-gradient(to right, #ffb707, #ff5f00e3) !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(255, 101, 0, 0.35) !important;
    text-decoration: none !important;
    transition: all 0.35s ease !important;
    position: relative;
    overflow: hidden;
    flex: 0 1 380px;
    width: 380px;
    min-height: 65px;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.valuation-cta-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(255, 101, 0, 0.45) !important;
}

/* --- Section Background Alternates --- */
.valuation-bg-light {
    background: linear-gradient(135deg, rgba(255, 101, 0, 0.15) 0%, rgba(0, 74, 173, 0.15) 100%);
}

.valuation-bg-warm {
    background: linear-gradient(171deg, rgb(235, 248, 238) 0%, rgb(255, 228, 204) 100%);
}

/* --- Section Title --- */
.valuation-section-title {
    text-align: left;
    margin-bottom: 20px;
}

.valuation-section-title h4 {
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: #1a1a2e;
    display: inline-block;
    position: relative;
}

.valuation-section-title .underline {
    margin: 4px 0 0 0;
}

.valuation-section-title p {
    font-size: 16px;
    color: #666;
    max-width: 750px;
    margin: 15px 0 0 0;
    line-height: 1.7;
    text-align: left;
}

/* --- Responsive Layout --- */
@media (max-width: 991px) {
    .valuation-meth-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .valuation-cta-btn {
        flex: 0 1 350px;
        width: 350px;
        font-size: 15px !important;
    }
}

@media (max-width: 768px) {
    .val-timeline-container::after {
        left: 31px;
    }

    .val-timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .val-timeline-item:nth-child(even) {
        left: 0%;
    }

    .val-timeline-item:nth-child(odd) .val-timeline-dot,
    .val-timeline-item:nth-child(even) .val-timeline-dot {
        left: 11px;
    }

    .val-timeline-item .val-timeline-dot i {
        transform: rotate(180deg);
    }

    .val-timeline-item:nth-child(odd) .val-timeline-content {
        border-right: none;
        border-left: 4px solid #ff6500;
    }

    .valuation-banner .ban-content h1 {
        font-size: 32px;
    }

    .valuation-cta h3 {
        font-size: 24px;
    }

    .valuation-matters-card {
        margin-bottom: 20px;
    }

    .valuation-btn-group {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .valuation-cta-btn {
        width: 100%;
        max-width: 100%;
        flex: unset;
        min-height: auto;
    }

    .valuation-offers-box {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .valuation-section {
        padding-block: 45px;
    }
}

/* ========================================================
   VALUATION PROCESS - PIPELINE DESIGN
   ======================================================== */

/* Pipeline Container */
.vp-pipeline {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin-top: 10px;
    position: relative;
}

/* Individual Step Card */
.vp-step {
    flex: 1;
    max-width: 280px;
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 74, 173, 0.06);
    border: 1px solid rgba(0, 74, 173, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.vp-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #004aad, #ff6500);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vp-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 74, 173, 0.14);
    border-color: rgba(0, 74, 173, 0.18);
}

.vp-step:hover::before {
    opacity: 1;
}

/* Step Header */
.vp-step-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px 22px 0;
}

/* Step Icon */
.vp-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.4s ease;
    position: relative;
}

.vp-icon-orange {
    background: linear-gradient(135deg, rgba(255, 101, 0, 0.08), rgba(255, 101, 0, 0.15));
    color: #ff6500;
    border: 1px solid rgba(255, 101, 0, 0.12);
}

.vp-icon-blue {
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.08), rgba(0, 74, 173, 0.15));
    color: #004aad;
    border: 1px solid rgba(0, 74, 173, 0.12);
}

.vp-step:hover .vp-icon-orange {
    background: linear-gradient(135deg, #ff6500, #ff8533);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(255, 101, 0, 0.3);
}

.vp-step:hover .vp-icon-blue {
    background: linear-gradient(135deg, #004aad, #0066e0);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(0, 74, 173, 0.3);
}

/* Step Body */
.vp-step-body {
    padding: 18px 22px 0;
    flex: 1;
}

.vp-step-body h5 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.35;
    transition: color 0.3s ease;
    min-height: 44px;
    word-spacing: -2px;
    letter-spacing: -0.2px;
    text-align: center;
}

.vp-step:hover .vp-step-body h5 {
    color: #004aad;
}

.vp-step-body p {
    font-size: 15.5px;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
    text-align: justify !important;
    word-spacing: -0rem;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Step Status Footer */
.vp-step-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 22px 20px;
    margin-top: auto;
}

/* Animated Pulse Dot */
.vp-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #004aad;
    position: relative;
    display: inline-block;
}

.vp-pulse::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0, 74, 173, 0.2);
    animation: vpPulse 2s ease-in-out infinite;
}

.vp-pulse-complete {
    background: #10b981;
}

.vp-pulse-complete::after {
    background: rgba(16, 185, 129, 0.2);
}

@keyframes vpPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.vp-status-text {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Connector between steps */
.vp-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    position: relative;
    align-self: center;
}

.vp-connector-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 74, 173, 0.15), rgba(0, 74, 173, 0.3), rgba(0, 74, 173, 0.15));
}

.vp-connector-line::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 30%;
    height: 4px;
    background: linear-gradient(90deg, #004aad, transparent);
    border-radius: 2px;
    animation: vpFlowLine 2.5s ease-in-out infinite;
}

@keyframes vpFlowLine {
    0% {
        left: -10%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 110%;
        opacity: 0;
    }
}

.vp-connector-arrow {
    font-size: 16px;
    color: #004aad;
    opacity: 0.4;
    position: relative;
    z-index: 1;
    background: #f0f4ff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1199px) {
    .vp-step {
        max-width: 240px;
    }

    .vp-connector {
        width: 32px;
        min-width: 32px;
    }
}

@media (max-width: 991px) {
    .vp-pipeline {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .vp-step {
        max-width: 480px;
        width: 100%;
        flex-direction: row;
        align-items: stretch;
    }

    .vp-step-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px 18px;
        border-right: 1px solid rgba(0, 74, 173, 0.06);
        min-width: 100px;
    }

    .vp-step-body {
        padding: 18px 20px;
        flex: 1;
    }

    .vp-step-status {
        padding: 18px 20px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-left: 1px solid rgba(0, 74, 173, 0.06);
        min-width: 90px;
    }

    .vp-connector {
        width: auto;
        min-width: auto;
        height: 40px;
        flex-direction: column;
    }

    .vp-connector-line {
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, rgba(0, 74, 173, 0.15), rgba(0, 74, 173, 0.3), rgba(0, 74, 173, 0.15));
    }

    .vp-connector-line::after {
        width: 4px;
        height: 30%;
        left: -1px;
        top: auto;
        background: linear-gradient(180deg, #004aad, transparent);
        animation: vpFlowLineVert 2.5s ease-in-out infinite;
    }

    @keyframes vpFlowLineVert {
        0% {
            bottom: 110%;
            opacity: 0;
        }

        50% {
            opacity: 1;
        }

        100% {
            bottom: -10%;
            opacity: 0;
        }
    }

    .vp-connector-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 576px) {
    .vp-step {
        flex-direction: column;
    }

    .vp-step-header {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid rgba(0, 74, 173, 0.06);
        padding: 18px 20px;
        min-width: auto;
    }

    .vp-step-body {
        padding: 16px 20px;
    }

    .vp-step-status {
        flex-direction: row;
        border-left: none;
        border-top: 1px solid rgba(0, 74, 173, 0.06);
        padding: 14px 20px;
        min-width: auto;
    }

    .vp-step-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }
}