*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: #0a0a0a;
  color: #fff;
  font-family: 'Share Tech Mono', monospace;
  overflow-x: hidden;
  
}
body.no-scroll {
  overflow: hidden;
}
body::-webkit-scrollbar {
  width: 4px;
}

body::-webkit-scrollbar-track {
  background: #000;
}

body::-webkit-scrollbar-thumb {
  background: #ffffff30;
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
  background: #ffffff80;
}
html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
#navbar{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5.6rem;
    padding: 0 4rem;
    background: #0a0a0a;
    border-bottom: 1px solid #1e1e1e;
    z-index: 999;
    transition: background 0.3s ease, backdrop-filter 0.3s ease
}
#navbar .logo{
    font-size: 1.3rem;
    letter-spacing: 0.3rem;
    color: #fff;
    text-decoration: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }   
  50%       { opacity: 0; }   
}
.logo::after {
  content: '|';
  animation: blink 1s step-end infinite;
}
#navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);  
  backdrop-filter: blur(10px);          
  border-bottom: 1px solid #2a2a2a;    
  transition: all 0.3s ease;
}
.nav-links {
  display: flex;      
  list-style: none;   
  gap: 3.6rem;
}
.nav-links li a {
  text-decoration: none;  
  color: #666;          
  font-size: 1.1rem;    
  letter-spacing: 0.2rem;
  transition: color 0.2s ease;
}
.nav-links a.active {
  color: #fff;
}
.nav-links a.active::after {
  content: '';
  display: block;
  height: 1px;
  background: #fff;
  margin-top: 3px;
}

.nav-links a:hover {
  color: #fff;
}

.cta-btn{
    padding: 0.8rem 1.8rem;
    background: #fff;
    color: #0a0a0a;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    letter-spacing: 0.2rem;
    font-family: 'share tech mono', monospace;
    text-decoration: none;
}
.cta-btn:hover {
  background: #0a0a0a;
  color: #fff;
  outline: 1px solid #fff;
}
#hero {
  min-height: 100vh;
  padding: 0 6rem; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  position: relative;
  align-items: flex-start;
}
.hero-label {
  font-size: 1.3rem;
  color: #555;
  letter-spacing: 0.2em;
}
.hero-heading {
  display: flex;
  flex-direction: column;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #e8e8e8;
}
.hero-sub {
  font-size: 1.8rem;
  color: #555;
  max-width: 50rem;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.hero-actions a {
  opacity: 0;
}
.btn-primary {
  padding: 1.4rem 3rem;
  background: #e8e8e8;
  color: #0a0a0a;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.4rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: transparent;
  color: #e8e8e8;
  border: 1px solid #333;
  transform: translateY(-4px);
}

.btn-ghost {
  display: inline-block;
  padding: 1.4rem 3rem;
  background: transparent;
  color: #e8e8e8;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.4rem;
  text-decoration: none;
  border: 1px solid #333;
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  background: #e8e8e8;
  color: #0a0a0a;
  border: 1px solid transparent;
  transform: translateY(-4px);
}
.hero-footer {
  position: absolute;
  bottom: 4rem;
  left: 6rem;
  right: 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-footer span {
  font-size: 1.2rem;
  color: #444;
  letter-spacing: 0.1em;
}
.hero-footer span:first-child {
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}
.hero-label,
.hero-heading span,
.hero-sub,
.hero-footer,
.hero-actions a {
  opacity: 0;
}
#about{
  padding: 12rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 8rem;
}
.section-label{
  font-size: 1.8rem;
  color: #555;
  letter-spacing: 0.3em;
}
.about-top{
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8rem;
  align-items: start;
}
.about-title{
    display: flex;
    flex-direction: column;
    font-size: clamp(4rem, 6vw, 7rem);
    line-height: 1;
    color: #e8e8e8;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
}
.about-title span {
  opacity: 0;
}
.about-numbers{
  display: flex;
flex-direction: column;
gap: 2rem;
border-top: 1px solid #1e1e1e;
padding-top: 3rem;
}
.about-num{
  display: flex;
  gap: 2rem;
  align-items: center;
}
.num{
  font-size: 1.1rem;
  color: #333;
  letter-spacing: 0.2rem;
}
.num-text{
  font-size: 1.5rem;
  color: #666;
  letter-spacing: 0.1rem;
}
.about-big-desc{
  font-size: 1.8rem;
  color: #888;
  line-height: 1.5;
  margin-bottom: 4rem;
}
.about-columns{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  border-top: 1px solid #1e1e1e;
  padding-top: 3rem;
}

.col-label{
  font-size: 1rem;
  color: #444;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
}
.col-text{
  font-size: 1.4rem;
  color: #666;
  line-height: 1.8;
}
.about-table{
  display: grid;
grid-template-columns: repeat(4, 1fr);
border-top: 1px solid #1e1e1e;
border-left: 1px solid #1e1e1e;

}
.table-col {
  padding: 3rem;
  border-right: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
}
.table-label {
  font-size: 1rem;
  color: #444;
  letter-spacing: 0.3rem;
  margin-bottom: 1.5rem;
}
.table-value {
  font-size: 1.6rem;
  color: #e8e8e8;
  letter-spacing: 0.2rem;
}

#skills{
  padding: 12rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 8rem;
}
.skills-header{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid #1e1e1e;
  padding-bottom: 3rem;
}
.skills-title{
  font-size: clamp(3rem, 5vw, 5rem);
color: #e8e8e8;
letter-spacing: -0.02em;
}
.skills-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #1e1e1e; 
  border: 1px solid #1e1e1e;
}
.skill-card{
  background: #0a0a0a;
padding: 3rem;
display: flex;
flex-direction: column;
gap: 1.5rem;
transition: background 0.3s ease;
}
.skill-card:hover {
  background: #111;
}
.skill-icon{
  font-size: 2rem;
  color: #333;
}
.skill-icon i {
  font-size: 4rem;
   color: #e8e8e8;
}
.skill-name{
  font-size: 1.4rem;
  color: #e8e8e8;
  letter-spacing: 0.1rem;
}
.skill-desc{
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}
.skill-card:hover .skill-icon i {
  color: #e8e8e8;
  transition: color 0.3s ease;
}
#projects{
  padding: 12rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 10rem;
}
.project-card{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}
.project-card:nth-child(even) {
  direction: rtl;
}
.project-card:nth-child(even) .project-info {
  direction: ltr;
}

