* {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    display: block;
    min-height: 100vh;
    max-width: 100%;
}


/************* 

Styling of Header Section

**************/
header {
    position: sticky;
    height: 100px;
    top: 0;
    width: 100%;
    background-color: #4CAF50;
    z-index: 1;
}

.nav-bar {
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    align-items: center;
}


.logo {
    position: relative;
    background-color: white;
    border-radius: 10px;
    font-size: 75px;
    color: green;
}

.options {
    font-size: 20px;
    color: #ffffff;
    width: 70%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: space-evenly;
    cursor: pointer;
}

.head-elements {
    color: #ffffff;
    font-size: 18px;
    font-weight: 200;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: font-weight 0.3s ease, color 0.3s ease;
}

.head-elements a {
    color: #ffffff;
    font-size: 18px;
    font-weight: 200;
    cursor: pointer;
    transition: font-weight 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.head-elements:hover,
.head-elements a:hover {
    font-weight: 700;
    color: black;
}



.battery-type {
    position: relative;
    display: inline-block;
}

.dropdown {
    display: none;
}

.dropdown ul {
    color: white;
    padding: 3px;
    font-weight: 200;
    margin: 0px;
}

.dropdown ul li {
    display: block;
    margin: 10px;
    transition: font-weight 0.3s ease, color 0.3s ease;
}

li:hover {
    color: black;

}

.dropdown a {
    color: white;
    /* Set your preferred color */
    text-decoration: none;
    /* Remove underline */
}


.battery-type:hover .dropdown {
    display: block;
    font-size: 20px;
    padding-left: 5px;
    margin-left: -15px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-top: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    text-align: left;
    text-wrap: nowrap;
    font-weight: 200;
    background-color: #4CAF50;
    position: absolute;
    list-style-type: none;
}

.search {
    position: relative;
    display: flex;
    color: black;
    border-radius: 10px;
    background-color: white;
    width: 250px;
    height: 36px;
    align-items: center;
    text-align: center;
}

.searchLogo {
    margin-left: 6px;

}

.searchInput {
    border: None;
    outline: none;
    text-align: center;
    align-content: center;
    display: inline-block;
}

input:focus::placeholder {
    color: transparent;
}


/**********************
****Styling of Main********
************************/


main {
    display: flex;
    flex: 1;
}

.left {
    font-size: 20px;
    color: black;
    font-weight: 300;
    text-decoration: none;
}

#mainContent ul {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
    align-items: center;
    list-style: none;
    color: black;
}

.content {
    color: black;
    min-height: 52.5vh;
    margin-right: 5%;
    border-right: 2px solid gray;
    flex: 1;
}

.content h2 {
    align-items: center;
    position: sticky;
    top: 35vh;
    margin-bottom: 20px;
}

.content ul {
    position: sticky;
    top: 45vh;
}

aside {
    color: black;
    padding: 20px;
    flex: 3;
}


.story-content {
    display: none;
    /* Initially hide story content */
}

.story-content:target {
    display: block;
    /* Show story content when targeted */
}



/* Process Section Styling */
.process-step {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 5px;
    margin-bottom: 20px;
    border-left: 5px solid #4CAF50;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
    /* Alternate the direction */
    border-left: none;
    border-right: 5px solid #4CAF50;
}

/* Step Image Styling */
.step-image {
    width: 40%;
    border-radius: 8px;
    margin: 0 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Content Styling */
.step-content {
    width: 60%;
}

.step-number {
    font-size: 24px;
    font-weight: bold;
    color: green;
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.step-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

/**************
***************
styling of footer
***************
**************/


footer {
    width: 100%;
    position: relative;
    bottom: 0px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #4CAF50;
    color: white;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 10px;
    font-size: medium;
}


.footer-section h4 {
    font-weight: 200;
    margin-bottom: 10px;
    font-size: 20px;
    color: white;
}

.footer-section h4:hover {
    font-weight: 700;
    color: black;
    transition: font-weight 0.3s ease-in, color 0.3s ease-in;
}

.links a {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    font-size: 14px;
    text-decoration: none;
    color: white;
}

.social-icon {
    margin-left: 8px;
    color: blue;
    font-size: 30px;
}

.contact-us a {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    color: white;
    text-decoration: none;
    font-size: 16px;
}



.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {

    /* Hide the regular options and show the menu icon */
    .options {
        display: none;
    }

    .menu-icon {
        right: 20px;
        position: absolute;
        display: block;
        font-size: 35px;
        cursor: pointer;
    }

    /* When menu is clicked (JS adds the .active class), show it */
    .options.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100px;
        width: 100%;
        background-color: #4CAF50;
        z-index: 1;
    }

    .battery-type:hover .dropdown {
        margin-left: -30px;
    }

    .logo {
        font-size: 2.5rem;
        position: absolute;
        left: 20px;
    }

    .head-elements {
        font-size: 18px;
        padding: 10px 0;
    }


    .back-img {
        height: 400px;
        z-index: 0;
    }

    .back-img h1,
    .back-img p {
        font-size: 20px;
    }

    .back-img p {
        color: White;
        justify-content: end;
        font-size: 12px;
        z-index: 0;
    }

    /* Hide search bar on small screens */
    .search {
        display: none;
    }



    main {
        flex-direction: column;
        padding: 10px;
    }

    .content {
        margin: 10px 0;
        border-right: none;
        text-align: center;
    }

    #mainContent ul {
        align-items: center;
    }

    .process-step {
        flex-direction: column; /* Stack image and content vertically */
        padding: 10px;
    }

    .step-image {
        width: 100%; /* Full width for smaller screens */
        margin: 0 0 15px 0;
    }

    .step-content {
        width: 100%; /* Full width for smaller screens */
    }

    .step-number {
        font-size: 20px;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .step-description {
        font-size: 0.95rem;
    }

    aside {
        margin-top: 20px;
        text-align: center;
    }


    footer {
        position: absolute;
        padding-top: 5px;
        padding-bottom: 10px;
        font-size: 12px;
        /* Reduce overall text size */
    }

    .footer-content {
        flex-direction: column;
        padding-bottom: 5px;
    }

    .footer-section {
        margin-bottom: 5px;
        text-align: center;
        /* Center the content for better mobile appearance */
        min-width: 100%;
        /* Ensure sections stack vertically */
    }

    .footer-section h4 {
        font-size: 16px;
        /* Smaller header size */
        margin-top: 9px;
        margin-bottom: 5px;
    }

    .links a {
        font-size: 12px;
        /* Reduce link font size */
        margin-bottom: 5px;
    }

    .social-icon {
        font-size: 20px;
        /* Smaller social media icons */
    }

    .footer-bottom {
        font-size: 12px;
        margin-top: 10px;
    }
}

@media (min-width: 769px) {
    .menu-icon {
        display: none;
        /* Hide hamburger menu on larger screens */
    }

    .search {
        display: flex;
    }
    main {
        padding: 20px 50px;
    }

    .content {
        justify-content: center;
        font-size: 1.1rem;
        margin-right: 30;
    
    }

    .process-step {
        padding: 20px;
        margin-bottom: 30px;
    }

    .step-image {
        width: 35%;
    }

    .step-content {
        width: 65%;
    }

    .step-number {
        font-size: 28px;
    }

    .step-title {
        font-size: 1.4rem;
    }

    .step-description {
        font-size: 1.1rem;
    }



    .logo {
      font-size: 3rem;
    }
}