body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.container {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 10px;
}

header h1 {
    font-size: 24px;
    margin: 0;
}

header p {
    color: #666;
    margin: 5px 0 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero {
    display: flex;
    align-items: center;
    padding: 50px 0;
    background-color: #fff;
    width: 80%;
    justify-content: center;
    flex-wrap: wrap; /* allow wrapping for phone */
    gap: 20px; /* space between text and image */
}

.hero img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.hero-text {
    max-width: 600px;
    padding-left: 20px;
    text-align: left;
}

.hero-text h2 {
    margin: 0;
    font-size: 36px;
}

.hero-text h3 {
    margin: 10px 0;
    font-size: 24px;
    color: #666;
}

.hero-text p {
    margin: 20px 0;
    color: #333;
}

.hero-text button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.about {
    display: flex;
    align-items: center;
    padding: 50px 0;
    background-color: #f4f4f4;
    width: 80%;
    justify-content: center;
    flex-wrap: wrap; /* allow wrapping for phone */
    gap: 20px; /* space between text and image */
}

.about-text {
    width: 600px;
    max-width: 100%; /* allow it to shrink on small screen */
    padding-right: 20px;
}

.about-text h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.about-text p {
    color: #666;
    margin: 10px 0;
}

.about-text button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-right: 10px;
}

.about img {
    width: 300px;
    max-width: 100%; /* allow it to shrink on small screen */
    height: auto;
    border-radius: 10px;
    margin-left: 20px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    width: 80%;
}

/* Make all images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile Responsive Tweaks */
@media (max-width: 768px) {
    .hero, .about {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-text, .about-text {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .about img {
        margin-left: 0;
    }

    header h1 {
        font-size: 20px;
    }

    header p {
        font-size: 14px;
    }

    .hero-text h2 {
        font-size: 28px;
    }

    .hero-text h3 {
        font-size: 20px;
    }

    .about-text h2 {
        font-size: 24px;
    }

    .about-text p {
        font-size: 14px;
    }
}

