* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  --webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

:root {
  --bg-color: #080808;
  --second-bg-color: #131313;
  --text-color: white;
  --main-color: #00ffee;
  --muted-color: #dadada;
}

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}

.home-skeleton {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  gap: 8rem;
  width: 100%;
  padding: 5rem 8% 10rem;
  background: var(--bg-color);
}

.skeleton-content>div,
.skeleton-img {
  background: #222;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.skeleton-title {
  width: 250px;
  height: 40px;
}

.skeleton-subtitle {
  width: 180px;
  height: 28px;
}

.skeleton-paragraph {
  width: 350px;
  height: 18px;
}

.skeleton-social {
  width: 180px;
  height: 40px;
}

.skeleton-btn-group {
  width: 160px;
  height: 40px;
}

.skeleton-img {
  width: 460px;
  height: 460px;
  border-radius: 50%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  padding: 0 3rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5000;
}

.logo {
  font-size: 2rem;
  color: var(--text-color);
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.logo span {
  text-shadow: 0 0 25px var(--main-color);
}

.navbar a {
  font-size: 1rem;
  color: var(--text-color);
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbar a.active {
  color: var(--main-color);
  border-bottom: 3px solid var(--main-color);
}

#hamburger-icon,
#mobile-nav {
  display: none;
}

#menu-icon {
  font-size: 3.6rem;
  color: var(--main-color);
  display: none;

}

section {
  /* height: 100vh; */
  width: 100%;
  padding: 5rem 8% 10rem;
}

.home {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  gap: 8rem;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  text-align: left;
  justify-content: center;
  margin-top: 0;
}

span:not(.bio-para) {
  color: var(--main-color);
}

.logo span {
  color: var(--main-color);
}

.home-content h3 {
  margin-bottom: 2rem;
  margin-top: 1rem;
  font-size: 1.8rem;
}

.home-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  line-height: 1;
}

.home-img {
  border-radius: 50%;
  width: 460px;
  height: 460px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-img img {
  /* background-color: var(--main-color); */
  width: 460px;
  height: 460px;
  object-fit: cover;
  border-radius: 50%;
  /* box-shadow: 0 0 25px var(--main-color); */
  cursor: pointer;
  transition: 0.4s ease-in-out;
}

.home-img img:hover {
  box-shadow: 0 0 25px var(--main-color),
    0 0 50px var(--main-color),
    0 0 100px var(--main-color);
}

.home-img::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  box-shadow: inset 0px 0px 20px 40px var(--bg-color),
    inset 0px 0px 20px 40px var(--bg-color),
    0px 0px 10px 40px var(--bg-color),
    0px 0px 10px 40px var(--bg-color);
}

.home-content p {
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.01em;
  max-width: 800px;
}

.bio-para {
  display: none;
}

.bio-para.show {
  display: block;
}

.social-icons {
  width: 40vw;
  display: inline-flex;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  color: var(--main-color);
  background: transparent;
  border: 2px solid var(--main-color);
  font-size: 2.5rem;
  border-radius: 50%;
  margin: 3rem 1.5rem 3rem 0;
  opacity: 1;
  transition: 0.3s ease-in-out;
}

.social-icons a:hover {
  color: var(--text-color);
  transform: scale(1.3)translateY(-5px);
  box-shadow: 0 0 25px var(--main-color);
  background-color: var(--main-color);
}

.social-icons a img {
  width: 100%;
  height: 100%;
  background: var(--main-color);
  border-radius: 50%;
}

.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 0.5rem 2rem;
  background: var(--main-color);
  box-shadow: 0 0 25px var(--main-color);
  border-radius: 4rem;
  font-size: 1.6rem;
  color: black;
  border: 2px solid transparent;
  letter-spacing: 0.1rem;
  font-weight: 600;
  text-align: center;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.btn-group a {
  height: 100%;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px var(--main-color);
}

.btn-group {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  height: 60px;
}

.btn-group a:nth-of-type(2) {
  background-color: black;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  box-shadow: 0 0 25px transparent;
}

.btn-group a:nth-of-type(2):hover {
  box-shadow: 0 0 25px var(--main-color);
  background-color: var(--main-color);
  color: black;
}

