/* =========================================================
   COLOR VARIABLES / GLOBAL DESIGN TOKENS
   ========================================================= */

:root{
  --bg:#0b0f17;                 /* Main dark background */
  --panel:rgba(255,255,255,.06); /* Card background */
  --panel2:rgba(255,255,255,.09); /* Hover card background */
  --text:rgba(255,255,255,.92);  /* Main text color */
  --muted:rgba(255,255,255,.65); /* Secondary text */
  --border:rgba(255,255,255,.10); /* Borders */
  --shadow:0 14px 45px rgba(0,0,0,.55); /* Card shadow */
  --radius:18px;                /* Rounded corner size */
}


/* =========================================================
   GLOBAL PAGE SETTINGS
   ========================================================= */

*{box-sizing:border-box}

html{
  scroll-behavior:smooth; /* smooth scroll when clicking navbar links */
}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;

  /* gradient background for portfolio */
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(124,92,255,.20), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(36,211,238,.16), transparent 55%),
    var(--bg);

  color:var(--text);
}

a{
  color:inherit;
  text-decoration:none;
}

a:hover{
  opacity:.92;
}


/* =========================================================
   MAIN PAGE CONTAINER
   keeps content centered
   ========================================================= */

.container{
  width:min(1100px, 92%);
  margin:0 auto;
  padding: 28px 0 70px;
}


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

.header{
  position:sticky; /* navbar stays at top while scrolling */
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);

  background: rgba(11,15,23,.65);
  border-bottom: 1px solid var(--border);
}

.nav{
  width:min(1100px, 92%);
  margin:0 auto;
  padding: 14px 0;

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

/* Logo circle (SS) */

.brand{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:40px;
  height:40px;

  border-radius:12px;

  background: linear-gradient(
      135deg,
      rgba(124,92,255,.35),
      rgba(36,211,238,.22)
  );

  border:1px solid var(--border);
  box-shadow:0 10px 30px rgba(0,0,0,.35);

  font-weight:700;
}


/* Navbar links */

.nav-links{
  display:flex;
  gap:18px;
  align-items:center;

  color:var(--muted);
  font-size:14px;
}

.nav-links a{
  padding:8px 10px;
  border-radius:10px;
}

.nav-links a:hover{
  background:var(--panel);
  color:var(--text);
}

/* Mobile menu button */

.nav-toggle{
  display:none;
  border:1px solid var(--border);
  background:var(--panel);
  color:var(--text);

  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
}


/* =========================================================
   HERO SECTION
   name + photo area
   ========================================================= */

.hero{
  display:grid;
  grid-template-columns:1.25fr .95fr; /* text | image */

  gap:28px;
  padding:30px 0 10px;
  align-items:center;
}

.hero-left{
  max-width:620px;
}

/* small title above name */

.kicker{
  margin:0 0 12px;
  color:var(--muted);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
}

/* big name text */

.hero-title{
  margin:0;
  font-size:clamp(44px,6.2vw,78px);
  line-height:.92;
}

.hero-sub{
  margin:14px 0 18px;
  color:var(--muted);
  font-size:17px;
}

/* utility text */

.muted{color:var(--muted)}
.small{font-size:13px}


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

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:12px 16px;
  border-radius:14px;

  border:1px solid var(--border);
  background:var(--panel);

  box-shadow:0 10px 30px rgba(0,0,0,.35);

  font-weight:600;

  transition: transform .18s ease;
}

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

.btn.primary{
  background:linear-gradient(
      135deg,
      rgba(124,92,255,.92),
      rgba(36,211,238,.55)
  );
}

.btn.ghost{
  background:transparent;
}


/* =========================================================
   HERO SOCIAL ICONS
   ========================================================= */

.hero-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;

  margin-top:6px;
  padding-top:12px;

  border-top:1px solid rgba(255,255,255,.10);
}

.icon-link{
  width:42px;
  height:42px;

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

  border-radius:12px;

  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.03);

  font-size:20px;

  transition:transform .18s ease;
}

