* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

/* Body styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* modern sans-serif font */
    padding: 10px; /* padding around the body */
    background-color: #f9f9f9; /* light grey background */
    color: #0a192f; /* deep navy text */
    line-height: 1.6; /* line height for readability */
    font-size: 1.0rem; /* base font size */
}

/* Link styling */
a {
    text-decoration: none; /* remove underline from links */
    color: blue; /* blue color for links */
}
a:hover {
    color: #6c63ff; /* light purple on hover */
}


/* Navbar styling */
header {
    color: white; /* white text */
    background-color: rgba(10, 25, 47, 0.95); /* slightly transparent dark navy grey */
    padding: 15px 40px;
    position:   fixed; /* fixed position for the navbar */
    width: 100%;
    top: 0;
    z-index: 1000;
    text-align: center;
    justify-content: center;
}


header nav a {
    color: rgb(2, 202, 202); /* teal links */
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500; /* semi-bold links */
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #6c63ff; /* light purple on hover */
}

nav ul {
    list-style: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    float: right;
}

nav h1  {
    color: #6c63ff; /* light purple for the title */
    font-size: 1.5rem;
    margin-bottom: 0;
    display: inline-block;
}

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


/* Hero section styling */
#hero {
    width: 100%;
    display: flexbox;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #0a192f; /* deep navy text */
    background-color: rgb(6, 242, 242); /* teal background */
    margin-top: 12%; /* space for fixed navbar */
    padding:  30px;
}

#hero img {
    width: 150px; /* profile picture size */
    height: 150px; /* profile picture size */
    border-radius: 50%; /* circular profile picture */
    margin-top: 3%;
    margin-bottom: 8%;
    float: left; /* align image to the left */
    margin-right: 20px; /* space between image and text */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* subtle shadow for depth */
}

.group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 5%;
}


/* SECTION styling */
section {
    padding: 50px 20px; /* padding for sections */
    max-width: 800px; /* max width for content */
    margin: auto; /* center the section */
    justify-content: center; /* center content */
    background-color: rgba(255, 255, 255, 0.9); /* slightly transparent white background */
    text-align: justify; /* justify text for better readability */
}

/*Button styling*/
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6c63ff; /* purple button */
    color: white; /* white text */
    text-decoration: none; /* remove underline */
    text-align: center; /* center text */
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #025441; /* dark teal on hover */
}


/* Main content styling */
main {
    padding: 5px; /* padding for main content */
    width: 100%; /* full width for main content */
    margin-left: 0%; /* center the main content */
    margin-right: 0%; /* center the main content */
    text-align: center; /* center text in main */
    text-decoration: none; /* remove underline */
    color: #0a192f; /* deep navy text */
    line-height: 1.6; /* line height for readability */
    font-size: 1.0rem; /* font size for main content */
    font-family: Arial, Helvetica, sans-serif; /* font family for main content */
    background-color: rgb(255, 255, 255); /* white background */
}


/*footer styling */
footer {
    background-color: #0f223f; /* slightly transparent dark navy grey */
    color: white; /* white text */
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
    text-decoration: none; /* remove underline */
}

footer li {
    display: inline-flex;
    padding: 10px;
    margin: 0 10px;
    color: rgb(2, 202, 202); /* teal links */
    text-decoration: none; /* remove underline */
}

footer li:hover {
    color: #6c63ff; /* light purple on hover */
}

footer a {
    color: rgb(2, 202, 202); /* teal links */
    text-decoration: none; /* remove underline */
}

@media (max-width: 600px) {
    header {
        padding: 1rem; /* reduce padding for smaller screens */
        text-align: center; /* center text for smaller screens */
        justify-content: center; /* center content for smaller screens */
        justify-items: center; /* center items in the navbar */
        margin: 0; /* remove margin for smaller screens */
    }
    body {
        padding: 0; /* remove padding for smaller screens */
        display: flex; /* enable flexbox for centering */
        flex-direction: column;
        justify-content: center; /* center content for smaller screens */   
        align-items: center; /* center items for smaller screens */
    }
    nav ul {
        float: none; /* remove float for smaller screens */
        display: flex; /* enable flexbox for nav items */
        padding: 0; /* remove padding for smaller screens */
        margin: 0; /* remove margin for smaller screens */
    }
    nav ul li {
        margin: 5px 0; /* space between items for smaller screens */
        display: flex; /* enable flexbox for nav items */
        text-align: center; /* center text for smaller screens */
        justify-content: center; /* center content for smaller screens */
        justify-items: center; /* center items for smaller screens */
        padding: 0; /* remove padding for smaller screens */
    }
    main {
       padding: 0;
        align-items: center;
        justify-content: center;
    }
    #hero img {
        width: 150px; /* profile picture size */
        height: 150px; /* profile picture size */
        border-radius: 50%; /* circular profile picture */
       margin-top: 10%; /* space above image for smaller screens */
        float: none; /* remove float for smaller screens */
        margin-right: 0; /* remove right margin for smaller screens */
        justify-content: center; /* center content for smaller screens */
        justify-items: center;
    }
    .hero-image {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 25px; /* space for fixed navbar */
        width: 100%;
        padding: 20px; /* reduce padding for smaller screens */
    }
    .button {
        text-align: center; /* center text */
        width: 100%; /* full width buttons for smaller screens */
        margin: 10px 0; /* space between buttons for smaller screens */
    }
    footer {
        padding: 0; /* remove padding for smaller screens */
        text-align: center; /* center text for smaller screens */
        justify-content: center; /* center content for smaller screens */
        justify-items: center; /* center items for smaller screens */
        margin: 0; /* remove margin for smaller screens */
        bottom: 0; /* stick footer to bottom of viewport */

}
}