/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');


:root {
  --primary-background: rgba(50, 50, 50, 0.8);
  --primary-border: 0.5px solid rgba(255, 255, 255, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* cursor: none !important; */
}

html,
body {
  height: 100%;
  width: 100%;
  font-family: "Poppins", serif;
  background-color: #000000;
  color: #fff;
}

body ::selection {
  background-color: #00ffff;
  color: black; 
}

body::after {
  content: '';
  position: fixed;
  bottom: -63%;
  right: -63%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #00ffff 0%, transparent 70%);
  filter: blur(40px);
  /* z-index: 0; */
}

html {
  scroll-behavior: smooth;
}

p {
  color: rgb(125, 124, 124);
}

/* TRANSITION */
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAVIGATION */

nav,
.nav-links {
  display: flex;
}

nav {
  display: flex;
  justify-content: space-around;
  height: 17vh;
  width: 100%;
  align-items: center;
}

.nav-links {
  gap: 1rem;
  list-style: none;
  font-size: 1.2rem;
  background: var(--primary-background);
  border: var(--primary-border);
  color: white;
  /* border: 2px solid red; */
  height: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  /* border-radius: 3rem; */
  border-bottom-right-radius: 30px;
  border-top-left-radius: 30px;
}
footer .nav-links{
  width: fit-content;
}



.nav-links a {
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease-in-out;
  padding: 0.2rem 0.5rem;
  color: white;
  text-align: center;
  font-weight: 300;
}

.nav-links a:hover {
  font-weight: 500;
  color: rgba(180, 180, 180, 0.441);
  transform: translateZ(10px);
  cursor: pointer;
}

a {
  color: black;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: rgb(180, 180, 180);
  text-decoration: none;
  border-radius: 1rem;
}

.logo {
  /* border: 2px solid black; */
  filter: invert(1);
  height: 50px;
  width: 60px;
  transition: all 0.5s ease; 
}

.logo img {
  height: 100%;
  width: 100%;
  object-position: center;
  object-fit: cover;
}
.logo:hover {
  cursor: default;
  transform: scale(1.1);
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
  position: relative;
  z-index: 10;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 19px;
  width: 31px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 1px;
  background-color: white;
  transition: all 0.4s ease-in-out;
  border-radius: 2rem;
  border: 1px solid white;
  border-radius: 1rem;
  font-weight: 600;
}

.menu-links {
  margin-top: 10px;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: rgba(0, 0, 0, 0.776);
  backdrop-filter: blur(10px);
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  border-radius: 0.5rem;
  z-index: 10;
}

.menu-links a {
  transition: transform 0.3s ease;
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color:white;
  text-decoration: none;
  font-weight: 600;
}

.menu-links a:hover {
  transform: scale(1.05);
}

.menu-links li {
  list-style: none;
}

.menu-links.active {
  border: 0.2px solid white;
  max-height: 360px;
}

.hamburger-icon.active span:first-child {
  transform: rotate(40deg) translate(7px, 6px);
}

.hamburger-icon.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.active span:last-child {
  transform: rotate(-40deg) translate(7px, -6px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

/* SECTIONS */

section {
  padding: 4vh 0;
  height: 96vh;
  margin: 0 10rem;
  min-height: fit-content;
  /* background-color: blue; */
}

#profile {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  height: 80vh;
  margin-bottom: 1.5rem;
}

#profile .section__pic-container img {
  position: relative;
  z-index: 1;
  /* background-color: black; */
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
  border-bottom-right-radius: 7rem;
  border-top-left-radius: 7rem;
  object-fit: cover;
  object-position: center;
  transition: all 0.5s ease-in-out;
}

#profile .section__pic-container:hover img {
   transform: scale3d(1.02,1.02,1.02);
}

.hamburger-icon.active + .menu-links {
  display: block; /* Ensure the menu is displayed when active */
}

#profile .section__pic-container {
  perspective: 1000px;
  /* overflow: hidden; */
  position: relative;
  /* background-color: black; */
  z-index: 1;
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
}
.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
  margin-bottom: 1rem;
}

.section__text__p1 {
  text-align: center;
}

.section__text__p2 {
  font-size: 1.75rem;
}

.title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
  align-self: center;
}



/* ICONS */

