body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f4f4f4;
    color: #333;
}

header {
    position: relative;
    background: url('images/header-bg.jpg') no-repeat center center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

header h1 {
    position: relative;
    font-size: 2.5em;
    z-index: 2;
    margin-bottom: 10px;
}

header h1, header span {
    display: block;
}

header p {
    position: relative;
    font-size: 1.2em;
    z-index: 2;
    margin-top: 10px;
}

section {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #2c3e50;
}

footer {
    background: #2c3e50;
    color: white;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

ul {
    text-align: left;
    list-style-type: none;
    padding: 0;
}

li {
    margin: 5px 0;
}

.button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.button:hover {
    background-color: #0056b3;
}

.tools-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.tool {
    width: 120px;
    text-align: center;
}

.tool img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.tool p {
    margin-top: 8px;
    font-size: 1em;
    font-weight: bold;
}

#projects {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.project {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

/* Ensure images scale properly */
.project img {
    width: 100%;
    max-width: 300px; /* Prevents the image from getting too large */
    height: auto;
    border-radius: 10px;
}

.project-text {
    flex: 1;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .project {
        flex-direction: column; /* Stack items vertically */
        text-align: center; /* Center text for better mobile readability */
    }

    .project img {
        width: 100%; /* Make images responsive */
        max-width: 100%; /* Prevents image overflow */
    }
}
