body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    background-color: #0e2522;
    text-align: center;
    padding: 15px 0;
    position: fixed; /* Fix the nav at the top */
    width: 100%; /* Ensure it stretches across the viewport */
    top: 0; /* Position it at the top */
    left: 0;
    z-index: 1000;
}

ul {
    list-style-type: none;
}

ul li {
    display: inline-block;
    margin: 0 20px;
    position: relative;
}

ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    padding: 5px 0;
    transition: color 0.3s ease;
}

ul li a:hover {
    color: #00bcd4;
}

ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #00bcd4;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

ul li a:hover::after {
    width: 100%;
}
section { 
    padding: 100px 0;
    text-align: center;
}
h1, h2, h3 {
    color: #f3ba2f;
}

p {
    color: #fff;
    line-height: 1.6;
}

.projects-content {
    background-image: url('https://wallpaperbat.com/img/812216-artistic-blue-web-5k-wallpaper-hd-artist-4k-wallpaper-image-photo-and-background.jpg');
    
    background-size: cover; /* Ensure the image covers the entire section */
    background-position: center;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

button {
    background-color: #f3ba2f;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

button:hover {
    background-color: #393838;
    color: #fff;
}

.btn {
    padding: 8px 20px;
    font-size: 1.0rem;
    color: #fff;
    background-color: #f36d4b;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.7s ease;
}
.btn:hover {
    background-color: #dfa71a;
    color: #393838;
    
}
.projects-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #f3be3a;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    margin-left: 40px;
    margin-right: 40px;
    margin-block: 80px;
    margin-inline: 100px;
    justify-content: space-between;
}


.project-card {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: calc(33.333% - 20px); /* Makes three columns */
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    background-color: #f1f1f1;
}

.project-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.project-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #777;
}
