/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f7f9fc;
    color: #333;
}

/* Header Styles */
header {
    background-color: #86c5da;
    color: white;
    padding: 20px 0;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

header img {
    max-width: 80px;
    border-radius: 50%;
}

header h1 {
    font-size: 1.8em;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 10px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    padding: 8px 12px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background-color: #5ba9be;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #e1f2f9;
    border-radius: 20px;
    margin: 20px;
}

.hero h1 {
    font-size: 2.5em;
    color: #337ab7;
}

.hero p {
    font-size: 1.2em;
    margin: 15px 0 20px;
}

.hero button {
    background-color: #337ab7;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s;
}

.hero button:hover {
    background-color: #2d6b99;
}

/* Projects Section */
/* Projects Section */
.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 10px;
    /* Reduce top/bottom padding */
    background-color: #f7f9fc;
}

.project-card {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 280px;
    margin: 10px;
    /* Slightly reduce margin around each card */
    padding: 15px;
    /* Reduce padding within each card */
    text-align: center;
    transition: transform 0.3s;
}

.project-card img {
    width: 100%;
    border-radius: 15px;
    margin: 0;
    /* Remove extra spacing around the image */
}

.project-card:hover {
    transform: scale(1.05);
}


.project-card a {
    color: #337ab7;
    font-weight: bold;
    text-decoration: none;
}

/* About and Contact Sections */
.about,
.contact {
    text-align: center;
    padding: 50px 20px;
    background-color: #e1f2f9;
    border-radius: 20px;
    margin: 20px;
}

.about h2,
.contact h2 {
    font-size: 2em;
    color: #337ab7;
}

.about p,
.contact p {
    font-size: 1.1em;
    margin: 10px 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #86c5da;
    color: white;
    font-size: 0.9em;
    border-radius: 20px 20px 0 0;
}