@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  background: #f7f7f7;
  font-family: "Poppins", sans-serif;
}

*::selection {
  background: #2b3dda;
  color: #fff;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}
html::-webkit-scrollbar {
  width: 0.8rem;
}
html::-webkit-scrollbar-track {
  background: rgb(235, 202, 245);
}
html::-webkit-scrollbar-thumb {
  background: #420177;
}

/* pre loader start */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  background: #e6eff1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.loader-container.fade-out {
  top: -120%;
}
/* pre loader end */

/* navbar starts */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.7rem 10%;
  height: 6.5rem;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.3);
}
section {
  min-height: 100vh;
  padding: 2rem 9%;
}
.heading {
  font-size: 3.5rem;
  color: rgb(32, 32, 32);
  font-weight: 800;
  text-align: center;
}
.heading span {
  color: rgb(115, 3, 167);
}
header .logo {
  font-size: 1.9rem;
  font-weight: 800;
  text-decoration: none;
  color: #0e2431;
}
header .logo i {
  font-size: 2.2rem;
}
header .logo:hover {
  color: #fc8c05;
}
header .navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .navbar li {
  margin-left: 2.5rem;
}
header .navbar ul li a {
  font-size: 1.57rem;
  color: #0e2431;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04rem;
  transition: 0.2s;
}
header .navbar ul li a.active,
header .navbar ul li a:hover {
  color: #011aff;
  border-bottom: 0.2rem solid #011aff;
  padding: 0.5rem 0;
}
/* navbar ends */

/* hamburger icon starts*/
#menu {
  font-size: 3rem;
  cursor: pointer;
  color: rgb(24, 2, 63);
  display: none;
}
@media (max-width: 768px) {
  #menu {
    display: block;
  }
  header .navbar {
    position: fixed;
    top: 6.5rem;
    right: -120%;
    width: 75%;
    height: 100%;
    text-align: left;
    align-items: flex-start;
    background-color: #0e0f31;
  }
  header .navbar ul {
    flex-flow: column;
    padding: 1rem;
  }
  header .navbar ul li {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
    border-radius: 0.5rem;
    width: 26rem;
  }
  header .navbar ul li a {
    display: block;
    padding: 1rem;
    text-align: left;
    color: #fff;
    font-size: 2rem;
  }
  header .navbar ul li a.active,
  header .navbar ul li a:hover {
    padding: 1rem;
    color: #fff;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid #011aff;
  }
  .fa-times {
    transform: rotate(180deg);
  }
  header .navbar.nav-toggle {
    right: 0;
  }
}
/* hamburger icon ends */

