* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f5f5f5;
    color: #222;
}

/* Fade + Slide Animation Base */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
header {
    background: #111;
    color: white;
    padding-bottom: 40px;
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* NAVIGATION */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #00aaff;
}

/* MOBILE MENU BUTTON */
.menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 50px 20px;
    animation: slideUp 1.2s ease-out;
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 40px;
}

.hero span {
    color: #00aaff;
}

.btn {
    margin-top: 15px;
    padding: 10px 20px;
    background: #00aaff;
    color: white;
    border-radius: 5px;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    background: #0080cc;
    transform: scale(1.05);
}

/* SECTIONS */
.section {
    padding: 60px 10%;
}

.section h2 {
    margin-bottom: 20px;
    font-size: 32px;
    color: #003366;
}

/* CARDS */
.card {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-left: 5px solid #00aaff;
    border-radius: 6px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* SKILLS GRID */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-card {
    background: white;
    padding: 20px;
    border-radius: 5px;
    transition: 0.3s;
}

.skill-card:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 15px;
    background: #111;
    color: white;
}

/* ---------------------------- */
/* RESPONSIVE DESIGN FOR MOBILE */
/* ---------------------------- */
@media (max-width: 768px) {

    /* HERO */
    .hero h1 {
        font-size: 28px;
    }

    nav ul {
        position: absolute;
        top: 70px;
        right: 0;
        background: #111;
        width: 100%;
        height: 0;
        overflow: hidden;
        flex-direction: column;
        text-align: center;
        transition: 0.4s;
    }

    nav ul li {
        margin: 20px 0;
    }

    .menu-btn {
        display: block;
        color: white;
    }

    /* SKILLS GRID */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Section text */
    .section {
        padding: 40px 5%;
    }

    .section h2 {
        font-size: 26px;
    }

    .card {
        padding: 15px;
    }
}
