/* ============================================================
   Resumex — modern design layer (2026)
   A clean, contemporary resume look over the existing markup.
   Loaded LAST so it wins. Keeps the layout simple.
   Accent: navy #1e293b sidebar + amber #f59e0b highlights.
   ============================================================ */

:root {
  --bg: #eef2f7;                 /* soft page backdrop (replaces the dated pattern) */
  --card: #ffffff;
  --text: #23272f;
  --muted: #5b6472;
  --faint: #8a93a3;
  --line: #e8ecf1;
  --line-strong: #d7dde5;
  --navy: #1e293b;               /* dark sidebar */
  --navy-2: #0f172a;             /* gradient end */
  --amber: #f59e0b;              /* highlight / accent */
  --amber-dark: #d97706;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06);
  --shadow-lift: 0 14px 30px rgba(15,23,42,.10);
}

/* ---------- base ---------- */
body {
  font-family: "Hind", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef2f7 0%, #e6ebf2 100%) fixed;
  font-size: 15.5px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber-dark); transition: color .2s ease; }
a:hover, a:focus { color: var(--amber); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { color: var(--text); font-weight: 700; letter-spacing: -.01em; }

/* ---------- the outer card ---------- */
.columns-block {
  margin: 56px auto;
  max-width: 1120px;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(15,23,42,.14), 0 2px 8px rgba(15,23,42,.06);
  border: 0;
}
/* round the two column edges to match the card (no overflow:hidden — that
   would clip the sticky sidebar). */
.left-col-block  { border-radius: var(--radius) 0 0 var(--radius); }
.right-col-block { border-radius: 0 var(--radius) var(--radius) 0; background: var(--card); }
@media (max-width: 768px) {
  .columns-block { margin: 0; border-radius: 0; box-shadow: none; }
  .left-col-block, .right-col-block { border-radius: 0; }
}

/* ============================================================
   LEFT COLUMN — dark navy profile sidebar
   ============================================================ */
.left-col-block {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%);
  border-right: 0;
  color: rgba(255,255,255,.78);
}
.left-col-block .header { padding: 40px 34px !important; }
.left-col-block .profile-img { margin-bottom: 34px; }
.left-col-block .profile-img img {
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  outline: 3px solid rgba(245,158,11,.35);
  outline-offset: 3px;
}
.left-col-block .content h1 {
  color: #ffffff;
  font-size: 27px;
  line-height: 1.15;
  margin: 0 0 6px;
}
.left-col-block .content .lead {
  display: inline-block;
  color: var(--amber);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.left-col-block .about-text { margin: 14px 0 6px; }
.left-col-block .about-text p { color: rgba(255,255,255,.72); font-size: 14.5px; }
/* the signature PNG is black ink on transparent — invert it to white on navy */
.left-col-block .about-text img { filter: brightness(0) invert(1); opacity: .9; }

/* social icons: light outlined chips that fill amber on hover */
.left-col-block .social-icon { margin: 26px 0 0; }
.left-col-block .social-icon li a {
  width: 38px; height: 38px; line-height: 35px;
  color: rgba(255,255,255,.85);
  border: 2px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  transition: all .2s ease;
}
.left-col-block .social-icon li a:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ============================================================
   RIGHT COLUMN — light, readable content
   ============================================================ */
.gray-bg { background-color: #f7f9fc; }
.section-wrapper { border-bottom: 1px solid var(--line); padding: 46px 50px; }
@media (max-width: 480px) { .section-wrapper { padding: 32px 22px; } }

/* section titles → small-caps label with an amber underline bar */
.section-title { margin-bottom: 26px; }
.section-title h2 {
  position: relative;
  display: inline-block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 4px;
  padding-bottom: 12px;
}
.section-title h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  background: var(--amber);
  border-radius: 3px;
}

/* ---------- Expertise → soft cards ---------- */
.expertise-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 22px 18px;
  margin-bottom: 24px;
  height: calc(100% - 24px);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gray-bg .expertise-item { background: #ffffff; }
.expertise-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}
.expertise-item h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.expertise-item h3::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--amber);
  vertical-align: middle;
}
.expertise-item p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* ---------- Skills progress bars ---------- */
.progress-item { margin-bottom: 26px; }
.progress-item .progress-title {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.progress-item .progress {
  height: 8px;
  background-color: #e9edf3;
  border-radius: 999px;
  overflow: visible;
}
.progress-item .progress-bar {
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
  border-radius: 999px;
  position: relative;
  overflow: visible;
}
.progress-item .progress-percent {
  font-size: 10px;
  font-weight: 600;
  background-color: var(--navy);
  color: #fff;
  top: -22px; right: 0; left: auto;
}
.progress-item .progress-percent::before { border-top-color: var(--navy); }

/* ---------- Experience / Education / Interest entries ---------- */
.content-item {
  position: relative;
  padding-left: 22px;
  margin-bottom: 30px;
  border-left: 3px solid var(--line);
  transition: border-color .2s ease;
}
.content-item::before {
  content: "";
  position: absolute;
  left: -8px; top: 2px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245,158,11,.15);
}
.content-item:hover { border-left-color: var(--amber); }
.content-item small {
  display: inline-block;
  color: var(--amber-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.content-item h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}
.content-item h4 { color: var(--muted); font-size: 14.5px; font-weight: 600; margin: 0 0 4px; }
.content-item p { color: var(--faint); margin: 0; }
/* Interest paragraphs are longer prose, keep them readable */
.section-interest .content-item p { color: var(--muted); }

/* ---------- Portfolio ---------- */
.portfolio-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.portfolio-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.portfolio-item .portfolio-thumb { overflow: hidden; }
.portfolio-item .portfolio-thumb img {
  width: 100%;
  transition: transform .5s ease;
}
.portfolio-item:hover .portfolio-thumb img { transform: scale(1.06); }
.portfolio-item .portfolio-info {
  padding: 34px 18px 16px;
  background: linear-gradient(to top, rgba(15,23,42,.88) 0%, rgba(15,23,42,.45) 55%, transparent 100%);
}
.portfolio-item:hover .portfolio-info {
  background: linear-gradient(to top, rgba(15,23,42,.94) 0%, rgba(15,23,42,.55) 60%, transparent 100%);
}
.portfolio-item .portfolio-info h3 { color: #fff; font-size: 17px; margin: 0 0 2px; }
.portfolio-item .portfolio-info small { color: rgba(255,255,255,.8); }

/* ---------- Contact ---------- */
.section-contact address { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.section-contact address strong {
  display: inline-block;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.feedback-form { margin-top: 44px; }
.feedback-form h2 { color: var(--navy); font-size: 20px; margin-bottom: 22px; }
.feedback-form .form-group { margin-bottom: 18px; }
.feedback-form label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* ---------- forms ---------- */
.form-control {
  height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: #fff;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea.form-control { height: auto; min-height: 130px; line-height: 1.6; padding-top: 12px; }
.form-control:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,.18);
  outline: none;
}
.form-control::placeholder { color: var(--faint); }

/* ---------- buttons ---------- */
.btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 13px 32px 12px;
  transition: all .2s ease;
}
.btn-primary {
  background-color: var(--amber);
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(245,158,11,.28);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active:focus {
  background: var(--amber-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(217,119,6,.32);
}

/* ---------- footer ---------- */
.footer {
  padding: 26px 50px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}
.footer .copyright-section,
.footer .copyright-section .copytext { color: var(--faint); font-size: 13px; }
.footer a { color: var(--amber-dark); font-weight: 600; }
.footer a:hover { color: var(--amber); }

/* ---------- misc ---------- */
::selection { background: rgba(245,158,11,.25); }
