body {
    background-color: #121212;
    color: #ffffff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

header {
    background-color: #1f1f1f;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #ff4081;
}

header h1, header h2 {
    margin: 0;
    animation: fadeIn 2s ease-in-out;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #1f1f1f;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #ff4081;
}

nav a {
    color: #ff4081;
    text-decoration: none;
    margin: 0 15px;
    padding: 15px 20px;
    transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
    background-color: #ff4081;
    color: #121212;
}

section {
    padding: 20px;
    animation: fadeInUp 2s ease-in-out;
    transition: all 0.3s ease-in-out;
}

section h3 {
    border-bottom: 2px solid #ff4081;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 2em;
    animation: slideIn 2s ease-in-out;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.project-card {
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

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

.project-card h4 {
    margin-top: 0;
    color: #ff4081;
}

.project-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.project-card p {
    margin-bottom: 0;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #1f1f1f;
    border-top: 2px solid #ff4081;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    margin: 0;
}

footer .social-icons {
    display: flex;
}

footer .social-icons a {
    color: #ff4081;
    margin: 0 10px;
    font-size: 1.5em;
    transition: color 0.3s;
}

footer .social-icons a:hover {
    color: #ffffff;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Cool Animations */
.cyber-sec {
    background: linear-gradient(120deg, #ff4081, #1f1f1f, #ff4081, #1f1f1f);
    background-size: 200% 200%;
    animation: gradientBG 5s ease infinite;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px #ff4081;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
