:root{
  --bg:#0f1724;
  --card:#0b1220;
  --accent1:#7C3AED;
  --accent2:#06B6D4;
  --muted:rgba(255,255,255,0.65);
}

*{box-sizing:border-box}
html,body{
  height:100%;
  margin:0;
  font-family:Inter,system-ui,Arial;
  color:#fff;
  background:linear-gradient(180deg,var(--bg),#071024);
}
  
.logo-img{
  display: flex;
  color-interpolation-filters: sRGB;
  margin-left: 100px;
  margin-right: 100px;
  width: 50%;
  height: auto;
  border-radius: 100%;
  box-shadow: 0 10px 20px rgba(17, 3, 202, 0.3);
  transition: all 0.4s ease;
  animation: float 6s ease-in-out infinite;


}

.container{
  max-width:1100px;
  margin:40px auto;
  padding:28px;
}

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.logo{
  font-weight:800;
  letter-spacing:0.6px;
}

.logo .dot{
  color:var(--accent2);
  font-size:24px;
    margin-left:4px;
    margin-right:4px;
    font-weight:400;
    

}

nav a{
  color:var(--muted);
  text-decoration:none;
  margin-left:18px;
  font-weight:600;
  font-size:14px;
  position: relative;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #fff;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(90deg,var(--accent1),var(--accent2));
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.hero{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:28px;
  margin-top:36px;
  align-items:center;
}

.card{
  background:linear-gradient(180deg,rgba(255,255,255,0.03),transparent);
  padding:26px;
  border-radius:16px;
  box-shadow:0 6px 30px rgba(2,6,23,0.6);
  backdrop-filter:blur(6px);
  transform:translateY(6px);
  transition: transform .35s ease, box-shadow .35s, background 0.3s ease;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(6px);
  }
}

.card:hover{
  transform:translateY(0);
  box-shadow:0 18px 40px rgba(2,6,23,0.7);
}

h1,h2{
  margin-top:0;
}

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

.cta{
  display:inline-block;
  margin-top:12px;
  padding:8px 14px;
  border-radius:10px;
  background:linear-gradient(90deg,var(--accent1),var(--accent2));
  font-weight:700;
  color:#041025;
  text-decoration:none;
}

.profile{
  background:linear-gradient(135deg,rgba(124,58,237,0.12),rgba(6,182,212,0.08));
  border-radius:12px;
  padding:18px;
  text-align:center;
}

.avatar{
  width:132px;
  height:132px;
  border-radius:16px;
  margin:6px auto 12px;
  background:linear-gradient(135deg,var(--accent1),var(--accent2));
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:#021226;
  font-size:48px;
}

.skills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  margin-top:10px;
}

.chip{
  font-size:13px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,0.04);
  color:var(--muted);
  transition: all 0.3s ease;
}

.chip:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

hr.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg,transparent,var(--accent1),var(--accent2),transparent);
  margin: 2rem auto;
  opacity: 0.3;
}

.projects{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:22px;
}

.proj {
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(180deg,rgba(255,255,255,0.03),transparent);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.proj:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(2,6,23,0.4);
}

.proj-content {
  text-align: left;
}

.proj h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--accent2);
}

.bio{
  margin-top:14px;
  color:var(--muted);
  font-size:14px;
}

footer{
  margin-top:36px;
  color:var(--muted);
  font-size:14px;
  text-align:center;
}

footer p {
  margin-bottom: 1rem;
}

footer .links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

footer .links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

footer .links a span {
  color: var(--accent2);
  font-weight: 600;
}

footer .links a:hover {
  color: #fff;
}

ul{
  padding-left:20px;
}

ul li a{
  color:var(--accent2);
  text-decoration:none;
}

ul li a:hover{
  text-decoration:underline;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.logo-img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(17, 3, 202, 0.4);
}

@media (max-width:900px){
  .hero{
    grid-template-columns:1fr;
  }
  .projects{
    grid-template-columns:1fr;
  }
  header{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }
}
nav ul.links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}