/* Reset default body and html padding/margin */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    overflow-x: hidden; /* Prevent sideways scroll */
}
 
/* Apply box-sizing border-box globally */
*, *::before, *::after {
    box-sizing: border-box;
}
/* background */
.back-power-bi-services {
    position: relative;
    text-align: left;
    background-image: url(../images/banner/power-bi.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff; 
    min-height: 78vh;
    padding: 180px 20px 10px 20px;
    /* font-size: 2rem; */
}



.back-power-one {
 
    z-index: 1;
    position: relative;
    padding-top: 60px;
    background-image: url(../images/banner/power-bi.avif);/* Replace with your image URL */
    background-size: cover; /* Ensures the image covers the entire container */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    width: 100%; /* Full width for responsiveness */
    height: 600px; /* 85% of the viewport height */
    display: flex; /* Use flexbox for better control of child positioning */
    align-items: center; /* Vertically centers the text */
    justify-content: flex-start; /* Aligns the text to the left */
    padding-left: 20px; /* Adds some padding for left alignment */
}

.back-power-one h1 {
    /* font-size: 6.8rem; */
    font-weight: bold;
    z-index: 2; 
    font-family: 'Gill Sans', 'Gill Sans MT', 'Calibri', 'Trebuchet MS', 'sans-serif';
    font-size: 6.8rem;

    /* font-weight: bold;  */
    /* top: 55%; */

    /* padding: calc(300px/2) 20px 20px 20px; */
    margin-top: 200px;
    color: #ffffff; /* Adjust for readability */
    margin: 0; /* Removes default margin */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Optional: Adds text shadow for better visibility */
}


@media (max-width: 768px) {
    .back-power-one h1 {
        font-size: 3.5rem; /* Adjust font size for tablets */
    }
}

@media (max-width: 480px) {
    .back-power-one h1 {
        margin-top: 220px;
        /* margin-top: 30px; */
        /* font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; */
        /* font-weight: bold; */
        text-shadow: 2px 2px 5px rgb(255, 255, 255);
        font-size: 4.4rem; 
        color: #2b5797;
        z-index: 2; 
        /* Further adjustment for very small screens */
    }

    .back-power-one{
        padding-top: 1px;
        margin-top: 5rem;
        /* background-image: url(../images/software/cmms2.png); */
        margin-bottom: 50px;
        background-size: contain; 
        height:180px; /* 85% of the viewport height */
    }
}

/* Overlay */
.back-power-one::before {
    
    background-color: rgba(0, 0, 0, 0.489);
    z-index: 1;
}

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

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

.back-power-bi-services 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-power-bi-services {
        padding: 50px 20px 10px 20px;
        min-height: 78vh;
    }
    
    /* .back-power-bi-services h1 {
        margin-top: 15rem;
    }

    .back-power-bi-services h2 {
        margin-right: 400px;
    }

    .back-power-bi-services h3 {
        margin-right: 500px;
    } */
}

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

    .back-power-bi-services h1 {
        /* margin-top: 10rem; */
        font-size: 6rem;
    }

    .back-power-bi-services h2 {
        margin-right: 0;
        font-size: 3rem;
    }

    .back-power-bi-services h3 {
        margin-right: 0;
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .back-power-bi-services {
        padding: 135px 20px 10px 20px;
        background-attachment: scroll;
        min-height: 45vh; /* Better performance on smaller devices */
    }
    .back-power-bi-services h1 {
        font-size: 6rem;
        /* margin-top: 5rem; */
    }

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

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

.power-bi-services-column1,
.power-bi-services-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) {
    .power-bi-services-column1,
    .power-bi-services-column2 {
        min-width: 100%;
    }
}

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


/* Common Styles for both columns */
.power-bi-services-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;
}

.power-bi-services-section-container2.visible {
    opacity: 1;
}

.power-bi-services-section-title2 {
    font-size: 2.6rem;
    color: #2b5797;
    margin-bottom: 20px;
    /* border-bottom: 3px solid #2b972d; */
    padding-bottom: 10px;
    display: inline-block;
}

