/*=========IMPORTING FONTS========== */

@font-face {
    font-family: gentona-bold;
    src: url("/assets/fonts/Gentona\ Bold.otf");
}

@font-face {
    font-family: gentona-medium;
    src: url("/assets/fonts/Gentona\ Medium.otf");
}

@font-face {
    font-family: gentona-book;
    src: url("/assets/fonts/Gentona\ Book.otf");
}

@font-face {
    font-family: avenir-bold;
    src: url("/assets/fonts/AvenirNextLTPro-Bold.otf");
}

@font-face {
    font-family: avenir-italic;
    src: url("/assets/fonts/AvenirNextLTPro-It.otf");
}

@font-face {
    font-family: avenir-regular;
    src: url("/assets/fonts/AvenirNextLTPro-Regular.otf");
}


/*============GENERAL============= */

h1,
h2,
h3,
p {
    margin: 0;
    /**/
}

ul {
    margin: 0;
    list-style: none;
}

a {
    /**/
    text-decoration: none;
}


/*============BASE============= */

html {
    font-size: 14.5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/*=======NAVBAR STYLING STARTS======== */

.navbar {
    width: 100%;
    padding: 0.5rem 3rem;
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar .navbar-brand {
    display: flex;
    align-items: center;
}

.navbar .navbar-brand img {
    width: 140px;
}

.navbar .navbar-nav .nav-item {
    margin-right: 1rem;
}

.navbar .navbar-nav .nav-item:last-child {
    margin-right: 0;
}

.navbar .navbar-nav .nav-item .nav-link {
    font: 1.2rem gentona-bold;
    position: relative;
}

.navbar .navbar-nav .nav-link::after {
    content: "";
    width: 0;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: 0.2s ease;
    background: #ed2024;
}

.navbar .navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar .nav-contact {
    display: flex;
    align-items: center;
}

.navbar .nav-contact .icon-border {
    display: inline-block;
    width: 3.375rem;
    height: 3.375rem;
    border: 2px solid #fff;
    border-radius: 50%;
    margin-right: 0.625rem;
    cursor: pointer;
    box-sizing: content-box;
    padding: 0.1875rem;
}

.navbar .nav-contact .fas {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #fff;
    background-color: #ed2024;
    border-radius: 50%;
}

.navbar .nav-contact .nav-contact-info a {
    display: block;
    font: 1.125rem gentona-medium;
}

.navbar .navbar-toggler {
    font-size: 2.6rem;
    color: #fff;
    border: none;
    padding: 0;
}

.navbar-nav {
    margin-left: auto;
}

.navbar .navbar-toggler:active,
.navbar .navbar-toggler:focus {
    box-shadow: none;
}


/*=======NAVBAR STYLING ENDS======== */


/*=======HERO SECTION STYLING STARTS======== */

.main-wrapper {
    position: relative;
}

.hero-section {
    position: relative;
}

.hero-section-img {
    height: 45vh;
}


/* .hero-section-img::after {
         content: '';
         width: 100%;
         height: 100%;
         position: absolute;
         top: 0;
         left: 0;
         background-color: rgba(255, 255, 255, .4);
     } */

.hero-section-img img {
    width: 100%;
    height: 100%;
}

.hero-section-title {
    position: absolute;
    left: 5rem;
    bottom: 2rem;
    z-index: 10;
    /* padding: 0 0 2rem 5rem; */
}

.hero-section-title h1 {
    color: #fff;
}

.hero-section-title h1,
.our-solutions-title h2 {
    font: 3.5rem gentona-bold;
    position: relative;
    padding-bottom: 0.375rem;
}

.hero-section-title h1::after,
.our-values-title h2::after,
.our-solutions-title h2::after {
    content: "";
    display: inline-block;
    width: 8rem;
    height: 0.21875rem;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #ed2024;
}


/*=======HERO SECTION STYLING ENDS======== */


/*=======LIFE SECTION STYLING STARTS======== */

.life {
    margin-top: 3.4rem;
}

.nav-pills .nav-link {
    font: 1.625rem gentona-book;
    color: #000 !important;
    line-height: 1.5rem;
    transition: 0.5s ease;
}

.nav-pills .nav-link.active {
    font-family: gentona-bold;
    position: relative;
    background-color: transparent;
}

.nav-pills .nav-link.active::after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 0.1875rem;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ed2024;
}

.our-values {
    margin-top: 5.5rem;
}

.join-us-cards-wrapper .values-card {
    margin-top: 40px;
}

.our-values-title h2 {
    font: 2.125rem gentona-bold;
    position: relative;
    padding-bottom: 0.375rem;
}

.our-values-title h2::after {
    width: 6.8rem;
}

.value-cards-row-2 {
    margin-top: 3.9rem;
}

.values-card {
    position: relative;
}

.values-card-img img {
    width: 100%;
    height: 100%;
}

.value-card-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 0 1.25rem 1.25rem 1.25rem;
}

