/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Intro Section */
.intro-section {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    text-align: center;
    padding: 60px 0;
}

.intro-section h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #111;
}

.bio {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 25px auto;
    color: #666;
}

.tech-stack {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-badge {
    background-color: #e9ecef;
    color: #495057;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Projects Section */
.projects-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #111;
}

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

.project-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.project-card h3 {
    margin-bottom: 10px;
    color: #0070f3;
}

.project-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.status-badge {
    display: inline-block;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.status-badge.ongoing {
    background-color: #fff3cd;
    color: #856404;
}
.status-badge.complete {
    background-color: #d4edda;
    color: #155724;
}

/* Contact Section */
.contact-section {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.contact-section h2 {
    margin-bottom: 15px;
}

.contact-section p {
    color: #aaa;
    margin-bottom: 25px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
    background-color: #0070f3;
    color: white;
}

.contact-btn:hover {
    background-color: #0056b3;
}

.contact-btn.secondary {
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
}

.contact-btn.secondary:hover {
    background-color: #222;
}

/* JavaScript Interaction Styles */
.ping-button {
    background: none;
    border: 1px dashed #555;
    color: #aaa;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

.ping-button:hover {
    color: #fff;
    border-color: #fff;
}

#ping-message {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #00ff88;
    transition: all 0.3s ease;
}

.hidden {
    display: none;
}