:root{
  /* Elegant "lighter forest" palette */
  --bg: #1a2b23;          /* lighter green-black */
  --bg2:#1f3a2f;          /* section wash */
  --panel:#1f4036;        /* cards */
  --panel2:#2a5249;       /* hover */
  --text:#f5fbf9;         /* brighter white */
  --muted:#c8d9d4;        /* lighter gray-green */
  --line: rgba(248,251,250,.18);

  /* Accent (vibrant teal) */
  --accent:#7fffd9;
  --accent2:#5edbb8;

  --shadow: 0 20px 60px rgba(0,0,0,.25);
  --radius: 18px;
  --radius2: 26px;
  --max: 1080px;
}

*{box-sizing:border-box; cursor: none}
html,body{height:100%; overflow-x:hidden}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  line-height:1.55;
  letter-spacing:-0.01em;
  max-width: 100vw;

  /* Enhanced light background with vibrant gradients */
  background:
    radial-gradient(1200px 800px at 25% 10%, rgba(127,255,217,.22), transparent 60%),
    radial-gradient(1000px 700px at 90% 25%, rgba(94,219,184,.16), transparent 60%),
    radial-gradient(900px 700px at 50% 95%, rgba(248,251,250,.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0) 35%),
    var(--bg);
}

a{color:inherit; text-decoration:none; cursor: pointer}
a:focus{outline:2px solid rgba(143,227,198,.5); outline-offset:3px; border-radius:12px}

.container{
  width:min(var(--max), calc(100% - 48px));
  margin-inline:auto;
}

@media (max-width: 768px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }
}

@media (max-width: 480px) {
  .container {
    width: min(var(--max), calc(100% - 20px));
  }
}

/* ======= Typography (elegant, coherent) ======= */
h1,h2,h3{
  margin:0;
  letter-spacing:-0.03em;
}
.headline{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight:600;
  font-size:36px;
  line-height:1.07;
}
@media (max-width: 560px){
  .headline{font-size:34px}
}
.section__head h2{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight:600;
  font-size:24px;
}
.card h3{
  font-weight:600;
  font-size:16px;
  letter-spacing:-0.015em;
}

/* ======= Nav ======= */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    radial-gradient(900px 160px at 25% 0%, rgba(127,255,217,.16), transparent 55%),
    linear-gradient(180deg, rgba(20,35,30,0.96), rgba(12,22,19,0.92));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(127,255,217,.35);
  padding: 0;
  box-shadow: 0 4px 30px rgba(127,255,217,.10);
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  overflow: visible;
}

header::before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  opacity: .6;
}

header::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127,255,217,.55), transparent);
  pointer-events: none;
}

header > * {
  min-width: 0;
}

.header__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 24px;
}

.header__toggle{
  display: none;
  flex: 0 0 auto;
  margin-right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(127,255,217,.28);
  background: rgba(15,36,29,.35);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.header__toggle:hover{
  transform: translateY(-1px);
  background: rgba(15,36,29,.5);
  border-color: rgba(127,255,217,.45);
}
.header__toggle-icon{
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  display: block;
}
.header__toggle-icon::before,
.header__toggle-icon::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.header__toggle-icon::before{ top: -6px; }
.header__toggle-icon::after{ top: 6px; }

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--bg);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(127,255,217,.15);
}

.logo:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 6px 16px rgba(127,255,217,.25);
}

.header__nav {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, calc(100% - 48px));
  margin-inline: auto;
  min-height: 56px;
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
}

