/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

h1, h2, h3 {
    color: #2c3e50;
}

p {
    margin-bottom: 1rem;
}

/* Container for the homepage section */
#home {
    text-align: center;
    padding: 2rem 0;
    background-color: #ffffff;
    margin-bottom: 2rem;
}

#home h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #16a085;
}

#home p {
    font-size: 1.25rem;
    color: #7f8c8d;
}

.header-photo {
    background-image: url("img/ADSRFsa.jpg");
    background-size: contain; /* Keeps the entire image visible */
    background-position: center; /* Centers the image */
    height: 400px; /* Adjust height to your preference */
    width: 100%; /* Ensure the container takes the full width */
    max-width: 500px; /* Set a maximum width to avoid it getting too wide */
    margin: 0 auto; /* Center the container horizontally */
    display: block;
}

.Executive {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.other-facts-content {
    display: flex; /* Use flexbox to align content side by side */
    align-items: center; /* Vertically center the content */
    justify-content: flex-start; /* Align content to the left */
}

.text-content {
    flex: 1; /* Take up remaining space */
    padding-right: 20px; /* Optional: Adds space between text and image */
}

.flyfish {
    max-width: 20%; /* Limit the image width to 50% of its container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Adds rounded corners for a more elegant look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a soft shadow for depth */
    transition: transform 0.3s ease-in-out; /* Adds smooth scaling effect */
}

#navbar {
    background-color: #16a085;
    padding: 1rem 0;
    text-align: center;
}
.flyfish:hover {
    transform: scale(1.05); /* Slightly zoom in on hover */
}
#navbar a {
    color: #fff;
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 500;
}

#navbar a:hover {
    color: #ecf0f1;
}

/* Sections */
section {
    padding: 2rem 5%;
    background-color: #ffffff;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

h2, h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

ul {
    list-style-type: none;
    padding-left: 1.5rem;
}

ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #7f8c8d;
}

ul li small {
    font-size: 0.9rem;
}

ul li a {
    color: #16a085;
    text-decoration: none;
}

ul li a:hover {
    text-decoration: underline;
}

/* About Me Section */
#about {
    background-color: #ecf0f1;
}

#about p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

/* Languages Section */
#languages {
    background-color: #ffffff;
}

#languages p {
    font-size: 1.2rem;
    color: #16a085;
}

/* Work and Other Sections */
.Work, .Other {
    background-color: #fafafa;
}

.subtext {
    margin-left: 1.5rem;
}

.subtext li {
    font-size: 1rem;
    color: #7f8c8d;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }

    #home h1 {
        font-size: 2rem;
    }

    #home img {
        width: 100%;
        margin: 0.5rem 0;
    }

    section {
        padding: 1.5rem 3%;
    }
}
