/* --- General Styles --- */
* {margin:0; padding:0; box-sizing:border-box;}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #ddd;
    background: #121212;
    scroll-behavior: smooth;
}

/* --- Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(18,18,18,0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}
.logo { color: #1de9b6; font-size: 2rem; font-weight: 700; text-decoration: none; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
    color: #ddd; text-decoration: none; font-weight: 500; padding: 5px 0; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; width: 0%; height: 2px; left: 0; bottom: 0;
    background: #1de9b6; transition: 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: #1de9b6; }
.hamburger { display:none; flex-direction: column; cursor:pointer; }
.hamburger span { width: 25px; height: 3px; background: #ddd; margin: 4px 0; }

/* --- Hero Section */
#hero {
    height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
    background: linear-gradient(135deg,#0f0f0f,#1b1b1b);
}
.hero-content h1 { font-size: clamp(2.5rem,5vw,4rem); font-weight: 700; color: #1de9b6; margin-bottom: 1rem; }
.hero-content p { font-size: 1.2rem; color: #bbb; margin-bottom: 1rem; }
.cta-button { padding:1rem 2rem; background: #1de9b6; color:#121212; border-radius:50px; font-weight:600; text-decoration:none; transition: all 0.3s; }
.cta-button:hover { background:#00bfa5; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(29,233,182,0.4); }

/* --- Sections */
section { padding:100px 5%; }
h2 { text-align: center; font-size: 2.5rem; color: #1de9b6; margin-bottom: 3rem; letter-spacing: 1px; }

/* --- About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    border: 3px solid #1de9b6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.about-text-skills { display: flex; flex-direction: column; gap: 2rem; }

/* Skills Grid */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 1.5rem; }
.skill-card {
    background: #1e1e1e; color: #ddd; border-radius: 15px; padding: 1rem; text-align: center; transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.skill-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(29,233,182,0.5); }
.skill-icon { font-size: 2rem; color: #1de9b6; margin-bottom: 0.5rem; }

/* --- Timeline / Experience --- */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline::before {
    content:''; position:absolute; left:50%; transform:translateX(-50%); width:4px; height:100%; background: #1de9b6;
}
.timeline-item { display:flex; margin:3rem 0; position:relative; }
.timeline-item:nth-child(odd) { justify-content:flex-end; }
.timeline-item:nth-child(even) { justify-content:flex-start; }
.timeline-content {
    width:45%; background: #1e1e1e; color: #ddd; padding: 1.5rem; border-radius: 15px; position: relative; transition: 0.3s;
}
.timeline-content:hover { transform: scale(1.05); box-shadow: 0 15px 30px rgba(29,233,182,0.3); }
.timeline-dot { position:absolute; left:50%; transform:translateX(-50%); width:20px; height:20px; background:#1de9b6; border-radius:50%; z-index:1; }
.timeline-date { color:#1de9b6; font-weight:600; margin-bottom:0.5rem; }

/* --- Projects --- */
.projects-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:2rem; }
.project-card { background: #1e1e1e; color: #ddd; border-radius:15px; overflow:hidden; transition:0.3s; box-shadow:0 5px 20px rgba(0,0,0,0.3); }
.project-card:hover { transform: translateY(-10px); box-shadow:0 15px 30px rgba(29,233,182,0.4);}
.project-image { height:150px; display:flex; align-items:center; justify-content:center; font-size:3rem; background:#1de9b6; color:#121212; }
.project-content { padding:1rem; }
.tech-tag { background:#00bfa5; color:#121212; padding:0.3rem 0.7rem; border-radius:15px; font-size:0.8rem; margin-right:0.3rem; }

/* --- Contact Section --- */
#contact { background: #121212; color: #ddd; }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1200px; margin: auto; }
.contact-card, .contact-form { background: #1e1e1e; padding: 2rem; border-radius: 15px; box-shadow: 0 8px 20px rgba(0,0,0,0.3); transition: all 0.3s; }
.contact-card:hover, .contact-form:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(29,233,182,0.4); }
.contact-card h3 { color: #1de9b6; margin-bottom: 1rem; }
.contact-item { display:flex; align-items:center; gap:1rem; margin-bottom:1rem; }
.contact-item i { color: #1de9b6; font-size:1.5rem; min-width: 30px; }
.contact-card p, .contact-card a { color: #ddd; text-decoration:none; }
.contact-form { display:flex; flex-direction:column; gap:1rem; }
.contact-form input, .contact-form textarea { padding:0.8rem 1rem; border-radius:10px; border:none; background:#121212; color:#ddd; resize:none; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid #1de9b6; }
.contact-form button { padding:1rem; border:none; border-radius:50px; background:#1de9b6; color:#121212; font-weight:600; cursor:pointer; transition:0.3s; }
.contact-form button:hover { background:#00bfa5; transform:translateY(-3px); }

/* --- Footer --- */
footer { background:#000; text-align:center; color:#aaa; padding:2rem; }

/* --- Responsive --- */
@media(max-width:768px){
    .about-content, .contact-content { grid-template-columns:1fr; }
    .timeline::before { left:20px; }
    .timeline-item { flex-direction:column; }
    .timeline-content { width:100%; margin:1rem 0; }
    .timeline-dot { left:20px; }
    .hamburger { display:flex; }
    .nav-links { position: fixed; left:-100%; top:70px; flex-direction: column; width:100%; text-align:center; background:#121212; padding:2rem 0; transition:0.3s;}
    .nav-links.active { left:0; }
}

/* Contact Icon Hover */
.contact-item a:hover { color:#00d4ff; text-decoration:underline; }