/* 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 */

.hv-panel-title1 {
    margin-top: 30px;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
    color: rgb(44, 0, 96);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.new-image-section-container { 

    display: flex; 

    flex-direction: column; /* Stack items vertically */ 

    justify-content: center; /* Center vertically */ 

    align-items: center; 

    width: auto; /* Center horizontally */ 

    height: auto; /* Full viewport height for vertical centering */ 

    text-align: center; /* Center the text */ 

    padding: 10px; /* Add some padding */ 

    box-sizing: border-box; /* Ensure padding is included in width/height */ 

} 

  

.new-image-section-title { 

    font-size: 3.6rem; 

    color: #2b5797; 

    /* margin-bottom: 10px; */ 

    /* border-bottom: 3px solid #2b972d; */ 

    padding-bottom: 5px; 

    display: inline-block;    

} 

  

.new-image-box-image0 { 

    max-width: 70%; /* Responsive image scaling */ 

    height: auto; /* Maintain aspect ratio */ 

    border-radius: 5px; /* Optional: Add rounded corners */ 

} 

  

/* Media Queries for smaller screens */ 

@media (max-width: 768px) { 

    .new-image-section-title { 

        font-size: 2rem; /* Smaller font for tablets */ 

    } 

} 

  

@media (max-width: 480px) { 

    .new-image-section-title { 

        font-size: 2rem; /* Further reduce font size for mobile */ 

    } 

  

    .new-image-section-container { 

        padding: 10px; /* Adjust padding for smaller screens */ 

    } 

} 
.hv-panel-para {
    margin-top: 1px;
    font-size: 1rem;
    /* font-weight: bol; */
    margin-bottom: 10px;
    text-align: left;
    color: rgb(0, 0, 0);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.hv-panel-image-container p{
    font-size: 1rem;
    text-align: justify;
    margin-left: -40px;
    margin-right: -20px;
    color: rgb(44, 0, 96);

}
.back-hv-panel {
    position: relative;
    padding-top: 60px;
   background-image: url(../images/banner/rmu.avif);
    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 */
    margin-top: 50px;
    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-hv-panel h1 {
    font-size: 6.8rem;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    /* font-weight: bold;  */
    /* top: 55%; */
    /* padding: calc(300px/2) 20px 20px 20px; */
    margin-top: 200px;
    color: white; /* 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-hv-panel h1 {
        font-size: 3.5rem; /* Adjust font size for tablets */
    }
  }
  @media (max-width: 480px) {
    .back-hv-panel h1 {
        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.8rem; 
        /* Further adjustment for very small screens */
    }
    .back-hv-panel{
        padding-top: 1px;
        margin-top: 5rem;
        /* background-image: url(../images/software/cmms2.png); */
        /* margin-bottom: 30px; */
        /* background-size: contain;  */
        height:180px; /* 85% of the viewport height */
    }
  }
 
  /* Overlay */
  .back-hv-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.288); */
    z-index: 1;
  }
  /* Text Styling */
  .back-hv-panel h1,
  .back-hv-panel p {
    position: relative;
    z-index: 2; /* Content above overlay */
  }

/* hv-panel info section */
.hv-panel-communicate {
    text-align: center;
    align-items: center;
    background-image: url(../images/Services/hv-panel/backg2.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    min-height: 35vh;
    /* padding: 40px 20px; */
    margin-bottom: -100ppx;
}

.hv-panel-communicate h3 {
    margin-top: 3rem;
    font-size: 3rem;
}

.hv-panel-communicate p {
    font-size: 2rem;
}
/* Default styles (as provided) */
.hv-panel-info-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px;
    font-size: 1.8rem;
    background-color: hsl(204, 90%, 92%);
    border: 1px solid hsl(206, 17%, 76%);
}

.hv-panel-info-content {
    flex: 1;
    max-width: 65%;
    padding-right: 30px;
    color: #1b425d;
    /* color: #ffffff; */
    font-family: 'Arial', sans-serif;
    font-size:1.8rem;
}

