/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #0f0f0f;
    color: #fff;
    line-height: 1.6;
}

/* Navbar */
header {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 999;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    color: #00ffe7;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 5px #00ffe7, 0 0 10px #00ffe7;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}
.nav-links a {
    color: white;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s ease;
}
.nav-links a:hover {
    background: #00ffe7;
    color: #000;
    transform: scale(1.1);
}

/* Sections */
.section {
    padding: 80px 20px;
}
.container {
    max-width: 1000px;
    margin: auto;
}
.center {
    text-align: center;
}
h2 {
    font-size: 2.5rem;
    color: #00ffe7;
    margin-bottom: 20px;
    text-shadow: 0 0 8px #00ffe7;
}
p {
    font-size: 1.2rem;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-left: 5px solid #00ffe7;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,255,231,0.3);
    transition: transform 0.3s, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0,255,231,0.6);
}

/* Skills Grid */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.skills-grid div {
    background: #00ffe7;
    color: #000;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s ease;
    box-shadow: 0 0 8px #00ffe7;
}
.skills-grid div:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px #00ffe7;
}

/* Form */
form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    background: #222;
    color: #fff;
}
form button {
    margin-top: 10px;
    padding: 10px 20px;
    background: #00ffe7;
    color: black;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s ease;
}
form button:hover {
    background: #00ccba;
    transform: scale(1.1);
}

/* Resume Button */
.button {
    background: linear-gradient(to right, #00ffe7, #00b7ff);
    color: #000;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s ease;
}
.button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #00ffe7;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #111;
    color: #ccc;
}

/* Section colors */
#home { background: radial-gradient(circle, #111 0%, #1a1a1a 100%); }
#about { background: linear-gradient(to right, #141e30, #243b55); }
#experience { background: #1c1c1c; }
#education { background: linear-gradient(to right, #16222a, #3a6073); }
#skills { background: #101010; }
#certifications { background: linear-gradient(to right, #0f2027, #2c5364); }
#projects { background: #1b1b1b; }
#resume { background: linear-gradient(to right, #1c1c1c, #222); }
#contact { background: #0d0d0d; }

/* Animations */
.fade-in, .slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease-out forwards;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
