/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f172a; /* Dark Slate */
    color: #e2e8f0;
    line-height: 1.6;
}

.highlight {
    color: #38bdf8; /* Sky Blue Accent */
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: #38bdf8;
    color: #0f172a;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.2);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #38bdf8;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #e2e8f0;
}

/* Sections General */
section {
    padding: 6rem 10% 4rem 10%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Hero Section */
.hero-section {
    text-align: left;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

/* About Section */
.about-section p {
    max-width: 600px;
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-badge {
    background-color: #1e293b;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background-color: #1e293b;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-info h3 {
    margin-bottom: 0.8rem;
}

.project-info p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.project-link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-form input, .contact-form textarea {
    padding: 1rem;
    background-color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e2e8f0;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #38bdf8;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive Menu (Mobile) */
@media (max-width: 768px) {
    .navbar { padding: 1.5rem 5%; }
    section { padding: 6rem 5% 4rem 5%; }
    .hero-content h1 { font-size: 2.8rem; }
    
    .menu-toggle { display: block; }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-links {
        position: fixed;
        top: -100%;
        left: 0;
        flex-direction: column;
        background-color: #0f172a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    .nav-links.active { top: 70px; }
    .nav-links li { margin: 1.5rem 0; }
}