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

body {
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #0d1117 0%, #1e2331 100%);
    color: #c9d1d9;
    line-height: 1.6;
    transition: background-color 0.5s ease;
}

a {
    text-decoration: none;
    color: #00d8ff;
    transition: color 0.3s ease;
}

a:hover {
    color: #00b3cc;
}

header {
    background: rgba(22, 27, 34, 0.85);
    padding: 20px 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #0d1117 0%, #141b2a 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(0, 216, 255, 0.1), rgba(255, 255, 255, 0.03));
    transform: translate(-50%, -50%);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero .intro h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.hero .intro h1 span {
    color: #00d8ff;
    text-shadow: 0 0 10px #00d8ff, 0 0 20px #00d8ff;
}

.hero .intro p {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
}

.about-section, .projects-section, .skills-section, .contact-section {
    padding: 100px 20px;
    text-align: center;
    background: #0d1117;
    color: #c9d1d9;
    border-top: 1px solid #161b22;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
    color: #00d8ff;
    text-shadow: 0 0 10px rgba(0, 216, 255, 0.5);
}

.project-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.project-card {
    background-color: #161b22;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    text-align: left;
    box-shadow: 0 0 20px rgba(0, 216, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 216, 255, 0.2);
}

.project-card h3 {
    color: #00d8ff;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.project-link {
    margin-top: 15px;
    background: linear-gradient(90deg, #00d8ff, #007fbc);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    transition: background 0.5s ease;
    box-shadow: 0 0 10px #00d8ff, 0 0 20px rgba(0, 216, 255, 0.5);
}

.project-link:hover {
    background: linear-gradient(90deg, #007fbc, #005f8a);
    box-shadow: 0 0 20px #007fbc, 0 0 40px rgba(0, 216, 255, 0.5);
}

.skills-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.skills-list li {
    background-color: #161b22;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(0, 216, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-list li:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 216, 255, 0.2);
}

.contact-btn {
    display: inline-block; /* Ensure buttons are displayed as blocks */
    background: linear-gradient(90deg, #00d8ff, #007fbc);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    margin: 30px 20px;
    transition: background 0.5s ease;
    box-shadow: 0 0 10px #00d8ff, 0 0 20px rgba(0, 216, 255, 0.5);
    cursor: pointer;
}

.contact-btn:hover {
    background: linear-gradient(90deg, #007fbc, #005f8a);
    box-shadow: 0 0 20px #007fbc, 0 0 40px rgba(0, 216, 255, 0.5);
}

footer {
    padding: 20px;
    background-color: #161b22;
    text-align: center;
    color: #8b949e;
    margin-top: 40px;
    border-top: 1px solid #161b22;
}