/* hero section starts*/
.home {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  min-height: 100vh;
  align-items: center;
}
.home #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.home .content {
  flex: 1 1 40rem;
  padding-top: 1rem;
  z-index: 1;
}
.home .image {
  flex: 1 1 40rem;
  z-index: 1;
}
.home .image img {
  width: 70%;
  margin-left: 6rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
.home .image img:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.home .content h2 {
  font-size: 5rem;
  font-weight: 800;
  color: #002057;
}
.home .content h2 span {
  font-size: 5rem;
  font-weight: 800;
  color: #ff7b00;
}
.home .content p {
  font-size: 2.5rem;
  color: #000;
  font-weight: 600;
  padding: 1rem 0;
}
.home .content p span {
  font-size: 2.5rem;
  color: rgb(148, 8, 8);
  font-weight: 600;
  padding: 1rem 0;
}
.home .btn {
  margin-top: 1rem;
  position: absolute;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 4em;
  transition: 0.5s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 18px rgba(48, 68, 247, 0.6);
  font-family: "Nunito", sans-serif;
}
.home .btn span {
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
}
.home .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.home .btn:hover {
  background: #1a047e;
}
.home .btn:hover i {
  transform: translateX(5px);
}
/* social icons start */
.socials {
  position: relative;
  margin-top: 9rem;
}
.socials .social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.socials .social-icons li {
  display: inline-block;
  margin-bottom: 14px;
}
.social-icons a {
  font-size: 2rem;
  display: inline-block;
  line-height: 44px;
  color: #00d9ff;
  background-color: #09011b;
  width: 44px;
  height: 44px;
  text-align: center;
  margin-right: 8px;
  border-radius: 100%;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  color: #fff;
  background-color: #0685da;
}
.social-icons a.github:hover {
  background-color: #0e0e0e;
}
.social-icons a.twitter:hover {
  background-color: #00aced;
}
.social-icons a.linkedin:hover {
  background-color: #007bb6;
}
.social-icons a.dev:hover {
  background-color: #070707;
}
.social-icons a.instagram:hover {
  background-color: #ee00da;
}
/* social icons end */

/* hero media queries starts*/
@media (max-width: 450px) {
  .home .btn {
    margin: 4rem 0;
  }
  .socials {
    margin-top: 12rem;
  }
  .home .image img {
    margin-top: -12rem;
  }
  .home .content p {
    font-size: 2.2rem;
  }
  .home .content p span {
    font-size: 2.2rem;
  }
}
/* hero media queries ends*/
/* hero section end */




/* work section starts */
.work {
  /* background: #010124; */
  background: linear-gradient(to bottom, #000031, #00002c);
}
.work h2 {
  color: #fff;
  padding: 1rem;
}
.work .heading span {
  color: rgb(255, 230, 0);
}
.work .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem;
}
.work .box-container .box {
  flex: 1 1 30rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  height: 30rem;
}
.work .box-container .box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.work .box-container .box .content {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 85%;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
}
.work .box-container .box .content .tag {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
  width: 100%;
  padding-left: 1rem;
  background: #ffd900;
}
.work .box-container .box .content .tag h3 {
  font-size: 2rem;
}
.work .box-container .box:hover .content {
  top: 25%;
}
.work .desc {
  margin: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.work .desc p {
  font-size: 1.5rem;
}
.work .desc .btns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 2rem;
}
.work .desc .btns .btn {
  line-height: 0;
  display: inline;
  padding: 1.5rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  color: #fff;
  background: rgb(12, 12, 12);
  margin-right: 2rem;
}
.work .desc .btns .btn:hover {
  background: #310ae0f5;
}
.work .viewall {
  display: flex;
  justify-content: center;
}
.work .viewall .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: rgb(255, 255, 255);
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0px 5px 10px rgba(65, 84, 241, 0.4);
  text-align: center;
}
.work .viewall .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}
.work .viewall .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.work .viewall .btn:hover {
  background: #fff;
  color: #000;
}
.work .viewall .btn:hover i {
  transform: translateX(5px);
}
/* work section ends */



/* footer section starts */
.footer {
  min-height: auto;
  padding-top: 0;
  background: rgb(0, 1, 43);
}
.footer .box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.footer .box-container .box {
  flex: 1 1 25rem;
  margin: 2.5rem;
}
.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: #fff;
  padding-bottom: 1rem;
  font-weight: normal;
}
.footer .box-container .box p {
  font-size: 1.5rem;
  color: #ccc;
  padding: 0.7rem 0;
  text-transform: none;
}
.footer .box-container .box p i {
  padding-right: 1rem;
  color: #ffae00;
}
.footer .box-container .box a {
  font-size: 1.5rem;
  color: rgb(238, 238, 238);
  padding: 0.3rem 0;
  display: block;
}
.footer .box-container .box a:hover {
  color: #ffae00;
}
.footer .box-container .box .share {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.footer .box-container .box .share a {
  height: 4rem;
  width: 4rem;
  padding: 1rem;
  text-align: center;
  border-radius: 5rem;
  font-size: 1.7rem;
  margin-right: 1rem;
  transition: 0.2s;
  background: rgb(230, 230, 230);
  color: #02094b;
  border: none;
}
.footer .box-container .box .share a:hover {
  background: transparent;
  transform: scale(0.98);
  border: 0.1rem solid rgb(180, 178, 178);
  color: #ffae00;
}
.footer .credit {
  padding: 1rem 0 0 0;
  text-align: center;
  font-size: 1.5rem;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  color: #fff;
  border-top: 0.1rem solid #fff3;
}
.footer .credit a {
  color: #ffae00;
}
.footer .fa {
  color: #e90606;
  margin: 0 0.3rem;
  font-size: 1.5rem;
  animation: pound 0.35s infinite alternate;
}
@-webkit-keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@media (max-width: 450px) {
  .footer .box-container .box {
    margin: 1.5rem;
  }
  .footer .box-container .box p {
    padding: 0.7rem;
  }
  .footer .box-container .box .share a {
    padding: 1.2rem;
  }
}
/* footer section ends */

/* common media queries starts*/
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  body {
    padding-right: 0;
  }
  section {
    padding: 2rem;
  }
}
/* common media queries ends*/

