/* ===== RESET ===== */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #050816; color: #e4e8ff; line-height:1.6;
}

/* ===== LAYOUT ===== */
.container { max-width:1100px; margin:0 auto; padding:0 1.5rem; }
section { padding:4rem 0; border-bottom:1px solid rgba(255,255,255,0.03); }

/* ===== NAVBAR ===== */
.top-nav {
  position: sticky; top:0; z-index:50; background: rgba(5,8,22,0.97);
  backdrop-filter: blur(12px); border-bottom:1px solid rgba(255,255,255,0.05);
}
.nav-inner { display:flex; justify-content:space-between; align-items:center; padding:0.9rem 1.5rem; }
.logo { font-weight:700; font-size:1.1rem; letter-spacing:0.04em; }
.logo span { color:#4f46e5; }
.main-nav a { margin-left:1.3rem; text-decoration:none; font-size:0.95rem; color:#c7d2fe; position:relative; padding-bottom:0.2rem; }
.main-nav a::after { content:""; position:absolute; left:0; bottom:0; width:0%; height:2px; background:#4f46e5; transition:width .25s }
.main-nav a:hover::after, .main-nav a.active::after { width:100%; }

/* ===== HERO ===== */
.hero { padding:4rem 0; }
.hero-inner { display:flex; align-items:center; justify-content:space-between; gap:3rem; flex-wrap:wrap; }
.hero-content { flex:1 1 320px; display:flex; flex-direction:column; gap:1rem; max-width:650px; }
.subtitle-pill { display:inline-block; padding:.3rem .8rem; border-radius:999px; font-size:.75rem; text-transform:uppercase; letter-spacing:.12em; border:1px solid rgba(79,70,229,0.4); background:rgba(79,70,229,0.12); color:#a5b4fc; }
.hero h1 { font-size:2.4rem; font-weight:800; }
.hero h1 span { color:#60a5fa; }
.value-line { color:#cfe1ff; font-weight:600; margin-top:6px; }
.hero p.about-short { color:#c7d2fe; margin-top:6px; }

/* buttons */
.btn { border-radius:999px; padding:.6rem 1.3rem; font-size:.9rem; border:none; cursor:pointer; font-weight:500; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; transition: transform .15s, box-shadow .15s; }
.btn-primary { background:linear-gradient(135deg,#4f46e5,#0ea5e9); color:#fff; box-shadow:0 10px 25px rgba(56,189,248,0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow:0 14px 35px rgba(56,189,248,0.5); }
.btn-outline { border:1px solid rgba(148,163,184,0.7); color:#e5e7eb; background:transparent; }
.btn-outline:hover { background: rgba(15,23,42,0.9); }

/* hero photo */
.hero-photo { flex:0 0 220px; display:flex; justify-content:flex-end; }
.hero-photo img { width:220px; height:220px; border-radius:50%; object-fit:cover; border:3px solid #4f46e5; box-shadow:0 18px 40px rgba(15,23,42,0.9); }

/* social icons */
.social-icons { margin-top:1.3rem; display:flex; gap:.8rem; }
.social-icons a { width:36px; height:36px; border-radius:999px; border:1px solid rgba(148,163,184,0.7); display:flex; align-items:center; justify-content:center; color:#e5e7eb; text-decoration:none; }
.social-icons a:hover { background:#111827; border-color:#4f46e5; color:#93c5fd; }


/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: #93c5fd; /* light blue */
}

.section-subtitle {
  color: #9ca3af;
  font-size: .95rem;
  margin-bottom: 1rem;
}


.about-tabs {
  margin-top: 1.5rem;
}

.tab-titles {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.tab-link {
  cursor: pointer;
  font-size: 1.05rem;
  color: #c7d2fe;
  position: relative;
}

.tab-link.active {
  color: #ffffff;
}

.tab-link.active::after {
  content: "";
  width: 18px;
  height: 3px;
  background: #ff0055;
  position: absolute;
  left: 0;
  bottom: -8px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-head {
  color: #f472b6; /* pink accent */
  margin-top: 14px;
  font-weight: 600;
}



/* ===== PROJECTS ===== */
.projects-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:1.2rem; margin-top:1rem; }

/* project card */
.project-card {
  background: radial-gradient(circle at top left, #1d2433, #020617);
  border-radius:1rem; padding:1.2rem 1.3rem; border:1px solid rgba(148,163,184,0.4);
  box-shadow:0 16px 30px rgba(15,23,42,0.9); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display:flex; flex-direction:column; gap:.9rem;
}
.project-card:hover { transform:translateY(-6px); box-shadow:0 22px 45px rgba(15,23,42,0.95); border-color:#4f46e5; }

.project-image img { width:100%; height:180px; object-fit:cover; border-radius:12px; border:1px solid rgba(255,255,255,0.03); }

/* titles */
.project-title { font-weight:600; margin:0; }
.project-tools { font-size:.85rem; color:#9ca3af; margin-top:4px; }

/* project buttons row */
.project-links { margin-top:8px; display:flex; gap:10px; flex-wrap:wrap; }
.proj-btn { padding:8px 14px; border-radius:8px; font-weight:600; text-decoration:none; color:#fff; display:inline-block; }
.proj-btn.case { background:linear-gradient(90deg,#2b265b,#1e1b4b); box-shadow:0 8px 20px rgba(30,27,75,0.18); }
.proj-btn.code { background:linear-gradient(90deg,#3b2f7f,#312e81); box-shadow:0 8px 20px rgba(49,46,129,0.12); }
.proj-btn:hover { transform: translateY(-3px); box-shadow:0 12px 30px rgba(0,0,0,0.35); }



/* ===== CERTIFICATIONS CLEAN LAYOUT ===== */

#certifications {
  padding: 2rem 0;            /* Reduced from 4rem → removes blank space */
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;         /* Reduced space */
}

.cert-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.4rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: 0.3s ease;
}

.cert-card:hover {
  border-color: #4f46e5;
  transform: translateY(-4px);
}

.cert-icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.6rem;
}

.cert-icon {
  font-size: 1.6rem;
}

.cert-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #e5e7eb;
}

.cert-card p {
  margin: 4px 0;
  color: #cbd5f5;
}

.cert-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: 0.2s ease;
}

.cert-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.4);
}

/* Mobile Fix */
@media (max-width: 768px) {
  #certifications {
    padding-top: 1.5rem;
  }
}

/* ===== CONTACT — vertical single-column block ===== */
.contact-vertical {
  padding: 2.2rem 0;
}

.contact-vertical .section-subtitle {
  color: #9ca3af;
  margin-bottom: 1rem;
  max-width: 820px;
}

/* vertical list */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0.8rem;
}

/* individual line */
.contact-line {
  color: #e6eefc;
  font-size: 1rem;
  line-height: 1.5;
  display: block;
}

/* links */
.contact-line a {
  color: #93c5fd;
  text-decoration: none;
}
.contact-line a:hover {
  text-decoration: underline;
}

/* centered resume button container */
.contact-resume {
  margin-top: 14px;
  display: flex;
  justify-content: center; /* center the button */
}

/* resume CTA */
.resume-download {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg,#4f46e5,#06b6d4);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(6,182,212,0.10);
  transition: transform .14s ease, box-shadow .14s ease;
}

.resume-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(6,182,212,0.16);
}