.project-image {
  display: block;
  overflow: hidden;
  border: 1px solid #1e1e1e;
  text-decoration: none;
}

.project-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.project-image:hover img {
  transform: scale(1.03);
}


.project-top{
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  justify-content: space-between;
}
.project-num{
  font-size: 1.1rem;
  color: #333;
  letter-spacing: 0.2rem;
}
.project-status{
  font-size: 1rem;
  color: #666;
  letter-spacing: 0.15rem;
  padding: 0.4rem 1rem;
  border: 1px solid #222;
}
.project-name{
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  color: #e8e8e8;
  margin-bottom: 2rem;
  line-height: 1.2;
}
.project-desc{
  font-size: 1.4rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 3rem;
}
.project-tags span {
  font-size: 1rem;
  color: #555;
  border: 1px solid #1e1e1e;
  padding: 0.5rem 1.2rem;
  letter-spacing: 0.1rem;
  margin-bottom: 3rem;
}
.project-links{
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 3rem;
}
.btn-live{
  padding: 1.2rem 2.4rem;
background: #e8e8e8;
color: #0a0a0a;
font-family: 'Share Tech Mono', monospace;
font-size: 1.3rem;
text-decoration: none;
letter-spacing: 0.1rem;
transition: all 0.3s ease;
}
.btn-live:hover {
  background: transparent;
  color: #e8e8e8;
  outline: 1px solid #333;
}
.btn-repo{
  display: flex;
align-items: center;
gap: 0.8rem;
padding: 1.2rem 2.4rem;
background: transparent;
color: #666;
border: 1px solid #222;
font-family: 'Share Tech Mono', monospace;
font-size: 1.3rem;
text-decoration: none;
letter-spacing: 0.1rem;
transition: all 0.3s ease;
}
.btn-repo:hover {
  border-color: #444;
  color: #e8e8e8;
}
#statement {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #1e1e1e;
}

.statement-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  padding: 8rem 6rem;
  width: 100%;
}

.statement-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.statement-label {
  letter-spacing: 0.3em;
  font-size: 1.8rem;
  color: #555;
}

.statement-text {
  display: flex;
  flex-direction: column;
  font-size: clamp(3rem, 4vw, 4.5rem);
  color: #e8e8e8;
  line-height: 1.1;
  max-width: 80rem;
}

.statement-sub {
  font-size: 1.4rem;
  color: #555;
  line-height: 1.6;
  max-width: 40rem;
}

.btn-statement {
  padding: 1.4rem 3rem;
  background: #e8e8e8;
  color: #0a0a0a;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.4rem;
  text-decoration: none;
  border: 1px solid transparent;
   transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
}

