/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
  background: #f9fafb;
  color: #333;
  line-height: 1.6;
}

/* *{margin:0;padding:0;box-sizing:border-box;font-family:"Segoe UI",Tahoma,sans-serif}
body{
  background-color:#f8fafc;
  background-image:
    linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px);
  background-size:40px 40px;
  color:#1e293b;line-height:1.65;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none} */

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  color: #1d4ed8;
  font-size: 1.5rem;
}

header nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #555;
  transition: color 0.2s;
}

header nav a:hover {
  color: #1d4ed8;
}

/* Hero Section */
/* .hero {
  text-align: left;
  padding: 2rem 4rem;
  background: linear-gradient(to right, #e0f2fe, #dbeafe);
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #111827;
}

.hero p {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  color: #4b5563;
}

#major {
    color: grey
}

.hero .links {
  margin-top: 1.5rem;
}

.hero .links a {
  margin: 0 1rem;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s;
}

.hero .links a:hover {
  text-decoration: underline;
  transform: scale(1.05);
}

.image {
  display: block;
  width: 15%;
  height: auto;
  float: right;
  border: 1px black;
  border-radius: 100px;
  object-fit: cover;
  object-position: center;
} */

.hero{
  padding:3rem 2.5rem;
  background:#fff;
  border-bottom:1px solid #e2e8f0;
  position:relative;overflow:hidden;
}
.hero::before{
  content:"";position:absolute;inset:0;
  /* background-image:
    linear-gradient(rgba(15,23,42,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.045) 1px, transparent 1px);
  background-size:40px 40px; */
  pointer-events:none;z-index:0;
}
.hero::after{
  content:"";position:absolute;
  top:-80px;right:-80px;
  width:400px;height:400px;border-radius:100%;
  background:#eff6ff;opacity:.6;pointer-events:none;z-index:0;
  background-image:
    linear-gradient(rgba(15,23,42,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.045) 1px, transparent 1px);
  background-size:40px 40px;
}
.hero h2,.hero p,.hero .links,.image,#major{position:relative;z-index:1}

.hero h2{
  font-size:clamp(1.8rem,4vw,2.8rem);
  font-weight:800;letter-spacing:-.02em;
  color:#0f172a;position:relative;z-index:1;
}
.hero p{
  margin-top:.4rem;font-size:1rem;
  color:#64748b;position:relative;z-index:1;
}
#major{color:#94a3b8;font-size:.9rem;font-weight:500;letter-spacing:.02em;text-transform:uppercase;margin-top:.5rem}
.hero .links{margin-top:1.4rem;position:relative;z-index:1}
.hero .links a{margin:0 .6rem;display:inline-block;opacity:.6;transition:opacity .2s}
.hero .links a:first-child{margin-left:0}
.hero .links a:hover{opacity:1}
.image{
  width:168px;height:168px;border-radius:50%;object-fit:cover;
  border:3px solid #e2e8f0;
  float:right;position:relative;z-index:1;
}



/* ─── Education ──────────────────────────────────────────── */
/* .education {
  padding: 5rem 2rem;
  background: #f3f4f6;
  background-image:
  linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px),
  linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px);
background-size:10px 10px;
}
.edu-wrap { max-width: 1180px; margin: 0 auto; }
.edu-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }

.edu-eyebrow {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: #9A9384; display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: .8rem;
}
.edu-eyebrow::before { content: ""; width: 22px; height: 1.5px; background: #9A9384; }

.edu-left h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.05;
  color: #111827; margin-bottom: 1.6rem;
}
.edu-meta { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.6rem; }
.edu-badge { display: inline-flex; align-items: center; gap: .75rem; font-weight: 500; font-size: .95rem; color: #111827; }
.badge-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.d-cobalt { background: #2F5BFF; }
.d-grape  { background: #7B4DFF; }
.d-leaf   { background: #16A66A; }
.d-coral  { background: #FF5B38; }
.edu-blurb { font-size: .97rem; color: #5C564C; line-height: 1.75; max-width: 38ch; }

.edu-right { display: flex; flex-direction: column; gap: 1.2rem; }

.edu-card {
  border-radius: 22px; padding: 2rem 2.2rem;
  min-height: 190px; position: relative;
  background: #2F5BFF;
  background-image: url("../images/lincolnuw.jpeg");
  background-size: cover; background-position: center;
  overflow: hidden;
} */

.education{padding:3.5rem 2.5rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;
background-image:
  linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px),
  linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px);
