.banner_img {
    width: 100%;
}

.banner_container {
    position: relative;
}

.banner {
    /* background-image: url(../assets/img/news_event/people-taking-part-high-protocol-event.jpg); */
    background-repeat: no-repeat;
    width: 100%;
    height: 103vh;
    background-size: 100%;
    display: flex;
    align-items: center;
    margin-top: -93px;
}

.banner_subtitle {
    color: var(--white);
}

.banner_title {
    font-size: 40px;
    color: var(--white);
    margin-top: 300px;
    margin-left: 0px;
}

.banner_title span {
    font-size: 40px;
}

.banner_subtitle {
    font-size: 24px;
}

.line_divider {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 30px !important;
    margin-left: 0px;
}

.line_divider p {
    width: 100px;
    background: var(--white);
    height: 5px;
    margin-bottom: 50px;
}

.event_block {
    padding: 50px 0;
    border-bottom: 1px solid lightgray;
}

.event_block h2 {
    font-size: 16px;
    font-family: "SWZ721E";
}

.event_elements {
    display: flex;
    align-items: center;
    gap: 42px;
    position: relative;
    border-top: 1px solid gray;
    padding: 38px 0 0 0;
    margin: 40px 0;
}

.event_elements:last-child {
    border-bottom: 1px solid gray;
    padding-bottom: 40px;
}

.event_elements:last-child .arrow_right {
    bottom: 40px;
}

.event_content h3 {
    font-size: 22px;
}

.event_content p {
    margin-top: 20px;
    font-family: "SWZ721L";
}

.arrow_right {
    margin-top: 0;
    width: 14px;
    position: absolute;
    bottom: 0;
}

.btn_purple {
    padding: 6px 11px;
    font-weight: 400;
    font-size: 15px;
    font-family: "SWZ721E";
    background: #9c64a8;
    color: var(--white);
    border-radius: 2px;
    text-decoration: none;
}

img.event_img {
    height: 182px;
}

.event_main {
    position: relative;
}

img.pattern1 {
    position: absolute;
    width: 150px;
    left: -51px;
    top: 193px;
    z-index: -1;
}

img.pattern2 {
    position: absolute;
    width: 152px;
    right: 0px;
    bottom: -188px;
}

section.product_portfolio {
    padding-top: 190px;
    padding-bottom: 50px;
}

.card_content p {
    font-family: "SWZ721L";
    font-size: 20px;
}

.container_text p {
    color: var(--black);
    font-size: 19px;
    font-family: "SWZ721L";
}

.container_text {
    border-bottom: 1px solid lightgray;
}

.card_main {
    display: flex;
    gap: 20px;
}

.card_content {
    padding: 40px 33px;
    border-radius: 20px;
    color: var(--white);
    background-image: linear-gradient(
            rgba(107, 135, 190, 1),
            rgba(107, 135, 190, 0.5)
        ),
        url(../assets/img/product_portfolio/drilling.jpg);
    background-size: 100%;
    height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 92% bottom;
}

h3.getintouch {
    margin-top: 50px;
    margin-bottom: 0;
    font-family: "SWZ721E";
    font-weight: 700;
}

.getintouch img {
    padding-left: 20px;
    width: 36px;
}

.divider {
    width: 163px;
    height: 3px !important;
    background: white;
    opacity: 1;
}

.card_leftside {
    width: 40%;
}

.card_rightside {
    width: 60%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.card_element {
    padding: 20px;
    border-radius: 10px;
    width: 30%;
}

.card_element img {
    float: right;
    filter: brightness(5);
    width: 8px;
}

.card_element h4 {
    font-size: 14px;
    color: var(--white);
    line-height: 1.6;
}

.card_element {
    position: relative;
    border-radius: 10px 10px 0 0;
}

.card_element img {
    position: absolute;
    right: 10px;
    bottom: 16px;
}

.product_container {
    display: flex;
    gap: 6px;
    margin-top: 30px;
}

.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;
}

/* responsive */

