html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

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

.hero {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.btn-main {
    display: inline-block;
    padding: 12px 25px;
    background-color: #10b981;
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-main:hover {
    background-color: #059669;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.projects {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.project-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h2 {
    padding: 15px;
    font-size: 1.3em;
    text-align: center;
}

footer {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    background-color: #1f2937;
    color: #ccc;
    font-size: 0.9em;
}
