/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fafafa;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* Navigation */
header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav a {
    margin-left: 20px;
    color: #333;
    font-weight: 500;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(120deg, #e9efff, #ffffff);
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: #555;
}

/* Projects */
.projects {
    padding: 60px 0;
}

.projects h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #222;
}

.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-bottom: 10px;
    color: #0077cc;
}

/* Contact */
.contact {
    background: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.contact h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

.contact p {
    margin-bottom: 20px;
    color: #555;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007bff;
    color: white;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    background-color: #f1f1f1;
    color: #555;
}

footer a {
    color: #0077cc;
    margin: 0 8px;
}

footer a:hover {
    text-decoration: underline;
}
