:root{
  --bg: #0b1220;
  --panel: #0f1a2b;
  --card: #101f33;
  --card2: #0c1728;
  --border: #1b2b44;

  --text: #e6eefc;
  --muted: #9bb0cc;

  --accent: #19e0c3;
  --accent2: #17c7ad;

  --radius: 18px;
}

html{ scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--text);
}

a{ color: var(--accent); }
a:hover{ color: var(--accent2); }

.main{
  margin-left: 320px;
}
@media (max-width: 991px){
  .main{ margin-left: 0; }
}

/* Topbar */
.topbar{
  background: rgba(11,18,32,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand{ text-decoration: none; color: var(--text); }
.brand-mark{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(25,224,195,.12);
  border: 1px solid rgba(25,224,195,.25);
  color: var(--accent);
  font-weight: 900;
}

/* Sidebar */
.sidebar{
  position: fixed;
  top: 0; left: 0;
  width: 320px;
  height: 100vh;
  background: rgba(15,26,43,.92);
  backdrop-filter: blur(12px);
  border-right: 1px solid var(--border);
  z-index: 1040;
  overflow: hidden;
}
.sidebar-inner{
  height: 100%;
  display:flex;
  flex-direction: column;
  padding: 18px;
  gap: 14px;
}
.sidebar-close{
  margin-left: auto;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 18px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
}
.sidebar-close:hover{
  background: rgba(255,255,255,.06);
}
.sidebar-profile{
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16,31,51,.7);
}
.profile-avatar{
  display:flex;
  justify-content: center;
  margin-bottom: 10px;
}
.avatar-placeholder{
  width: 88px; height: 88px;
  border-radius: 26px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(25,224,195,.10);
  border: 1px solid rgba(25,224,195,.22);
  color: var(--accent);
  font-size: 34px;
}
.profile-name{
  text-align:center;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.profile-sub{
  text-align:center;
  font-size: .95rem;
}
.profile-social{
  display:flex;
  justify-content:center;
  gap: 10px;
  margin-top: 10px;
}
.social-btn{
  width: 38px; height: 38px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text);
  text-decoration:none;
}
.social-btn:hover{
  border-color: rgba(25,224,195,.35);
  color: var(--accent);
}

/* Nav */
.sidebar-nav{
  display:flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-nav .nav-link{
  color: var(--muted);
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid transparent;
  display:flex;
  align-items:center;
  gap: 10px;
}
.sidebar-nav .nav-link:hover{
  background: rgba(255,255,255,.04);
  color: var(--text);
}
.sidebar-nav .nav-link.active{
  background: rgba(25,224,195,.10);
  border-color: rgba(25,224,195,.18);
  color: var(--accent);
}

.sidebar-card{
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16,31,51,.7);
}
.sidebar-card-title{
  font-weight: 800;
  margin-bottom: 10px;
}
.sidebar-card-item{
  color: var(--muted);
  margin: 6px 0;
}

/* Sections */
.section{ padding: 72px 0; }
.section-alt{ background: var(--panel); }

.section-title{
  text-align:center;
  margin-bottom: 28px;
}
.section-title h2{
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.section-title p{
  max-width: 760px;
  margin: 0 auto;
}

/* Hero */
.hero{
  background:
    radial-gradient(900px 380px at 15% 20%, rgba(25,224,195,.10), transparent 60%),
    radial-gradient(900px 420px at 85% 10%, rgba(255,255,255,.05), transparent 55%);
}
.hero-card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(16,31,51,.95), rgba(12,23,40,.95));
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
  overflow: hidden;
}
.hero-card-inner{ padding: 20px; }
.hero-photo .photo-placeholder{
  height: 190px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 20%, rgba(25,224,195,.18), transparent 50%),
              linear-gradient(145deg, rgba(255,255,255,.06), rgba(0,0,0,.10));
  border: 1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--accent);
  font-size: 44px;
}
.hero-badges{ display:flex; flex-wrap: wrap; gap: 8px; }
.badge-soft{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(25,224,195,.08);
  border: 1px solid rgba(25,224,195,.16);
  color: var(--text);
  font-size: .9rem;
}
.hero-card-footer{
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.12);
  color: var(--muted);
  font-weight: 700;
}

/* Buttons */
.btn-primary{
  background: var(--accent);
  border-color: var(--accent);
  color: #062018;
  font-weight: 800;
}
.btn-primary:hover{
  background: var(--accent2);
  border-color: var(--accent2);
}
.btn-outline-primary{
  border-color: rgba(25,224,195,.55);
  color: var(--accent);
  font-weight: 700;
}
.btn-outline-primary:hover{
  background: rgba(25,224,195,.12);
  color: var(--accent);
}

/* Text helpers */
.text-muted{ color: var(--muted) !important; }
.accent{ color: var(--accent); }

/* Lists */
.checklist{
  list-style:none;
  padding-left: 0;
}
.checklist li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  color: var(--muted);
  margin: 10px 0;
}
.checklist i{
  color: var(--accent);
  margin-top: 2px;
}

