/* RESET */



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  /* background-color: brown; */
}



/* HIDE SCROLLBAR */
body {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
body::-webkit-scrollbar {
  display: none;
}

/* NAVBAR */

.nav {

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  z-index: 1000;
}

.brand {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #000;
}

.list {
  display: flex;
  gap: 3rem;
  list-style: none;

}

.list li a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  color: #000;
  opacity: 0.9;
  transition: opacity 0.3s, transform 0.3s;
  display: inline-block;
}

.list li a:hover {
  opacity: 0.5;
  transform: translateY(-2px);
}

.list li a.active {
  opacity: 1;
  color: #0077ff;
  font-weight: 600;
}


/* MOBILE NAV */
@media (max-width: 650px) {
  .nav {
    padding: 1.5rem 2rem;
    flex-direction: column;
    gap: 1rem;
  }

  .list {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* HERO SECTION */









/* HERO LAYOUT */


.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  height: 100vh;
  /* background: #ffffff; */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  background: #ffffff;
  /* start white */
  transition: background 0.3s linear;
}

/* CONTAINER BALANCE */
.hero-content {
  max-width: 760px;
  width: 100%;
  margin-top: -40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-link{
  color: #000;
  
}
/* PROFILE IMAGE */
.hero-img-wrapper {
  width: 160px;
  height: 160px;
  border-radius: 40%;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.6rem;
  /* box-shadow: 0 8px 28px rgba(0,0,0,0.18); */
}

.hero-img-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(89, 0, 255, 0.5), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 3%;
  filter: grayscale(95%);
  transition: 0.4s ease;
}

.hero-img:hover {
  filter: grayscale(0%);
}

/* HEADLINE */
.hero-main {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 250;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0.6rem 0 1rem 0;
  opacity: 0.9;
}

/* JOB TITLE ABOVE */
.top-sub {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 350;
  opacity: 0.75;
}

/* INTRO PARAGRAPH */
.intro {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  opacity: 0.8;
  max-width: 650px;
  line-height: 1.5;
  margin: 0 auto 2rem auto;
}

/* NAME HIGHLIGHT */
.name {
  font-weight: 600;
  color: #0077ff;
}

/* BUTTON GROUP */
.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.8rem;
  width: 100%;
}


/* PRIMARY BUTTONS */










.hero-btn {
  text-decoration: none;
  padding: 0.9rem 2.4rem;
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 8px;
  background: linear-gradient(135deg, #0077ff, #00d4ff);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.35s ease;
}


.hero-btn:hover {
  transform: translateY(-3px);
}


/* ALT BUTTON */
.hero-btn.alt {
  background: transparent;
  border: 1.5px solid #000;
  color: #000;
}

/* SCROLL ARROW */
.scroll-arrow {
  font-size: 1.4rem;
  opacity: 0.4;
  margin-top: 2rem;
  animation: floatArrow 1.8s ease-in-out infinite;
}

@keyframes floatArrow {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(6px);
  }

  100% {
    transform: translateY(0px);
  }
}





.scrolling-strip-container {
  position: relative;
  width: 100%;
  overflow: hidden;

  /* the magic */
  margin-top: auto;
  /* transform: translateY(-90%); */
  z-index: 10;

  padding: 1.5rem 0;
}



.scrolling-strip {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  padding: 0 2rem;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.icon-item i {
  font-size: 2.2rem;
  color: #000000;
}

.icon-label {
  font-size: 0.9rem;
  margin-top: 0.4rem;
  opacity: 0.8;
}






.skills-section,
.projects-section {
  position: relative;
  min-height: 100vh;
  width: 100;
  background-color: #ffffff;

}

.projects-section {
  background: #ffffff;
  opacity: 0;
  /* transform: translateY(120px); */
}





















/* Skill Section */

.skills-section {
  min-height: 100vh;
  padding: 80px 0;
  background: #ffffff;
  /* transform: translateY(-10%); */

}

.skills-section {
  padding-bottom: 40px;
  /* reduce this */
  margin-bottom: 0;
}

.skills-title {
  font-size: 2.8rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.5px;
  margin-bottom: 60px;
  color: #111;
}

.skills-grid {
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 50px;
  padding: 0 20px;
}

.skills-col h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #111;
  letter-spacing: -0.3px;
}

.skills-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-col ul li {
  margin: 12px 0;
  font-size: 1rem;
  font-weight: 400;
  position: relative;
  padding-left: 14px;
  color: #333;
  transition: 0.25s ease;
}

/* subtle bullet dot */
.skills-col ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
  opacity: 0.8;
}

/* hover effect */
.skills-col ul li:hover {
  transform: translateX(4px);
  color: #0077ff;
}

