/* background */

/* 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;
}
.battery-title1 {
    margin-top: 30px;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
    color: #2b5797;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.flyer{
    padding: 20px;
    font-size:1.6rem;
  }

  .flyer :hover{
    color: red;
  }



.battery-para {
    margin-top: 1px;
    font-size: 1.6rem;
    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;
}
.battery-image-container p{
    font-size: 1rem;
    text-align: justify;
    margin-left: -40px;
    margin-right: -20px;
    color: rgb(44, 0, 96);

}
.back-battery {
    position: relative;
    width: 100%;
    height: auto;
    top: 70px;
    margin-bottom: 70px;
    aspect-ratio: 16 / 9;
    background-image: url(../images/banner/big-screen/bessnew.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #042a4a;
    display: flex;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
    justify-content: center;
    overflow: hidden;
  }
  
  .back-battery::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0);
  }
  
  .back-battery h1 {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1.5vw 2vw;
    z-index: 2;
    color: white;
    font-size: 5vw;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  }
  
  /* Laptop screens */
  /* @media (max-width: 1600px) {
    .back-battery {
        background-image: url(../images/banner/generator2.png);
    }
  } */
  
  /* Tablet screens */
  @media (max-width: 1280px) {
    /* .back-battery {
        background-image: url(../images/banner/big-screen/batteryh.png);
    } */
  }
  
  /* Mobile screens */
  @media (max-width: 720px) {
    /* .back-battery {
        background-image: url(../images/banner/);
    } */
    .back-battery h1 {
        font-size: 5.5vw;
    }
  }
  
  /* Extra small devices */
  @media (max-width: 480px) {
    .back-battery {
        background-image: url(../images/banner/mobile2/bess.png);
    }
    .back-battery h1 {
        font-size: 5.5vw;
    }
  }
  
  
/* battery info section */
.battery-communicate {
    text-align: center;
    align-items: center;
    background-image: url(../images/Services/battery/backg2.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    min-height: 35vh;
    /* padding: 40px 20px; */
    margin-bottom: -100ppx;
}

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

.battery-communicate p {
    font-size: 2rem;
}
/* Default styles (as provided) */
.battery-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%); */
}

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

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

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

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

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

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

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

.battery-slideshow img.active {
    display: block;
}

/* Slideshow navigation buttons */
.battery-slideshow .prev, .battery-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

    .battery-slideshow .prev, .battery-slideshow .next {
        font-size: 18px;
        padding: 10px;
    }
}
/*  */
.battery-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; 
}

.battery-section-title {

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

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

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

.battery-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 */
.battery-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 */
.battery-system-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.battery-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));
}

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

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

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

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

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

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .battery-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);
    }
}