:root {
  --text-primary: #d1d1d1;
  --text-secondary: #aaaaaa;
  --bg-main: #1a1a1e;
  --bg-subtle: #18181c;
  --border-color: #313133;
  --link-hover: #e0e0e0;
  --signature-color: #71a2ff;
  --selection-bg: rgba(113, 162, 255, 0.2);
  --selection-color: var(--text-primary);
  --highlight-text: rgba(152, 170, 189, 0.08);
}
html {
  scroll-behavior: smooth;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-in-out;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth Top-to-Bottom Unblurring Effect */
@keyframes unblurText {
  0% {
    filter: blur(15px);
    opacity: 0;
    transform: translateY(-10px); /* Slight upward motion */
  }
  100% {
    filter: blur(0px);
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply Animation to All Text Elements */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
button,
.card {
  animation: unblurText 0.8s ease-out forwards;
}

/* Text Styling */

@media (min-width: 640px) {
  .dot-background-text {
    font-size: 4.5rem;
  }
}

/* Staggered Effect (Top-to-Bottom) */
/* h1 { animation-delay: 0.1s; }
h2 { animation-delay: 0.2s; }
h3 { animation-delay: 0.3s; }
p { animation-delay: 0.4s; }
a { animation-delay: 0.5s; }
span { animation-delay: 0.6s; }
button { animation-delay: 0.7s; }
.card { animation-delay: 0.8s; } */

/* Delay for Staggered Effect */

/* Global Styles */
body {
  background-color: var(--bg-main);
  /* color: var(--text-primary); */
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  margin: 0;
  overflow-x: hidden;
  padding: 0;
}

a {
  color: white;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  color: var(--text-primary);
  margin: 0;
}

h1 {
  font-size: 36px;
}
h2 {
  font-size: 21px;
}
h3 {
  font-size: 12px;
}
p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Links */
a {
  color: var(--signature-color);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
p {
  line-height: 20px;
}
span {
  background-color: var(--highlight-text);
  padding: 2px 5px;
  cursor: pointer;
  border-radius: 2px;
}

a:hover {
  color: var(--link-hover);
}

/* Borders */
hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 20px 0;
}

/* Buttons */
button {
  background-color: var(--signature-color);
  color: var(--bg-main);
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}

button:hover {
  background-color: #5a8ae6;
}

/* Selection Highlight */
::selection {
  background: var(--selection-bg);
  color: var(--selection-color);
}

/* Cards */
.card {
  background-color: var(--bg-subtle);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Main Wrapper */
.main {
  width: 100%;
  min-width: 100%; /* Removed fixed 1200px for better responsiveness */
  position: relative;
  z-index: 1;
}

/* Header Section */
.header {
  width: 100%;
  height: 200px;
  padding: 40px 0px;
  background-color: var(--bg-main);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Centered Content */
.container {
  width: 100%;
  max-width: 600px;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
  /* align-items: center; */
  /* background-color: var(--bg-subtle); */
  /* border: 1px solid var(--border-color);   */
  /* display: flex;
  justify-content: center;
  align-items: center; */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
}
.container img {
  height: 60px;
  border-radius: 10px;
}
.container h1 {
  padding: 5px 0px;
}

.logo {
  text-align: center;
  font-size: 25px;
  width: 80px;
  /* height: 30px; */
  padding: 10px 10px;
  cursor: pointer;
  border-radius: 6px;
  background-color: var(--highlight-text);
  transform: scale(1);
  transition: ease-out all 0.1s;
  color: white !important;
  font-weight: 700;
  /* border: red 1px solid; */
  /* box-shadow: rgb(157, 157, 157) 0px 0px 2px .1px;  */
}
.logo:hover {
  /* box-shadow: rgb(157, 157, 157) 0px 0px 5px .2px; */
  transform: scale(1.02);
}
.profile-link {
  color: var(--signature-color);
  background-color: var(--highlight-text);
  width: 170px;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  margin-top: 10px;
}

.profile-about {
  padding: 20px 0px;
}

.body-container {
  width: 100%;
  min-height: 50px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.body-container h2 {
  padding: 3px 5px;
}
.card {
  background-color: var(--bg-subtle);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  margin: 10px 0px;
}
.card h3 {
  padding: 10px 0px;
  text-decoration: underline;
  cursor: pointer;
}
.card img {
  width: 30px;
  height: 30px;
  cursor: pointer;
}
@media only screen and (max-width: 768px) {
  h1 {
    font-size: 26px;
  }
}

.about-para {
  font-size: 15px;
  line-height: 20px;
  padding: 10px 0px;
}
.skills {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  /* color: white; */
}
.skills-ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;
}
.skills-ul {
  list-style: none;
  /* padding: none !important; */
  /* color: #000; */
}
.skills-ul li {
  width: 100px;
  border-radius: 10px;
  height: 30px;
  background-color: var(--bg-subtle);
  border: var(--border-color) 1px dotted;
  /* font-size: 30px !important  ; */
  display: flex;
  box-shadow: 0px 0px 4px 1px rgba(255, 255, 255, 0.1);
  color: white;
  justify-self: center;

  justify-content: center;
  align-items: center;
}
.skills-ul li {
 cursor: pointer;
}
.skill-language span{
  background-color: var(--bg-subtle);
}
 

.skill-language {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

.Language-span{
  position: relative;
  cursor: pointer;
}

.Language-span::after {
  content: "Advanced Level";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: black;
  color: white;
  padding: 5px;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}

.Language-span:hover::after {
  visibility: visible;
  opacity: 1;
}
.footer{
width: 100%;
height: 20px;
/* background-color: white ; */
display: flex;
/* align-items: center; */
justify-content: center;
}

.fa-brands , .fa-solid{
  color:white;
  font-size: 20px;
  padding:5px 20px;
  cursor: pointer;
  transition: all ease-in .1s;
}
.icon-container {
  display: flex;
  gap: 15px;
}
.fa-brands:hover, .fa-solid:hover{
  transform: scale(1.09);
}