.list-check{
  list-style:none;
  padding-left: 0;
}
.list-check li{
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  color: var(--muted);
}
.list-check li::before{
  content: "✓";
  position:absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

/* Cards */
.card-soft{
  background: rgba(16,31,51,.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 35px rgba(0,0,0,.35);
}

/* Stats */
.stats-row{
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
}
.stat{
  background: rgba(16,31,51,.65);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 140px;
}
.stat-num{ font-size: 1.25rem; font-weight: 900; color: var(--text); }
.stat-label{ color: var(--muted); font-size: .9rem; }

/* Chips */
.chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: .45rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  text-decoration:none;
  color: var(--text);
  background: rgba(255,255,255,.03);
  font-size: .92rem;
}
.chip:hover{
  border-color: rgba(25,224,195,.35);
  color: var(--accent);
}

/* HR */
.soft-hr{
  border-color: var(--border);
  opacity: 1;
}

/* Skills */
.skill{ margin-bottom: 14px; }
.progress{
  height: 10px;
  border-radius: 999px;
  background: rgba(25,224,195,.12);
}
.progress-bar{
  border-radius: 999px;
  background: var(--accent);
}

/* Callout */
.callout{
  display:flex;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.callout-icon{
  width: 44px; height: 44px;
  border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(25,224,195,.10);
  border: 1px solid rgba(25,224,195,.18);
  color: var(--accent);
  flex: 0 0 auto;
}

/* Timeline */
.timeline{ display:flex; flex-direction:column; gap: 16px; }
.t-item{
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.03);
}
.t-title{ font-weight: 900; }
.t-meta{ color: var(--muted); font-size: .92rem; margin-bottom: 8px; }

/* Filters + Portfolio */
.filters{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
}
.btn-filter{
  border: 1px solid rgba(255,255,255,.12);
  color: var(--muted);
  background: rgba(255,255,255,.03);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
}
.btn-filter:hover{
  border-color: rgba(25,224,195,.35);
  color: var(--text);
}
.btn-filter.active{
  background: rgba(25,224,195,.12);
  border-color: rgba(25,224,195,.22);
  color: var(--accent);
}

.p-card{
  height: 100%;
  background: rgba(16,31,51,.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 35px rgba(0,0,0,.35);
  overflow: hidden;
}
.p-thumb{
  height: 150px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(600px 240px at 30% 20%, rgba(25,224,195,.14), transparent 55%),
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(0,0,0,.10));
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.thumb-icon{
  width: 58px; height: 58px;
  border-radius: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--accent);
  font-size: 26px;
}
.p-body{ padding: 16px; }
.p-tag{
  display:inline-block;
  font-size: .82rem;
  color: var(--accent);
  background: rgba(25,224,195,.10);
  border: 1px solid rgba(25,224,195,.18);
  padding: .2rem .6rem;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Swiper */
.testimonial-swiper .swiper-pagination-bullet{
  width: 9px;
  height: 9px;
  background: rgba(255,255,255,.25);
  opacity: 1;
}
.testimonial-swiper .swiper-pagination-bullet-active{
  background: var(--accent);
}

.avatar-sm{
  width: 40px; height: 40px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--text);
}

/* Accordion dark */
.accordion-dark .accordion-item{
  background: rgba(16,31,51,.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 10px;
}
.accordion-dark .accordion-button{
  background: rgba(255,255,255,.02);
  color: var(--text);
  font-weight: 800;
}
.accordion-dark .accordion-button:not(.collapsed){
  background: rgba(25,224,195,.10);
  color: var(--text);
}
.accordion-dark .accordion-button::after{
  filter: invert(1);
}
.accordion-dark .accordion-body{
  background: rgba(0,0,0,.10);
}

/* Forms */
.form-control{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--text);
  border-radius: 14px;
}
.form-control:focus{
  border-color: rgba(25,224,195,.55);
  box-shadow: 0 0 0 .2rem rgba(25,224,195,.10);
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.form-label{ color: var(--muted); }

/* Footer */
.footer{
  padding: 22px 0;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.12);
}
.link-muted{
  color: var(--muted);
  text-decoration:none;
}
.link-muted:hover{ color: var(--accent); }

/* Modals */
.modal-dark{
  background: rgba(16,31,51,.98);
  border: 1px solid var(--border);
}
.modal-dark .modal-header,
.modal-dark .modal-footer{
  border-color: var(--border);
}
.policy-body{ color: var(--text); }
.policy-body p, .policy-body li{ color: var(--muted); }
.policy-body h6{ color: var(--text); }
.btn-close-white{ filter: invert(1) grayscale(100%); }

/* Back to top */
.backtop{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(25,224,195,.14);
  border: 1px solid rgba(25,224,195,.25);
  color: var(--accent);
  text-decoration:none;
  z-index: 1030;
}
.backtop:hover{
  background: rgba(25,224,195,.18);
  color: var(--accent);
}