:root {
  --g: #141b5a;
  --gl: #e8f5ee;
  --gb: rgba(26, 107, 74, .18);
  --bg: #f8f7f5;
  --bg2: #f0eeea;
  --bd: #e8e5df;
  --tx: #1a1814;
  --mu: #6b6560;
  --fh: 'Instrument Serif', serif;
  --fb: 'Outfit', sans-serif;
  --fm: 'JetBrains Mono', monospace;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--tx);
  margin: 0;
}

/* NAV */
.navbar {
  background: rgba(248, 247, 245, .96) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bd);
}

.navbar-brand {
  font-family: var(--fh);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--tx) !important;
}

.navbar-brand span {
  color: var(--g);
  font-style: normal;
}

.nav-link {
  color: var(--mu) !important;
  font-size: .83rem;
  font-weight: 500;
  border-radius: 100px;
  padding: 5px 12px !important;
  transition: all .15s;
}

.nav-link:hover {
  background: var(--bg2);
  color: var(--tx) !important;
}

.btn-hire {
  background: var(--g) !important;
  color: #fff !important;
  border-radius: 100px !important;
  font-weight: 600;
  font-size: .83rem;
  padding: 5px 16px !important;
}

.btn-hire:hover {
  background: #145a3c !important;
}

.btn-dl {
  background: #fff !important;
  color: var(--tx) !important;
  border: 1.5px solid var(--bd) !important;
  border-radius: 100px !important;
  font-size: .83rem;
  font-weight: 500;
  padding: 5px 14px !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all .15s;
}

.btn-dl:hover {
  background: var(--gl) !important;
  border-color: var(--g) !important;
  color: var(--g) !important;
}

/* SECTIONS */
.sec-label {
  font-family: var(--fm);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sec-label::before {
  content: '';
  width: 16px;
  height: 1.5px;
  background: var(--g);
  border-radius: 2px;
}

.sec-title {
  font-family: var(--fh);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -.5px;
  line-height: 1.15;
}

/* HERO */
#hero {
  min-height: 100vh;
  padding-top: 68px;
  background: #fff;
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #ccc9c0 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .22;
  pointer-events: none;
}

.hero-name {
  font-family: var(--fh);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.05;
}

.hero-name em {
  font-style: italic;
  color: var(--g);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gl);
  border: 1px solid var(--gb);
  color: var(--g);
  font-family: var(--fm);
  font-size: .68rem;
  padding: 4px 13px;
  border-radius: 100px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--g);
  border-radius: 50%;
  animation: blink 2s infinite;
  display: inline-block;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg2);
  border: 1px solid var(--bd);
  color: var(--mu);
  font-size: .78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
}

/* SHOWCASE CARD */
.sc-card {
  background: #fff;
  border: 1.5px solid var(--bd);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

.svc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--bd);
  transition: all .18s;
}

.svc-row:hover {
  background: var(--gl);
  border-color: var(--gb);
}

.svc-em {
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 9px;
  border: 1px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.svc-badge {
  font-family: var(--fm);
  font-size: .6rem;
  background: #fff;
  border: 1px solid var(--bd);
  color: var(--mu);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.dot-r {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.dot-y {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #febc2e;
}

.dot-g {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #28c840;
}

.soc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--bg);
  border: 1px solid var(--bd);
  color: var(--mu);
  font-size: .74rem;
  font-weight: 500;
  padding: 7px 0;
  border-radius: 9px;
  text-decoration: none;
  transition: all .15s;
}

.soc-btn:hover {
  background: var(--tx);
  color: #fff;
  border-color: var(--tx);
}

/* SERVICE CARDS */
.sv-card {
  background: var(--bg);
  border: 1.5px solid var(--bd) !important;
  border-radius: 14px !important;
  transition: all .22s;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.sv-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--g);
  transform: scaleX(0);
  transition: transform .22s;
  transform-origin: left;
}

.sv-card:hover {
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .07) !important;
  transform: translateY(-3px);
}

.sv-card:hover::after {
  transform: scaleX(1);
}

.sv-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.ic-g {
  background: var(--gl);
  border: 1px solid var(--gb);
}

.ic-o {
  background: #fdf0e8;
  border: 1px solid rgba(181, 71, 10, .15);
}

.ic-i {
  background: #eef2ff;
  border: 1px solid rgba(99, 102, 241, .15);
}

