body {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    /* background: #e31515; */
    padding: 1rem;
    border-radius: 10px;
    color: #fff;
}

.carousel-caption {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1));
    padding: 1rem 2rem;
    border-radius: 10px;
}

.dropdown-hover:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Submenu styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    right: 100%; /* Ensures submenu opens to the right */
    margin-top: -1px;
    position: absolute;
    display: none;
    min-width: 200px;
    z-index: 1000;
}

/* Show submenu on hover */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.carousel-caption h1,
.carousel-caption p {
    color: #fff;
}

h1,
p,
h2,
h3,
h5 h4 {
    font-family: 'Poppins', sans-serif;
}

footer i {
    color: #fff;
}

footer a {
    text-decoration: none;
}

.background-image {
    background: url(../img/milenniun-ho.webp) no-repeat center center / cover;
    height: 50vh;
    padding: 100px 0 50px;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.5);
}


/* Hero Section */
.hero {
        background: url(../img/milenniun-ho.webp) no-repeat center center / cover;
    height: 50vh;
    /* padding: 100px 0 50px; */
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.5);
}

.boxo {
    box-shadow: 5px 11px 40px 0px #adadad40;
    padding: 1rem;
    border-radius: 20px;
    margin: 20px 20px 20px 0px;
    width: 380px;
}

.boxo p {
    line-height: 2em;
}

.product-box {
    width: 100%;
    height: 70vh;
    border-radius: 10px;
    box-shadow: 12px 15px 30px 0 #00000061;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    justify-content: flex-start;
    margin: 50px auto 0;
}
.product-box-a {
    width: 100%;
    height: 70vh;
    border-radius: 10px;
    /* box-shadow: 12px 15px 30px 0 #00000061; */
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    justify-content: flex-start;
    margin: 50px auto 0;
}

.Bhaskar {
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.066), rgba(0, 0, 0, 0)),
        url(/img/3-inverter.png) no-repeat center bottom/cover;
        /* linear-gradient(to right, rgba(0, 0, 0, 0.318), rgba(0, 0, 0, 0)),
        url(/img/iPad\ mini\ 8.3\ -\ 1.png) no-repeat center bottom/cover; */
}

.prime {
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.329), rgba(222, 222, 222, 0)),
        url(/img/test-1.png) no-repeat center bottom/cover;
        /* url(/img/Group\ 4\ \(3\).png) no-repeat center bottom/cover; */
}

.panels {
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(222, 222, 222, 0)),
        url(/img/solar-pannels.jpg) no-repeat center bottom/cover;
}
.gti-red {
    background:
        /* linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(222, 222, 222, 0)), */
        url(/img/gti-red.png) no-repeat center bottom/contain;
}

.battery {
    background:
        /* linear-gradient(to right, rgba(0, 0, 0, 0.674), rgba(222, 222, 222, 0)), */
        url(/img/bater-home2.png) no-repeat center center /cover;
}

.sinewave {
    background:
        /* linear-gradient(to right, rgba(0, 0, 0, 0), rgba(228, 228, 228, 0)), */
        url(/img/elegant-sinewave.png) no-repeat center bottom/cover;
}

.solar {
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.073), rgb(253 253 253 / 0%)),
         url(/img/test-2.png) no-repeat center bottom / cover
}

.comander {
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)),
        url(/img/external-battery-bg-1.jpg) no-repeat center center/cover;
}
.mil-hybrids {
    background:
        /* linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)), */
        url(/img/hybrid-new.png) no-repeat center center/contain;
        /* url(/img/mil-hybrid.png) no-repeat center center/cover; */
}

/* Show dropdown on hover */
.hover-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    /* optional - adjusts alignment */
}

/* Optional: Prevent flicker when moving cursor between dropdown and submenu */
.dropdown-menu {
    transition: all 0.2s ease-in-out;
}


@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        margin: 0 !important;
    }
.dropdown-submenu > .dropdown-menu {
    top: 0;
    right: 0%; /* Ensures submenu opens to the right */}
    .navbar-toggler-icon {
        background-color: black;
    }

    .d-flex {
        flex-direction: column-reverse;
    }
    p{font-size: 12px;}

    .hero {
        height: 30vh;
        padding: 60px 0;
    }

    .d-flex img {
        width: 100%;
    }

    .banner , .solution-box {
    width: 90%;
    margin: 1rem auto!important;
  }

    .product-box {
        height: 30vh;
        align-items: start;
    }

    .Bhaskar {
        background:
            url(/img/iPad\ mini\ 8.3\ -\ 1.png) no-repeat center bottom/cover;
            /* linear-gradient(to right, rgba(0, 0, 0, 0.318), rgba(0, 0, 0, 0)),
            url(/img/iPad\ mini\ 8.3\ -\ 1.png) no-repeat center bottom/cover; */
    }

    .prime {
        background:
            linear-gradient(to right, rgba(0, 0, 0, 0.329), rgba(222, 222, 222, 0)),
            url(/img/test-1.png) no-repeat center right /cover;
    }

    .panels {
        background:
            linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(222, 222, 222, 0)),
            url(/img/solar-pannels.jpg) no-repeat center bottom/cover;
    }

    .battery {
        background:
            linear-gradient(to right, rgba(0, 0, 0, 0), rgba(222, 222, 222, 0)),
            url(/img/battery-2.png) no-repeat center bottom/cover;
    }

    .sinewave {
        background:
            linear-gradient(to right, rgba(0, 0, 0, 0), rgba(228, 228, 228, 0)),
            url(/img/elegant-sinewave.png) no-repeat center right/cover;
    }

    .solar {
        background:
            linear-gradient(to right, rgba(0, 0, 0, 0.551), rgb(253 253 253 / 0%)), url(/img/battery-less.png) no-repeat center bottom / cover
    }

    .comander {
        background:
            linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)),
            url(/img/external-battery-bg-1.jpg) no-repeat center right/cover;
    }

    p{
        font-size: 12px;
    }

    .goal {
        padding: 30px !important;
    }
    h1{font-size: 16px; margin: 0;}
    h5{font-size: 13px;}

    .time {
        margin: 30px !important;
    }

    .our {
        padding: 2rem !important;
    }

    .our .d-flex {
        flex-direction: column !important;
    }

    .product-box .d-flex {
        display: none !important;
    }
    .product-box-a{
        height: 30vh;
        margin: 0;
    }

    .row {
        text-align: center !important;
    }

    .footer-last {
        text-align: center !important;
    }

    footer .text-start {
        text-align: center !important;
    }
}