.working-on {
  max-width: 750px;
  margin: 80px auto 0;
  text-align: center;
  padding: 0 20px;
}

.working-on h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
  color: #0077ff;
}

.working-on p {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0.85;
  color: #333;
}













/* PROJECT SECTION BASE */
.project-section {
  background-color: #ffffff;
  padding: 140px 10% 0;
  /* top=140px, right=10%, bottom=0, left=10% */

  position: relative;
  /* transform: translateY(-10%); */
}

/* SECTION HEADING */
.project-heading {
  font-size: 3.3rem;
  font-weight: 600;
  text-align: center;
  color: #0077ff;
  margin-bottom: 80px;
  letter-spacing: -0.8px;
  /* transform: translateY(-60%); */
}

/* PROJECT ROW */
.project-block {
  display: flex;
  align-items: flex-start;
  gap: 52px;
  padding: 30px 0;
  position: relative;
  /* transform: translateY(-20%); */
}

/* DIVIDER LINE */
.project-block:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.2px;
  background: rgba(0, 0, 0, 0.08);
}

/* PROJECT NUMBER */
.project-index {
  font-size: 4.8rem;
  font-weight: 300;
  opacity: 0.22;
  line-height: 1;
  letter-spacing: -2px;
  pointer-events: none;
}

/* PROJECT TEXT CONTAINER */
.project-content {
  max-width: 680px;
}

/* PROJECT TITLE */
.project-title {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.7px;
  margin-bottom: 16px;
  color: #111;
}

/* PROJECT DESCRIPTION */
.project-desc {
  font-size: 1.12rem;
  line-height: 1.68;
  color: #333;
  opacity: 0.9;
  margin-bottom: 26px;
}

/* PROJECT TAGS WRAPPER */
.project-tags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

/* INDIVIDUAL TAG */
.project-tags span {
  background: #fff;
  border: 1.3px solid rgba(0, 0, 0, 0.12);
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #333;
  transition: 0.25s ease;
}

/* TAG HOVER EFFECT */
.project-tags span:hover {
  transform: translateY(-2px);
  border-color: #0077ff;
  color: #0077ff;
}

/* VIEW LINK */
.project-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: #0077ff;
  text-decoration: none;
  opacity: 0.9;
  transition: 0.28s ease;
}

/* LINK HOVER EFFECT */
.project-link:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 900px) {
  .project-index {
    font-size: 3.4rem;
  }

  .project-title {
    font-size: 1.9rem;
  }
}

@media (max-width: 650px) {
  .project-block {
    flex-direction: column;
    gap: 22px;
    padding: 70px 0;
  }

  .project-index {
    order: 2;
    text-align: left;
  }
}













/* about section  */

/* ABOUT SECTION */
#about {
  margin-top: 0;
  /* transform: translateY(-10%); */
  padding: 140px 10%;
  background: #ffffff;
  position: relative;
  height: 100vh;
}

/* SECTION NUMBER */
.section-number {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #4da9ff;
  display: inline-block;
  margin-bottom: 16px;
}

/* SECTION TITLE */
.section-title {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin-bottom: 60px;
  color: #0077ff;
}

/* MAIN CONTAINER */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  max-width: 1100px;
}

/* SHORT INTRO TEXT */
.about-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #333;
  opacity: 0.9;
}

/* DETAILS COLUMN */
.about-details {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* DETAIL GROUP */
.detail-group h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111;
  letter-spacing: -0.2px;
}

.detail-group p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
  opacity: 0.9;
}

/* EDUCATION ITEM */
.education-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  margin-top: 8px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 500px) {
  #about {
    padding: 100px 6%;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-text,
  .detail-group p {
    font-size: 1rem;
  }
}






.contact-section {
  padding: 4rem 2rem;
  text-align: center;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.contact-title {
  font-size: 1.8rem;
  font-weight: 400;
  color: #0077ff;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

.contact-email {
  display: inline-block;
  font-size: clamp(1.2rem, 4vw, 2.1rem);
  color: #555;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 2rem;
  transition: all 0.2s ease;
  word-break: break-all;
}

.contact-email:hover {
  border-color: #888;
  color: #222;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.contact-links a {
  color: #666;
  text-decoration: none;
  font-size: 1.95rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.contact-links a:hover {
  color: #222;
  border-bottom-color: #ccc;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 2rem 1rem;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.footer-line {
  color: #777;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-style: italic;
}

.footer-credit {
  color: black;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* Year script styling - minimal */
#year {
  font-weight: 400;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-section {
    padding: 3rem 1rem;
  }
  
  .contact-links {
    flex-direction: column;
    gap: 1rem;
  }
}