/* General body styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items:center;
    padding: 20px;
    background-color: #0D47A1;
    color: #fff;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    vertical-align: top;
}

header .logo img {
    width: 150px;
    vertical-align:top;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

#banner_image {
    width: 50%;
}

#features {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
    padding: 20px;
}

.features-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px; /* Optional: to restrict the max width */
    width: 100%; /* Ensure it takes up the full width of the screen */
    padding: 0 0px; /* Add padding for both sides */
}

.features-text {
    flex: 1;
    padding-left: 20px;
}

.features-image {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Ensure the image stays aligned to the right */
}

.features-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    width: 50%; /* for desktop */
}

/* Responsive styles */
@media (max-width: 768px) {
   .features-content {
        flex-direction: column; /* Stack the content vertically on mobile */
        align-items: center; /* Center-align the content on mobile */
        margin: 0 0 0px 0; /* Add space between image and text */
    }

    .features-text, .features-image {
        padding: 0px 0px; /* Add space between text and image on mobile */
        /*text-align: center;*/ /* Center the text on mobile */
    }

    .features-image img {
        width: 80%; /* Adjust the image size for mobile */
        margin: 0 auto 20px auto; /* Add space between image and text */
    } 
}

#benefits {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    flex-wrap: wrap;
}

#benefits img {
    max-width: 50%; /* Adjust the width for desktop */
    height: auto;
    margin-right: 20px;
}

.benefits-content {
    max-width: 40%;
    text-align: left;
}

.benefits-content h2 {
     text-align: center;
}

.benefits-content ul {
    list-style-type: none;
    padding-left: 0;
}

.benefits-content ul li {
    margin: 20px 0;
    font-size: 18px;
}

.benefits-content ul li strong {
    color: #0D47A1;
}
@media screen and (max-width: 768px) {
    #benefits {
       /* flex-direction: column;*/
        text-align: center;
        padding: 50px 0;
    }

    #benefits img {
        max-width: 100%; /* Full width on mobile */
        height: auto;
        margin: 0 0 20px 0;
    }

    .benefits-content {
        max-width: 80%;
        margin: 0 auto;
        text-align: left;
    }
}


.how-it-works {
    text-align: center;
    padding: 50px 0;
}

#how-it-works-image {
    max-width: 50%;
    height: auto;
    margin-bottom: 20px;
}

.how-it-works-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.how-it-works-content ul {
    list-style-type: none;
    padding-left: 0;
}

.how-it-works-content ul li {
    margin: 20px 0;
    font-size: 18px;
}

.how-it-works-content ul li strong {
    color: #0D47A1;
}

@media screen and (max-width: 768px) {

    .how-it-works-content {
        width:80%;
        text-align: center;
    }

    .how-it-works-content ul li {
        font-size: 16px;
        text-align: left;
    }

    #how-it-works-image {
        max-width:100%;
        margin-bottom: 10px;
    }
}


/* Bottom bar styling */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0D47A1;
    padding: 10px;
    text-align: center;
    z-index: 999; /* Ensure it stays above other elements */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Add slight shadow for effect */
}

.bottom-bar .btn-get-started-bottom {
    background-color: #FF5722;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
}

/* Adjust button size and padding for mobile */
@media screen and (max-width: 768px) {
    .bottom-bar .btn-get-started-bottom {
        padding: 10px 20px;
        font-size: 16px;
    }
}


/* Testimonials section styling */
section.testimonials {
    text-align: center;
    padding: 50px 20px;
    background-color: #f3f3f3;
}

section.testimonials h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

section.testimonials blockquote {
    font-style: italic;
    font-size: 18px;
    margin: 20px auto;
    max-width: 600px;
}

section.testimonials img {
    width: 50%;
    max-width: 1200px; /* Keeps the image from getting too wide */
    margin: 20px auto;
    display: block;
    border-radius: 10px; /* Adds a soft edge to the image */
}

@media screen and (max-width: 768px) {
    section.testimonials img {
        width: 100%; /* Adjusts image size on mobile */
        margin: 0px auto;
        display: block;
        border-radius: 10px; /* Adds a soft edge to the image */
    }

    section.testimonials h2 {
        font-size: 24px;
    }

    section.testimonials blockquote {
        font-size: 16px;
    }
}

/* For mobile devices: smaller screen navigation */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .navbar ul li {
        margin-bottom: 10px;
    }

    header .logo img {
        width: 120px;
        vertical-align:top;
    }
    
    #banner_image {
        all: initial;
        width: 100%;
        margin: 0 0 20px 0;
    }
}

/* Hero section */
.hero {
    text-align: center;
    padding: 50px 20px;
    background-color: #E3F2FD;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-get-started {
    background-color: #FF5722;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
}

/* Responsive hero text and button */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn-get-started {
        padding: 10px 20px;
        font-size: 16px;
    }
}

/* Section styles */
section {
    padding: 50px 20px;
}

section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 20px;
    background-color: #0D47A1;
    color: #fff;
}

/* Adjust font sizes for mobile */
@media (max-width: 768px) {
    section h2 {
        font-size: 22px;
    }

    section p, section ul {
        font-size: 16px;
    }
}
