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

:root {
    --primary-color: #1a73e8;
    --secondary-color: #101010;
    --text-color: #ffffff;
    --background-color: #0f172a;
    --accent-color: #7dd3fc;
}

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

body {
    background-color: var(--background-color);
    color: var(--text-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    flex-wrap: wrap;
}

.logo {
    color: #7dd3fc;
    font-size: 1.5rem;
    white-space: nowrap;
}

nav ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .logo {
        font-size: 1.3rem; /* Slightly smaller on mobile to avoid wrapping */
    }

    nav ul {
        gap: 10px;
        justify-content: flex-start;
        margin-top: 10px;
    }
}

nav ul li {
    list-style: none;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

header {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://source.unsplash.com/1600x900/?cybersecurity,tech');
    background-size: cover;
    background-position: center;
}

.intro h1 {
    font-size: 3rem;
    animation: fadeInDown 1.5s ease-out;
}

.intro span {
    color: var(--accent-color);
}

.intro p {
    font-size: 1.2rem;
    animation: fadeInUp 1.5s ease-out;
}

section {
    padding: 100px 40px;
    max-width: 1000px;
    margin: auto;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.card, .project-card {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    margin-top: 20px;
    transition: transform 0.3s;
}

.card:hover, .project-card:hover {
    transform: translateY(-10px);
}

.skills-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.skills-list li {
    background: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    list-style: none;
}

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

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.6);
}

@keyframes fadeInDown {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

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

.certifications-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cert-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.verify-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #1a73e8;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.verify-btn:hover {
    background-color: #01448c;
}

#contact a {
    color: #7dd3fc; 
    text-decoration: none;
    transition: color 0.3s ease;
}

#contact a:hover {
    color: #38bdf8;
    text-decoration: underline;
}
.project-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background-color: #1a73e8;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.project-btn:hover {
    background-color: #01448c;
}