/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #070707;
    color: #fff;
    line-height: 1.6;
}

header {
    background-color: #111;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    color: #40E0D0;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #40E0D0;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../images/GitS.gif');
    /*background-image: url('../images/Keyboard.gif');*/
    background-size: cover;
    /*background: linear-gradient(135deg, #000 0%, #111 100%);*/
    background-color: rgba(19, 18, 18, 0.95);
    background-blend-mode: darken;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #40E0D0;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.threat_intel_blog_post{
    background-image: url('../images/Terminal2.webp');
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: darken;
}

.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #40E0D0;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.5s ease; ;
}

.btn:hover {
    background-color: #20B2AA;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #40E0D0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.skills-grid, .projects-grid, .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-item, .project-card, .contact-card {
    background-color: #111;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.skill-item h3, .project-card h3, .contact-card h3 {
    margin-bottom: 1rem;
    color: #40E0D0;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #111;
    border: 1px solid #333;
    color: #fff;
    border-radius: 5px;
}

button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background-color: #40E0D0;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #20B2AA;
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    background-color: #111;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin-left: 0;
        margin-right: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .container {
        padding: 2rem 1rem;
    }
}

/* Cyberpunk link styles for links inside paragraphs */
p a {
    color: #40E0D0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 5px rgba(64, 224, 208, 0.5);
}

p a:hover {
    color: #FF00FF;
    text-shadow: 0 0 10px #FF00FF, 0 0 20px #FF00FF;
    transform: scale(1.05);
}

p a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #40E0D0, #FF00FF);
    transition: width 0.3s ease;
}

p a:hover::before {
    width: 100%;
}

@keyframes linkGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(64, 224, 208, 0.5);
    }
    50% {
        text-shadow: 0 0 10px rgba(64, 224, 208, 0.8), 0 0 15px rgba(64, 224, 208, 0.6);
    }
}

p a {
    animation: linkGlow 3s infinite;
}