/* Intro Section Styles */
#intro-section {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start; /* Align items to the left */
    justify-content: center;
    padding: 50px 55px;
    background-color: white;
}

.intro-text {
    max-width: 500px;
    width: 60%;
    text-align: left;
}

.intro-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.intro-text p {
    margin-bottom: 20px;
}

.app-store-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.app-button img {
    height: 45px;
}

.intro-img img {
    max-height: 400px; /* Set your desired maximum height */
    width: auto; /* Keeps the aspect ratio by adjusting width accordingly */
    object-fit: contain; /* Keeps the image contained within the specified height */
}

/* Responsive Design */
@media (max-width: 768px) {
    #intro-section {
        padding: 50px 40px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .intro-text h1 {
        font-size: 2rem;
    }

    .intro-text, .intro-img {
        width: 100%; /* Ensure full width for stacking */
        max-width: 100%;
    }

    .intro-img {
        order: 1; /* Set image order to come first */
        margin-bottom: 20px; /* Add space after the image */
    }

    .app-store-buttons {
        order: 2; /* Set the button order to come after image */
        display: flex;
        flex-direction: column;
        align-items: left;
        width: auto; /* Adjust width for centering */
        margin-top: 20px; /* Add space before the button */
    }

    .intro-text {
        order: 3; /* Set text order to come last */
    }

    .intro-img {
        padding-right: 50px;
    }
}