.icon {
  cursor: pointer;
  height: 1.8rem;
  transition: transform 0.3s ease;
  filter: invert(1);
}
.icon:hover {
  transform: scale(1.1);
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn {
  /* margin-bottom: 1rem; */
  background: var(--primary-background);
  font-weight: 600;
  padding: 1rem;
  border: 1px solid transparent;
  border-bottom-right-radius: 1.2rem;
  border-top-left-radius: 1.2rem;
  color: white;
  border-color: white;
}
.btn-1 {
  
border: none;
  background-color: var(--primary-background);
  width: 60%;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 200;
  transition: all 0.3s ease-in-out;
}
.btn-1:hover {
  background-color: rgb(255, 255, 255);
  color: black;
  transform: scale(1.05);
}

.wrapper2 {
  height: fit-content;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4rem;
  position: relative;
  overflow: hidden;
  z-index: 2
}

/* Add this to maintain text contrast */


.wrapper2 h1,
.wrapper2 h3{
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

.wrapper2 .details-container {
  cursor: pointer;
  background: black;
  color: white;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#about h1,
#experience h1,
#projects h1 {
  color: black;
}
#about,
#experience,
#projects h3 {
  color: black;
}
.head-p {
  color: black;
}

#profile .section__text,
#profile .section__text__p1,
#profile .title {
  margin-bottom: 0rem;
}

/* ABOUT SECTION */
.section-container {
  display: flex;
  gap: 9rem;
  height: 80%;
  /* background-color: red; */
}

.text-container p{
  color: black;
}

#about {
  position: relative;
}
.about-containers,
.about-details-container {
  display: flex;
}
.about-containers {
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.about-details-container {
  justify-content: center;
  flex-direction: column;
}

.about-pic {
  border-radius: 2rem;
}

.details-container {
  text-align: center;
  padding: 1.5rem;
  flex: 1;
  border: 0.1rem solid grey;
  border-color: white;
  background-color: white;
  /* border-radius: 2rem; */
  border-bottom-right-radius: 3rem;
  border-top-left-radius: 3rem;
}

/* EXPERIENCE SECTION */

#experience {
  position: relative;
}

.experience-sub-title {
  color: gray;
  font-weight: 600;
  font-size: 1.7rem;
  margin-bottom: 3rem;
}

.experience-detail-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
}

article {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0.5rem;
}

article .icon {
  cursor: default;
}

#experience .details-container {
  padding: 3rem 6rem;
}

/* PROJECTS SECTION */
#projects .article-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border: 1px solid white;
  object-position: center;
}
#projects button {
  width: 30%;
    border-bottom-right-radius: 1.2rem;
    border-top-left-radius: 1.2rem;
}
#projects .btn-container {
  gap: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.color-container {
  border-color: grey;
  border: none;
  background-color: white;
}

.project-img {
  border-radius: 7px;
}

.project-title {
  margin: 1rem;
  color: black;
}

#projects .article-container{
  height: 275px;
  width: 100%;
}

/* CONTACTS */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 60vh;
  margin-bottom: 0;
}

#contact #arrow {
  filter: invert(1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  height: 50px;
  width: 50px;
  transition: transform 0.3s ease;
  /* border: 1px solid black; */
}
#arrow:hover {
  transform: scale(1.1);
}
#contact svg {
  height: 100%;
  width: 100%;
  object-fit: cover;
  margin: auto;
  display: block;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 0.5rem;
  margin: 2rem auto;
  /* padding: 1rem; */
background: var(--primary-background);
border: var(--primary-border);
}
.contact-info-container {
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1rem;
  font-size: larger;
 flex-direction: column;
}

.contact-info-container .line{
  width: 100%;
  height: 0.5px;
  background-color:var(--primary-background);
}

.contact-info-container a{
  color: white;
  font-weight: 500 !important;
}



.contact-info-container a:hover{
  color: rgba(180, 180, 180, 0.441);
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 1.8rem;
}

/* FOOTER SECTION */

footer {
  height: 26vh;
  margin: 0 1rem;
  
}
footer p {
  text-align: center;
}

/* LOADER AND ANIMATIONS*/

#loader {
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 99;
  top: 0;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#loader h1 {
  font-size: 3vw;
  color: #fff;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 5px;
  opacity: 0;
  transform: translateX(50px);
  text-align: center;
  font-weight: 500;
  font-family: "Roboto Mono", monospace;
}

#loader h1:nth-child(1) {
  animation: fadeInStay 0.8s ease-out forwards;
}

#loader h1:nth-child(2) {
  animation: fadeInStay 0.8s ease-out forwards;
  animation-delay: 1s;
}

#loader h1:nth-child(3) {
  animation: fadeInStay 0.8s ease-out forwards;
  animation-delay: 2s;
}

@keyframes fadeInStay {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
  background: #f1f1f1; /* Background of the scrollbar track */
}