@media (max-width: 1024px) {
  .header__nav ul {
    gap: 20px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  header {
    flex-wrap: nowrap;
    min-height: 64px;
  }

  .header__logo {
    padding-left: 16px;
  }

  .logo {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    justify-content: flex-start;
    padding: 10px 12px 14px;
    background: linear-gradient(180deg, rgba(18,32,28,0.98), rgba(18,32,28,0.92));
    border-bottom: 1px solid rgba(127,255,217,.18);
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
  }

  header.nav-open .header__nav{
    display: flex;
  }

  .header__toggle{
    display: inline-flex;
  }
  
  .header__nav ul {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    font-size: 13px;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(248,251,250,.10);
    background: rgba(15,36,29,.25);
  }

  header nav ul li a{
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 8px 0;
  }

  .header__logo {
    width: auto;
    padding: 8px 12px;
    justify-content: flex-start;
  }

  .header__toggle{
    margin-right: 12px;
  }

  .logo {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .header__nav {
    width: 100%;
    padding: 10px 10px 14px;
  }
  
  .header__nav ul {
    gap: 6px;
    font-size: 12px;
    padding: 8px;
  }
  
  .header__nav ul li a {
    padding: 6px 8px;
    font-size: 0.85em;
    border-radius: 6px;
  }
}

header nav ul li {
  display: inline;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  text-decoration: none;
  color: var(--accent);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  padding: 8px 10px;
  font-size: 1em;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  white-space: nowrap;
}

header nav ul li a.is-active{
  color: var(--text);
  background: rgba(127, 255, 217, 0.10);
  border: 1px solid rgba(127, 255, 217, 0.30);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

header nav ul li a.is-active::before{
  width: 100%;
  background: var(--accent);
}

header nav ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 1px;
}

header nav ul li a:hover, header nav ul li a:focus {
  color: var(--accent2);
  background: rgba(127, 255, 217, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(127,255,217,.08);
  border: 1px solid rgba(127, 255, 217, 0.2);
}

header nav ul li a:hover::before, header nav ul li a:focus::before {
  width: 100%;
  background: var(--accent2);
}

header nav ul li a:active {
  transform: translateY(0);
}

.resume-link {
  background: rgba(127, 255, 217, 0.12);
  border: 1px solid var(--accent) !important;
}

.resume-link:hover {
  background: rgba(127, 255, 217, 0.2) !important;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 23, 19, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 16px;
}

.nav__links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav__links a:hover {
  color: var(--accent);
}

@media (max-width: 760px){
  .nav__links{gap:12px}
  .nav__links a:not(.btn){display:none}
}

/* ======= Buttons ======= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  border:2px solid rgba(127,255,217,.4);
  background: linear-gradient(135deg, rgba(127,255,217,.2), rgba(94,219,184,.1));
  color:var(--text);
  font-weight:600;
  font-size:15px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left 0.6s ease;
}

.btn:hover {
  transform: translateY(-3px);
  border-color: rgba(127,255,217,.7);
  box-shadow: 0 8px 24px rgba(127,255,217,.25);
}

.btn:hover::before {
  left: 100%;
}

.btn--ghost{
  background: rgba(31,64,54,.35);
  border-color: rgba(248,251,250,.2);
  color: var(--muted);
}

.btn--ghost:hover{
  color:var(--text);
  border-color: rgba(127,255,217,.5);
  background: rgba(31,64,54,.55);
  box-shadow: 0 8px 24px rgba(127,255,217,.15);
}

/* ======= Hero ======= */
.hero{
  padding:80px 0 40px;
  position: relative;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__inner{
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap:40px;
  align-items:stretch;
}
@media (max-width: 920px){
  .hero__inner{grid-template-columns:1fr}
}

@media (max-width: 480px) {
  .hero__inner {
    gap: 24px;
  }
}

/* ======= Home: Scroll Arrow ======= */
.scroll-arrow{
  position:absolute;
  left:50%;
  bottom: 10px;
  transform: translateX(-50%);
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(127,255,217,.25);
  background: rgba(15,36,29,.35);
  color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.scroll-arrow:hover{
  background: rgba(15,36,29,.5);
  border-color: rgba(127,255,217,.45);
  transform: translateX(-50%) translateY(-2px);
}
.scroll-arrow__label{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.scroll-arrow__icon{
  animation: scrollBounce 1.35s ease-in-out infinite;
}
@keyframes scrollBounce{
  0%, 100%{ transform: translateY(0) }
  50%{ transform: translateY(5px) }
}
@media (max-width: 920px){
  .scroll-arrow{ position: static; transform:none; margin: 14px auto 0; }
  .scroll-arrow:hover{ transform: translateY(-2px); }
}

/* ======= Home: Milestones ======= */
.milestones__timeline{
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding-left: 18px;
}
.milestones__timeline::before{
  content:"";
  position:absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(127,255,217,.55), rgba(127,255,217,.10));
  border-radius: 2px;
}

.milestone{
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: 14px;
}

.milestone__marker{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 14px;
  background: var(--accent);
  box-shadow:
    0 0 0 6px rgba(127,255,217,.10),
    0 0 18px rgba(127,255,217,.25);
}

.milestone__content{
  border-radius: var(--radius);
  border: 1px solid rgba(248,251,250,.10);
  background: rgba(15,36,29,.26);
  box-shadow: 0 16px 44px rgba(0,0,0,.18);
  padding: 18px 18px;
}

.milestone__kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(127,255,217,.95);
  margin-bottom: 6px;
}

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

/* Make milestones drop in more dramatically */
.milestone.reveal{
  transform: translateY(22px);
}

/* Hero Profile Section */
.hero__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: 100%;
}

.hero__profile-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
  height: 100%;
}

.hero__profile-top > .hero__name {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: flex;
  min-width: 0;
}

.hero__name {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideIn 0.6s ease-out 0.45s both;
}

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

.hero__name h2 {
  margin: 0;
  font-family: ui-serif, Georgia, 'Times New Roman', Times, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.hero__profile .portrait {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  flex-shrink: 0;
  border-radius: 14px;
  /* border: 2px solid rgba(127, 255, 217, 0.3); */
  background: rgba(15, 36, 29, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: slideIn 0.6s ease-out 0.4s both;
}

.hero__info {
  text-align: center;
  animation: slideIn 0.6s ease-out 0.5s both;
  padding-top: 8px;
}

.hero__info p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  text-align: center;
  font-family: ui-serif, Georgia, 'Times New Roman', Times, serif;
}

@media (max-width: 768px) {
  .hero__profile-top {
    gap: 24px;
  }

  .hero__profile .portrait {
    width: 100%;
    height: 100%;
  }

}

@media (max-width: 480px) {
  .hero__profile-top {
    flex-direction: column;
    gap: 16px;
  }

  .hero__profile .portrait {
    width: 100%;
    height: 100%;
  }

  .hero__info p {
    font-size: 24px;
    letter-spacing: 0.09em;
  }

  .hero__profile {
    gap: 16px;
  }
}

.kicker{
  margin:0 0 16px;
  color: var(--accent);
  font-size:13px;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight: 600;
  animation: slideIn 0.6s ease-out 0.3s both;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.subhead{
  margin:14px 0 22px;
  color:var(--muted);
  font-size:17px;
  max-width: 65ch;
  line-height: 1.65;
  animation: fadeInUp 0.7s ease-out 0.4s both;
}
.hero__cta{display:flex; gap:10px; flex-wrap:wrap; margin:16px 0 14px}
.meta{display:flex; gap:10px; flex-wrap:wrap}
.pill{
  max-width: 100%;
  font-size:12px;
  color: var(--muted);
  border:1px solid rgba(238,245,242,.14);
  padding:7px 10px;
  border-radius:999px;
  background: rgba(15,36,29,.22);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Hero visual with “image-like” elegance (no real image required) */
.hero__visual{
  position:relative;
  border-radius: var(--radius2);
  border:1px solid rgba(248,251,250,.18);
  background:
    radial-gradient(450px 280px at 65% 20%, rgba(127,255,217,.2), transparent 60%),
    radial-gradient(500px 320px at 25% 70%, rgba(94,219,184,.16), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0)),
    rgba(31,64,54,.32);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow:hidden;
  min-height: 320px;
  animation: heroGlow 0.8s ease-out 0.5s both;
}

@keyframes heroGlow {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    box-shadow: 0 5px 20px rgba(0,0,0,.15);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    box-shadow: 0 20px 60px rgba(127,255,217,.1);
  }
}

/* Soft grain texture illusion */
.hero__visual::after{
  content:"";
  position:absolute; inset:0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.06) 0 1px, transparent 2px),
    radial-gradient(circle at 75% 30%, rgba(255,255,255,.05) 0 1px, transparent 2px),
    radial-gradient(circle at 40% 70%, rgba(255,255,255,.04) 0 1px, transparent 2px);
  background-size: 120px 120px;
  opacity:.35;
  pointer-events:none;
}

.grid{
  position:absolute; inset:-2px;
  background-image:
    linear-gradient(to right, rgba(238,245,242,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(238,245,242,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 35%, rgba(0,0,0,1), rgba(0,0,0,0) 72%);
  opacity:.55;
}
.orb{
  position:absolute;
  width:280px; height:280px;
  border-radius:50%;
  filter: blur(20px);
  opacity:.75;
}
.orb--a{left:-100px; top:-120px; background: rgba(143,227,198,.22)}
.orb--b{right:-120px; bottom:-150px; background: rgba(87,199,165,.18)}

/* Optional “portrait/logo” slot */
.portrait{
  width:100%; 
  height:100%;
  border-radius:16px;
  /* border:2px solid rgba(238,245,242,.18); */
  background: rgba(15,36,29,.35);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  overflow:hidden;
}
.portrait img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}

/* ======= Sections ======= */
.section{padding:54px 0}
.section--soft{
  background: linear-gradient(180deg, rgba(15,32,26,0), rgba(15,32,26,.55), rgba(15,32,26,0));
  border-top:1px solid rgba(238,245,242,.06);
  border-bottom:1px solid rgba(238,245,242,.06);
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.section__head p{margin:0; color:var(--muted); max-width:60ch; font-size:14px}

/* ======= Cards ======= */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}
@media (max-width: 980px){
  .cards{grid-template-columns:1fr}
}
.card{
  border:1px solid rgba(248,251,250,.15);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(31,64,54,.35), rgba(31,64,54,.18));
  box-shadow: 0 12px 36px rgba(0,0,0,.22);
  padding:18px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(127,255,217,.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease, top 0.5s ease, right 0.5s ease;
}

.card:hover{
  transform: translateY(-6px);
  background: linear-gradient(135deg, rgba(42,82,73,.4), rgba(31,64,54,.3));
  border-color: rgba(127,255,217,.35);
  box-shadow: 0 18px 48px rgba(127,255,217,.15);
}

.card:hover::before {
  opacity: 1;
  top: -25%;
  right: -25%;
}
.card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.tag{
  font-size:13px;
  color: var(--accent);
  border:1.5px solid rgba(127,255,217,.4);
  padding:7px 12px;
  border-radius:999px;
  background: linear-gradient(135deg, rgba(127,255,217,.12), rgba(94,219,184,.06));
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 500;
  display: inline-block;
}

.tag:hover {
  border-color: rgba(127,255,217,.6);
  background: linear-gradient(135deg, rgba(127,255,217,.2), rgba(94,219,184,.12));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(127,255,217,.15);
}
.card__body{margin:0 0 12px; color:var(--muted); font-size:14px}
.card__bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.link{
  color: var(--text);
  font-size:13px;
  border-bottom:1px solid rgba(143,227,198,0);
}
.link:hover{border-bottom-color: rgba(143,227,198,.65)}
.muted{color:var(--muted); font-size:12px}
.note{margin-top:14px; color: rgba(182,199,192,.9); font-size:13px}

/* ======= Page + blocks (for your other pages) ======= */
.page{padding:44px 0 18px}
.page h1{
  margin:0 0 10px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight:600;
  font-size:30px;
}
.page p{margin:0; color:var(--muted); max-width:70ch}

.block{
  border:1px solid rgba(238,245,242,.10);
  background: rgba(15,36,29,.26);
  border-radius: var(--radius);
  padding:16px;
}
.two-col{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:22px;
  align-items:start;
}
@media (max-width: 980px){
  .two-col{grid-template-columns:1fr}
}
.about__list{display:grid; gap:14px}
.mini{
  border:1px solid rgba(238,245,242,.10);
  background: rgba(15,36,29,.22);
  border-radius: var(--radius);
  padding:14px 14px 12px;
}
.mini h3{
  margin:0 0 10px;
  font-size:14px;
  color: rgba(143,227,198,.92);
  letter-spacing:.02em;
}
.mini ul{margin:0; padding-left:18px; color:var(--muted); font-size:14px}
.mini li{margin:6px 0}

/* Writing list */
.list{border:1px solid rgba(238,245,242,.10); border-radius: var(--radius); overflow:hidden}
.row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 14px;
  background: rgba(15,36,29,.22);
  border-bottom:1px solid rgba(238,245,242,.06);
  transition: background .15s ease;
}
.row:last-child{border-bottom:none}
.row:hover{background: rgba(19,44,36,.28)}
.row__title{font-size:14px}
.row__meta{font-size:13px; color: var(--muted)}

/* Footer */
.footer{
  padding:22px 0 38px;
  border-top:1px solid rgba(238,245,242,.06);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

/* Minimal breadcrumb */
.breadcrumb{
  display:flex;
  gap:10px;
  align-items:center;
  color:var(--muted);
  font-size:13px;
  margin-bottom:12px;
}
.breadcrumb a{color:var(--muted)}
.breadcrumb a:hover{color:var(--text)}
.dotsep{width:4px;height:4px;border-radius:50%; background: rgba(143,227,198,.65)}

/* Subtle entrance */
.reveal{
  opacity:0;
  transform: translateY(8px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{opacity:1; transform: translateY(0)}

/* ======= About (enhanced) ======= */
.about-hero{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 980px){
  .about-hero{grid-template-columns:1fr}
}

.about-hero__title{
  margin:0 0 10px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight:700;
  letter-spacing:.01em;
  font-size: 42px;
}
@media (max-width: 480px){
  .about-hero__title{font-size: 34px}
}

.about-hero__subtitle{
  margin: 0 0 14px;
  color: rgba(200,217,212,.95);
  font-size: 16px;
  line-height: 1.65;
  max-width: 75ch;
}

.about-visual{
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(238,245,242,.10);
  background: radial-gradient(1100px 520px at 20% 20%, rgba(127,255,217,.14), rgba(127,255,217,0)),
              radial-gradient(800px 520px at 80% 70%, rgba(94,219,184,.10), rgba(94,219,184,0)),
              rgba(15,36,29,.22);
  overflow: hidden;
  min-height: 340px;
}

.about-orb{
  position:absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  opacity: .75;
  background: radial-gradient(circle at 30% 30%, rgba(232,245,242,.65), rgba(127,255,217,.35), rgba(127,255,217,0));
}
.about-orb--a{left: -40px; top: -50px; animation-delay: -1.4s}
.about-orb--b{right: -60px; bottom: -70px; width: 280px; height: 280px; opacity:.60; animation-duration: 7.4s}

.about-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(to right, rgba(232,245,242,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232,245,242,.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(closest-side at 55% 45%, rgba(0,0,0,.95), rgba(0,0,0,0));
  opacity: .55;
}

.about-visual__content{
  position: relative;
  padding: 22px;
}

.about-metrics{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
@media (max-width: 980px){
  .about-metrics{grid-template-columns: 1fr;}
}

.metric{
  border: 1px solid rgba(238,245,242,.10);
  background: rgba(15,36,29,.20);
  border-radius: var(--radius);
  padding: 14px;
}
.metric__kicker{color: rgba(143,227,198,.92); font-size: 12px; letter-spacing: .08em; text-transform: uppercase}
.metric__value{margin: 6px 0 0; font-size: 18px; color: rgba(232,245,242,.95); font-weight: 650}
.metric__desc{margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5}

@keyframes about-float{
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 16px, 0); }
}

@media (prefers-reduced-motion: reduce){
  .about-orb{animation: none}
}

/* ======= Custom Cursor & Mouse Effects ======= */
.custom-cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(127,255,217,.4);
  transition: opacity 0.15s ease;
}

.custom-cursor.active {
  width: 8px;
  height: 8px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(127,255,217,.6);
}

.mouse-glow {
  position: fixed;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,255,217,.15), transparent 70%);
  pointer-events: none;
  z-index: 9998;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  filter: blur(15px);
  opacity: 0.5;
}

/* Sound toggle */
.sound-toggle{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9997;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(127,255,217,.35);
  background: rgba(5,15,12,.65);
  color: var(--text);
  font-size: 12px;
  letter-spacing: .2px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
}
.sound-toggle:hover{border-color: rgba(127,255,217,.65)}
.sound-toggle.is-off{opacity: .7}
.sound-toggle:focus-visible{outline: 2px solid rgba(127,255,217,.7); outline-offset: 3px}

/* Button styles for click effect */
button, .btn, a[role="button"] {
  cursor: pointer;
}

/* ======= Footer ======= */
footer {
  background: linear-gradient(180deg, rgba(31,64,54,.7), rgba(31,64,54,1));
  border-top: 2px solid var(--accent);
  padding: 60px 0 30px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  width: 100%;
  box-shadow: 0 -8px 32px rgba(127,255,217,.08);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127,255,217,.5), transparent);
  animation: shimmerLine 3s ease-in-out infinite;
}

