/*================================
 MODERN ZIGZAG PROCESS TIMELINE
=================================*/

.company-process-section {
    position: relative;
    overflow: hidden;
    background: #f8fbff;
    padding: 100px 0;
}

/*================================
 HEADER
=================================*/

.company-process-header {
    margin-bottom: 80px;
}

.company-process-header h5 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.company-process-header p {
    font-size: 17px;
    line-height: 28px;
    color: #666;
    margin-top: 18px;
}

/*================================
 TIMELINE AREA
=================================*/

.process-timeline-area {
    position: relative;
    width: 100%;
}

/* CENTER LINE */

.process-timeline-area::before {
    content: "";
    position: absolute;

    left: 50%;
    top: 0;

    transform: translateX(-50%);

    width: 4px;
    height: 100%;

    background: linear-gradient(
        to bottom,
        #ffd6e0,
        #ffb6c1,
        #ffc0cb,
        #ffd6e0
    );

    border-radius: 50px;
}

/*================================
 PROCESS CARD
=================================*/

.process-card {
    position: relative;

    width: calc(50% - 80px);

    background:
        radial-gradient(circle at 30% 30%, rgba(255,182,193,0.25), transparent 60%),
        radial-gradient(circle at 70% 40%, rgba(255,192,203,0.22), transparent 60%),
        radial-gradient(circle at 50% 70%, rgba(255,182,193,0.18), transparent 65%),
        #fff;

    border-radius: 30px;

    padding: 35px 35px 35px 145px;

    margin-bottom: 80px;

    border: 1px solid #ffd6e0;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.05);

    transition: all 0.4s ease;

    overflow: visible !important;
}

/* LEFT CARD */

.process-card:nth-child(odd) {
    left: 0;
}

/* RIGHT CARD */

.process-card:nth-child(even) {
    left: calc(50% + 80px);
}

/*================================
 TIMELINE DOT
=================================*/

.process-card::after {
    content: "";

    position: absolute;

    top: 50%;

    width: 28px;
    height: 28px;

    background:
        radial-gradient(circle at 30% 30%, #fff, #ffb6c1);

    border-radius: 50%;

    box-shadow:
        0 0 25px rgba(255,182,193,0.5);

    z-index: 20;
}

/* DOT POSITION */

.process-card:nth-child(odd)::after {
    right: -95px;
}

.process-card:nth-child(even)::after {
    left: -95px;
}

/*================================
 CARD HOVER
=================================*/

.process-card:hover {

    transform: translateY(-10px);

    box-shadow:
        0 25px 60px rgba(255,105,135,0.15),
        0 10px 30px rgba(0,0,0,0.08);
}

/*================================
 NUMBER
=================================*/

.process-number {
    position: absolute;

    left: 35px;
    top: 35px;

    width: 60px;
    height: 60px;

    background: #ff4f87;
    color: #fff;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    font-weight: 700;

    box-shadow:
        0 10px 25px rgba(255,79,135,0.25);

    transition: all 0.4s ease;

    z-index: 2;
}

/*================================
 ICON BELOW NUMBER
=================================*/

.process-icon {
    position: absolute;

    left: 35px;
    top: 115px;

    width: 60px;
    height: 60px;

    border-radius: 18px;

    background: #fff0f4;
    color: #ff4f87;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;

    box-shadow:
        0 10px 25px rgba(255,105,135,0.12);

    transition: all 0.4s ease;
}

/* ICON HOVER */

.process-card:hover .process-icon {
    transform: rotate(-8deg) scale(1.08);
}

/* NUMBER HOVER */

.process-card:hover .process-number {
    transform: scale(1.08);
}

/*================================
 CONTENT
=================================*/

.process-mini-title {
    display: inline-block;

    font-size: 14px;
    font-weight: 700;

    color: #ff4f87;

    margin-bottom: 14px;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.process-content h3 {
    font-size: 32px;
    line-height: 42px;
    font-weight: 700;

    margin-bottom: 18px;

    color: #111;
}

.process-content p {
    font-size: 16px;
    line-height: 30px;

    color: #666;

    margin-bottom: 24px;
}

/*================================
 LIST
=================================*/

.process-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
}

.process-list-item {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 15px;
    font-weight: 600;

    color: #222;
}

.process-list-item i {
    color: #ff4f87;
    font-size: 14px;
}

/*================================
 FLOAT IMAGE
=================================*/

.process-hover-image {
    position: absolute;

    width: 100%;
    height: auto;

    border-radius: 24px;
    overflow: hidden;

    opacity: 0;
    visibility: hidden;

    transition: all 0.45s ease;

    z-index: 99;

    pointer-events: none;

    box-shadow:
        0 30px 60px rgba(0,0,0,0.18);
}

/* IMAGE */

.process-hover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: all 0.5s ease;
}

/* SHOW IMAGE */

.process-card:hover .process-hover-image {
    opacity: 1;
    visibility: visible;
}

/* LEFT CARD IMAGE */

.process-card:nth-child(odd) .process-hover-image {

    left: calc(100% + 140px);

    top: 50%;

    transform: translateY(-50%) scale(0.9);
}

/* RIGHT CARD IMAGE */

.process-card:nth-child(even) .process-hover-image {

    right: calc(100% + 140px);

    top: 50%;

    transform: translateY(-50%) scale(0.9);
}

/* HOVER EFFECT */

.process-card:hover:nth-child(odd) .process-hover-image,
.process-card:hover:nth-child(even) .process-hover-image {

    transform: translateY(-50%) scale(1);
}

.process-card:hover .process-hover-image img {
    transform: scale(1.05);
}

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

@media(max-width:991px){

    .process-timeline-area::before {
        left: 30px;
    }

    .process-card {

        width: calc(100% - 90px);

        left: 90px !important;

        padding: 190px 25px 25px 25px;
    }

    .process-card::after {
        left: -75px !important;
        right: auto !important;
    }

    .process-number {
        left: 25px;
        top: 25px;
    }

    .process-icon {
        left: 25px;
        top: 100px;
    }

    .process-content h3 {
        font-size: 24px;
        line-height: 34px;
    }

    .process-list {
        grid-template-columns: 1fr;
    }

    .process-hover-image{
        display:none;
    }

}

@media(max-width:767px){

    .company-process-section {
        padding: 70px 0;
    }

    .company-process-header h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .company-process-header p {
        font-size: 15px;
        line-height: 26px;
    }

    .process-content h3 {
        font-size: 22px;
        line-height: 32px;
    }

}