:root{
  --bg:#120b05;
  --card:#181818;
  --primary:#ff6b00;
  --secondary:#ff9d45;
  --text:#ffffff;
  --muted:#d6d6d6;
  --border:rgba(255,107,0,0.25);
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

/*  Navbar  */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: #120b05; 
  box-sizing: border-box; 
  z-index: 9999; 
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}


.logo{
  font-size:1.6rem;
  font-weight:700;
  color:var(--primary);
  text-decoration: none;
}

.logo:hover{
  cursor: pointer;
}

.menu-toggle {
  display: none; 
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text); 
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
}

.nav-links{
  display:flex;
  list-style:none;
  gap:30px;
}

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

.nav-links a:hover{
  color:var(--primary);
}


.navbar.active .menu-toggle span:nth-child(1){
  transform: translateY(7.5px) rotate(45deg);
}

.navbar.active .menu-toggle span:nth-child(2){
  opacity: 0;
}

.navbar.active .menu-toggle span:nth-child(3){
  transform: translateY(-7.5px) rotate(-45deg);
}

/*  Hero  */

.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:120px 20px;
  position:relative;
}

.hero-content{
  max-width:800px;
  z-index:2;
}

.hero h1{
  font-size:4rem;
  margin-bottom:10px;
}

.hero h1 span{
  color:var(--primary);
}

.hero h2{
  font-size:1.5rem;
  color:var(--secondary);
  margin-bottom:20px;
}

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

.btn{
  display:inline-block;
  padding:14px 32px;
  background:var(--primary);
  color:white;
  border-radius:40px;
  text-decoration:none;
  transition:0.3s;
  font-weight:600;
}

.btn:hover{
  transform:translateY(-5px);
  box-shadow:0 0 25px rgba(255, 107, 0, 0.4); /* Replaced with your primary orange tint glow */
}


.glow{
  position:absolute;
  border-radius:50%;
  filter:blur(90px);
  opacity:0.4;
}

.glow1{
  width:300px;
  height:300px;
  background:#5d7cff;
  top:10%;
  left:10%;
}

.glow2{
  width:350px;
  height:350px;
  background:#7c9cff;
  bottom:10%;
  right:10%;
}

/*  Sections  */

.section{
  padding:100px 8%;
}

.section-title{
  text-align:center;
  font-size:2.5rem;
  margin-bottom:50px;
  color:var(--primary);
}

.card{
  background:var(--card);
  padding:40px;
  border-radius:20px;
  border:1px solid var(--border);
  line-height:1.9;
  color:var(--muted);
}

/*  Skills  */

.skills-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
}

.skill-card{
  background:var(--card);
  padding:30px;
  border-radius:20px;
  text-align:center;
  transition:0.4s;
  border:1px solid var(--border);
}

.skill-card:hover{
  transform:translateY(-10px);
  cursor: pointer;
  box-shadow:0 0 20px rgba(255, 107, 0, 0.2); /* Replaced with primary theme orange tint glow */
}

.skill-card h3{
  color:var(--primary);
  margin-bottom:15px;
}

.skill-card p{
  color:var(--muted);
  line-height:1.6;
}

/*  Project  */

.project-card{
  background:var(--card);
  padding:40px;
  border-radius:20px;
  text-align:center;
  border:1px solid var(--border);
}

.project-card h3{
  color:var(--primary);
  margin-bottom:15px;
}

.project-card p{
  color:var(--muted);
  margin-bottom:25px;
}

.project-btn{
  text-decoration:none;
  color:white;
  background:var(--primary);
  padding:12px 28px;
  border-radius:30px;
  transition:0.3s;
  display:inline-block;
}

.project-btn:hover{
  transform:scale(1.05);
}

/*  Contact  */

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

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

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:16px;
  border:none;
  border-radius:12px;
  background:var(--card);
  color:white;
  border:1px solid var(--border);
  outline:none;
}

.contact-form button{
  padding:15px;
  border:none;
  border-radius:12px;
  background:var(--primary);
  color:white;
  font-size:1rem;
  cursor:pointer;
  transition:0.3s;
  font-weight:600;
}

.contact-form button:hover{
  box-shadow:0 0 20px rgba(255, 107, 0, 0.3); /* Replaced with primary theme orange glow */
  transform:translateY(-3px);
}

/*  Footer  */

footer{
  text-align:center;
  padding:30px;
  border-top:1px solid var(--border);
  color:var(--muted);
}


/*Responsive*/
@media (width < 768px) {
  .navbar {
    padding: 14px 20px;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
  }

  .menu-toggle {
    display: flex;
    margin-left: -30px;
  }

  .nav-container {
    display: none;
    width: 100%;
    order: 3;
    padding-top: 8px;
  }

  .navbar.active .nav-container {
    display: block;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: rgba(24, 24, 24, 0.98);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 12px;
    text-align: left;
    color: var(--muted);
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: rgba(255, 107, 0, 0.08);
  }

  .hero {
    min-height: auto;
    padding: 120px 20px 60px;
    box-sizing: border-box;
    margin-top: 55px;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .hero h2 {
    font-size: 1.05rem;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .section {
    padding: 60px 5%;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 35px;
  }

  .card,
  .project-card {
    padding: 25px 20px;
  }
}
