.container {
    margin: auto;
    max-width: 1200px;
    padding: 0 20px;
    justify-content: space-between;
}

.ip_patient_img {
    background-image: url(/static/assets/ippatient_banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px 0 100px;
    background-attachment: fixed;
}

.title2 {
    color: #000000;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 1rem;
    margin-top: 5rem;
}

.introduce {
    color: #000000;
    line-height: 1.5;
    font-size: 17px;
    font-weight: 500;
}

.title3 {
    font-size: 40px;
    text-align: center;
    /* margin-top: 90px; */
    margin-bottom: 2rem;
    color: var(--color-light);
}

.icon1-img {
    background-repeat: no-repeat;
    background-size: cover;
    width: 120px;
    height: 120px;
}

.icon-title {
    font-family: "Quicksand", sans-serif;
    font-size: 16px;
    margin-bottom: 1rem;
}

.icon-description {
    display: block;
    text-align: center;
    font-family: "Quicksand", sans-serif;
    color: gainsboro;
    font-weight: 500;
    font-size: 15px;
}

.icon-list {
    display: flex;
    flex-wrap: wrap;
}

.three-icon {
    flex: 1;
    padding: 30px;
}

.page2 {
    background-color: #99836d;
    height: 48rem;
}

.page2 h2 {
    font-size: 2.3rem;
    text-align: center;
    padding: 2rem;
}

article {
    --img-scale: 1.001;
    --title-color: black;
    --link-icon-translate: -20px;
    --link-icon-opacity: 0;
    position: relative;
    border-radius: 16px;
    box-shadow: none;
    background: #fff;
    transform-origin: center;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
}

article a::after {
    position: absolute;
    inset-block: 0;
    inset-inline: 0;
    cursor: pointer;
    content: "";
}

article h2 {
    color: var(--title-color);
    transition: color 0.3s ease-out;
}

figure {
    margin: 0;
    padding: 0;
    aspect-ratio: auto;
    overflow: hidden;
}

article img {
    max-width: 100%;
    transform-origin: center;
    transform: scale(var(--img-scale));
    transition: transform 0.4s ease-in-out;
    object-fit: cover;
    height: 17rem;
}

.article-body h2 {
    font-size: 2rem;
    margin-top: -1.5rem;
}

.article-body p {
    font-size: 1rem;
    padding: 1rem;
    color: #808080;
    font-weight: 500;
    margin-top: -1rem;
}

article:has(:hover, :focus) {
    --img-scale: 1.1;
    --title-color: #28666e;
    --link-icon-translate: 0;
    --link-icon-opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.articles {
    display: grid;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.enquire-btn {
    font-size: 1rem;
    color: white;
    background-color: #4ebdff;
    width: 10rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    margin-left: 2rem;
    margin-top: 1rem;
    cursor: default;
}

.enquire-btn:hover {
    background-color: #B7DAE0;
    color: black; /* Darker green */
}

@media screen and (max-width: 960px) {
    article {
        container: card/inline-size;
    }

    .article-body p {
        display: none;
    }
}

@media (max-width: 768px) {
    .page2 {
        height: 60rem;
    }
}

@media (max-width: 425px) {
    .page2 {
        height: 92rem;
    }
}

@container card (min-width: 380px) {
    .article-wrapper {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 16px;
    }

    .article-body {
        padding-left: 0;
    }

    figure {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    figure img {
        height: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }
}

.page3 {
    background-color: #cfcfcf;
}

.page3-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 0;
}

.page3-img {
    max-width: 540px;
    width: 100%;
}

.information {
    flex: 1;
    padding-left: 70px;
}

.info-title {
    font-family: "Quicksand", sans-serif;
    font-size: 30px;
    font-weight: bold;
    margin-top: 3rem;
    margin-bottom: 2rem;
    color: var(--color-bg);
}

.info-all {
    color: #000000b3;
    margin-bottom: 20px;
    line-height: 1.4;
    font-size: 17px;
}

@media (max-width: 840px) {
    .information {
        padding-left: 0;
        text-align: center;
    }

    .page3-box {
        justify-content: center;
    }
}

/* *-------------------------------------------- */

.head_section {
    background-color: #a89a9a;
}

.head_title {
    font-size: 3rem;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 4rem;
    padding: 1rem;
}

.section_our_solution .row {
    align-items: center;
}

.our_solution_category {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.our_solution_category .solution_cards_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution_cards_box .solution_card {
    flex: 0 50%;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(136, 144, 195, 0.2),
    0 5px 15px 0 rgba(37, 44, 97, 0.15);
    border-radius: 15px;
    margin: 8px;
    padding: 10px 15px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 265px;
    transition: 0.7s;
}

.solution_cards_box .solution_card:hover {
    background: var(--color-light);
    color: #fff;
    transform: scale(1.1);
    z-index: 9;
}

.solution_cards_box .solution_card:hover::before {
    background: rgb(85 108 214 / 10%);
}

.solution_cards_box .solution_card:hover .solu_title h3,
.solution_cards_box .solution_card:hover .solu_description p {
    color: #fff;
}

.solution_cards_box .solution_card:before {
    content: "";
    position: absolute;
    background: rgb(85 108 214 / 5%);
    width: 170px;
    height: 400px;
    z-index: -1;
    transform: rotate(42deg);
    right: -56px;
    top: -23px;
    border-radius: 35px;
}

.solution_cards_box .solution_card:hover .solu_description button {
    background: #fff !important;
    color: #309df0;
}

.solution_card .solu_title h3 {
    color: #212121;
    font-size: 1.3rem;
    margin-top: 13px;
    margin-bottom: 13px;
}

.solution_card .solu_description p {
    font-size: 15px;
    margin-bottom: 15px;
}

.solution_card .solu_description button {
    border: 0;
    border-radius: 15px;
    background: linear-gradient(
            140deg,
            #42c3ca 0%,
            #42c3ca 50%,
            #42c3cac7 75%
    ) !important;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 16px;
}

.our_solution_content h1 {
    text-transform: capitalize;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.hover_color_bubble {
    position: absolute;
    background: rgb(54 81 207 / 15%);
    width: 100rem;
    height: 100rem;
    left: 0;
    right: 0;
    z-index: -1;
    top: 16rem;
    border-radius: 50%;
    transform: rotate(-36deg);
    left: -18rem;
    transition: 0.7s;
}

.solution_cards_box .solution_card:hover .hover_color_bubble {
    top: 0rem;
}

.solution_cards_box .solution_card .so_top_icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution_cards_box .solution_card .so_top_icon img {
    width: 40px;
    height: 50px;
    object-fit: contain;
}

/*start media query*/
@media screen and (min-width: 320px) {
    .sol_card_top_3 {
        position: relative;
        top: 0;
    }

    .our_solution_category {
        width: 100%;
        margin: 0 auto;
    }

    .our_solution_category .solution_cards_box {
        flex: auto;
    }
}

@media only screen and (min-width: 768px) {
    .our_solution_category .solution_cards_box {
        flex: 1;
    }
}

@media only screen and (min-width: 1024px) {
    .sol_card_top_3 {
        position: relative;
        top: -3rem;
    }

    .our_solution_category {
        width: 50%;
        margin: 0 auto;
    }
}

/* ------------------------------------------------------------ */

/* ---------------------------------- */
.apply-now-section {
    padding: 50px;
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 5rem;
    background-color: darkgrey;
}

.content {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.content h2 {
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

.content p {
    font-size: 16px;
}

.apply-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.apply-button:hover {
    background-color: #0056b3;
    color: #fff;
    text-decoration: none;
}