.ic-p {
  background: #fdf4ff;
  border: 1px solid rgba(168, 85, 247, .15);
}

.ic-a {
  background: #fff7ed;
  border: 1px solid rgba(249, 115, 22, .15);
}

.ic-s {
  background: #f0f9ff;
  border: 1px solid rgba(14, 165, 233, .15);
}

.tmono {
  font-family: var(--fm);
  font-size: .61rem;
  background: #fff;
  border: 1px solid var(--bd);
  color: var(--mu);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ABOUT */
.ahl {
  background: var(--gl);
  border-left: 3px solid var(--g);
  color: var(--g);
  font-size: .87rem;
  font-weight: 500;
  border-radius: 0 8px 8px 0;
}

.ic-row {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 10px;
  transition: all .15s;
}

.ic-row:hover {
  border-color: #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.ic-dot {
  width: 30px;
  height: 30px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  flex-shrink: 0;
}

.stat-box {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 11px;
  text-align: center;
  transition: all .15s;
}

.stat-box:hover {
  border-color: var(--g);
}

.stat-num {
  font-family: var(--fh);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -.3px;
  line-height: 1;
}

/* EXPERIENCE */
.exp-tab {
  cursor: pointer;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: all .15s;
}

.exp-tab.active {
  background: var(--gl);
  border-color: var(--gb);
}

.exp-tab:hover:not(.active) {
  background: var(--bg2);
}

.exp-tab.active .exp-co {
  color: var(--g) !important;
}

.exp-panel {
  display: none;
}

.exp-panel.active {
  display: block;
  animation: fu .28s ease;
}

@keyframes fu {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.exp-cname {
  font-family: var(--fh);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -.3px;
}

.period-tag {
  font-family: var(--fm);
  font-size: .65rem;
  background: var(--gl);
  border: 1px solid var(--gb);
  color: var(--g);
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
}

.exp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.exp-list li {
  padding: 3px 0 3px 20px;
  position: relative;
  color: var(--mu);
  font-size: .88rem;
  line-height: 1.65;
}

.exp-list li::before {
  content: '↳';
  position: absolute;
  left: 0;
  color: var(--g);
  font-size: .72rem;
  top: 7px;
}

.award-box {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 9px;
  color: #92400e;
  font-size: .81rem;
  font-weight: 500;
}

/* PROJECTS */
.proj-card {
  background: #fff;
  border: 1.5px solid var(--bd) !important;
  border-radius: 13px !important;
  transition: all .2s;
  height: 100%;
}

.proj-card:hover {
  box-shadow: 0 6px 22px rgba(0, 0, 0, .08) !important;
  transform: translateY(-3px);
}

.proj-icon {
  width: 38px;
  height: 38px;
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.proj-tag {
  font-family: var(--fm);
  font-size: .61rem;
  background: var(--gl);
  border: 1px solid var(--gb);
  color: var(--g);
  padding: 2px 6px;
  border-radius: 4px;
}

.proj-type {
  font-family: var(--fm);
  font-size: .61rem;
  background: var(--bg2);
  border: 1px solid var(--bd);
  color: var(--mu);
  padding: 2px 6px;
  border-radius: 4px;
}

/* SKILLS */
.bar-bg {
  height: 5px;
  background: var(--bg2);
  border-radius: 10px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--g), #34d399);
  border-radius: 10px;
  width: 0;
  transition: width 1.1s cubic-bezier(.4, 0, .2, 1);
}

.bar-pct {
  font-family: var(--fm);
  font-size: .7rem;
  color: var(--g);
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg);
  border: 1.5px solid var(--bd);
  color: var(--mu);
  font-size: .78rem;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 100px;
  transition: all .15s;
}

.tech-pill:hover {
  background: var(--gl);
  border-color: var(--gb);
  color: var(--g);
}

.cat-lbl {
  font-family: var(--fm);
  font-size: .63rem;
  color: var(--mu);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* EDUCATION */
.edu-card {
  background: #fff;
  border: 1.5px solid var(--bd) !important;
  border-radius: 13px !important;
  transition: all .15s;
}

.edu-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06) !important;
}

.edu-yr {
  font-family: var(--fm);
  font-size: .65rem;
  color: var(--g);
}