background-size:30px 30px;}
.edu-wrap{max-width:1100px;margin:0 auto}
.edu-layout{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start}
.edu-left h2{
  font-size:clamp(1.5rem,3vw,2.2rem);font-weight:700;
  letter-spacing:-.02em;color:#0f172a;
  margin:.5rem 0 1.3rem;line-height:1.1;
}
.edu-meta{display:flex;flex-direction:column;gap:.6rem;margin-bottom:1.4rem}
.edu-badge{display:inline-flex;align-items:center;gap:.7rem;font-size:.92rem;font-weight:500;color:#1e293b}
.badge-dot{width:9px;height:9px;border-radius:50%;flex:0 0 auto}
.d-cobalt{background:#2F5BFF}.d-grape{background:#7B4DFF}
.d-leaf{background:#16A66A}.d-coral{background:#f97316}
.edu-right{display:flex;flex-direction:column;gap:1rem}
.edu-card{
  border-radius:20px;padding:2rem 2.2rem;min-height:175px;
  position:relative;overflow:hidden;
  background-image:url("images/lincolnuw.jpeg");
  background-size:cover;background-position:center;
}
/* .edu-card::before{content:"";position:absolute;inset:0;background:rgba(15,30,80,.4);border-radius:20px} */
.edu-year{position:relative;z-index:1;display:block;text-align:right;
  font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.75);
  margin-top: 20px;
}
.edu-school-mark{position:relative;z-index:1;font-size:3.8rem;font-weight:800;
  letter-spacing:-.04em;line-height:1;color:rgba(255,255,255,.88);margin-top:1.4rem}
.edu-card-label {
  position: absolute; z-index: 1;
  margin-bottom: 20px;
  margin-right:10px ;
  bottom: 1.4rem; right: 1.6rem;
  font-size: .75rem; color: rgba(255,255,255,0.75);
}
.edu-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}
.edu-stat{
  background:#fff;border:1px solid #e2e8f0;
  border-radius:14px;padding:.9rem;text-align:center;
}
.stat-num{display:block;font-size:1.8rem;font-weight:800;
  letter-spacing:-.03em;color:#1d4ed8}
.stat-label{display:block;margin-top:.2rem;font-size:.62rem;
  letter-spacing:.08em;text-transform:uppercase;color:#94a3b8}
/* dark overlay so text stays readable over the photo */
/* .edu-card::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(20, 30, 80, 0.45); border-radius: 22px;
} */

.edu-year {
  position: relative; z-index: 1;
  margin-top: 20px;
  display: block; text-align: right;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.edu-school-mark {
  position: relative; z-index: 1;
  font-size: 4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1;
  color: rgba(255,255,255,.8); margin-top: 1.6rem;
}
.edu-card-label {
  position: absolute; z-index: 1;
  margin-bottom: 20px;
  margin-right:10px ;
  bottom: 1.4rem; right: 1.6rem;
  font-size: .75rem; color: rgba(255,255,255,0.75);
}

.edu-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.edu-stat {
  background: white; border: 1px solid rgba(27,25,22,.1);
  border-radius: 16px; padding: 1rem; text-align: center;
}
.stat-num {
  display: block; font-size: 2rem; font-weight: 700; letter-spacing: -.03em;
  color: #2F5BFF;
}
.stat-label {
  display: block; margin-top: .2rem;
  font-size: .65rem; letter-spacing: .08em; text-transform: uppercase;
  color: #9A9384;
}
/* Containers /*

/* PROJECT FILTERS */
/* ── Filter ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.filter-btn {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1.5px solid #d1d5db;
  background: white;
  color: black;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.filter-btn.active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: white;
}

/* SHOW MORE BUTTOM */

.show-more-btn {
    display: block;
    margin: 25px auto;
    padding: 10px 18px;
    border: none;
    background-color: #2563eb;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    align-items: center;
  }
.show-more-btn:hover { background: #1e40af; }

.card.hidden {
  display: none;
}

/* Containers */
/* .container { */
  /* max-width: 1000px; */
  /* margin: 2.5rem auto;
  padding: 0 2rem; */
  /* padding: 3rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  background-color: #f3f4f6;
} */

#projects.section{
  background-image:
    linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px);
  background-size:30px 30px;
}

.container{
  padding:3.5rem 2.5rem;
  background-color:#f1f5f9;
  background-image:radial-gradient(circle, rgba(15,23,42,.15) 1px, transparent 1px);
  background-size:24px 24px;
  border-top:1px solid #e2e8f0;
  border-bottom:1px solid #e2e8f0;
}


.container h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid #3b82f6;
  padding-left: 10px;
}

.container li{
    margin: 1rem;
}

/* Section */
.section {
  padding: 3rem 2rem;
}
.section.alt {
  background: #f3f4f6;
}
.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid #3b82f6;
  padding-left: 10px;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}
@media(min-width: 768px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card */
.card {
  background: white;
  /* background: linear-gradient(135deg, #f8f9fa, #e9ecef); */
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.card:hover {
  transform: scale(1.03);
}

.card h3{
    margin-bottom: 10px;
}

/* Skills */

#skills{
  background-image:
    linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px);
  background-size:30px 30px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.skill-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px var(--shadow);
}

.skill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.skill-header i {
  font-size: 2rem;
  color: var(--accent);
  flex-shrink: 0;
}

.skill-header h3 {
  flex-grow: 1;
  font-size: 1.1rem;
  margin-left: 0.5rem;
  color: var(--text);
}

.level {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
}

.progress-bar {
  background: #e5e5e5;
  border-radius: 10px;
  height: 10px;
  overflow: hidden;
}

.progress {
  height: 100%;
  border-radius: 10px;
  animation: fill 1.8s ease-out;
}

/* Color-coded progress bars */
/* .python { width: 92%; background: linear-gradient(90deg, #ffd43b, #ffb703); }
.r { width: 70%; background: linear-gradient(90deg, #276ef1, #4285f4); }
.html { width: 90%; background: linear-gradient(90deg, #e44d26, #f16529); }
.css { width: 88%; background: linear-gradient(90deg, #264de4, #2965f1); }
.sql { width: 75%; background: linear-gradient(90deg, #00b4d8, #0077b6); } */

/* More vibrant color gradients for each skill */
.python {
  width: 95%;
  background: linear-gradient(90deg, #f7b500, #ff7b00);
}

.r {
  width: 80%;
  background: linear-gradient(90deg, #007bff, #00c6ff);
}

.html {
  width: 90%;
  background: linear-gradient(90deg, #ff512f, #dd2476);
}

.css {
  width: 88%;
  background: linear-gradient(90deg, #007cf0, #00dfd8);
}

.sql {
  width: 80%;
  background: linear-gradient(90deg, #00b09b, #96c93d);
}

@keyframes fill {
  from { width: 0; }
  to { width: var(--fill-width); }
}



/* Coursework stuff */

.rounded_desc p{
    display: inline-block;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;

    padding: 0.5rem 1rem;
    
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 25px;
    color: white;
}

/* .rounded_desc{margin:.5rem 0 .7rem;display:flex;flex-wrap:wrap;gap:.35rem}
.rounded_desc p{
  display:inline-block;margin:0;
  padding:.2rem .65rem;
  font-size:.75rem;font-weight:500;
  background:#f8fafc;border:1px solid #e2e8f0;
  border-radius:6px;color:#475569;
} */

.coursecode{
    display: inline-block;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;

    padding: 0.5rem 1rem;
    
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 25px;
    color: white;
}

/* Experience */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  /* gap: 1.5rem; */
  align-items: stretch;
}

.experience-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin:0.75rem;
  position: relative;
  overflow: hidden;
  border-left: 5px solid #1d4ed8;
  transition: all 0.4s ease;
  cursor: default;
}

.experience-card:hover {
  transform: scale(1.02);
  border-left: 5px solid #2563eb;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.exp-header h4 {
  font-size: 1.2rem;
  color: #111827;
  font-weight: 600;
}

.exp-header .date {
  font-size: 0.9rem;
  color: #2563eb;
  font-weight: 500;
}

.experience-card ul {
  margin-left: 1.2rem;
  list-style-type: disc;
  color: #374151;
  font-size: 0.95rem;
}

/*Projects */

.project-points li{
    margin: 1rem;
}

.ghlink {
  display: block;
  width: 10%;
  height: auto;
  float: right;
  border: 1px black;
  border-radius: 8px;
}

.card-image{
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s 
ease;
}

/* Show more Show less button */

#showMoreBtn {
    display: block;
    margin: 25px auto;
    padding: 10px 18px;
    border: none;
    background-color: #2563eb;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    align-items: center;
  }

#showMoreBtn:hover {
  background-color: #1e40af;
}

/* Initially hide the extra projects */
.hidden {
  display: none;
}

/* Footer */
.footer {
  text-align: center;
  background: #e5e7eb;
  padding: 1.5rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.hackathon-tag {
    display: inline-block;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;

    padding: 0.5rem 1rem;
    
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #8e44ad, #e91e8c);
    border-radius: 25px;
    color: white;
}

/*  */
#skills {
  padding: 3rem 2rem;
}

#skills h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  border-left: 5px solid #3b82f6;
  padding-left: 10px;
}

/* Three category rows stacked vertically */
.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Each row: label card on left, skill cards on right */
.skills-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  align-items: center;
}

/* Category label — styled like .experience-card but compact */
.skills-row-label {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-left: 5px solid #1d4ed8;
  border-radius: 0.75rem;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  align-items: center;
}

.skills-row-label span {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1d4ed8;
}

/* Scrollable row of skill cards */
.skills-row-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Individual skill card — white card like .card but smaller */
.skill-tile {
  background: white;
  border-radius: 0.75rem;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid #f0f4ff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: default;
  min-width: 100px;
}

.skill-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.12);
  border-color: #bfdbfe;
}

/* Colored monogram / glyph block */
.skill-tile-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.skill-tile-icon img {
  width: 100%;
  height: 100%;
}

.skill-tile span {
  font-size: 0.88rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}

/* Icon color themes — blues & greens that match the site palette */
.ic-blue   { background: #eff6ff; color: #1d4ed8; }
.ic-sky    { background: #e0f2fe; color: #0369a1; }
.ic-green  { background: #f0fdf4; color: #15803d; }
.ic-orange { background: #fff7ed; color: #c2410c; }

@media (max-width: 640px) {
  .skills-row {
    grid-template-columns: 1fr;
  }
  .skills-row-label {
    height: auto;
  }
}