@media (max-width: 992px) {
    .banner {
        background-size: cover;
        height: 50vh;
    }

    .flex_container {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 20px;
    }

    .card_main {
        flex-wrap: wrap;
    }

    img.event_img {
        width: 100%;
    }

    .card_leftside {
        width: 100%;
    }

    .card_content {
        height: unset;
    }

    .card_rightside {
        width: 100%;
        flex-wrap: wrap;
    }

    .card_element h4 br {
        display: none;
        font-size: 12px;
        line-height: 1.8;
    }

    .product_container {
        flex-wrap: wrap;
    }

    .product_element p br {
        display: none;
    }

    .product_element p {
        margin-bottom: 6px;
    }

    .form_container {
        flex-wrap: wrap;
    }

    .form_group label {
        font-size: 18px;
        width: 92px;
    }

    input[type="submit"] {
        margin-left: 0;
        margin-top: 10px;
    }

    .event_content h3 {
        font-size: 20px;
    }

    .event_content h3 br {
        display: none;
    }

    .product_element {
        width: 24%;
    }
    .banner_title {
        margin-top: 126px !important;
    }
}

@media (max-width: 768px) {
    .banner_title {
        font-size: 34px;
        margin-left: 0 !important;
    }
    .banner {
        background-size: cover !important;
        height: 50vh !important;
        background-image: url(../assets/img/mobile/19.jpg) !important;
    }
    .line_divider {
        margin-left: 0 !important;
    }
    .text-block p br {
        display: none;
    }
    h2#milestones {
        margin-top: 20px;
    }
    section#management .container {
        padding: 0 !important;
    }
    .management-grid {
        flex-wrap: wrap;
    }
    .timeline-item p br {
        display: none;
    }
    .milestone-timeline-section .timeline-wrapper {
        max-width: 100% !important;
        padding: 0;
        margin: unset !important;
        padding: 0 !important;
    }
    .timeline-item {
        padding-top: 0 !important;
    }
    .corporate_highlight_section p {
        max-width: 100% !important;
        font-size: 17px !important;
    }
    .card_element {
        width: 100%;
    }

    .card_element img {
        bottom: 25px;
    }

    .product_element {
        width: 100%;
    }

    img.Product_img {
        height: 200px;
    }

    .product_element p {
        font-size: 16px;
    }

    .form_group input[type="text"] {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }

    .form_group {
        margin-top: 0;
    }

    .card_element h4 {
        margin-bottom: 0;
    }

    .banner_title span {
        font-size: 24px;
    }

    input[type="submit"] {
        width: 200px;
        text-align: left;
    }

    .event_elements {
        flex-wrap: wrap;
    }

    .arrow_right {
        right: 0;
    }

    img.pattern2 {
        width: 110px;
        z-index: -1;
    }

    .event_content h3 {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .form_group {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 0;
    }

    .event_content h3 {
        font-size: 18px;
    }

    .heading_title {
        font-size: 30px;
    }
}

/* style for vision section */

.vision-section {
    background-image: url("assets/img/about/vision.jpg");
    /* Replace with your image path */
    background-size: cover;
    background-position: center;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 40px 0;
    overflow: hidden;
}

.vision-content {
    display: flex;
    width: 90%;
    max-width: 1200px;
    justify-content: space-between;
    align-items: center;
}

.vision-text-left h2 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 400;
    margin-top: 220px;
    font-family: "SWZ721E", sans-serif;
    /* or your preferred font */
}

.vision-text-right {
    background-color: #87339a;
    padding: 10px 40px;
    max-width: 650px;
    font-size: 30px;
    line-height: 1.5;
    border-radius: 3px;
    font-weight: 500;
    font-family: "SWZ721E", sans-serif;
    margin-left: -60px;
}

/* style for key management section */

.key-management-section {
    background-color: #e6eff7;
}

.key-management-section .section-title {
    color: var(--purple);
    font-size: 36px;
    font-family: "SWZ721E";
    margin-bottom: 30px;
}

.management-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
    /* Reduced gap */
}

.management-card {
    background-color: #e6eff7;
    flex: 1 1 15%;
    max-width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    min-height: 340px;
    /* Ensure all cards stay same height */
}