.hv-panel-info-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.hv-panel-info-content .highlight2 {
    color: #ff6600; /* Change color for the word XGSLab */
    text-decoration: underline;
}

.hv-panel-info-content .highlight {
    text-decoration: underline;
    font-weight: bold;
}

/* Style for the slideshow container */
.hv-panel-image-container {
    flex: 1;
    max-width: 30%;
    position: relative;
}

/* Basic slideshow styles */
.hv-panel-slideshow {
    position: relative;
    width: 100%;
    height: auto;
}

.hv-panel-slideshow img {
    width: 100%;
    display: none;
    border-radius: 5px;
}

.hv-panel-slideshow img.active {
    display: block;
}

/* Slideshow navigation buttons */
.hv-panel-slideshow .prev, .hv-panel-slideshow .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.hv-panel-slideshow .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.hv-panel-slideshow .prev:hover, .hv-panel-slideshow .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .hv-panel-info-section {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        font-size: 2.5rem;
    }

    .hv-panel-info-content {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .hv-panel-info-content p {
        font-size: 1.9rem;
    }

    .hv-panel-image-container {
        max-width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .hv-panel-info-section {
        padding: 15px;
        font-size: 2.2rem;
    }

    .hv-panel-info-content {
        font-size: 1.8rem;
    }

    .hv-panel-info-content p {
        font-size: 1.7rem;
    }

    .hv-panel-slideshow .prev, .hv-panel-slideshow .next {
        font-size: 20px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .hv-panel-info-section {
        padding: 10px;
        font-size: 1.8rem;
    }

    .hv-panel-info-content {
        font-size: 1.6rem;
    }

    .hv-panel-info-content p {
        font-size: 1.5rem;
    }

    .hv-panel-slideshow .prev, .hv-panel-slideshow .next {
        font-size: 18px;
        padding: 10px;
    }
}
/*  */
.hv-panel-section-container {
    font-family: Arial, sans-serif;
    margin-left: 30px;
    margin-right: 30px;
    /* background-color: #afe4ff; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0); 
    transition: all 0.3s ease-in-out; 
}

.hv-panel-section-title {

    margin-top: 30px;
    font-size: 3rem;
    color: #2b5797;
    margin-bottom: 10px;
    /* border-bottom: 3px solid #2b972d; */
    padding-bottom: 5px;
    display: inline-block;   
    text-align: center;
}

.hv-panel-section-content {
    line-height: 1.6;
    /* color: #333;  */
}

.hv-panel-section-content .highlight {
    font-weight: bold;
    color: #f39c12;
}

.hv-panel-section-content p {
    margin-bottom: 15px;
    font-size: 1.7rem;
    text-align: justify;
}



@media (max-width: 768px) {
    .section-container {
        padding: 30px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-content {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .section-content {
        font-size: 13px;
    }
}


.asp-features-section{
    margin-bottom: 30PX;
}


/* Power system container title */
.hv-panel-system-container-title {
    text-align: center;
    font-size: 2.5em;
    color: #222;
    margin-bottom: 30px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 1s ease forwards;
}

/* Power system points */
.hv-panel-system-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.hv-panel-system-card {
    background-color: #1b425d;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: calc(0.1s * var(--order));
}

.hv-panel-system-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background-color: #71e0f6; /* New background color on hover */
    text-align: justify;
}

.hv-panel-system-card:hover h2,
.hv-panel-system-card:hover ul li {
    color: #1b425d; /* Change text color to contrast with new background */
    text-align: center;
}

.hv-panel-system-card h2 {
    color: #ffcc00;
    font-size: 1.5em;
    margin-top: 0;
    text-align: center;
}

.hv-panel-system-card ul {
    list-style-type: none;
    padding: 0;
    text-align: justify;
}

.hv-panel-system-card ul li {
    padding: 5px 0;
    color: #ffffff;
    text-align: center;
    font-size: 1rem;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .hv-panel-system-card {
        width: 100%;
        max-width: 500px;
    }
}

/* Keyframes for fade-in animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}