.power-bi-services-section-content2 {
    line-height: 1.6;
}

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

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

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

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

    .power-bi-services-section-title2 {
        font-size: 2rem;
    }

    .power-bi-services-section-content2 ul li {
        font-size: 1.6rem;
    }
}

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

    .power-bi-services-section-title2 {
        font-size: 1.5rem;
    }

    .power-bi-services-section-content2 ul li {
        font-size: 1.6rem;
    }
    .power-bi-services-mid-highlight-banner1 {
        /* background: linear-gradient(90deg, #FDC830, #F37335);  */
        /* background: linear-gradient(to bottom, rgb(36, 103, 154), rgb(92, 223, 237)); */
        color: #2b5797;
        margin-left: 20px;
        /* margin-bottom: 20px; */
        /* border-radius: 2px; */
        /* margin-top: -50px; */
        text-align: left;
        font-size: 3.6rem;
        font-weight: bold;
        /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    }
}
.power-bi-services-mid-highlight-banner {
    /* background: linear-gradient(90deg, #FDC830, #F37335);  */
    background: linear-gradient(to bottom, rgb(36, 103, 154), rgb(92, 223, 237));
    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);
}
.image-row {
    display: flex;
    justify-content: space-between; /* Adjust spacing between images */
    align-items: center;
    /* gap: 2px; Space between images */
    padding: 20px;
}

.power-bi-services-image4 {
    max-width: 100%;
    height: auto;
    width: 30%; /* Adjust this to control the size of the images */
    object-fit: cover; /* Ensures images fit nicely */
}
.power-bi-services-mid-highlight-banner1 {
    /* background: linear-gradient(90deg, #FDC830, #F37335);  */
    /* background: linear-gradient(to bottom, rgb(36, 103, 154), rgb(92, 223, 237)); */
    color: #2b5797;
    margin-left: 20px;
    /* margin-bottom: 20px; */
    /* border-radius: 2px; */
    /* margin-top: -50px; */
    text-align: left;
    font-size: 4.2rem;
    font-weight: bold;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

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

@media (max-width: 480px) {
    .power-bi-services-mid-highlight-banner {
        font-size: 0.9em;
        padding: 10px;
    }
    .power-bi-services-mid-highlight-banner1 {
        /* background: linear-gradient(90deg, #FDC830, #F37335);  */
        /* background: linear-gradient(to bottom, rgb(36, 103, 154), rgb(92, 223, 237)); */
        color: #2b5797;
        margin-left: 20px;
        /* margin-bottom: 20px; */
        /* border-radius: 2px; */
        /* margin-top: -50px; */
        text-align: left;
        font-size: 3.6rem;
        font-weight: bold;
        /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    }
}


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

.power-bi-services-container3 {
    display: flex;
    text-align: left;
    flex-direction: row;
    padding: 20px;
    /* gap: 20px; */
    flex-wrap: wrap;
}

.power-bi-services-column1 {
    flex: 1;

    box-sizing: border-box;
}

.power-bi-services-title1 {
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2b5797;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.power-bi-services-text1 {
    font-size: 16px;
    line-height: 1.5;
    
}

.power-bi-services-column2 {
    flex: 1;
    min-width: px;
    box-sizing: border-box;
}

.power-bi-services-title2 {
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2b5797;
}

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

.power-bi-services-paragraph{
   padding: 20PX;
}

.power-bi-services-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensure the container takes full width */
    height: auto; /* Adjust as needed */
}

.power-bi-services-image {
    max-width: 100%;
    height: auto;
}

.power-bi-services-split3-section {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.power-bi-services-split3-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.power-bi-services-split3-item {
    flex: 1 1 30%;
    text-align: center;
}

.power-bi-services-split3-img {
    width: 100%;
    height: auto;
    max-width: 300px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.power-bi-services-split3-img:hover {
    transform: scale(1.05);
}

.power-bi-services-split3-name {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .power-bi-services-split3-item {
        flex: 1 1 45%;
    }
}

@media (max-width: 480px) {
    .power-bi-services-split3-item {
        flex: 1 1 100%;
    }
}


  .power-bi-services-image2 {
    max-width: 60%;
    height: auto;
    margin-top: 20px;
  }

  .power-bi-services-image3 {
    max-width: 60%;
    height: auto;
    margin-top: 50px;
  }

  .power-bi-services-text-highlight{
    font-size: 2.3rem;
    color: rgb(140, 73, 223);
  }
  .power-bi-services-text-highlight:hover{
    
    color: #f39c12;
  }



  .power-bi-services-text-highlight-flyer{
    font-size: 1.5rem;
    color: rgb(140, 73, 223);
    /* padding: 20px; */
    font-weight: bold;
  
  }
  .power-bi-services-text-highlight-flyer:hover{
    
    color: #f39c12;
    padding: 20px;
  }
/* Responsive Design */
@media (max-width: 768px) {
    .power-bi-services-container {
        flex-direction: column;
    }
}


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

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

/* Health Box Styling */
.power-bi-services-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;
}

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

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

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

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

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

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