/* style.css */

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

header.hero {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
}

header .profile-pic {
    border-radius: 50%;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 5px solid white;
    margin-bottom: 1rem;
}

header h1 {
    margin: 0.5rem 0;
    font-size: 2rem;
}

header p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn {
    background-color: #e67e22;
    color: white;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #cf711f;
}

nav.navbar {
    background-color: #34495e;
    padding: 1rem 0;
    text-align: center;
}

nav.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav.navbar ul li {
    display: inline;
    margin: 0 1rem;
}

nav.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav.navbar ul li a:hover {
    text-decoration: underline;
}

.section {
    padding: 3rem 1rem;
    max-width: 960px;
    margin: auto;
    background-color: white;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.section h2 {
    font-size: 1.75rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section p {
    line-height: 1.6;
    font-size: 1.1rem;
}

.section-image {
    width: 100%;
    max-width: 720px;
    display: block;
    margin: 1.5rem auto;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #2c3e50;
    color: white;
    margin-top: 2rem;
}

footer a {
    color: #f1c40f;
    text-decoration: none;
}
.project-card {
    background-color: #f4f4f4;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project-image {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.project-card h3 {
    margin: 0.5rem 0;
    color: #34495e;
}