.banner {
    /* background-image: url(../assets/img/news_event/people-taking-part-high-protocol-event.jpg); */
    background-repeat: no-repeat;
    width: 100%;
    height: calc(70vh + 93px);
    background-size: 100%;
    display: flex;
    align-items: center;
    background-position: 5%;
}

.banner_subtitle {
    color: var(--white);
}

.banner_title {
    font-size: 40px;
    color: var(--white);
    margin-top: 300px;
}

.banner_title span {
    font-size: 40px;
}

.line_divider {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 30px !important;
}

.line_divider p {
    width: 100px;
    background: var(--white);
    height: 5px;
    margin-bottom: 0;
}

.timeline-section {
    padding: 60px 20px;
    background-color: #fff;
    font-family: "SWZ721E", sans-serif;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    top: -30px;
    bottom: -30px;
    left: 160px;
    /* Adjusted to align with dot center */
    width: 2px;
    background-color: #ccc;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    padding-left: 200px;
    /* space for year + line */
}

.timeline-item .year {
    position: absolute;
    left: 0;
    width: 140px;
    text-align: right;
    font-size: 18px;
    font-weight: 550;
    color: #9030ab;
    white-space: nowrap;
    /* ✅ Prevent line break */
}

.timeline-item .dot {
    width: 12px;
    height: 12px;
    background-color: #333;
    border-radius: 50%;
    position: absolute;
    left: 154px;
    /* ✅ Matches the timeline line center */
    top: 7px;
    z-index: 1;
}

.timeline-item .content {
    margin-left: 10px;
    font-size: 17px;
    color: var(--black);
    line-height: 1.6;
    font-family: "SWZ721L", sans-serif;
}

.left-pattern {
    position: absolute;
    left: -50px;
    top: 115%;
    height: 60%;
    z-index: 0;
    width: 250px;
    pointer-events: none;
}

.right-pattern {
    position: absolute;
    right: 0px;
    margin-left: 20px;
    top: 160%;
    height: 60%;
    width: 250px;
    z-index: 0;
    pointer-events: none;
}

.product_container {
    display: flex;
    gap: 6px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.product_element {
    border: 1px solid lightgray;
    border-radius: 6px;
}

.product_element p {
    padding: 0 10px;
}

.product_element {
    position: relative;
}

.product_element .img_arrow {
    position: absolute;
    bottom: 10px;
    right: 5px;
    width: 7px;
}

img.Product_img {
    width: 100%;
    height: 76px;
    object-fit: cover;
}

.product_element {
    width: 250px;
}

.product_element p {
    padding: 0 10px;
    font-size: 10px;
    margin-top: 7px;
}

section.requestbrochure {
    background: #9c64a8;
    color: var(--white);
    padding: 30px 0;
}

.form_container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 26px;
}

.form_group label {
    font-size: 18px;
    font-family: "SWZ721E";
}

input[type="submit"] {
    background: transparent;
    border: 0;
    color: white;
    font-size: 22px;
    margin-left: 20px;
    font-family: "SWZ721E";
}

.form_group input[type="text"] {
    width: 337px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 6px;
    outline: 0;
    background: #eeeeee;
    border: 0;
}

img.pattern1 {
    position: absolute;
    width: 129px;
    left: -51px;
    top: 193px;
    z-index: -1;
}

img.pattern2 {
    position: absolute;
    width: 152px;
    right: 0px;
    bottom: 0;
}

button.print_btn {
    font-family: "SWZ721E";
    background: transparent;
    border: 0;
    position: relative;
}

@media (max-width: 992px) {
    .product_container,
    .form_container {
        flex-wrap: wrap;
    }
    .form_group input[type="text"] {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }
    .banner {
        background-size: cover;
    }
}
@media (max-width: 768px) {
    img.Product_img {
        height: 200px;
    }
    .product_element p {
        font-size: 16px;
    }
    .banner {
        background-size: cover !important;
        height: 50vh !important;
        background-image: url(../assets/img/mobile/16.jpg) !important;
    }
}
/* ✅ Only target phones and very small screens */
@media (max-width: 576px) {
    .banner {
        height: auto;
        flex-direction: column;
        padding: 40px 15px;
        background-size: cover;
        background-position: center;
    }

    .banner_title,
    .banner_title span {
        font-size: 24px;
    }

    .timeline::before {
        left: 12px;
    }
    .product_element p br {
        display: none;
    }
    .timeline-item {
        padding-left: 30px;
        flex-direction: column;
    }

    .timeline-item .year {
        width: 100%;
        position: static;
        text-align: left;
        font-size: 16px;
        margin-bottom: 5px;
    }

    .timeline-item .dot {
        left: 6px;
        top: 6px;
    }

    .timeline-item .content {
        margin-left: 0;
        font-size: 15px;
        padding-left: 20px;
    }

    .product_container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .product_element {
        width: 90%;
    }

    .form_container {
        gap: 15px;
    }

    .form_group input[type="text"] {
        width: 100%;
        margin: 0;
    }

    input[type="submit"],
    button.print_btn {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 10px 0;
    }

    /* Optional: Hide decorative patterns on mobile if they overlap */
    .left-pattern,
    .right-pattern,
    img.pattern1,
    img.pattern2 {
        display: none;
    }
}
