/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; background:#0f172a; color:#e2e8f0; line-height:1.6; }
a { text-decoration: none; color: #22c55e; }
.container { width:90%; max-width:1200px; margin:auto; }

/* Nav */
nav { background:#1e293b; padding:1rem 0; position:fixed; width:100%; top:0; left:0; z-index:100; }
nav .container { display:flex; justify-content:space-between; align-items:center; }
nav a.logo { font-size:1.3rem; font-weight:bold; color:#22c55e; }
nav ul { list-style:none; display:flex; gap:1.5rem; }
nav ul li a { color:#e2e8f0; }
nav ul li a:hover { color:#22c55e; }

/* Hamburger */
.hamburger { display:none; flex-direction:column; cursor:pointer; gap:5px; }
.hamburger div { width:25px; height:3px; background:#22c55e; }

/* Hero */
header { background:linear-gradient(135deg,#065f46,#22c55e); text-align:center; padding:8rem 2rem 6rem 2rem; }
header h1 { font-size:3rem; margin-bottom:1rem; color:white; }
header p { font-size:1.25rem; margin-bottom:2rem; color:#f1f5f9; }
header .btn { background:#22c55e; color:#0f172a; padding:0.8rem 2rem; border-radius:50px; font-weight:bold; }
header .btn:hover { background:#16a34a; color:white; }

/* Sections */
section { padding:6rem 0; }
section h2 { font-size:2rem; margin-bottom:2rem; color:#22c55e; text-align:center; }
.cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:2rem; }
.card { background:#1e293b; padding:2rem; border-radius:12px; transition:0.3s; }
.card:hover { transform:translateY(-5px); box-shadow:0 5px 20px rgba(0,0,0,0.5); }
.card h3 { margin-bottom:1rem; color:#e2e8f0; }

/* Timeline (Experience) */
.timeline .job { background:#1e293b; padding:1.5rem; margin-bottom:1rem; border-left:4px solid #22c55e; }
.timeline h3 { margin-bottom:0.5rem; color:#f1f5f9; }

/* Skills & Certs */
.skills, .certs { list-style:disc inside; max-width:800px; margin:auto; line-height:2; }

/* Contact */
#contact p { margin:0.5rem 0; text-align:center; }

/* Footer */
footer { background:#1e293b; text-align:center; padding:2rem; margin-top:2rem; }

/* Fade-in */
.fade-in { opacity:0; transform:translateY(20px); transition:all 0.8s ease-out; }
.fade-in.visible { opacity:1; transform:translateY(0); }

/* Responsive */
@media (max-width:768px) {
  nav ul { flex-direction:column; position:absolute; top:60px; right:0; background:#1e293b; padding:1rem; display:none; width:200px; }
  nav ul.show { display:flex; }
  .hamburger { display:flex; }
}
/* About Section - Centered */
.about-center {
  text-align: center;
  max-width: 800px;
  margin: auto;
}

.about-photo {
  position: relative;
  display: inline-block;
}

.about-photo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.4), rgba(15,23,42,0));
  z-index: 0;
  filter: blur(10px);
}

.about-photo img {
  position: relative;
  z-index: 1;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
  border: 4px solid #22c55e; /* green accent */
}


.contact-download {
  text-align: center;
  margin-top: 2rem;
}
.download-btn {
  display: inline-block;
  margin-top: 1.5rem;
  background: #22c55e;
  color: #0f172a;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  transition: 0.3s;
  text-align: center;
}

.download-btn:hover {
  background: #16a34a;
  color: white;
}
