/* General Body Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Main Header */
.main-header {
    background: linear-gradient(to right, #007bff, #6610f2);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.main-header h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

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

nav ul li a {
    color: #fff;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #ffdf7e;
}

/* Portfolio Section */
.portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
    font-weight: 600;
    padding-top: 40px;
}

.projectDiv {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    transition: box-shadow 0.3s ease-in-out;
    margin-bottom: 30px;
}

.projectDiv:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.projectDiv img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.projectDiv h5 {
    font-size: 1.25rem;
    color: #007bff;
    margin-top: 10px;
}

.projectDiv h5:hover {
    color: #6610f2;
}

/* Button Links */
.projectDiv a {
    text-decoration: none;
}

.projectDiv a:hover h5 {
    color: #ffdf7e;
    transition: color 0.3s ease;
}

/* Contact Section */
#contact {
    background: #007bff;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

#contact h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.contact-icons i {
    margin: 20px;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-icons i:hover {
    color: #ffdf7e;
    transform: scale(1.2);
}

.contact-icons a {
    text-decoration: none;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffdf7e;
}

/* Media Queries */
@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }

    .projectDiv img {
        max-width: 180px;
    }
}