/* scroll top starts */
#scroll-top {
  position: fixed;
  top: -140%;
  right: 2rem;
  padding: 1rem 1.5rem;
  font-size: 2rem;
  background: #ffae00;
  color: rgb(13, 0, 44);
  border-radius: 50%;
  transition: 1s linear;
  z-index: 1000;
}
#scroll-top.active {
  top: calc(100% - 12rem);
}
/* scroll top ends */








/*******************hero action buttons*******************/
.home .content .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}
.home .content .hero-actions .hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.3rem 2.4rem;
  border-radius: 4em;
  font-family: "Nunito", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  color: #002057;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #002057;
  box-shadow: 0 4px 12px rgba(0, 32, 87, 0.18);
  transition: 0.3s;
}
.home .content .hero-actions .hero-btn i {
  font-size: 1.5rem;
  transition: 0.3s;
}
.home .content .hero-actions .hero-btn:hover {
  background: #002057;
  color: #fff;
  transform: translateY(-2px);
}
.home .content .hero-actions .hero-btn:hover i {
  transform: scale(1.12);
}
/* Read Resume is the primary call to action */
.home .content .hero-actions .hero-btn-primary {
  color: #fff;
  background: #2506ad;
  border-color: #2506ad;
  padding: 1.5rem 3rem;
  font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(48, 68, 247, 0.6);
}
.home .content .hero-actions .hero-btn-primary:hover {
  background: #1a047e;
  border-color: #1a047e;
  color: #fff;
  box-shadow: 0 8px 26px rgba(48, 68, 247, 0.75);
}
.home .socials {
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .home .content .hero-actions .hero-btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 1.2rem 1.8rem;
    font-size: 1.4rem;
  }
  .home .content .hero-actions .hero-btn-primary {
    flex-basis: 100%;
    padding: 1.4rem 2rem;
    font-size: 1.55rem;
  }
}
@media (max-width: 450px) {
  .home .image img {
    margin-top: 0;
  }
  .home .socials {
    margin-top: 2.5rem;
  }
}


/* ============================================================================
   REDESIGN — about · skills · projects · education · experience
   One shared token set, one rhythm: light → dark → light → dark → light.
   ============================================================================ */

:root {
  --ink: #0b1437;
  --ink-soft: #3d476b;
  --muted: #6a7495;
  --line: #e2e8f6;
  --surface: #ffffff;
  --surface-alt: #f1f5fd;
  --deep: #050d2c;
  --deep-2: #0b1a4d;
  --brand: #2506ad;
  --brand-soft: #ece9fb;
  --accent: #00d9ff;
  --accent-ink: #0284a8; /* the cyan, darkened enough to read on light backgrounds */
  --gold: #ffd60a;
  --font-body: "Nunito", sans-serif;
  --shadow-sm: 0 2px 10px rgba(11, 20, 55, 0.06);
  --shadow-md: 0 14px 34px rgba(11, 20, 55, 0.12);
}

/* the global `* { text-transform: capitalize }` mangles emails, code and copy —
   opt these five sections out, then re-apply case only where it is wanted */
.about, .about *,
.skills, .skills *,
.projects, .projects *,
.education, .education *,
.experience, .experience * {
  text-transform: none;
}

/* --- shared section furniture --- */
.about,
.skills,
.projects,
.education,
.experience {
  min-height: auto;
  padding: 7rem 9%;
}
.about .heading,
.skills .heading,
.projects .heading,
.education .heading,
.experience .heading {
  position: relative;
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.03rem;
  padding-bottom: 1.8rem;
  color: var(--ink);
}
.about .heading::after,
.skills .heading::after,
.projects .heading::after,
.education .heading::after,
.experience .heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 7rem;
  height: 0.4rem;
  border-radius: 2rem;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.about .heading span,