.btn-group a:nth-of-type(1) {
}

.text-animation {
  font-size: 34px;
  font-weight: 600;
  min-width: 280px;
}

.text-animation span {
  position: relative;
}

/* .text-animation span::before {
  content: "Android Developer";
  color: var(--main-color);
} */

/* .text-animation span::after {
  content: "";
  background-color: var(--bg-color);
  position: absolute;
  width: calc(100% + 8px);
  height: 100%;
  border-left: 3px solid var(--bg-color);
  right: -8px;
} */

.section-lbl {
  font-size: 2rem;
  color: var(--text-color);
  text-align: center;
  letter-spacing: 0.1em;
  text-decoration: underline;
}

.education {
  padding: 50px 15px;
  background: var(--second-bg-color);
}

.education h2 {
  margin-bottom: 3rem;
  letter-spacing: .2em;
}

.timeline-items {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 130%;
  background-color: var(--main-color);
  left: calc(50% - 1px);
}

.timeline-item {
  margin-bottom: 40px;
  width: 100%;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
  padding-right: calc(50% + 30px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: calc(50% + 30px);
}

.timeline-dot {
  height: 21px;
  width: 21px;
  background-color: var(--main-color);
  box-shadow: 0 0 25px var(--main-color),
    0 0 50px var(--main-color);
  position: absolute;
  left: calc(50% - 8px);
  border-radius: 50%;
  top: 10px;
}

.timeline-date {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-color);
  margin: 6px 0 15px;
}

.timeline-content {
  background-color: var(--bg-color);
  border: 3px solid var(--main-color);
  padding: 30px 50px;
  margin: 0 50px;
  border-radius: 4rem;
  box-shadow: 0 0 10px var(--main-color);
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.timeline-item:nth-child(odd) .timeline-content {
  transition: 0.3s ease-in-out;
}

.timeline-item:nth-child(even) .timeline-content {
  transition: 0.3s ease-in-out;
}

.timeline-content:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--main-color);
}

.timeline-content:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--main-color);
}

.timeline-content h3 {
  font-size: 20px;
  color: var(--text-color);
  margin: 0 0 10px;
  font-weight: 500;
}

.timeline-content p {
  color: var(--text-color);
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
}

.heading-arsenal {
  margin: 100px 0 0 0;
}

.arsenal {
  padding: 1rem 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  row-gap: 4rem;
  justify-content: space-around;
  align-items: center;
}

.arsenal .lang-exp,
.framework-libs,
.tech-skills {
  width: 42.5%;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.034);
  backdrop-filter: blur(5px);
  border-radius: 1rem;
  border: 1px solid var(--text-color);
  border-bottom: 4px solid var(--text-color);
}

.arsenal .framework-libs {
  width: 55%;
}

.arsenal .lang-exp h3,
.framework-libs h3,
.tech-skills h3 {
  margin-bottom: 1rem;
  color: var(--text-color);
  text-align: center;
  text-decoration: underline;
  font-weight: 500;
  letter-spacing: .1em;
}

.arsenal .lang-exp span,
.framework-libs span,
.tech-skills span {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--muted-color);
}

.lang-exp:hover,
.framework-libs:hover,
.tech-skills:hover {
  scale: 101%;
  transition: all 0.3s ease-in-out;
}

progress {
  width: 100%;
  border-radius: 20px;
  background-color: var(--bg-color);
  appearance: none;
  margin-bottom: .5rem;
}

progress::-webkit-progress-bar {
  background-color: var(--bg-color);
  border-radius: 20px;
  width: 100%;
  appearance: none;
}

progress::-webkit-progress-value {
  background-color: var(--main-color);
  border-radius: 20px;
  appearance: none;
  color: blueviolet;
}

progress::-moz-progress-bar {
  background-color: var(--main-color);
  border-radius: 20px;
  appearance: none;
}

progress::-ms-fill {
  background-color: var(--main-color);
  border-radius: 20px;
  appearance: none;
}

.skills:hover {
  box-shadow: 0 0 10px var(--main-color);
  scale: 101%;
  transition: all 0.3s ease-in-out;
}