::-webkit-scrollbar-thumb {
  background: #888; /* Color of the scrollbar thumb */
  border-radius: 4px; /* Rounded corners for the scrollbar thumb */
}

::-webkit-scrollbar-thumb:hover {
  background: #555; /* Color of the scrollbar thumb on hover */
}


@keyframes blink {
  from {
    transform: scale(0.8); /* Initial size */
    opacity: 1; /* Fully visible */
  }
  to {
    transform: scale(0.5); /* Shrink the size */
    opacity: 1; /* Make it disappear */
  }
}
.blink-container {
  background: linear-gradient(#fe330a, #f12105);
  /* position: absolute; */
  margin-top: 5rem;
  width: 20vw;
  height: 20vw;
  border-radius: 50%;
  animation-name: blink;
  animation-duration: 4s;
  animation-timing-function: linear;
  animation-delay: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  filter: blur(50px);
}

/* shooting stars & twinkling stars */

.shooting-stars{
  position: fixed;
  width: 1px;
  height: 1px;
  background: white;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 0 10px white;
  animation: shooting-effect 1.5s linear forwards;
}

@keyframes shooting-effect{
  from {
    transform: translate(0,0) scale(1);
    opacity: 1;
  }
  to{
    transform: translate(200px, -100px) scale(1.5);
    opacity: 0;
  }
}


.star {
  position: fixed;
  width: 0.8px;
  height: 0.8px;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--duration) ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}


.section__text__p3 {
  color: rgb(255, 255, 255);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Roboto Mono", monospace;
  margin-bottom: 1rem;
  margin-top: -0.5rem;
  word-spacing: 2px;
}

.right span{
 height: 9px;
 width: 9px;
 background-color: #06D001;
 border-radius: 50%;
 animation: blink2 3s infinite;
 animation-timing-function: ease-in-out;
 animation-delay: 0.5s;
 box-shadow: 0 0 20px 5px #06D001;
 animation-iteration-count: infinite;
 animation-direction: alternate;
 animation-fill-mode: forwards;
}

@keyframes blink2 {
  0% {
    opacity: 0.1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.1;
  }
}

/* CREDITS SECTION */
#credits {
  position: relative;
  height: auto;
  min-height: 60vh;
  padding-bottom: 5rem;
  padding-top: 5rem;
}

.credits-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

#credits .details-container {
  text-align: left;
  padding: 1.5rem 2rem;
}

#credits .article-container {
  margin-top: 1rem;
}

#credits h3 {
  color: black;
  margin-bottom: 0.5rem;
}

#credits p {
  color: rgb(85, 85, 85);
  line-height: 1.5;
}

#credits .icon {
  cursor: default;
  filter: none;
}

.credits-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.tech-grid, .license-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tech-item {
  text-align: left;
}

.tech-item h3 {
  color: black;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.tech-item p {
  color: rgb(85, 85, 85);
  line-height: 1.6;
}

#credits .details-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  z-index: 10;
}

#credits .experience-sub-title {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.tech-item a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.tech-item a:hover {
  color: #003366;
  text-decoration: underline;
}

.footer-space{
  height: 50px;
  background: transparent;
  display: none;
}


/* Media queries for mobile */
@media screen and (max-width: 768px) {
    #credits {
        padding-top: 4rem; /* Add space for fixed button */
    }

}

/* Custom Cursor */
#custom-cursor{
  height: 22px;
  width: 22px;
  border: 2px solid white;
  
  border-radius: 50%;
  position: fixed;
  font-size: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 99999;
  transform: translate(-50%, -50%);
  pointer-events: none;
}


/* Notification Styles*/

.notification {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left ;
  position: fixed ;
  top: -80px; 
  left: 50%;
  transform: translateX(-50%);  
  background-color: rgba(0, 123, 255, 0.578); 
  /* color: white; */
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border-radius: 5px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.486); */
  z-index: 1000;
  transition: all 0.5s ease-in-out; 
  opacity: 0;
  pointer-events: none; 
  border: 1.6px solid #00ffff;
}


.notification a{
  color: white;
  text-decoration: none;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center; 
  transition: all 0.3s ease-in-out; 
}

.notification a:hover{
cursor: pointer;
color: #00ffff;
transform: scale(1.1);
}

.notification p{
  color: white;
  font-weight: 400;
}

/* Optional: Add a fade-in effect */
.notification.show {
  top: 63px; 
  opacity: 1;  
  pointer-events: auto;  
  transition: all 0.5s ease-in-out;  
}

.notification span {
  font-weight: 700;
  color:#00ffff;
}