.value-card-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.value-card-icon img {
    width: 30px;
}

.overlay-content h2 {
    font: 1.4rem gentona-bold;
    margin: 0.5rem 0;
}

.overlay-content p {
    font: 1.1rem gentona-book;
}

.our-solutions-wrapper {
    display: none;
    margin-top: 3.7rem;
    padding: 0 2.5rem;
}

.our-solutions-title h2 {
    font-size: 2rem;
}

.description-wrapper {
    margin-top: 7.5rem;
}

.description h2 {
    font: 6.4rem gentona-bold;
}

.description p {
    font: 1.5875rem gentona-book;
    text-transform: unset;
}

.clip-img-wrapper {
    margin-top: 7.5rem;
}

.clip-img {
    clip-path: polygon(0 0, 58% 0, 100% 100%, 0% 100%);
    overflow: hidden;
    /* height: 250px; */
}

.clip-img img {
    clip-path: polygon(0 0, 81% 0, 100% 100%, 0% 100%);
    width: 280px;
}

.clip-img-content-wrapper {
    padding: 0.2rem 1rem 0.6rem 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    height: 210px;
}

.clip-img-content {
    width: 70%;
    padding-right: 1rem;
    margin-left: auto;
    text-align: right;
}

.clip-wrapper {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
}

.clip-wrapper .clip-img {
    position: absolute;
    left: 0;
    box-shadow: 0 0 10px black;
}

.clip-img-content h2:nth-child(1) {
    font: 2rem gentona-bold;
    margin-top: 0;
    color: #ed2024;
    text-transform: capitalize;
}

.clip-img-content h2:nth-child(2) {
    font: 1.7rem gentona-bold;
}

.clip-img-content p {
    font: 1.3rem gentona-book;
    margin-top: 0.625rem;
}


/*=======LIFE SECTION STYLING ENDS======== */


/*=======CAROUSEL STYLING STARTS======== */

.battery-carousel {
    display: none;
    padding: 0 2.5rem;
}

.join-us-carousel {
    display: flex;
    align-items: center;
}

.carousel-wrapper {
    margin-top: 40px;
}

.join-us-carousel .carousel {
    height: 250px;
    display: flex;
    align-items: center;
}

.carousel-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
}

.carousel-prev-btn {
    margin-right: 1rem;
}

.carousel-next-btn {
    margin-left: 1rem;
}

.carousel-prev-btn button,
.carousel-next-btn button {
    padding: 0 6px;
    border: none;
    background: transparent;
}

.carousel-next-btn i,
.carousel-prev-btn i {
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    box-shadow: 0 0 0.3rem rgba(0, 0, 0, 0.4);
    background: #fff;
    border-radius: 50%;
}


/* .carousel-next-btn i {
         margin-right: -30px;
     }
     
     .carousel-prev-btn i {
         margin-left: -30px;
     } */

.news-card {
    border: 1px solid #cbcecf;
}

.news-card .news-card-content {
    padding: 1.25rem 1.25rem 0.8rem 1.25rem;
}

.news-card .news-card-content h2 {
    font: 1.6rem gentona-medium;
    color: #cbcdcf;
    /**/
}

.news-card .news-card-content h2:nth-child(2) {
    margin: 0.5rem 0;
    color: #000;
}

.news-card .news-card-content p {
    font: 1.3rem gentona-book;
    /**/
}

.news-card .news-card-content .arrow {
    text-align: right;
}

.news-card .news-card-content .arrow i {
    font-size: 1.125rem;
    transition: all 0.3s ease;
    color: #cbcdcf;
}

.news-card:hover .arrow i {
    color: #ed2024;
}


/*=======CAROUSEL STYLING ENDS======== */


/*=======VACANCY SECTION STYLING STARTS======== */

.vacancy-section {
    margin-top: 4.5rem;
}

.vancancy-title p {
    font: 1.55rem gentona-book;
}

