/* Reset default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General body styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Header area */
header {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 36px;
}

/* Navigation menu */
nav ul {
    list-style: none;
    padding: 15px;
    background-color: #e0e0e0;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin: 0 20px;
}

nav ul li a {
    color: blue;
    font-size: 20px;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('gears.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    text-align: center;
    color: white;
}

.hero-text {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    display: inline-block;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
}

button:hover {
    background-color: #555;
}

/* Portfolio Section */
.portfolio-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
    background-color: #f0f0f0;
}

.portfolio-item img {
    width: 300px; /* Set a fixed width */
    height: 200px; /* Set a fixed height */
    object-fit: cover; /* Ensures the image is cropped proportionally */
    border: 2px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}
