/* background */
.back-xpress {
    position: relative;
    text-align: left;
    background-image: url(../images/banner/xpress.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff; 
    min-height: 78vh;
    padding: 180px 20px 10px 20px;
    /* font-size: 2rem; */
}

/* Overlay */
.back-xpress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.489);
    z-index: 1;
}

/* Text Styling */
.back-xpress h1, 
.back-xpress h2,
.back-xpress p {
    position: relative;
    z-index: 2; /* Content above overlay */
}

.back-xpress h1 {
    font-size: 8rem;
    /* margin-top: 16rem; */
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: hsl(0, 0%, 100%);
}

.back-xpress h2 {
    margin-top: 1rem;
    font-size: 3.2rem;
    font-family: Arial;
    color: #ffffff;
    /* margin-right: 550px; */
    /* padding: 0.2em 0.5em; */
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .back-xpress {
        padding: 50px 20px 10px 20px;
        min-height: 78vh;
    }
    
    /* .back-xpress h1 {
        margin-top: 15rem;
    }

    .back-xpress h2 {
        margin-right: 400px;
    }

    .back-xpress h3 {
        margin-right: 500px;
    } */
}

@media (max-width: 768px) {
    .back-xpress {
        padding: 70px 20px 10px 20px;
        background-attachment: scroll;
        min-height: 60vh; /* Better performance on smaller devices */
    }

    .back-xpress h1 {
        /* margin-top: 10rem; */
        font-size: 8rem;
    }

    .back-xpress h2 {
        margin-right: 0;
        font-size: 3rem;
    }

    .back-xpress h3 {
        margin-right: 0;
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .back-xpress {
        padding: 70px 20px 10px 20px;
        background-attachment: fixed;
        min-height: 50vh; /* Better performance on smaller devices */
    }

    .back-xpress h1 {
        font-size: 6rem;
        margin-top: 9rem;
    }

    .back-xpress h2,
    .back-xpress h3 {
        font-size: 2.5rem;
        margin-right: 0;
        padding: 0.1em;
    }
}

/* Additional CSS for creating two-column layout */
.xpress-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.xpress-column1,
.xpress-column2 {
    flex: 1;
    min-width: calc(50% - 15px); /* Adjust width to ensure sections are side by side with spacing */
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .xpress-column1,
    .xpress-column2 {
        min-width: 100%;
    }
}

/* Additional CSS for creating two-column layout */
.xpress-container2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: -50px;
}


/* Common Styles for both columns */
.xpress-section-container2 {
    font-family: Arial, sans-serif;
    margin: 30px;
    transition: all 0.3s ease-in-out;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.xpress-section-container2.visible {
    opacity: 1;
}

.xpress-section-title2 {
    font-size: 2.5rem;
    color: #2b5797;
    margin-bottom: 20px;
    border-bottom: 3px solid #2b972d;
    padding-bottom: 10px;
    display: inline-block;
}

.xpress-section-content2 {
    line-height: 1.6;
}

.xpress-section-content2 ul {
    margin: 0;
    padding: 0;
    list-style: none;
    padding-left: 20px;
}

.xpress-section-content2 ul li {
    margin-bottom: 10px;
    font-size: 1.6rem;
    text-align: justify;
    position: relative;
    padding-left: 25px;
}

.xpress-section-content2 ul li:before {
    content: '\25B6'; /* Triangle bullet */
    color: #2b5797;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .xpress-section-container2 {
        padding: 20px;
    }

    .xpress-section-title2 {
        font-size: 2.2rem;
    }

    .xpress-section-content2 ul li {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .xpress-section-container2 {
        padding: 15px;
    }

    .xpress-section-title2 {
        font-size: 2.2rem;
    }

    .xpress-section-content2 ul li {
        font-size: 1.6rem;
        text-align: left;
    }
}


.xpress-mid-highlight-banner {
    /* background: linear-gradient(90deg, #FDC830, #F37335);  */
    background: linear-gradient(to bottom, rgb(36, 154, 144), rgb(123, 221, 200));
    color: #000;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 2px;
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .xpress-mid-highlight-banner {
        font-size: 1em;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .xpress-mid-highlight-banner {
        font-size: 0.9em;
        padding: 10px;
    }

    
    
}


/* Heallthcare */
.xpress-container {
    display: flex;
    text-align: left;
    flex-direction: row;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.xpress-column1 {
    flex: 1;

    box-sizing: border-box;
}

.xpress-title1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 25px;
    color: rgb(44, 0, 96);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.xpress-text1 {
    font-size: 16px;
    line-height: 1.5;
    
}

.xpress-column2 {
    flex: 1;
    min-width: px;
    box-sizing: border-box;
}

.xpress-title2 {
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: rgb(44, 0, 96);
}

.xpress-text2{
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
}

.xpress-image-container {
    margin-top: 30px;
    text-align: center;
  }
  
  .xpress-image {
    max-width: 100%;
    height: 50vh;
    /* margin-top: -50px; */

  }
  .xpress-image1 {
    max-width: 100%;
    height: 50vh;
    margin-top: -50px;

  }

  .xpress-text-highlight{
    font-size: 2.3rem;
    color: rgb(140, 73, 223);
  }
  .xpress-text-highlight:hover{
    
    color: #f39c12;
  }
/* Responsive Design */
@media (max-width: 768px) {
    .xpress-container {
        flex-direction: column;
    }
    .xpress-image {
        max-width: 100%;
        height: 50vh;
        /* margin-top: -50px; */
    
      }
    .xpress-image1 {
        max-width: 100%;
        height: 50vh;
        margin-top: 30px;
        margin-bottom: 10px;
    
      }
}


/* General Styling for Health Boxes Section */
.xpress-box-block {
    padding: 20px;
    background-color: #ffffff;
    text-align: center;
}

/* Container Styling */
.xpress-box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Health Box Styling */
.xpress-box {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 200px;
    height: auto;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.xpress-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Image Styling */
.xpress-box img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

/* Title Styling */
.xpress-box-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .xpress-box-container {
        flex-direction: column;
        align-items: center;
    }
    .xpress-box {
        width: 90%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .xpress-box {
        width: 45%;
    }
}

@media (min-width: 1025px) {
    .xpress-box {
        width: 30%;
    }
}