.lang-exp .skills,
.tech-skills .skills {
  width: 100%;
  height: 12px;
  border-radius: 20px;
  background-color: var(--bg-color);
  margin-bottom: 0.5rem;
}

/* Progress bar specific styling for tech-skills */
.tech-skills progress {
  width: 100%;
  height: 12px;
  margin-bottom: 0.5rem;
  display: block !important;
  opacity: 1 !important;
}

.lang-exp {
}

.tech-skills {
}

.framework-libs {
}

section #projects {
  width: 100%;
  margin-inline: 0;
  padding: 0;
}

.project-list {
  width: 100%;
  margin-top: 3rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 2rem;
}

.project-item {
  width: 30%;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: strat;
  padding: 1.5rem;
  border-radius: 10px;
  z-index: 10;
  background-color: var(--second-bg-color);
  position: relative;
}

.project-item img {
  width: 100%;
  height: 75%;
  border-radius: 10px;
  object-fit: cover;
}

.project-item img:hover {
  scale: 105%;
  cursor: grab;
}

.project-item h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-color);
  text-align: left;
}

.project-item p {
  font-size: 1rem;
  color: var(--muted-color);
  text-align: left;
  line-height: 1.5;
  flex-grow: 1;
}

.project-item .visit-project {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  box-shadow: 0 0 15px var(--main-color);
  font-size: 1.2rem;
  margin-top: 1rem;
}

.project-item:nth-child(1),
.project-item:nth-child(4) {
}

.project-item:nth-child(2),
.project-item:nth-child(5) {
}

.project-item:nth-child(3),
.project-item:nth-child(6) {
}

section#contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  height: fit-content;
}

#contact h2 {
  transform: translateY(-100px);
}

#contact .wrapper {
  width: 800px;
  height: 90%;
  display: flex;
  overflow: hidden;
  border-radius: 2rem;
  position: relative;
  box-shadow:
    0 0 6px #00000010,
    0 0 20px #0000001a;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.effect {
  position: absolute;
  z-index: 0;
  inset: 0;
  backdrop-filter: blur(0.5px);
  filter: url(#glass-distortion);
  overflow: hidden;
}

.tint {
  z-index: 1;
  position: absolute;
  inset: 0;
  background: #ffffff10;
}

.shine {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  box-shadow: inset 2px 2px 1px 0 #ffffff4b,
    inset -1px -1px 1px 1px #ffffff40;
}

.wrapper {
  display: flex;
  gap: 25px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.dock {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border-radius: 2rem;
  padding: 0.6rem;
  position: relative;
}

.dock,
.dock>div {
  border-radius: 2rem;
}

.dock:hover {
  padding: 0.8rem;
  border-radius: 2rem;
}

.dock:hover>div {
  border-radius: 2rem;
}

form#contact-form {
  height: 500px;
  width: 600px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 3rem 4rem;
}

form * {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  letter-spacing: 0.5px;
  outline: none;
  border: none;
}

label {
  display: block;
  margin-top: 30px;
  font-size: 16px;
  font-weight: 500;
}

input,
textarea {
  display: block;
  height: 50px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  padding: 0 10px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 300;
}

textarea {
  min-height: 150px;
  max-height: 230px;
  padding-top: 10px;
  resize: vertical;
}

::placeholder {
  color: #e5e5e5;
}

.submit-btn {
  margin-top: 10px;
}

.submit-btn:hover {
  box-shadow: 0 0 15px var(--main-color);
}

.background {
  width: 750px;
  height: 520px;
  position: absolute;
  transform: translate(-50%, -70%);
  left: 50%;
  top: 50%;
}

.background .shape {
  position: absolute;
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 1;
}