footer::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(127,255,217,.08), transparent 70%);
  animation: floatBg 8s ease-in-out infinite;
}

@keyframes shimmerLine {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes floatBg {
  0%, 100% {
    transform: translate(-50%, -10%);
  }
  50% {
    transform: translate(-50%, 10%);
  }
}

.footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.6s ease-out;
}

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

.footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer .muted {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 8px 12px;
  border-radius: 8px;
}

.footer .muted:hover {
  color: var(--accent);
  background: rgba(127, 255, 217, 0.08);
  transform: translateY(-2px);
}

.footer a {
  color: var(--accent);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  position: relative;
  padding: 4px 0;
}

.footer a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer a:hover {
  color: var(--accent2);
  transform: translateY(-2px);
}

.footer a:hover::before {
  width: 100%;
  background: var(--accent2);
}

@media (max-width: 768px) {
  footer {
    padding: 48px 0 24px;
    margin-top: 60px;
    min-height: 100px;
  }

  .footer {
    padding: 0 32px;
  }

  .footer__inner {
    gap: 20px;
    flex-direction: column;
  }

  .footer .muted {
    font-size: 13px;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 40px 0 20px;
    margin-top: 48px;
    min-height: 90px;
  }

  .footer {
    padding: 0 20px;
  }

  .footer__inner {
    gap: 16px;
    flex-direction: column;
  }

  .footer .muted {
    font-size: 12px;
    padding: 5px 8px;
  }

  .footer a {
    padding: 2px 0;
    font-size: 13px;
  }
}
/* ======= Skills & Indicators ======= */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 40px 0;
}