.btn-statement:hover {
  background: transparent;
  color: #e8e8e8;
   border: 1px solid #333;
  transform: translateY(-2px);
}
#contact{
  padding: 14rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
  align-items: start;
}
#contact .section-label {
  margin-bottom: 2rem;
}
.contact-title{
  font-size: clamp(5rem, 6vw, 7rem);
  line-height: 1;
  color: #e8e8e8;
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}
.contact-desc{
  font-size: 1.6rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 4rem;
  max-width: 45rem;
}
.contact-email{
  font-size: 1.4rem;
  color: #888;
  text-decoration: none;
  border: 1px solid #333;
  padding-bottom: 0.5rem;
  transition: all 0.3s ease;
}
.contact-email:hover {
  color: #e8e8e8;
  border-bottom-color: #e8e8e8;
}
.contact-right{
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: center;
}
.contact-link{
display: flex;
align-items: center;
gap: 2rem;
padding: 2.5rem 0rem;
border-bottom: 1px solid #1e1e1e;
text-decoration: none;
color: inherit;
cursor: pointer;
transition: all 0.3s ease;
}
.contact-link:first-child{

border-top: 1px solid #1e1e1e;
}
.contact-link i{
  font-size: 2.4rem;
  color: #444;
  transition: color 0.3s ease;
}
.contact-link:hover i {
  color: #e8e8e8;
}
.link-info{
  flex: 1;
}
.link-label{
  font-size: 1.1rem;
  color: #444;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}
.link-value{
  font-size: 1.4rem;
  color: #888;
  transition: color 0.3s ease;
}
.contact-link:hover .link-value {
  color: #e8e8e8;
}
.link-arrow{
  font-size: 2rem;
  color: #333;
  transition: color 0.3s ease;
}
.contact-link:hover .link-arrow {
  color: #e8e8e8;
  transform: translate(5px);
}
#footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 6rem;
  border-top: 1px solid #1e1e1e;
}

.footer-copy,
.footer-credit {
  font-size: 1.2rem;
  color: #444;
  letter-spacing: 0.1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 1px;
  background: #e8e8e8;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }


  .cta-btn {
    display: none;
  }


  .nav-links {
    display: none;
    position: fixed;
    top: 5.6rem;
    left: 0;
    right: 0;
    background: #0a0a0a;
    flex-direction: column;
    align-items: center;
    padding: 4rem 0;
    gap: 3rem;
    border-bottom: 1px solid #1e1e1e;
    z-index: 998;
  }

  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.6rem;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 56.25%;
  }

  #navbar {
    padding: 0 2rem;
  }

  #hero,
  #about,
  #skills,
  #projects,
  #contact,
  .statement-content,
  #footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  #hero {
    min-height: 100vh;
    padding-top: 9rem;
    padding-bottom: 6rem;
    justify-content: center;
  }

  .hero-heading {
    font-size: clamp(3.6rem, 10vw, 6rem);
  }

  .hero-sub {
    font-size: 1.5rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 1.2rem;
  }

  .hero-actions a {
    width: 100%;
    text-align: center;
  }

  .hero-footer {
    position: static;
    margin-top: 3rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  #about,
  #skills,
  #projects,
  #contact {
    padding-top: 8rem;
    padding-bottom: 8rem;
    gap: 5rem;
  }

  .about-top {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-table {
    grid-template-columns: 1fr 1fr;
  }

  .table-col {
    padding: 2rem;
  }

  .skills-header {
    align-items: flex-start;
    padding-bottom: 2rem;
  }

  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }

  .skill-card {
    padding: 2.2rem;
  }

  .project-card,
  .project-card:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 3rem;
  }

  .project-links {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-live,
  .btn-repo {
    justify-content: center;
    text-align: center;
  }

  .statement-content {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .statement-text {
    font-size: clamp(2.8rem, 8vw, 4rem);
    max-width: 100%;
  }

  .statement-sub {
    max-width: 100%;
  }

  #contact {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .contact-title {
    font-size: clamp(4rem, 10vw, 5.5rem);
  }

  .contact-desc,
  .contact-email {
    max-width: 100%;
    word-break: break-word;
  }

  #footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 50%;
  }

  #navbar {
    height: 5.2rem;
    padding: 0 1.6rem;
  }

  .nav-links {
    top: 5.2rem;
    padding: 3rem 0;
  }

  #hero,
  #about,
  #skills,
  #projects,
  #contact,
  .statement-content,
  #footer {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .hero-heading {
    font-size: clamp(3.2rem, 11vw, 5rem);
  }

  .about-title,
  .contact-title {
    line-height: 1.05;
  }

  .about-table {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .project-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .project-tags span {
    margin-bottom: 0;
    display: inline-block;
  }

  .contact-link {
    gap: 1.4rem;
    padding: 2rem 0;
  }

  .link-value {
    word-break: break-word;
  }
}