.cgpa-badge {
  display: inline-block;
  background: var(--gl);
  border: 1px solid var(--gb);
  color: var(--g);
  font-family: var(--fm);
  font-size: .7rem;
  padding: 3px 9px;
  border-radius: 6px;
}

.cert-item {
  background: #fff;
  border: 1.5px solid var(--bd);
  border-radius: 9px;
  transition: all .15s;
}

.cert-item:hover {
  border-color: #ccc;
  transform: translateX(3px);
}

/* CONTACT */
.cl-item {
  background: var(--bg);
  border: 1.5px solid var(--bd);
  border-radius: 11px;
  text-decoration: none;
  color: var(--tx);
  transition: all .15s;
}

.cl-item:hover {
  border-color: var(--g);
  background: var(--gl);
  transform: translateX(3px);
  color: var(--tx);
}

.cl-ic {
  width: 34px;
  height: 34px;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}

.cta-dark {
  background: var(--tx);
  border-radius: 16px;
}

.avail-dot {
  width: 6px;
  height: 6px;
  background: #6ee7b7;
  border-radius: 50%;
  animation: blink 2s infinite;
  display: inline-block;
}

.avail-badge {
  background: rgba(110, 231, 183, .12);
  border: 1px solid rgba(110, 231, 183, .25);
  color: #6ee7b7;
  font-family: var(--fm);
  font-size: .7rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta-main {
  background: #fff;
  color: var(--tx);
  border-radius: 9px;
  font-weight: 600;
  font-size: .86rem;
  transition: all .15s;
}

.cta-main:hover {
  background: var(--g);
  color: #fff;
}

.cta-ghost {
  background: transparent;
  color: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 9px;
  font-size: .86rem;
  transition: all .15s;
}

.cta-ghost:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

/* WHATSAPP */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, .3);
  transition: transform .18s;
}

.wa-float:hover {
  transform: scale(1.1);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  #hero {
    text-align: center;
  }

  #hero .d-flex.flex-wrap {
    justify-content: center;
  }

  .sc-card {
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
  .exp-sidebar-wrap {
    display: flex !important;
    flex-wrap: wrap;
    gap: 7px;
    border-right: none !important;
    border-bottom: 1px solid var(--bd);
    padding-bottom: 12px;
    margin-bottom: 18px;
  }
}

.qchip {
  background: #fff;
  border: 1px solid var(--bd);
  color: var(--mu);
  font-size: .7rem;
  padding: 4px 10px;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--fb);
  transition: all .15s;
}

.qchip:hover {
  background: var(--gl);
  border-color: var(--gb);
  color: var(--g);
}

#chat-window {
  display: none;
}

#chat-window.open {
  display: flex !important;
  animation: chatSlide .25s cubic-bezier(.4, 0, .2, 1);
}

@keyframes chatSlide {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.97)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: var(--mu);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
  display: inline-block;
}

.typing-dot:nth-child(2) {
  animation-delay: .2s
}

.typing-dot:nth-child(3) {
  animation-delay: .4s
}

@keyframes typingBounce {

  0%,
  60%,
  100% {
    transform: translateY(0)
  }

  30% {
    transform: translateY(-6px)
  }
}

/* Bot avatar */
.bot-av-wrap {
  position: relative;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.bot-av {
  width: 26px;
  height: 26px;
  background: var(--g);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
}

.bot-av-wave {
  position: absolute;
  top: -14px;
  left: -2px;
  font-size: .75rem;
  animation: waveHi .6s ease forwards;
  opacity: 0;
  transform-origin: bottom center;
  pointer-events: none;
}

@keyframes waveHi {
  0% {
    opacity: 0;
    transform: translateY(4px) rotate(-20deg) scale(.7);
  }

  40% {
    opacity: 1;
    transform: translateY(-2px) rotate(15deg) scale(1.1);
  }

  70% {
    transform: translateY(0) rotate(-10deg) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-6px) rotate(5deg) scale(.9);
  }
}

#chat-bubble::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(26, 107, 74, .3);
  animation: cb-ring 2.5s ease-in-out infinite;
}

@keyframes cb-ring {

  0%,
  100% {
    transform: scale(1);
    opacity: .6;
  }

  50% {
    transform: scale(1.14);
    opacity: 0;
  }
}

@keyframes cb-bounce {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.2);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

@keyframes robotThink {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-12deg);
  }

  75% {
    transform: rotate(12deg);
  }
}