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

/* Font */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    background: #f7f9fc;
    color: #333;
}

/* Navbar */
header {
    background: #0d0d0d;
    padding: 1.5rem 0;
}

nav {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #4caf50;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    color: white;
    background: black;
    background-image: url('matrix.gif');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: white;
    color: #2e7d32;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background: #2e7d32;
    color: white;
}

/* Sections */
section {
    padding: 5rem 2rem;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* About */
.about p {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

/* Projects */
.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.project-card h3 {
    margin-bottom: 1rem;
}

/* Contact */
.contact p {
    text-align: center;
}

.contact a {
    color: #4caf50;
    text-decoration: none;
    font-weight: 600;
}

.contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #0d0d0d;
    color: white;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}
