:root {
    --primary-blue: #0B457F;
    --primary-blue-light: #CDE6FF;
    --bg-grey: #F8F8F8;
    --text-color: #222222;
}

body {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    /*color: var(--text-color);*/
    color: black;
}
.btn-dark-blue{
    background: #0B457F;
    border-radius: 50px;
    color: white;
    font-size: 1.125rem;
    padding: 14px 24px;
    &:hover{
        background: #002D5B;
    }
}
.section-padder {
    padding: 5rem 0;
}

.zoom-on-hover {
    overflow: hidden;
}

.zoom-on-hover img {
    transition: transform 0.5s ease;
}

.zoom-on-hover:hover img {
    transform: scale(1.1);
}

.header-blue {
    color: var(--primary-blue);
    line-height: 130%;
    font-weight: bold;
    font-size: 2.25rem;
    max-width: 450px;
}


.hero-section {
    position: relative;
    height: 800px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    h1{
        line-height: 130%;
    }
}

.hero-section picture img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 730px;
    p{
        font-size: 1.75rem;
    }
}


.battery-feature {
    h2 {
        font-size: 2.25rem;

    }

    p {
        line-height: 190%;
    }
}

.battery-test {
    h2 {
        line-height: 130%;
    }
}

.battery-table {
    background: var(--bg-grey);
}


.test-table-wrapper {
    background: var(--primary-blue-light);
    border-radius: 36px;
    padding: 30px 40px;
}

.test-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    color: #1A1A1A;
}

.test-table td {
    padding: 20px 24px;
    vertical-align: middle;
    font-size: 20px;
}

.test-table tr:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.test-table td:nth-child(2),
.test-table td:nth-child(3) {
    border-left: 1px solid rgba(0, 0, 0, 0.15);
}

.test-table td:first-child {
    font-weight: 600;
    width: 28%;
}

.test-table td:nth-child(2) {
    width: 26%;
}

.blue-circle {
    background: #0B457F;
    border-radius: 50%;
    width: 74px;
    height: 74px;
}

li .blue-circle img {
    transition: transform 0.5s ease;
}

li:hover .blue-circle img {
    transform: rotate(45deg);
}


.battery-charge-lists {
    max-width: 280px;

    h4 {
        font-size: 1.125rem;
        text-transform: capitalize;
    }

    p {
        color: rgba(34, 34, 34, 0.75);
    }
}

.battery-charge {
    ul {
        li:nth-child(1) {
            margin-left: -100px;
        }

        li:nth-child(2) {
            margin-left: 0;
        }

        li:nth-child(3) {
            margin-left: 50px;
        }

        li:nth-child(4) {
            margin-left: -100px;
        }
    }
}

.battery-charge-header {
    p {
        font-size: 1.25rem;
        padding-right: 2rem;
    }
}

.battery-charge-img {
    margin-top: 80px;
}

.quick-charge-content {
    font-size: 1.25rem;

    h2 {
        max-width: 500px;
    }

    h6 {
        color: var(--primary-blue);
    }

    ul {
        padding-left: 0;

        li {
            list-style-type: none;
            line-height: 180%;
        }
    }

    p {
        padding-right: 3rem;
    }
}

.image-divider-wrapper {
    position: relative;

    img {
        height: 550px;
        object-fit: cover;
        overflow: hidden;
    }
}

.image-divider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 69, 127, 0.4);
}

.battery-ecosystem {
    padding-bottom: 5em;

    h2 {
        max-width: 500px;
    }

    img {
        height: 540px;
        object-fit: cover;
    }
}

.battery-test-header {
    h2 {
        max-width: 500px;
        color: black;
    }
}

.battery-test-content-list {
    margin-top: 3em;
    padding-left: 0;

    li {
        border-bottom: 1px solid rgba(11, 69, 127, 0.24);
        padding-bottom: 2.5em;

        img {
            height: 72px;
            width: 72px;
        }
    }

    h4 {
        color: var(--primary-blue);
        font-size: 2.25rem;
        font-weight: bold;
    }
}
.table-header{
    background: #0b457f;
    color: white;
    td:nth-child(1){
        border-radius: 36px 0 0 36px;
    }
    td:nth-last-child(1){
        border-radius: 0 36px 36px 0;
    }
}

/* ---------------------- MOBILE RESPONSIVE ---------------------- */
@media (max-width: 1440px) {
    .battery-test-image img {
        width: 100%;
    }
}

@media (max-width: 1199px) {
    .battery-charge-img {
        margin-top: 0;

        img {
            width: 100% !important;
            margin: 0 auto;
            justify-content: center;
            display: flex;
        }
    }

    .battery-charge {
        ul {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;

            li {
                margin: 0 !important;
            }
        }
    }

    .battery-test {
        .row {
            flex-direction: column-reverse;
        }
    }
}

@media (max-width: 991px) {
    .table-header{
        display: none !important;
    }
    .battery-feature {
        .row {
            row-gap: 1.5rem;
        }
    }

    .battery-ecosystem {
        .row {
            row-gap: 1.5rem;
        }
    }


    .test-table {
        border: 0;
    }

    .test-table tr {
        display: block;
        margin-bottom: 18px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 12px 0;
    }

    .test-table td {
        display: block;
        text-align: left;
        padding: 12px 20px;
        border: none !important;
    }

    /* Remove the desktop borders */
    .test-table td:nth-child(2),
    .test-table td:nth-child(3) {
        border-left: none !important;
    }

    /* Add label before each cell */
    .test-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #222;
        display: block;
        margin-bottom: 4px;
        font-size: 16px;
        opacity: 0.7;
    }

    /* Remove fixed widths for mobile */
    .test-table td:first-child,
    .test-table td:nth-child(2),
    .test-table td:nth-child(3) {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .battery-charge {
        ul {
            grid-template-columns: 1fr;
            padding-left: 0;
        }
    }

    .header-blue {
        font-size: 1.75rem;
    }

    .battery-feature {
        h2 {
            font-size: 1.75rem;
        }
    }

    .battery-test-content-list h4 {
        font-size: 1.5rem;
    }
    .battery-test-content-list {
        & li {
            img {
                height: 64px;
                width: 64px;
            }
        }
    }
    .test-table-wrapper{
        padding: 24px;
    }
    .battery-charge-header {
        p{
            font-size: 1.125rem;
        }
    }
    .test-table td,
    .quick-charge-content,
    .battery-ecosystem p{
        font-size: 1.125rem;
    }
    .battery-ecosystem {
        img{
            height: 460px;
        }
    }
    .image-divider-wrapper {
        img{
            height: 300px;
        }
    }

    }