.icon-link:hover{
  transform:translateY(-2px);
}


/* =========================================================
   SKILLS PILLS
   ========================================================= */

.hero-skills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.pill{
  padding:8px 12px;
  border-radius:999px;

  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.02);

  font-size:13px;
}


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

.portrait-card{
  border-radius:var(--radius);

  border:1px solid var(--border);
  background:linear-gradient(
      180deg,
      rgba(255,255,255,.06),
      rgba(255,255,255,.03)
  );

  box-shadow:var(--shadow);
  padding:14px;
}

.portrait{
  width:100%;
  border-radius:14px;
}


/* =========================================================
   GENERIC SECTION STYLING
   ========================================================= */

.section{
  padding:26px 0 6px;
}

.section h2{
  margin:0 0 14px;
  font-size:22px;
}


/* =========================================================
   CARDS
   used for projects / education / experience
   ========================================================= */

.card{
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:var(--panel);

  box-shadow:0 12px 35px rgba(0,0,0,.35);

  padding:16px;
}

.card h3{
  margin:0 0 6px;
  font-size:18px;
}

.card p{
  margin:10px 0;
}


/* =========================================================
   GRID LAYOUT
   ========================================================= */

.grid{
  display:grid;
  gap:14px;
}

.grid.two{
  grid-template-columns:repeat(2,1fr);
}


/* =========================================================
   BULLET LIST
   ========================================================= */

.bullets{
  margin:10px 0 0;
  padding-left:18px;
  color:var(--muted);
}

.bullets li{
  margin:7px 0;
}


/* =========================================================
   PROJECT CARD HOVER EFFECT
   ========================================================= */

.project{
  transition:transform .15s ease;
}

.project:hover{
  transform:translateY(-2px);
  background:var(--panel2);
}


/* =========================================================
   PROJECT TECH STACK TAGS
   ========================================================= */

.pill-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}


/* =========================================================
   EXPERIENCE TIMELINE
   ========================================================= */

.timeline{
  display:grid;
  gap:14px;
}

.t-item{
  display:grid;
  grid-template-columns:16px 1fr;
  gap:12px;
}

.t-dot{
  width:12px;
  height:12px;

  margin-top:18px;
  border-radius:999px;

  background:linear-gradient(
      135deg,
      rgba(124,92,255,.9),
      rgba(36,211,238,.7)
  );
}


/* =========================================================
   CREWASIS SUB ROLE STYLE
   ========================================================= */

.subrole{
  margin-top:14px;
  padding-top:14px;

  border-top:1px solid rgba(255,255,255,.10);
}

.subrole-head{
  display:flex;
  justify-content:space-between;
}


/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact-links{
  display:flex;
  gap:28px;
  margin-top:14px;
  flex-wrap:wrap;
}

.contact-link{
  display:flex;
  align-items:center;
  gap:10px;

  font-size:16px;
}

.contact-link i{
  font-size:20px;
  color:#8a6cff;
}


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

.footer{
  margin-top:24px;
  padding-top:16px;

  border-top:1px solid var(--border);
  color:var(--muted);
}


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

.cursor-glow{
  position:fixed;

  width:350px;
  height:350px;

  border-radius:50%;
  pointer-events:none;

  background: radial-gradient(
      circle,
      rgba(124,92,255,0.25) 0%,
      rgba(124,92,255,0.12) 30%,
      transparent 70%
  );

  transform:translate(-50%, -50%);
}


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

@media (max-width:880px){

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

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

}

@media (max-width:720px){

.nav-links{
  display:none;

  position:absolute;
  top:64px;
  right:4%;
  left:4%;

  background:rgba(11,15,23,.92);

  border:1px solid var(--border);
  border-radius:16px;
  padding:10px;

  flex-direction:column;
}

.nav-toggle{
  display:inline-flex;
}

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

}

.more-projects-wrap{
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.pill-grid{
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ======================================= * 

/* Project title with status badge */
.project-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

/* In Progress badge */
.status{
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75);
  white-space: nowrap;
}
