/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Banner Styles */
.banner {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #f4f4f4;
}

.navbar {
    width: 85%;
    margin: auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    transition: color 0.3s;
}

.navbar ul li a:hover {
    color: #c8f023;
}

.logo {
    width: 120px;
}

/* Banner Content */
.banner-container {
    width: 85%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.banner-content {
    max-width: 50%;
}

.banner-content h1 {
    font-size: 3.5rem;
    color: #333;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.banner-content button {
    padding: 15px 30px;
    background-color: #c8f023;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.banner-content button:hover {
    background-color: #9bbd1b;
}

.banner-image {
    max-width: 40%;
    text-align: center;
}

.banner-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


.navbar {
    width: 85%;
    margin: auto;
    padding: 35px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 120px;
    cursor: pointer;
}

.navbar ul li {
    list-style: none;
    display: inline-block;
    margin: 0 20px;
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    color: black;
    text-transform: uppercase;
}

.navbar ul li::after {
    content: '';
    height: 3px;
    width: 0%;
    background: #c8f023;
    position: absolute;
    left: 0;
    bottom: -10px;
    transition: 0.5s;
}

.navbar ul li:hover::after {
    width: 100%;
}

.content {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
}

.content h1 {
    font-size: 70px;
    margin-top: 80px;
}

.content p {
    margin: 20px auto;
    font-weight: 100;
    line-height: 25px;
}

button {
    width: 200px;
    padding: 15px 0;
    text-align: center;
    margin: 20px 10px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #c8f023;
    background: transparent;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

span {
    background: #c8f023;
    height: 100%;
    width: 0%;
    border-radius: 25px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: 0.5s;

}

button:hover span {
    width: 100%;
}

button:hover {
    border: none;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    /* Optional background color */
}

.content2 {
    margin-top: 520px;
    flex-grow: 1;
}

.section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    /* Optional rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Optional box shadow */
    margin: 20px auto 0;
    /* Center horizontally and add margin to the top */
    max-width: 80%;
    /* Optional width to fit in various screens */
    transform: translateY(20px);
    /* Initial position for fade-in effect */
    transition: opacity 1s ease-out, transform 1s ease-out;
    /* Fade-in animation */
    opacity: 0;
    /* Initial opacity for fade-in effect */
    margin-top: 50px;

}

.section img {
    max-width: 200px;
    margin-right: 20px;
}

.section .text {
    max-width: 600px;
}

.reverse {
    flex-direction: row-reverse;
}

/* Fade-in animation using JavaScript */
.fade-in {
    opacity: 1;
    transform: translateY(0);
}


footer {
    background-color: #111;
    margin-top: 50px;
}

.footerContainer {
    width: 100%;
    padding: 70px 30px 20px;
}

.socialIcons {
    display: flex;
    justify-content: center;
}

.socialIcons a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
}

.socialIcons a i {
    font-size: 2em;
    color: black;
    opacity: 0, 9;
}

/* Hover affect on social media icon */
.socialIcons a:hover {
    background-color: #111;
    transition: 0.5s;
}

.socialIcons a:hover i {
    color: white;
    transition: 0.5s;
}

.footerNav {
    margin: 30px 0;
}

.footerNav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.footerNav ul li a {
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;

}

.footerNav ul li a:hover {
    opacity: 1;
}

.footerBottom {
    background-color: #000;
    padding: 20px;
    text-align: center;
}

.footerBottom p {
    color: white;
}

.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}

@media (max-width: 576px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar ul li {
        display: block;
        margin: 5px 0;
    }

    .content h1 {
        font-size: 2rem;
    }

    .content p {
        font-size: 1rem;
        line-height: 1.4;
    }

    button {
        width: 100%;
        font-size: 0.9rem;
    }

    .section {
        flex-direction: column;
        text-align: center;
    }

    .section img {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .section .text {
        width: 90%;
        margin: 0 auto;
    }

    footer .footerNav ul {
        flex-direction: column;
    }

    footer .footerNav ul li {
        margin: 5px 0;
    }

    footer .socialIcons a {
        margin: 5px;
        padding: 5px;
        font-size: 1rem;
    }

    footer .footerBottom p {
        font-size: 0.8rem;
    }
}