.projects .heading span,
.experience .heading span {
  color: var(--brand);
}
.skills .heading,
.education .heading {
  color: #fff;
}
.skills .heading span,
.education .heading span {
  color: var(--gold);
}
.sec-intro {
  max-width: 62rem;
  margin: 1.8rem auto 4.5rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--muted);
}
.skills .sec-intro,
.education .sec-intro {
  color: #a3b2da;
}

/* ============================== about ============================== */
.about {
  background: var(--surface);
}
.ab-grid {
  display: grid;
  grid-template-columns: minmax(26rem, 32rem) 1fr;
  gap: 4.5rem;
  max-width: 118rem;
  margin: 0 auto;
  align-items: start;
}
.ab-portrait {
  position: sticky;
  top: 9rem;
}
.ab-photo {
  position: relative;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ab-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: 0.4s;
}
.ab-photo:hover img {
  transform: scale(1.04);
}
.ab-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(5, 13, 44, 0), rgba(5, 13, 44, 0.55));
  pointer-events: none;
}
.ab-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}
.ab-stat {
  padding: 1.4rem 0.8rem;
  text-align: center;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.ab-stat b {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
}
.ab-stat span {
  font-size: 1.15rem;
  font-family: var(--font-body);
  color: var(--muted);
  line-height: 1.4;
  display: block;
}
.ab-body h3 {
  font-size: 2.9rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03rem;
}
.ab-role {
  margin-top: 0.6rem;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
}
.ab-body p.ab-lead {
  margin-top: 1.8rem;
  font-family: var(--font-body);
  font-size: 1.55rem;
  line-height: 1.9;
  color: var(--ink-soft);
}
.ab-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
  list-style: none;
}
.ab-focus li {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 3rem;
}
.ab-focus li i {
  font-size: 1.2rem;
}
.ab-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 1.2rem;
  margin-top: 2.8rem;
}
.ab-fact {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.3rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  transition: 0.25s;
}
.ab-fact:hover {
  border-color: #c9d4f5;
  transform: translateY(-2px);
}
.ab-fact > i {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 3.8rem;
  height: 3.8rem;
  font-size: 1.5rem;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 0.9rem;
}
.ab-fact .k {
  display: block;
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.09rem;
  text-transform: uppercase;
  color: var(--muted);
}
.ab-fact .v {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.42rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}
a.ab-fact:hover .v {
  color: var(--brand);
}
.resumebtn {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 3rem;
}
.resumebtn .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.4rem 2.6rem;
  border-radius: 0.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 20px rgba(37, 6, 173, 0.28);
  transition: 0.25s;
}
.resumebtn .btn:hover {
  background: #1a047e;
  transform: translateY(-2px);
}
.resumebtn .btn.btn-outline {
  color: var(--brand);
  background: transparent;
  border: 2px solid var(--brand);
  box-shadow: none;
}
.resumebtn .btn.btn-outline:hover {
  color: #fff;
  background: var(--brand);
}

/* ============================== skills ============================== */
.skills {
  background: linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 100%);
}
/* columns rather than grid: the groups differ in height, so masonry-style
   packing avoids the dead space a row-aligned grid leaves behind */
.sk-groups {
  columns: 3 32rem;
  column-gap: 2rem;
  max-width: 124rem;
  margin: 0 auto;
}
.sk-group {
  break-inside: avoid;
  margin-bottom: 2rem;
  padding: 2.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.4rem;
  transition: 0.3s;
}
.sk-group:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 217, 255, 0.45);
}
.sk-group-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-bottom: 1.4rem;
  margin-bottom: 1.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sk-group-head i {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  font-size: 1.6rem;
  color: var(--accent);
  background: rgba(0, 217, 255, 0.12);
  border-radius: 0.9rem;
}
.sk-group-head h3 {
  flex: 1;
  font-size: 1.7rem;
  font-weight: 600;
  color: #fff;
}
.sk-group-head .sk-count {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: #8fa2cf;
}
.sk-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.sk-item {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1.4rem 0.7rem 0.7rem;
  background: rgba(4, 10, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5rem;
  transition: 0.25s;
}
.sk-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}
.sk-item img {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.3rem;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
}
.sk-item span {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 600;
  color: #dbe4fb;
  white-space: nowrap;
}

