:root {
  --accent: #1fa7a0;
  --accent-dark: #136b67;
  --dark: #0b1220;
  --dark-2: #121b2e;
  --text-light: #e7ecf5;
  --text-muted: #9aa7bd;
}

* { box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark);
  color: var(--text-light);
  line-height: 1.7;
}

h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; font-weight: 600; }
code, .resume-tools, .hero-role { font-family: 'Roboto Mono', monospace; }

a { text-decoration: none; color: var(--accent); }

/* ===== Header ===== */
.header {
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  z-index: 997;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.logo span { font-size: 22px; font-weight: 600; color: var(--text-light); }
.logo strong { color: var(--accent); }
.logo-sep { font-size: 16px !important; font-weight: 300 !important; color: var(--text-muted) !important; margin: 0 12px; }
.logo-subtitle {
  font-size: 13px !important; font-weight: 300 !important;
  color: var(--text-muted) !important; letter-spacing: 0.3px;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .logo-sep, .logo-subtitle { display: none; }
}

.navbar ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 8px; }
.navbar a {
  color: var(--text-muted);
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 20px;
  transition: 0.3s;
}
.navbar a:hover, .navbar a.active { color: #fff; background: var(--accent); }
.mobile-nav-toggle { display: none; font-size: 26px; cursor: pointer; color: var(--text-light); }

@media (max-width: 991px) {
  .navbar ul {
    position: fixed; inset: 60px 20px auto auto;
    flex-direction: column; background: var(--dark-2);
    padding: 12px; border-radius: 8px; display: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  }
  .navbar.navbar-mobile ul { display: flex; }
  .mobile-nav-toggle { display: block; }
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  padding-top: 90px;
  background: radial-gradient(circle at 80% 20%, rgba(31,167,160,0.18), transparent 45%), var(--dark);
}
.hero-eyebrow { color: var(--accent); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 14px; }
.hero h1 { font-size: 48px; margin: 6px 0 10px; color: #fff; }
.hero-role { font-size: 22px; color: var(--accent); min-height: 34px; margin-bottom: 18px; }
.hero-summary { color: var(--text-muted); max-width: 560px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }

.btn-main {
  background: var(--accent); color: #fff; padding: 12px 26px;
  border-radius: 30px; font-weight: 600; transition: 0.3s;
}
.btn-main:hover { background: var(--accent-dark); color: #fff; }
.btn-outline {
  border: 1px solid var(--text-muted); color: var(--text-light);
  padding: 12px 26px; border-radius: 30px; font-weight: 600; transition: 0.3s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.hero-social { display: flex; gap: 14px; }
.hero-social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15); color: var(--text-light);
  display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.hero-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.hero-avatar {
  width: 260px; height: 260px; border-radius: 50%; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), #0f7a75);
  box-shadow: 0 0 0 10px rgba(31,167,160,0.08), 0 20px 50px rgba(0,0,0,0.5);
}

.hero-photo {
  width: 300px; height: 300px; border-radius: 50%; margin: 0 auto;
  object-fit: cover; display: block;
  box-shadow: 0 0 0 10px rgba(31,167,160,0.08), 0 20px 50px rgba(0,0,0,0.5);
}

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; color: #fff; position: relative; padding-bottom: 14px; }
.section-title h2::after {
  content: ''; width: 60px; height: 3px; background: var(--accent);
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
}
.section-title p { color: var(--text-muted); margin-top: 10px; }

.about { background: var(--dark-2); }
.about-text { color: var(--text-muted); margin-bottom: 20px; }
.about-info { list-style: none; padding: 0; }
.about-info li { color: var(--text-light); margin-bottom: 10px; }
.about-info i { color: var(--accent); margin-right: 10px; width: 18px; }
.about-quote {
  background: var(--dark); border-left: 3px solid var(--accent);
  padding: 24px; border-radius: 8px; color: var(--text-muted); font-style: italic;
}

.counters span { font-size: 34px; font-weight: 700; color: var(--accent); }
.counters p { color: var(--text-muted); margin: 6px 0 0; font-size: 14px; }

/* ===== Skills ===== */
.skill-card {
  background: var(--dark-2); border-radius: 10px; padding: 22px 24px;
  margin-bottom: 18px; border: 1px solid rgba(255,255,255,0.05);
}
.skill-card h3 { font-size: 17px; color: #fff; margin-bottom: 14px; }
.skill-card h3 i { color: var(--accent); margin-right: 8px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud span {
  background: rgba(31,167,160,0.12); color: #b6e6e2;
  padding: 6px 14px; border-radius: 20px; font-size: 13px;
  border: 1px solid rgba(31,167,160,0.25);
}

/* ===== Resume ===== */
.resume { background: var(--dark-2); }
.resume-title { color: #fff; font-size: 20px; margin-bottom: 24px; }
.resume-title i { color: var(--accent); margin-right: 8px; }
.resume-item {
  padding: 20px 24px; border-left: 2px solid var(--accent);
  margin-bottom: 24px; background: var(--dark); border-radius: 0 8px 8px 0;
}
.resume-item h4 { color: #fff; font-size: 18px; margin-bottom: 2px; }
.resume-item h5 { color: var(--accent); font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.resume-item p { color: var(--text-muted); margin-bottom: 8px; }
.resume-item ul { color: var(--text-muted); padding-left: 18px; margin-bottom: 10px; }
.resume-item ul li { margin-bottom: 6px; }
.resume-tools { font-size: 12.5px; color: #6fc9c3 !important; }

/* ===== Contact ===== */
.info-item { text-align: center; padding: 24px; }
.info-item i { font-size: 28px; color: var(--accent); margin-bottom: 12px; display: inline-block; }
.info-item h3 { font-size: 16px; color: #fff; }
.info-item p { color: var(--text-muted); }
.info-item a { color: var(--text-muted); }
.info-item a:hover { color: var(--accent); }

/* ===== Footer ===== */
.footer { padding: 30px 0; text-align: center; color: var(--text-muted); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-quote {
  font-style: italic; font-size: 13px; font-weight: 300;
  color: var(--text-muted); opacity: 0.7; margin-bottom: 6px;
  letter-spacing: 0.2px;
}
.footer-quote:last-of-type { margin-bottom: 18px; }

/* ===== Scroll to top ===== */
.scroll-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent);
  color: #fff; opacity: 0; visibility: hidden; transition: 0.4s;
}
.scroll-top.active { opacity: 1; visibility: visible; }
.scroll-top i { font-size: 24px; }

@media (max-width: 768px) {
  .hero h1 { font-size: 34px; }
  .hero-avatar { width: 180px; height: 180px; font-size: 42px; margin-top: 30px; }
  .hero-photo { width: 200px; height: 200px; margin-top: 30px; }
}
