/* Global */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #f7f9fc;
    color: #333;
    scroll-behavior: smooth;
}

/* Hero */
.hero {
    height: 90vh;
    background: linear-gradient(135deg, #4A76FF, #6BA7FF);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

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

.btn {
    margin-top: 20px;
    padding: 12px 24px;
    background: white;
    color: #4A76FF;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

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

h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}

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

/* Contact */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input, form textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

button {
    padding: 12px;
    background: #4A76FF;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
}

/* Fade Animation */
.fade-section {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease-out;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}