/* ============================== projects ============================== */
.projects {
  background: var(--surface-alt);
}
.proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(33rem, 1fr));
  gap: 2.2rem;
  max-width: 124rem;
  margin: 0 auto;
}
.proj-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: 0.3s;
}
.proj-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.4rem;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.35s;
}
.proj-card:hover {
  transform: translateY(-6px);
  border-color: #cfd9f5;
  box-shadow: var(--shadow-md);
}
.proj-card:hover::before {
  transform: scaleX(1);
}
.proj-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  margin-bottom: 1.2rem;
}
.proj-card-top i {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  font-size: 1.8rem;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 1rem;
}
.proj-card-top h3 {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.proj-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--muted);
}
.proj-meta .dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #c2cbe6;
}
.proj-card p {
  flex-grow: 1;
  font-family: var(--font-body);
  font-size: 1.42rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}
.proj-tags span {
  padding: 0.45rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 3rem;
}
.proj-viewall {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}
.proj-viewall .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.4rem 3rem;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 0.8rem;
  transition: 0.25s;
}
.proj-viewall .btn:hover {
  color: #fff;
  background: var(--ink);
  transform: translateY(-2px);
}

/* ============================== education ============================== */
.education {
  background: linear-gradient(160deg, var(--deep-2) 0%, var(--deep) 100%);
}
.edu-list {
  display: grid;
  gap: 2rem;
  max-width: 100rem;
  margin: 0 auto;
}
.edu-card {
  display: grid;
  grid-template-columns: 24rem 1fr;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.4rem;
  overflow: hidden;
  transition: 0.3s;
}
.edu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 214, 10, 0.5);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}
.edu-thumb {
  position: relative;
  min-height: 18rem;
}
.edu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.edu-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 13, 44, 0.25) 30%, rgba(5, 13, 44, 0.9) 100%);
}
.edu-body {
  padding: 2.4rem 2.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.edu-year {
  align-self: flex-start;
  padding: 0.45rem 1.2rem;
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(255, 214, 10, 0.12);
  border: 1px solid rgba(255, 214, 10, 0.3);
  border-radius: 3rem;
}
.edu-body h3 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}
.edu-inst {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
  font-family: var(--font-body);
  font-size: 1.45rem;
  color: #a9b8e0;
}
.edu-inst i {
  color: var(--accent);
  font-size: 1.3rem;
}
.edu-certs {
  max-width: 100rem;
  margin: 2.5rem auto 0;
  padding: 2.2rem 2.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.4rem;
}
.edu-certs h4 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
}
.edu-certs h4 i {
  color: var(--gold);
}
.edu-certs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
  list-style: none;
}
.edu-certs li {
  padding: 0.6rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 600;
  color: #dbe4fb;
  background: rgba(4, 10, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3rem;
}

/* ============================== experience ============================== */
.experience {
  background: var(--surface);
}
.exp-timeline {
  position: relative;
  max-width: 100rem;
  margin: 0 auto;
  padding-left: 5rem;
}
.exp-timeline::before {
  content: "";
  position: absolute;
  left: 1.6rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), rgba(37, 6, 173, 0.08));
}
.exp-item {
  position: relative;
  margin-bottom: 2.6rem;
}
.exp-item:last-child {
  margin-bottom: 0;
}
.exp-item::before {
  content: "";
  position: absolute;
  left: -4.2rem;
  top: 2.8rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #fff;
  border: 0.4rem solid var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 0.5rem rgba(37, 6, 173, 0.1);
}
.exp-item.current::before {
  border-color: #00b341;
  box-shadow: 0 0 0 0.5rem rgba(0, 179, 65, 0.14);
}
.exp-card {
  padding: 2.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
}
.exp-card:hover {
  transform: translateY(-3px);
  border-color: #cfd9f5;
  box-shadow: var(--shadow-md);
}
.exp-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px dashed var(--line);
}
.exp-org {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--ink);
}
.exp-role {
  margin-top: 0.4rem;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
}
.exp-when {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}
.exp-chip {
  padding: 0.5rem 1.3rem;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 3rem;
  white-space: nowrap;
}
.exp-item.current .exp-chip {
  color: #00762c;
  background: rgba(0, 179, 65, 0.12);
}
.exp-loc {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--muted);
}
.exp-card ul {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.8rem;
  list-style: none;
}
.exp-card li {
  position: relative;
  padding-left: 2.4rem;
  font-family: var(--font-body);
  font-size: 1.42rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.exp-card li::before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0.2rem;
  top: 0.4rem;
  font-size: 1.05rem;
  color: var(--brand);
  opacity: 0.55;
}
.exp-card li b {
  color: var(--ink);
  font-weight: 700;
}
.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px dashed var(--line);
}
.exp-tags span {
  padding: 0.45rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 3rem;
}