.apply-btn a {
    display: block;
    width: 6.3rem;
    height: 2.1rem;
    font: 1.3rem gentona-book;
    color: #fff;
    background-color: #ed2024;
    line-height: 1.9rem;
    text-align: center;
    margin-left: auto;
}

.vacancy-row:not(.vacancy-row.first) {
    margin-top: 2.25rem;
}

.vacancy-row {
    width: 70%;
    margin: auto;
    /* border: 1px solid red; */
}


/*=======VACANCY SECTION STYLING ENDS======== */


/*=======FOOTER SECTION STYLING STARTS======== */

footer {
    margin-top: 6.25rem;
    background-image: linear-gradient( to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("/assets/images/footer.webp");
    background-size: cover;
    background-position: center;
    padding: 5rem 2.5rem 5rem 2.5rem;
}

.footer-logo img {
    width: 110px;
}

footer .footer-icons a {
    margin-right: 1.5rem;
    color: #000;
    text-decoration: none;
}

footer .footer-icons a:nth-child(4) {
    margin-right: 0;
}

footer .footer-icons i {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
    line-height: 2.625rem;
    background-color: #fff;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
}

footer .footer-content {
    margin-top: 3.375rem;
}

footer ul {
    margin: 0;
}

footer ul li {
    list-style: none;
    padding: 0;
}

footer ul li a {
    text-decoration: none;
}

footer .footer-contact {
    padding: 0;
}

footer .footer-contact li,
footer .footer-contact li a {
    color: #fff;
    font: 1.2rem gentona-book;
}

footer .footer-contact-info li {
    line-height: 1.25rem;
}

footer .footer-contact li:nth-child(2) {
    margin: 0.8rem 0 0.3rem 0;
}

footer .footer-contact li:nth-child(2) a,
footer .footer-contact li:nth-child(3) a {
    color: #ed2024;
}

footer .footer-links li:nth-child(2),
footer .footer-links li:nth-child(3),
footer .footer-links li:nth-child(4) {
    margin-top: 1.1rem;
}

footer .footer-links li a,
footer .footer-mailbox li:nth-child(1) {
    font: 1.2rem gentona-medium;
    color: #fff;
}

footer .footer-mailbox li:nth-child(2) {
    display: flex;
    margin-top: 0.375rem;
}

footer .footer-mailbox li:nth-child(2) button[type="submit"] {
    border: none;
    border-radius: 0 0.25rem 0.25rem 0;
    overflow: hidden;
}

footer .footer-mailbox li:nth-child(2) input[type="email"] {
    width: 12.4rem;
    border: none;
    outline: none;
    border-radius: 0.25rem 0 0 0.25rem;
    height: 2.8125rem;
    padding: 0 1rem;
}

footer .footer-mailbox li:nth-child(2) i {
    color: #fff;
    width: 3.125rem;
    height: 2.8125rem;
    background-color: #f87375;
    line-height: 2.8125rem;
    text-align: center;
    cursor: pointer;
}


/*=======FOOTER SECTION STYLING ENDS======== */


/*=========MEDIA QUERY FOR TABLET IPADS PROTRAT MODE==========*/

@media (min-width: 577px) and (max-width: 1200px) and (orientation: portrait) {
    .main-wrapper {
        min-height: 100vh;
    }
    .footer-2 {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    html {
        font-size: 13px;
    }
    .navbar .navbar-brand img {
        width: 130px;
    }
    .navbar .navbar-nav .nav-item {
        margin-right: 0.3rem;
    }
    .hero-section-img {
        height: unset;
    }
    .value-cards-row-2 {
        margin-top: 1.5rem;
    }
    .description .first-img {
        width: 36px;
    }
    .description .second-img {
        width: 98px;
    }
    .description .third-img {
        width: 70px;
    }
    .clip-img-wrapper .fluid {
        max-width: 100% !important;
        padding: 0;
    }
    .clip-img img {
        width: 280px;
    }
    .clip-img-content-wrapper {
        padding: 0.2rem 1rem 0.6rem 0;
    }
    .clip-img-content {
        width: 60%;
    }
    .clip-img-content h2:nth-child(1) {
        font-size: 1.7rem;
    }
    .clip-img-content h2:nth-child(2) {
        font-size: 1.6rem;
    }
    .clip-img-content p {
        font: 1.1rem gentona-book;
        margin-top: 0.625rem;
    }
    .footer-icons {
        margin-left: 1.5rem;
    }
    footer .footer-links li a,
    footer .footer-mailbox li:nth-child(1),
    footer .footer-contact li,
    footer .footer-contact li a {
        font-size: 1.3rem;
    }
}


/*=========MEDIA QUERY FOR SMALL DEVICES LANDSCAPE MODE==========*/

@media (min-width: 576px) and (max-width: 767px) {
    html {
        font-size: 9.5px;
    }
    .navbar .navbar-brand img {
        width: 110px;
    }
    .hero-section-img {
        height: unset;
    }
    .value-cards-row-2 {
        margin-top: 1.5rem;
    }
    .value-card-icon img {
        width: 20px;
    }
    .description .first-img {
        width: 36px;
    }
    .description .second-img {
        width: 98px;
    }
    .description .third-img {
        width: 70px;
    }
    .clip-img-wrapper .fluid {
        max-width: 100% !important;
        padding: 0;
    }
    .clip-img img {
        width: 190px;
    }
    .clip-img-content-wrapper {
        height: 150px;
    }
    .clip-wrapper {
        height: 170px;
    }
    .clip-img-content {
        width: 60%;
    }
    .join-us-carousel .carousel {
        height: 170px;
    }
    footer .footer-logo img {
        width: 90px;
    }
    footer .footer-links li a,
    footer .footer-mailbox li:nth-child(1),
    footer .footer-contact li,
    footer .footer-contact li a {
        font-size: 1.1rem;
    }
    footer .footer-links li a,
    footer .footer-mailbox li:nth-child(1),
    footer .footer-contact li,
    footer .footer-contact li a {
        font-size: 1.3rem;
    }
    footer .footer-icons {
        margin-left: 2rem;
    }
}


/*========MEDIA QUERY FOR SMALL DEVICES (MOBILE DEVICES)========== */

@media (max-width: 575px) {
    html {
        font-size: 11px;
    }
    .navbar {
        padding: 0.2rem 1rem;
    }
    .navbar .navbar-brand img {
        width: 100px;
        position: unset;
    }
    .navbar .navbar-nav .nav-item .nav-link,
    .navbar .nav-contact .nav-contact-info a {
        font-family: gentona-medium;
        font-size: 1.5rem;
        display: inline-block;
    }
    .navbar .navbar-nav .nav-item {
        margin-top: 0.6rem;
        margin-right: 0;
    }
    .navbar .nav-contact {
        justify-content: center;
        margin-right: unset;
        margin-top: 10px;
    }
    .hero-section-title {
        left: 3rem;
        bottom: .5rem;
        /* padding: 0 0 1rem 2rem; */
    }
    .hero-section-title h1 {
        font: 2.5rem gentona-bold;
    }
    .hero-section-title h1::after {
        width: 4rem;
    }
    .hero-section-img {
        height: unset;
    }
    .our-values,
    .clip-img-wrapper {
        display: none;
    }
    .our-solutions-wrapper,
    .battery-carousel {
        display: block;
    }
    .value-card-overlay {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2.4rem;
    }
    .value-card-icon img {
        width: 29px;
    }
    .description-wrapper {
        margin-top: 5rem;
    }
    .description .first-img {
        width: 36px;
    }
    .description .second-img {
        width: 98px;
    }
    .description .third-img {
        width: 70px;
    }
    .description.middle {
        margin: 20px 0;
    }
    .value-card-icon {
        width: 4.3rem;
        height: 4.3rem;
    }
    .overlay-content h2 {
        font: 1.6rem gentona-bold;
        margin: 0.5rem 0;
    }
    .overlay-content p {
        font: 1.4rem gentona-book;
    }
    .vacancy-row {
        width: 90%;
        margin: auto;
        /* border: 1px solid red; */
    }
    .clip-img-content {
        width: 100%;
        padding: 1rem;
        margin-left: auto;
        text-align: left;
    }
    .clip-img-content h2:nth-child(2) {
        margin: 6px 0;
    }
    footer {
        padding: 3.5rem 2.8rem 3.5rem 2.8rem;
    }
    .footer-links-wrapper {
        margin: 2.6rem 0 1.4rem 0;
    }
    footer .footer-icons {
        margin-top: 1.5rem;
    }
    footer .footer-icons a {
        margin-right: 1rem;
    }
    footer .footer-content {
        margin-top: 2.375rem;
    }
}

@media(max-width: 575px) and (min-height: 790px) {
    .main-wrapper {
        min-height: 100vh;
    }
    .footer-2 {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
    }
}