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

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

/* Navbar */
header {
    position: sticky;
    top: 0;
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #0077ff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    padding: 8px 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: #0077ff;
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('hero-bg.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero span {
    color: #ffe600;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.btn {
    background: #0077ff;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn:hover {
    background: #ffe600;
    color: #333;
}

.small-btn {
    padding: 6px 12px;
    font-size: 14px;
}

/* Sections */
section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
    color: #0077ff;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CV Buttons */
.cv-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Projects */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: bold;
}

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

.project-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.project-card p {
    color: #555;
    line-height: 1.5;
}

/* Contact Form */
form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    margin: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

form input, form textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
}

form button {
    background: #0077ff;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s ease;
}

form button:hover {
    background: #005ecc;
}

#formMessage {
    text-align: center;
    margin-top: 10px;
    color: green;
}
/* WhatsApp */
.whatsapp-btn {
    background: #25d366;
    color: white;
    padding: 7px 14px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    background: #1ebd5a;
}

/* Footer */
footer {
    background: #0077ff;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}