@media (max-width: 680px){
  .skills-grid{
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 28px 0;
  }

  .skill-block{
    padding: 18px;
    border-radius: 16px;
  }

  .skill-block h3{
    margin-bottom: 14px;
    font-size: 17px;
  }

  .skill-row{
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  .skill-meter{
    font-size: 12px;
  }

  .skill-bar{
    height: 8px;
    border-radius: 999px;
  }

  .skill-fill{
    border-radius: 999px;
  }
}

.skill-block {
  padding: 24px;
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-block:hover {
  background: var(--panel2);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.skill-block h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-row{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.skill-label{
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.skill-meter{
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.skill-bar {
  width: 100%;
  height: 6px;
  background: rgba(127, 255, 217, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.skill-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  background-size: 220% 100%;
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.skill-fill.is-active {
  animation: skill-flow 2.8s linear infinite;
}

.skill-fill.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(232, 245, 242, 0.95);
  box-shadow: 0 0 10px rgba(127, 255, 217, 0.55);
}

@keyframes skill-flow {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 0%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skill-fill {
    transition: none;
  }
  .skill-fill.is-active {
    animation: none;
  }
}

.skill-bar:hover .skill-fill {
  box-shadow: 0 0 12px rgba(127, 255, 217, 0.4);
}

/* ======= Interest Cards ======= */
.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.interest-card {
  padding: 28px;
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.interest-card:hover {
  background: var(--panel2);
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(127, 255, 217, 0.12);
}

.interest-card h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

.interest-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ======= Education Items ======= */
.education-item {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.education-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.education-item h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.education-item .muted {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.education-item p {
  margin: 8px 0 0 0;
  color: var(--muted);
}

/* ======= Skills Section on Home ======= */
.home-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.skill-indicator {
  padding: 20px;
  background: linear-gradient(135deg, rgba(127, 255, 217, 0.08), rgba(94, 219, 184, 0.08));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

.skill-indicator:hover {
  background: linear-gradient(135deg, rgba(127, 255, 217, 0.15), rgba(94, 219, 184, 0.15));
  border-color: var(--accent);
  transform: translateY(-3px);
}

.skill-indicator .skill-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

.skill-indicator .skill-level {
  font-size: 12px;
  color: var(--muted);
}

/* Home skills: make bars slightly taller for readability */
.home-skills .skill-bar {
  height: 8px;
  border-radius: 999px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.home-skills .skill-fill {
  border-radius: 999px;
}

/* ======= Mobile-Friendly Improvements ======= */

/* ======= Contact ======= */
.contact-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
}

.contact-card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.contact-card:hover{
  transform: translateY(-3px);
  border-color: rgba(127,255,217,.45);
  background: rgba(31,64,54,.92);
}

.contact-card--wide{
  grid-column: 1 / -1;
}

.contact-card__head{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.contact-card__head h2{
  font-size: 18px;
}

.contact-hint{
  font-size: 12px;
  white-space: nowrap;
}

.copy-btn{
  border: 1px solid rgba(127,255,217,.32);
  background: rgba(15,36,29,.35);
  color: var(--accent);
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: 650;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.copy-btn:hover{
  transform: translateY(-1px);
  background: rgba(15,36,29,.55);
  border-color: rgba(127,255,217,.55);
}

.copy-btn.is-copied{
  color: rgba(232, 245, 242, 0.95);
  border-color: rgba(232, 245, 242, 0.45);
}

.contact-form{
  display:flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form__row{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 640px){
  .contact-form__row{ grid-template-columns: 1fr; }
}

.contact-field{
  display:flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field input,
.contact-field textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(248,251,250,.14);
  background: rgba(15,36,29,.28);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: border-color .18s ease, background .18s ease;
}

.contact-field input:focus,
.contact-field textarea:focus{
  border-color: rgba(127,255,217,.55);
  background: rgba(15,36,29,.36);
}

.contact-form__actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.status-panel{
  margin-top: 16px;
  padding: 16px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(248,251,250,.14);
  background: rgba(15,36,29,.22);
}

.status-panel__row{
  display:flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.status-panel__title{
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.status-panel__desc{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.status-panel--success{
  border-color: rgba(127,255,217,.35);
  background:
    radial-gradient(600px 220px at 20% 0%, rgba(127,255,217,.14), transparent 55%),
    rgba(15,36,29,.22);
}

.status-panel--error{
  border-color: rgba(255, 175, 175, .35);
  background:
    radial-gradient(600px 220px at 20% 0%, rgba(255, 175, 175, .12), transparent 55%),
    rgba(15,36,29,.22);
}

.status-actions{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Cards responsive grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Card hover effects adjusted for touch */
.card {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (hover: none) {
  .card {
    transform: none;
  }
  
  .card:active {
    background: var(--panel2);
    transform: scale(0.98);
  }
}

/* Grid layouts responsive */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 30px 0;
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 24px 0;
  }
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

@media (max-width: 768px) {
  .interest-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 24px 0;
  }
}

@media (max-width: 480px) {
  .interest-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 20px 0;
  }
}

.home-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 40px 0;
}

@media (max-width: 768px) {
  .home-skills {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin: 30px 0;
  }
}

@media (max-width: 480px) {
  .home-skills {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 24px 0;
  }
}

/* ======= Certificates Grid ======= */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin: 40px 0;
}

@media (max-width: 768px) {
  .certificates-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 32px 0;
  }
}

@media (max-width: 480px) {
  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 28px 0;
  }
}

.certificate-card {
  background: linear-gradient(135deg, rgba(31, 64, 54, 0.8), rgba(47, 82, 73, 0.6));
  border: 1px solid rgba(127, 255, 217, 0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.certificate-card:hover {
  border-color: rgba(127, 255, 217, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(127, 255, 217, 0.12);
  background: linear-gradient(135deg, rgba(31, 64, 54, 0.95), rgba(47, 82, 73, 0.8));
}

.certificate-image {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, rgba(127, 255, 217, 0.08), rgba(94, 219, 184, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 2px solid rgba(127, 255, 217, 0.1);
  flex-shrink: 0;
}

.certificate-image img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.certificate-card:hover .certificate-image img {
  transform: scale(1.05);
}

.certificate-card h3 {
  margin: 20px 16px 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  flex-grow: 1;
}

.certificate-card .provider {
  margin: 0 16px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.certificate-card .cert-date {
  margin: 8px 16px 16px;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .certificate-image {
    height: 200px;
  }

  .certificate-card h3 {
    font-size: 16px;
    margin: 16px 14px 6px;
  }

  .certificate-card .provider {
    margin: 0 14px;
    font-size: 12px;
  }

  .certificate-card .cert-date {
    margin: 6px 14px 12px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .certificate-image {
    height: 220px;
  }

  .certificate-card h3 {
    font-size: 15px;
    margin: 14px 12px 4px;
  }

  .certificate-card .provider {
    margin: 0 12px;
    font-size: 11px;
  }

  .certificate-card .cert-date {
    margin: 4px 12px 10px;
    font-size: 10px;
  }
}

/* Button responsive sizing */
.btn {
  padding: 12px 24px;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  touch-action: manipulation;
}

@media (max-width: 768px) {
  .btn {
    padding: 11px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 10px 18px;
    font-size: 13px;
    flex: 1;
    text-align: center;
  }
}

/* Touch-friendly link targets */
a, button {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  a, button {
    min-height: 40px;
    min-width: 40px;
  }
}

/* Improved text readability on mobile */
@media (max-width: 480px) {
  .headline {
    font-size: 28px;
    line-height: 1.1;
  }
  
  .section__head h2 {
    font-size: 20px;
  }
  
  h3 {
    font-size: 14px;
  }
  
  body {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* Prevent zoom on input focus on mobile */
@media (max-width: 480px) {
  input, textarea, select {
    font-size: 16px;
  }
}

/* Custom cursor hidden on touch devices */
@media (hover: none) {
  .custom-cursor,
  .mouse-glow {
    display: none;
  }
}

/* Smooth scrolling on mobile */
@media (max-width: 768px) {
  html {
    scroll-behavior: smooth;
  }
}

/* ======= Project Gallery Slider ======= */
.project-gallery {
  position: relative;
  width: 100%;
}

.gallery-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: clamp(360px, 55vh, 620px);
  border-radius: var(--radius2);
  border: 1px solid rgba(248, 251, 250, 0.1);
  background: rgba(15, 36, 29, 0.5);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  min-height: 360px;
}

.gallery-track {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
  touch-action: pan-y;
}

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(127, 255, 217, 0.15);
  border: 2px solid rgba(127, 255, 217, 0.3);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
  padding: 0;
}

.gallery-nav:hover {
  background: rgba(127, 255, 217, 0.25);
  border-color: rgba(127, 255, 217, 0.6);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(127, 255, 217, 0.2);
}

.gallery-prev {
  left: 16px;
}

.gallery-next {
  right: 16px;
}

.gallery-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: rgba(15, 36, 29, 0.3);
  border-top: 1px solid rgba(248, 251, 250, 0.1);
}

.gallery-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(127, 255, 217, 0.2);
  border: 1.5px solid rgba(127, 255, 217, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-indicator.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(127, 255, 217, 0.4);
}

.gallery-indicator:hover {
  background: rgba(127, 255, 217, 0.4);
  border-color: rgba(127, 255, 217, 0.6);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .gallery-container {
    height: clamp(300px, 45vh, 460px);
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .gallery-prev {
    left: 12px;
  }

  .gallery-next {
    right: 12px;
  }

  .gallery-indicators {
    padding: 16px;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .gallery-container {
    height: clamp(280px, 50vh, 420px);
  }

  .gallery-nav {
    width: 36px;
    height: 36px;
  }

  .gallery-prev {
    left: 8px;
  }

  .gallery-next {
    right: 8px;
  }

  .gallery-indicator {
    width: 8px;
    height: 8px;
  }
}