/* ==========================
   GLOBAL
========================== */

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

body{
  font-family:'Poppins',sans-serif;
  background:#070b14;
  color:white;
  overflow-x:hidden;
}

/* ==========================
   CURSOR GLOW
========================== */

.cursor-glow{
  position:fixed;
  width:250px;
  height:250px;
  background:radial-gradient(circle,
  rgba(0,255,255,0.15),
  transparent 70%);
  border-radius:50%;
  pointer-events:none;
  transform:translate(-50%,-50%);
  z-index:0;
}

/* ==========================
   NAVBAR
========================== */

header{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter:blur(10px);
  background:rgba(0,0,0,0.4);
}

.navbar{
  max-width:1200px;
  margin:auto;
  padding:1rem 2rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo{
  font-size:1.4rem;
  font-weight:700;
  color:#00ffff;
}

.nav-links{
  display:flex;
  gap:2rem;
  list-style:none;
}

.nav-links a{
  text-decoration:none;
  color:white;
  transition:0.3s;
}

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

.menu-toggle{
  display:none;
  font-size:1.8rem;
  cursor:pointer;
}

/* ==========================
   HERO SECTION
========================== */

.hero{
  min-height:100vh;
  display:grid;
  grid-template-columns:
  repeat(auto-fit,minmax(320px,1fr));
  align-items:center;
  gap:3rem;
  padding:1rem 8%;
}

.hero-content{
  z-index:1;
}

.tag{
  color:#00ffff;
  margin-bottom:1rem;
  font-weight:500;
}

.hero h1{
  font-size:3rem;
  margin-bottom:1rem;
}

.hero h1 span{
  color:#00ffff;
}

.hero h2{
  font-size:1.6rem;
  color:#cfcfcf;
  margin-bottom:1.5rem;
}

.hero-text{
  line-height:1.8;
  color:#b8b8b8;
  margin-bottom:3rem;
  max-width:600px;
}

.hero-buttons{
  display:flex;
  gap:1rem;
  margin-bottom:2rem;
}

/* ==========================
   BUTTONS
========================== */

.btn{
  padding:0.9rem 1.7rem;
  border-radius:12px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.primary-btn{
  background:
  linear-gradient(135deg,#00ffff,#0077ff);
  color:black;
}

.primary-btn:hover{
  transform:translateY(-4px);
}

.secondary-btn{
  border:1px solid #00ffff;
  color:#00ffff;
}

.secondary-btn:hover{
  background:#00ffff;
  color:black;
}

/* ==========================
   SOCIALS
========================== */

.socials{
  display:flex;
  gap:1.5rem;
}

.socials a{
  color:#bdbdbd;
  text-decoration:none;
}

.socials a:hover{
  color:#00ffff;
}

/* ==========================
   CODE WINDOW
========================== */

.hero-card{
  display:flex;
  justify-content:center;
}

.code-window{
  width:100%;
  max-width:500px;
  background:#101827;
  border:1px solid rgba(255,255,255,0.1);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 20px 40px rgba(0,0,0,0.4);
}

.window-header{
  padding:1rem;
  display:flex;
  gap:0.5rem;
  background:#0b1220;
}

.dot{
  width:12px;
  height:12px;
  border-radius:50%;
}

.red{
  background:#ff5f56;
}

.yellow{
  background:#ffbd2e;
}

.green{
  background:#27c93f;
}

pre{
  padding:2rem;
  color:#00ffcc;
  overflow-x:auto;
  line-height:1.8;
}

/* ==========================
   SECTIONS
========================== */

.section{
  padding:6rem 8%;
}

.dark-section{
  background:#0b1220;
}

.section-title{
  text-align:center;
  margin-bottom:4rem;
}

.section-title h2{
  font-size:2.8rem;
  margin-bottom:1rem;
}

.section-title p{
  color:#b8b8b8;
}

/* ==========================
   GRID LAYOUTS
========================== */

.about-container,
.projects-grid,
.skills-grid{
  display:grid;
  grid-template-columns:
  repeat(auto-fit,minmax(250px,1fr));
  gap:2rem;
}

/* ==========================
   CARDS
========================== */

.about-card,
.project-card,
.skill-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  padding:2rem;
  border-radius:18px;
  transition:0.3s;
}

.about-card:hover,
.project-card:hover,
.skill-card:hover{
  transform:translateY(-8px);
  border-color:#00ffff;
}

.skill-card{
  text-align:center;
  font-weight:600;
}

.project-card h3{
  margin-bottom:1rem;
}

.project-card p{
  color:#b8b8b8;
  line-height:1.7;
  margin-bottom:1.5rem;
}

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

.project-tags span{
  background:rgba(0,255,255,0.1);
  color:#00ffff;
  padding:0.5rem 1rem;
  border-radius:999px;
  font-size:0.85rem;
}

/* ==========================
   CONTACT FORM
========================== */

.contact-container{
  display:flex;
  justify-content:center;
}

.contact-form{
  width:100%;
  max-width:700px;
  display:flex;
  flex-direction:column;
  gap:1.2rem;
}

.contact-form input,
.contact-form textarea{
  padding:1rem;
  border-radius:12px;
  border:none;
  background:rgba(255,255,255,0.05);
  color:white;
}

.contact-form input:focus,
.contact-form textarea:focus{
  outline:2px solid #00ffff;
}

/* ==========================
   FOOTER
========================== */

footer{
  text-align:center;
  padding:2rem;
  color:#b8b8b8;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:768px){

  .hero h1{
    font-size:2.8rem;
  }

  .menu-toggle{
    display:block;
  }

  .nav-links{
    position:absolute;
    top:80px;
    right:20px;
    background:#101827;
    flex-direction:column;
    width:220px;
    padding:1.5rem;
    border-radius:12px;
    display:none;
  }

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

}

/* ==========================
   PROFILE IMAGE
========================== */

.profile-card{
  width:100%;
  max-width:420px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.profile-card img{
  width:100%;
  max-width:380px;
  border-radius:50%;
  object-fit:cover;

  border:4px solid rgba(0,255,255,0.3);

  box-shadow:
  0 20px 40px rgba(0,0,0,0.5),
  0 0 25px rgba(0,255,255,0.25);

  transition:0.4s ease;
}

.profile-card img:hover{
  transform:translateY(-10px) scale(1.02);
  box-shadow:
  0 25px 50px rgba(0,0,0,0.6),
  0 0 35px rgba(0,255,255,0.4);
}

.project-link{
  display: inline-block;
  margin-top: 15px;
  text-decoration: none;
  color: white;
  background: #111827;
  padding: 10px 18px;
  border-radius: 8px;
  transition: 0.3s;
}

.project-link:hover{
  background: #2563eb;
}

/* ==========================
   SKILL SECTION EXTRA STYLE
========================== */

.skill-card h3{
  margin-bottom:20px;
  color:#00ffff;
  font-size:1.2rem;
}

.skill-items{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:1.5rem;
  flex-wrap:wrap;
}

.skill-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.6rem;
}

.skill-item img{
  width:50px;
  height:50px;
  object-fit:contain;
}

.skill-item span{
  font-size:0.9rem;
  color:#d1d5db;
}