/* ============================== responsive ============================== */
@media (max-width: 991px) {
  .ab-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 60rem;
  }
  .ab-portrait {
    position: static;
  }
  .ab-photo img {
    aspect-ratio: 3 / 2;
  }
  .edu-card {
    grid-template-columns: 1fr;
  }
  .edu-thumb {
    min-height: 20rem;
  }
  .edu-thumb::after {
    background: linear-gradient(180deg, rgba(5, 13, 44, 0.2) 30%, rgba(5, 13, 44, 0.9) 100%);
  }
}
@media (max-width: 600px) {
  .about,
  .skills,
  .projects,
  .education,
  .experience {
    padding: 5rem 6%;
  }
  .about .heading,
  .skills .heading,
  .projects .heading,
  .education .heading,
  .experience .heading {
    font-size: 2.8rem;
  }
  .sec-intro {
    margin-bottom: 3.5rem;
  }
  .ab-facts {
    grid-template-columns: 1fr;
  }
  .proj-grid,
  .sk-groups {
    grid-template-columns: 1fr;
  }
  .exp-timeline {
    padding-left: 3.4rem;
  }
  .exp-timeline::before {
    left: 0.8rem;
  }
  .exp-item::before {
    left: -3.2rem;
    top: 2.4rem;
  }
  .exp-card,
  .proj-card,
  .sk-group,
  .edu-body {
    padding: 1.8rem;
  }
  .exp-when {
    align-items: flex-start;
  }
}


/* ============================================================================
   CONTACT — same token set as the redesigned sections
   ============================================================================ */

.contact {
  min-height: auto;
  padding: 7rem 9%;
  background: var(--surface-alt);
}
.contact, .contact * {
  text-transform: none;
}
.contact .heading {
  position: relative;
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.03rem;
  padding-bottom: 1.8rem;
  color: var(--ink);
}
.contact .heading span {
  color: var(--brand);
}
.contact .heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 7rem;
  height: 0.4rem;
  border-radius: 2rem;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.ct-grid {
  display: grid;
  grid-template-columns: minmax(28rem, 38rem) 1fr;
  gap: 2.5rem;
  max-width: 110rem;
  margin: 0 auto;
  align-items: start;
}

/* --- left rail: the details themselves, not a stock illustration --- */
.ct-side {
  display: grid;
  gap: 1.2rem;
}
.ct-card {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 1.6rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: 0.25s;
}
a.ct-card:hover {
  transform: translateY(-2px);
  border-color: #c9d4f5;
  box-shadow: var(--shadow-md);
}
.ct-card > i {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  font-size: 1.6rem;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 1rem;
}
.ct-card .k,
.ct-social .k {
  display: block;
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.09rem;
  text-transform: uppercase;
  color: var(--muted);
}
.ct-card .v {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.42rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
}
a.ct-card:hover .v {
  color: var(--brand);
}
.ct-social {
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.ct-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
}
.ct-social-row a {
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  font-size: 1.7rem;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 50%;
  transition: 0.25s;
}
.ct-social-row a:hover {
  color: #fff;
  background: var(--brand);
  transform: translateY(-3px);
}

