:root {
  --bg-1: #101010;
  --bg-2: #161616;
  --text: #f0f0f0;
  --muted: #8f8f8f;
  --accent: #cfcfcf;
  --accent-2: #ffffff;
  --card: #1b1b1b;
  --card-2: #242424;
  --shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
                 "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif;
  background: var(--bg-1);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 80px;
  color: #ffffff;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(255, 255, 255);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 100%;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  user-select: none;
}

.logo-accent {
  color: #888888;
}

.logo:hover {
  color: #888888;
  .logo-accent {
  color: white;
}

}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;

}

.nav-link {
  color: #888888; /* grey color for non-hover state */
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  background: transparent;
}

.nav-link.active,
.nav-link:hover {
  color: white;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  color: #888888;
  transition: all 0.6s ease;

  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
}

.social-icon:hover {
  color: white;

  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 80px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  margin-top: 100px;
  margin-left: 100px;
  width: 800px;
  animation: slideInLeft 1s ease-out;
}

.greeting {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.hero-title {
   white-space: nowrap;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cursor {
  color: var(--accent);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-quote {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-social{
  display: flex;
  gap: 15px;
  
}


.glow-genz-button {
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 100px;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  padding: 12px 36px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.glow-genz-button:hover {
  color: white;
  border-color: var(--accent-2);
  box-shadow: 0 0 25px #888888, 0 0 50px #888888;
  transform: scale(1.05);
}

.glow-genz-button:hover::before {
  opacity: 1;
}

@keyframes glowGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  color: #888888;
  transition: all 0.6s ease;
  padding: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #888888;
}

.social-link:hover {
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 20px #888888;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-social {
    justify-content: center;
  }

  .hero-title {
    font-size: 3rem;
  }


}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(6, 21, 38, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(56, 182, 255, 0.1);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    gap: 40px;
  }

  .hero-social {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }


}

@media (max-width: 640px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 60px 0;
  }

  .hero-content {
    gap: 30px;
  }

  .hero-social {
    justify-content: center;
  }

  .greeting {
    font-size: 1rem;
  }

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

  .hero-quote {
    font-size: 1rem;
  }

  .avatar-container {
    width: 250px;
    height: 250px;
  }

  .nav-container {
    padding: 12px 15px;
  }

}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.about-text p {
  margin-top: 20px;
  line-height: 1.8;
  color: var(--muted);
  text-align: justify;
}

.skills h3 {
  color: var(--text);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: #101010;
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 56, 56, 0.3);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: var(--accent);
  color: black;
  transform: scale(1.05);
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.code-animation {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #888888e8;
  border-radius: 12px;
  padding: 30px;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.code-line {
  margin-bottom: 8px;
}

.code-line.indent {
  margin-left: 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.project-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #88888883;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px #8888889d;
  border-color: var(--accent);
}

.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  color: var(--text);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.project-content p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-content:hover h3 {
    color: #f7f6f6;
}

.project-content:hover span {
  color: #f7f6f6;
}
.project-content:hover a {
   color: #f7f6f6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tech span {
 
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid ;
   background: #3f3f3f2b;
     color: #cccccccc;
    border: 1px solid rgba(255,255,255,0.08);
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-link {
  color: #cccccccc;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 6px;
}

.project-link:hover {
  background: var(--accent);
  color: black;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--muted);
}

.contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item span {
  font-weight: 500;
}


.contact-form {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #888888;
  border-radius: 12px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #888888;
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fbfbfbd6
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.slide-in-left {
  transform: translateX(-30px);
  opacity: 0;
  transition: all 1.5s ease;
}

.slide-in-right {
  transform: translateX(30px);
  opacity: 0;
  transition: all 1.5s ease;
}

.slide-in-up {
  transform: translateY(30px);
  opacity: 0;
  transition: all 1.5s ease;
}

@media (max-width: 1024px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

@media (max-width: 768px) {
  .about-content,
  .contact-content {
    gap: 40px;
  }

  .projects-grid {
    gap: 30px;
  }

  .project-content {
    padding: 20px;
  }



  .contact-form {
    padding: 25px;
  }
}

@media (max-width: 640px) {

  .logo{
    font-size: 15px;
  }

   .nav-social {
    gap: 6px;   /* reduce space between icons */
  }

  .social-icon {
    width: 34px;   /* slightly smaller icons */
    height: 34px;
    padding-right: 10px;
  }

  .about-content,
  .contact-content {
    gap: 30px;
  }

  .skills-grid {
    justify-content: center;
  }

  .project-links {
    flex-direction: column;
  }

  .social-links {
    justify-content: center;
  }

  .hero-text {
    margin: 0;
    width: 100%;
  }
} 

.skills-section {
  width: 100%;
  overflow: hidden;
  padding-top: 10px;
}
 
.skills-header {
  
  text-align: center;
  margin-bottom: 48px;
  padding: 0 20px;
}
 
.skills-header h2 {
  font-size: 3rem;
  letter-spacing: -0.03em;

  margin-bottom: 12px;
}

.gradient-text {
    background: linear-gradient(50deg, #ffffff, #aaaaaa, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
 
.skills-header p {
  font-size: 1.2rem;
  color: #eeecec;
 
}
 
.skills-divider {
  width: 100%;
  height: 1px;
}
 
/* Marquee wrapper */
.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
}
 
/* Fade edges */
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #101010, transparent);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #101010, transparent);
}
 
/* Marquee track — scrolls RIGHT (reverse direction) */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-right 30s linear infinite;
}
 
@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
 
/* Skill item */
.skill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 40px;
  white-space: nowrap;
  flex-shrink: 0;
}
 
.skill-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cccccc;
  flex-shrink: 0;
}

 
.skill-icon svg {
  width: 48px;
  height: 48px;
}
 
.skill-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cccccc;
}
/* ---------------------- */
/* Wrapper */
.skills-section2 {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 80px;
}

/* Card */
.skill-card {
    margin-top: 0px;
    background: linear-gradient(145deg, #0a0a0a, #111);
    border-radius: 20px;
    padding: 25px;
    width: 280px;
    height: 200px ;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 20px rgba(255,255,255,0.03);
    transition: 0.3s;
  
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
 /* vertical center */
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.08);

   .skill-tags span {
     background: #3f3f3f00;
    color: #f7f6f6;
}
    
}



/* Pills */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.skill-tags span {
    background: #3f3f3f2b;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #cccccc91;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s;
}

.skill-tags span:hover {
    color: #fdfdfd8c;
}