.image-wrapper {
    width: 100%;
    height: 180px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.management-card img {
     width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .image-wrapper {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .management-card img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

.management-content {
    flex-grow: 1;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    padding: 10px;
    background-color: #e6eff7;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.management-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
    margin-top: 10px;
    font-weight: 400;
    color: #333;
    text-align: left;
}

.management-card p {
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    text-align: left;
    margin: 0;
}

@media (max-width: 1024px) {
    .management-card {
        max-width: 30%;
    }
}

@media (max-width: 768px) {
    .management-card {
        max-width: 100%;
        flex: unset;
        width: 100% !important;
    }
    .vision-text-right.aos-init.aos-animate p {
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    .management-card {
        max-width: 100%;
    }
}

/* style for timeline section */

.timeline-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 10px;
}

.timeline-line {
    position: absolute;
    top: 40px;
    /* aligns with dot */
    left: 0;
    right: 0;
    height: 0.5px;
    background-color: #444;
    z-index: 0;
}

.timeline-item {
    position: relative;
    text-align: center;
    width: 16.66%;
    z-index: 1;
    padding-top: 40px;
    /* space for year and dot */
}

.timeline-item h4 {
    color: #885a91;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background-color: #444;
    border-radius: 50%;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.timeline-item p {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin-top: 20px;
    /* spacing below dot */
}

.timeline-pattern {
    position: absolute;
    right: 0;
    width: 200px;
    opacity: 0.1;
    pointer-events: none;
    transform: translateX(40px);
}

@media (max-width: 768px) {
    .timeline-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .timeline-item {
        width: 100%;
        text-align: left;
    }

    .timeline-line {
        display: none;
    }

    .timeline-dot,
    .timeline-item h4 {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .timeline-item h4 {
        margin-bottom: 10px;
    }

    .timeline-item p {
        margin-top: 10px;
    }
}

.milestone-timeline-section .timeline-wrapper {
    max-width: 91.666667%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.milestone-timeline-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.milestone-timeline-section .heading_title {
    text-align: left;
    margin-left: 50px;
}

/* style for section after banner */

.corporate_highlight_section {
    position: relative;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.left-pattern {
    position: absolute;
    left: -90px;
    top: 15%;
    height: auto;
    z-index: 0;
    width: 250px;
    pointer-events: none;
}

.right-pattern {
    position: absolute;
    right: 0px;
    margin-left: 50px;
    top: 30%;
    height: auto;
    width: 250px;
    z-index: 1;
    pointer-events: none;
}

.corporate_highlight_section {
    font-family: "SWZ721E", sans-serif;
    font-size: 13px;
}

.corporate_highlight_section .icon {
    width: 40px;
    height: 30px;
    flex-shrink: 0;
    margin-top: 4px;
    object-fit: contain;
}

.corporate_highlight_section p {
    margin: 0;
    line-height: 1.2;
    color: #444;
    max-width: 180px;
    /* white-space: pre-line; */
    word-break: break-word;
    font-size: 12.5px;
    font-family: "SWZ721L";
    margin-bottom: 10px;
    margin-top: 5px;
}

.content-wrapper {
    padding: 0px 0;
    position: relative;
}

.border-line::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 30px);
    /* Or 2rem if using rems for padding */
    right: 15px;
    /* align with Bootstrap container padding */
    border-bottom: 2px solid #885a91;
}

.text-block {
    min-height: unset;
    justify-content: flex-start;
}

.text-block p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

@media (max-width: 576px) {
    .banner {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 40px 15px;
        background-size: cover;
        background-position: center;
    }

    .banner_title,
    .banner_title span {
        font-size: 28px;
    }

    .banner_subtitle {
        font-size: 18px;
    }

    .event_elements {
        flex-direction: column;
        gap: 20px;
    }

    .event_content h3 {
        font-size: 18px;
    }

    img.event_img {
        width: 100%;
        height: auto;
    }

    .product_container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .product_element {
        width: 90% !important;
    }

    .form_container {
        flex-direction: column;
        gap: 10px;
    }

    .form_group input[type="text"] {
        width: 100% !important;
        margin: 0;
    }

    input[type="submit"],
    button.print_btn {
        width: 100%;
        padding: 12px 0;
        text-align: center;
    }

    .card_rightside,
    .card_main {
        flex-direction: column;
        align-items: center;
    }

    .card_element {
        width: 100% !important;
        padding: 20px;
    }

    .vision-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .vision-text-left h2 {
        font-size: 24px;
        margin-top: 50px;
    }

    .vision-text-right {
        margin-left: 0;
        margin-top: 20px;
        font-size: 18px;
        padding: 15px;
    }

    .left-pattern,
    .right-pattern,
    img.pattern1,
    img.pattern2 {
        display: none !important;
    }
}