/* --- form --- */
.ct-form {
  display: grid;
  gap: 1.6rem;
  padding: 2.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  box-shadow: var(--shadow-md);
}
.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.ct-field {
  position: relative;
}
.ct-field label {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
  color: var(--muted);
}
.ct-field input,
.ct-field textarea {
  width: 100%;
  padding: 1.4rem 1.6rem 1.4rem 4.4rem;
  font-family: var(--font-body);
  font-size: 1.45rem;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  transition: 0.2s;
}
.ct-field textarea {
  min-height: 14rem;
  max-height: 30rem;
  resize: vertical;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: #9aa4c2;
}
.ct-field input:focus,
.ct-field textarea:focus {
  background: var(--surface);
  border-color: var(--brand);
  box-shadow: 0 0 0 0.4rem rgba(37, 6, 173, 0.1);
}
.ct-field > i {
  position: absolute;
  left: 1.6rem;
  top: 4.3rem;
  font-size: 1.5rem;
  color: #9aa4c2;
  pointer-events: none;
  transition: 0.2s;
}
.ct-field-message > i {
  top: 4.1rem;
}
.ct-field input:focus ~ i,
.ct-field textarea:focus ~ i {
  color: var(--brand);
}
.ct-submit {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.5rem 3rem;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 0.8rem;
  box-shadow: 0 8px 20px rgba(37, 6, 173, 0.28);
  cursor: pointer;
  transition: 0.25s;
}
.ct-submit:hover {
  background: #1a047e;
  transform: translateY(-2px);
}
.ct-submit:disabled {
  opacity: 0.65;
  cursor: default;
  transform: none;
}
.ct-submit i {
  transition: 0.25s;
}
.ct-submit:hover i {
  transform: translateX(4px);
}
.ct-status {
  display: none;
  padding: 1.2rem 1.6rem;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 600;
  border-radius: 0.9rem;
}
.ct-status.is-ok,
.ct-status.is-error {
  display: block;
}
.ct-status.is-ok {
  color: #00762c;
  background: rgba(0, 179, 65, 0.12);
  border: 1px solid rgba(0, 179, 65, 0.3);
}
.ct-status.is-error {
  color: #a51616;
  background: rgba(220, 38, 38, 0.09);
  border: 1px solid rgba(220, 38, 38, 0.28);
}
@media (max-width: 991px) {
  .ct-grid {
    grid-template-columns: 1fr;
    max-width: 60rem;
  }
}
@media (max-width: 600px) {
  .contact {
    padding: 5rem 6%;
  }
  .contact .heading {
    font-size: 2.8rem;
  }
  .ct-row {
    grid-template-columns: 1fr;
  }
  .ct-form {
    padding: 1.8rem;
  }
}

/* ============================================================================
   COLOUR MATCH — the template's leftover orange / purple / red accents
   pulled onto the same palette as everything above
   ============================================================================ */

html::-webkit-scrollbar-track {
  background: var(--surface-alt);
}
html::-webkit-scrollbar-thumb {
  background: var(--brand);
}
*::selection {
  background: var(--brand);
  color: #fff;
}
header .logo {
  color: var(--ink);
}
header .logo:hover {
  color: var(--brand);
}
header .navbar ul li a {
  color: var(--ink-soft);
}
header .navbar ul li a.active,
header .navbar ul li a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
#menu {
  color: var(--ink);
}
@media (max-width: 768px) {
  header .navbar {
    background-color: var(--deep);
  }
  header .navbar ul li a.active,
  header .navbar ul li a:hover {
    border-bottom-color: var(--accent);
  }
}
.home .content h2 {
  color: var(--ink);
}
.home .content h2 span {
  color: var(--brand);
}
.home .content p {
  color: var(--ink-soft);
}
.home .content p span {
  color: var(--accent-ink);
}
.social-icons a {
  color: var(--accent);
  background-color: var(--deep);
}
.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  color: #fff;
  background-color: var(--brand);
}
.social-icons a.github:hover {
  background-color: var(--ink);
}
#scroll-top {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 6px 18px rgba(37, 6, 173, 0.35);
}
.footer {
  background: var(--deep);
}
.footer .box-container .box p i {
  color: var(--accent);
}
.footer .box-container .box a:hover {
  color: var(--accent);
}
.footer .box-container .box .share a {
  color: var(--deep);
  background: #e8edfa;
}
.footer .box-container .box .share a:hover {
  color: var(--accent);
  border-color: rgba(0, 217, 255, 0.5);
}
.footer .credit a {
  color: var(--accent);
}