.shape:first-child {
  background: linear-gradient(#1845ad,
      #23a2f6);
  left: -120px;
  top: -100px;
  height: 300px;
  width: 300px;
}

.shape:last-child {
  background: linear-gradient(to right,
      #ff512f,
      #f09819);
  right: -180px;
  bottom: -180px;
  height: 400px;
  width: 400px;
}

.shape:hover {
  scale: 1.1;
}

footer {
  width: 100%;
  height: fit-content;
  padding: 18px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.image-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 80vw;
  max-width: 800px;
  height: 80vh;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  z-index: 10000;
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}

.image-modal.preview-modal {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 1rem;
  padding: 3rem;
}

.preview-modal.close-btn {
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 0 25px var(--main-color);
}



.lang-exp {
  padding: 20px;
  font-family: Arial, sans-serif;
}

.block-name {
  margin-bottom: 15px;
}

/* Base progress style */
.lang-exp progress {
  width: 100%;
  height: 14px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
  appearance: none;
}

/* Background */
.lang-exp progress::-webkit-progress-bar {
  background-color: var(--bg-color);
  border-radius: 10px;
}

/* Default value */
.lang-exp progress::-webkit-progress-value {
  border-radius: 10px;
}

/* Firefox */
.lang-exp progress::-moz-progress-bar {
  border-radius: 10px;
}

/* 🌈 Individual Colors */
progress.html::-webkit-progress-value,
progress.html::-moz-progress-bar {
  background: #e44d26;
  /* HTML */
}

progress.css::-webkit-progress-value,
progress.css::-moz-progress-bar {
  background: #264de4;
  /* CSS */
}

progress.js::-webkit-progress-value,
progress.js::-moz-progress-bar {
  background: #f7df1e;
  /* JavaScript */
}

progress.php::-webkit-progress-value,
progress.php::-moz-progress-bar {
  background: #777bb4;
  /* PHP */
}

progress.c-cpp::-webkit-progress-value,
progress.c-cpp::-moz-progress-bar {
  background: #00599c;
  /* C/C++ */
}

progress.java::-webkit-progress-value,
progress.java::-moz-progress-bar {
  background: #f89820;
  /* Java */
}

progress.python::-webkit-progress-value,
progress.python::-moz-progress-bar {
  background: #3776ab;
  /* Python */
}

progress.sql-plsql::-webkit-progress-value,
progress.sql-plsql::-moz-progress-bar {
  background: #cc2927;
  /* SQL / PLSQL */
}



.tech-skills {
  padding: 20px;
  font-family: Arial, sans-serif;
}

.block-name {
  margin-bottom: 20px;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 25px;
  justify-items: center;
}

.circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background:
    conic-gradient(var(--color) calc(var(--value) * 1%), #333333 0);
}

.circle::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--bg-color);
  border-radius: 50%;
}

.circle span {
  font-weight: bold;
  z-index: 1;
  color: var(--text-color);
}

.circle p {
  font-size: 0.85rem;
  margin-top: 5px;
  z-index: 1;
  color: var(--muted-color);
}

/* 🎯 Skill Colors */
.fullstack {
  --color: #6a5acd;
}

.frontend {
  --color: #ff6347;
}

.backend {
  --color: #20b2aa;
}

.database {
  --color: #ffa500;
}

.api {
  --color: #3cb371;
}

.git {
  --color: #dc143c;
}

.android {
  --color: #32cd32;
}

.desktop {
  --color: #4682b4;
}

.framework-libs {
  padding: 25px;
  font-family: "Segoe UI", sans-serif;
}

.block-name {
  text-align: center;
  margin-bottom: 25px;
}

.pie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  justify-items: center;
}

.pie {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background:
    conic-gradient(var(--color) calc(var(--value) * 1%), #333333 0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 255, 238, 0.15);
  transition: all 0.3s ease;
}

.pie:hover {
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(0, 255, 238, 0.3);
}

.pie::before {
  content: "";
  position: absolute;
  width: 95px;
  height: 95px;
  background: var(--bg-color);
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 238, 0.2);
}

.pie span {
  font-size: 1.1rem;
  font-weight: bold;
  z-index: 1;
  color: var(--text-color);
}

.pie p {
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 1;
  color: var(--muted-color);
}

/* 🌈 Framework Colors - Enhanced for Dark Theme */
.react {
  --color: #61dafb;
}

.nodejs {
  --color: #68a063;
}

.django {
  --color: #0c4b33;
}

.flask {
  --color: #ff6600;
}

.streamlit {
  --color: #ff4b4b;
}

.bootstrap {
  --color: #9966ff;
}

.tailwind {
  --color: #38bdf8;
}

.jquery {
  --color: #0c72b4;
}

.laravel {
  --color: #ff2d20;
}