@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #1f242d;
    color: #fff;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: rgba(31,36,45,0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 25px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.navbar a {
    display: inline-block;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
}

    .navbar a:hover,
    .navbar a.active {
        color: #DAA520;
    }

/* Sections */
.section {
    padding: 100px 10%;
}

    .section h2 {
        font-size: 36px;
        margin-bottom: 20px;
        color: #DAA520;
    }

    .section p {
        font-size: 18px;
        line-height: 1.6;
    }

/* Home */
.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    padding-top: 70px;
    gap: 30px;
}

.home-content {
    max-width: 600px;
}

    .home-content h3 {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .home-content h1 {
        font-size: 56px;
        margin-bottom: 10px;
    }

    .home-content h3 span {
        color: #DAA520;
    }

    .home-content p {
        font-size: 16px;
        margin: 15px 0;
    }

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #DAA520;
    border-radius: 50%;
    font-size: 20px;
    color: #DAA520;
    text-decoration: none;
    margin-right: 15px;
    transition: .5s ease;
}

    .social-media a:hover {
        background: #DAA520;
        color: #1f242d;
        box-shadow: 0 0 20px #DAA520;
    }

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #DAA520;
    border-radius: 40px;
    box-shadow: 0 0 10px #DAA520;
    font-size: 16px;
    color: #1f242d;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
}

/* Floating image animation */
.home-img img.animated-img {
    max-width: 400px;
    border-radius: 10px;
    animation: floatImg 3s ease-in-out infinite;
}

@keyframes floatImg {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Expertise / What I Do Cards */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #2a2f3b;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 25px rgba(218,165,32,0.3);
    }

.card-icon {
    font-size: 40px;
    color: #DAA520;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
}

.card p {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
}

/* Certifications */
.certificates-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.cert-card {
    background: #2a2f3b;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

    .cert-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 25px rgba(218,165,32,0.3);
    }

    .cert-card img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        margin-bottom: 15px;
    }

    .cert-card h3 {
        font-size: 16px;
        color: #fff;
    }

/* Skills */
.skills-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.skill-icon {
    width: 100px;
    height: 100px;
    background: #2a2f3b;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: float 3s ease-in-out infinite;
}

    .skill-icon img {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }

    .skill-icon:hover {
        transform: translateY(-10px) scale(1.1);
        box-shadow: 0 10px 20px rgba(218,165,32,0.4);
    }

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Projects */
.projects {
    padding: 4rem 2rem;
    text-align: center;
    background: #1f242d;
    color: #fff;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #DAA520;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: #2a2f3b;
    padding: 2.5rem 1rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .project-card h3 {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 600;
        color: #fff;
    }

    .project-card:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 15px 25px rgba(218,165,32,0.3);
    }

/* Contact */
.contact {
    background: #1f242d;
    padding: 100px 10%;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 40px auto 0 auto;
    gap: 20px;
}

    .contact-form input,
    .contact-form textarea {
        padding: 15px;
        border-radius: 10px;
        border: none;
        background: #2a2f3b;
        color: #fff;
        font-size: 16px;
        outline: none;
        transition: 0.3s;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            box-shadow: 0 0 10px #DAA520;
        }

    .contact-form button {
        align-self: flex-start;
        padding: 12px 28px;
        background: #DAA520;
        border-radius: 40px;
        box-shadow: 0 0 10px #DAA520;
        font-size: 16px;
        color: #1f242d;
        font-weight: 600;
        letter-spacing: 1px;
        border: none;
        cursor: pointer;
        transition: 0.3s;
    }

        .contact-form button:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 20px #DAA520;
        }

/* Particles */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

.header {
    z-index: 100;
}
