/* ============================================================
   ProPortfolio — Frontend Theme CSS  (css/theme.css)
   All colors, fonts, layout injected dynamically via JS
   ============================================================ */

/* ── CSS Variables (defaults — overridden by JS from admin) ── */
:root {
  --green:       #00C070;
  --green-dark:  #009952;
  --green-light: #0a2a1a;
  --bg:          #080f08;
  --bg2:         #0f160f;
  --bg3:         #151e15;
  --text:        #e4f2e4;
  --text2:       #8fb08f;
  --text3:       #557055;
  --card:        #111911;
  --border:      #1c2c1c;
  --shadow:      0 4px 28px rgba(0,192,112,.14);
  --nav-bg:      rgba(8,15,8,.96);
  --font-h:      'Syne', sans-serif;
  --font-b:      'DM Sans', sans-serif;
  --radius:      14px;
}

[data-theme="light"] {
  --bg:          #ffffff;
  --bg2:         #f5f9f5;
  --bg3:         #eef3ee;
  --text:        #0d1a0d;
  --text2:       #4a5e4a;
  --text3:       #7a8f7a;
  --card:        #ffffff;
  --border:      #e0ebe0;
  --shadow:      0 4px 24px rgba(0,192,112,.09);
  --nav-bg:      rgba(255,255,255,.94);
  --green-light: #e6fff4;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family:    var(--font-b);
  background:     var(--bg);
  color:          var(--text);
  transition:     background .4s, color .4s;
  overflow-x:     hidden;
  line-height:    1.6;
}
img   { max-width: 100%; height: auto; display: block; }
a     { color: var(--green); text-decoration: none; }

/* ============================================================
   NAV
   ============================================================ */
nav {
  position:       fixed;
  top: 0; left: 0; right: 0;
  z-index:        200;
  display:        flex;
  align-items:    center;
  justify-content:space-between;
  padding:        0 6vw;
  height:         66px;
  background:     var(--nav-bg);
  backdrop-filter:blur(16px);
  border-bottom:  1px solid var(--border);
  transition:     background .4s, border-color .4s;
}

.logo {
  font-family:  var(--font-h);
  font-weight:  800;
  font-size:    20px;
  color:        var(--green);
  letter-spacing: -.5px;
  cursor:       pointer;
}
.logo .logo-base { color: var(--text); }

.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  font-size:   14px;
  font-weight: 500;
  color:       var(--text2);
  transition:  color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.btn-cv {
  padding:     8px 20px;
  border-radius: 30px;
  border:      1.5px solid var(--green);
  background:  transparent;
  color:       var(--green);
  font-size:   13px;
  font-weight: 600;
  cursor:      pointer;
  font-family: inherit;
  transition:  all .2s;
  white-space: nowrap;
}
.btn-cv:hover { background: var(--green); color: #fff; }

.theme-btn {
  width:        40px;
  height:       40px;
  border-radius:50%;
  border:       1.5px solid var(--border);
  background:   var(--bg2);
  cursor:       pointer;
  display:      flex;
  align-items:  center;
  justify-content: center;
  font-size:    18px;
  transition:   all .3s;
  flex-shrink:  0;
}
.theme-btn:hover { border-color: var(--green); }

/* Hamburger */
.hamburger {
  display:        none;
  flex-direction: column;
  gap:            5px;
  cursor:         pointer;
  padding:        6px;
  background:     none;
  border:         none;
  flex-shrink:    0;
}
.hamburger span {
  display:       block;
  width:         22px;
  height:        2px;
  background:    var(--text);
  border-radius: 2px;
  transition:    all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display:        none;
  position:       fixed;
  top:            66px;
  left: 0; right: 0;
  background:     var(--nav-bg);
  backdrop-filter:blur(16px);
  border-bottom:  1px solid var(--border);
  padding:        16px 6vw 22px;
  z-index:        199;
  flex-direction: column;
  gap:            2px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size:   15px;
  font-weight: 500;
  color:       var(--text2);
  padding:     11px 0;
  border-bottom: 1px solid var(--border);
  transition:  color .2s;
}
.mobile-menu a:last-child  { border-bottom: none; }
.mobile-menu a:hover       { color: var(--green); }
.mobile-menu .mob-cta {
  background:    var(--green) !important;
  color:         #fff !important;
  border-radius: 10px !important;
  padding:       12px 16px !important;
  font-weight:   700 !important;
  text-align:    center;
  border-bottom: none !important;
  margin-top:    8px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display:     grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap:         40px;
  padding:     100px 6vw 60px;
  position:    relative;
  overflow:    hidden;
}
.hero::before {
  content:    '';
  position:   absolute;
  top: -120px; right: -80px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,192,112,.10) 0%, transparent 70%);
  pointer-events: none;
}

/* Animated dots */
.dots-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.dot {
  position:      absolute;
  border-radius: 50%;
  animation:     floatDot 6s ease-in-out infinite;
}
@keyframes floatDot {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

.hero-tag {
  display:      inline-flex;
  align-items:  center;
  gap:          8px;
  background:   var(--green-light);
  color:        var(--green-dark);
  font-size:    12px;
  font-weight:  700;
  letter-spacing: .08em;
  padding:      5px 16px;
  border-radius:30px;
  margin-bottom:16px;
  text-transform:uppercase;
}
.pulse {
  width:  7px;
  height: 7px;
  border-radius: 50%;
  background:    var(--green);
  flex-shrink:   0;
  animation:     pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,192,112,.5); }
  50%       { box-shadow: 0 0 0 7px rgba(0,192,112,0); }
}

.hero h1 {
  font-family:   var(--font-h);
  font-size:     clamp(32px, 4.5vw, 58px);
  font-weight:   800;
  line-height:   1.1;
  margin-bottom: 12px;
  letter-spacing:-1px;
}
.hero h1 .accent { color: var(--green); }

.hero-sub {
  font-size:     15px;
  color:         var(--text2);
  line-height:   1.8;
  max-width:     440px;
  margin-bottom: 14px;
}

.hero-tagline {
  font-size:   14px;
  color:       var(--text2);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-role-tags {
  display:       flex;
  gap:           8px;
  flex-wrap:     wrap;
  margin-bottom: 28px;
}
.role-tag {
  font-size:   12px;
  font-weight: 600;
  padding:     5px 14px;
  border-radius: 20px;
  border:      1.5px solid var(--border);
  color:       var(--text2);
  transition:  all .2s;
}
.role-tag:hover { border-color: var(--green); color: var(--green); }

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

.btn-primary {
  padding:     13px 28px;
  border-radius: 30px;
  background:  var(--green);
  color:       #fff;
  border:      none;
  font-size:   14px;
  font-weight: 700;
  cursor:      pointer;
  font-family: inherit;
  transition:  all .25s;
  box-shadow:  0 4px 20px rgba(0,192,112,.35);
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,192,112,.45); }

.btn-outline {
  padding:     13px 26px;
  border-radius: 30px;
  background:  transparent;
  color:       var(--text);
  border:      1.5px solid var(--border);
  font-size:   14px;
  font-weight: 500;
  cursor:      pointer;
  font-family: inherit;
  transition:  all .2s;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* Hero image */
.hero-image-side {
  display:         flex;
  justify-content: center;
  align-items:     center;
  position:        relative;
}
.hero-img-frame {
  width:         320px;
  height:        400px;
  border-radius: 28px;
  background:    linear-gradient(145deg, var(--green), var(--green-dark));
  position:      relative;
  overflow:      hidden;
  box-shadow:    0 24px 64px rgba(0,192,112,.28);
}
.hero-img-frame img {
  width:          100%;
  height:         100%;
  object-fit:     cover;
  object-position:top center;
}
.hero-img-placeholder {
  width:   100%;
  height:  100%;
  display: flex;
  flex-direction: column;
  align-items:    center;
  justify-content:center;
  color:   rgba(255,255,255,.6);
  font-size:14px;
  gap:     10px;
}

.img-badge {
  position:      absolute;
  background:    var(--card);
  border-radius: 14px;
  padding:       10px 15px;
  display:       flex;
  align-items:   center;
  gap:           8px;
  box-shadow:    var(--shadow);
  border:        1px solid var(--border);
  font-size:     13px;
  font-weight:   600;
  white-space:   nowrap;
  color:         var(--text);
}
.img-badge.tl { top: -14px; left: -18px; }
.img-badge.br { bottom: -14px; right: -18px; }
.badge-dot {
  width:  8px;
  height: 8px;
  border-radius: 50%;
  background:    var(--green);
  animation:     pulse 1.5s ease-in-out infinite;
  flex-shrink:   0;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats {
  display:    flex;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  flex:        1;
  padding:     32px 20px;
  text-align:  center;
  border-right:1px solid var(--border);
  transition:  background .2s;
  cursor:      default;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover      { background: var(--bg3); }
.stat-num {
  font-family:   var(--font-h);
  font-size:     40px;
  font-weight:   800;
  color:         var(--green);
  line-height:   1;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--text2); }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
section { padding: 80px 6vw; }

.section-tag {
  font-size:    11px;
  font-weight:  700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:        var(--green);
  margin-bottom:9px;
}
.section-title {
  font-family:   var(--font-h);
  font-size:     clamp(26px, 3.5vw, 44px);
  font-weight:   800;
  line-height:   1.15;
  margin-bottom: 12px;
  letter-spacing:-.5px;
  color:         var(--text);
}
.section-title .accent { color: var(--green); }
.section-desc {
  font-size:  15px;
  color:      var(--text2);
  line-height:1.75;
  max-width:  480px;
}

/* ── Alternate section bg ── */
.bg-alt { background: var(--bg2); }

/* ── Empty state ── */
.empty-state {
  text-align:    center;
  padding:       50px 20px;
  color:         var(--text3);
  border:        2px dashed var(--border);
  border-radius: 20px;
  font-size:     14px;
  grid-column:   1 / -1;
}
.empty-state .empty-icon { font-size: 40px; margin-bottom: 12px; display: block; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap:     60px;
  align-items: center;
}
.about-img-inner {
  border-radius: 24px;
  overflow:      hidden;
  aspect-ratio:  4/5;
}
.about-img-inner img {
  width:          100%;
  height:         100%;
  object-fit:     cover;
  object-position:top;
}
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap:     12px;
  margin-top: 20px;
}
.info-card {
  background:    var(--bg2);
  border:        1px solid var(--border);
  border-radius: 12px;
  padding:       13px 15px;
}
.info-card .lbl {
  font-size:    11px;
  color:        var(--text3);
  margin-bottom:3px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.info-card .val { font-size: 14px; font-weight: 600; color: var(--text); }

.about-text p {
  font-size:     15px;
  color:         var(--text2);
  line-height:   1.8;
  margin-bottom: 16px;
}
.about-contact { margin-top: 28px; display: flex; flex-direction: column; gap: 13px; }
.contact-row   { display: flex; align-items: center; gap: 13px; }
.c-icon {
  width:  42px;
  height: 42px;
  border-radius: 11px;
  background:    var(--green-light);
  display:       flex;
  align-items:   center;
  justify-content:center;
  flex-shrink:   0;
  font-size:     18px;
}
.c-lbl { font-size: 11px; color: var(--text3); margin-bottom: 1px; text-transform: uppercase; letter-spacing: .05em; }
.c-val { font-size: 14px; font-weight: 600; color: var(--text); }

/* ============================================================
   SKILLS
   ============================================================ */
.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap:     56px;
  align-items: start;
}

/* Radial circles */
.skill-radials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap:     14px;
  margin-bottom: 28px;
}
.radial-card {
  background:    var(--card);
  border:        1px solid var(--border);
  border-radius: 16px;
  padding:       18px;
  display:       flex;
  flex-direction:column;
  align-items:   center;
  gap:           10px;
  transition:    all .25s;
  cursor:        default;
}
.radial-card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow); }
.radial-svg        { position: relative; }
.radial-center {
  position:        absolute;
  inset:           0;
  display:         flex;
  align-items:     center;
  justify-content: center;
}
.radial-pct {
 
  font-size:   18px;
  font-weight: 800;
  color:       var(--text);
}
.radial-name { font-size: 12px; font-weight: 600; color: var(--text2); text-align: center; }

/* Skill bars */
.skill-category { margin-bottom: 30px; }
.cat-label       { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cat-icon {
  width:  30px;
  height: 30px;
  border-radius: 8px;
  display:       flex;
  align-items:   center;
  justify-content:center;
  font-size:     14px;
}
.cat-name { font-family: var(--font-h); font-size: 14px; font-weight: 700; color: var(--text); }

.skill-item    { margin-bottom: 13px; }
.skill-top     { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.skill-name-lbl{ font-size: 13px; font-weight: 500; color: var(--text); }
.skill-meta    { display: flex; align-items: center; gap: 7px; }
.skill-pct     { font-size: 13px; font-weight: 700; color: var(--green); min-width: 34px; text-align: right; }

.level-badge { font-size: 10px; font-weight: 700; letter-spacing: .05em; padding: 2px 9px; border-radius: 20px; text-transform: uppercase; }
.lv-expert   { background: rgba(0,192,112,.14);   color: #009952; }
.lv-advanced { background: rgba(83,74,183,.11);   color: #534AB7; }
.lv-inter    { background: rgba(186,117,23,.11);  color: #BA7517; }
.lv-beginner { background: rgba(220,60,60,.10);   color: #A32D2D; }

.bar-track { height: 7px; background: var(--bg3); border-radius: 10px; overflow: hidden; }
.bar-fill  {
  height:        100%;
  border-radius: 10px;
  width:         0;
  transition:    width 1.4s cubic-bezier(.4, 0, .2, 1);
}

/* ============================================================
   TIMELINE (Experience)
   ============================================================ */
.timeline          { position: relative; padding-left: 28px; margin-top: 40px; }
.timeline::before  { content: ''; position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.tl-item           { position: relative; margin-bottom: 32px; }
.tl-dot {
  position:      absolute;
  left:          -25px;
  top:           4px;
  width:         18px;
  height:        18px;
  border-radius: 50%;
  background:    var(--green-light);
  border:        3px solid var(--green);
}
.tl-inner {
  background:    var(--card);
  border:        1px solid var(--border);
  border-radius: 16px;
  padding:       20px 22px;
  transition:    all .25s;
}
.tl-inner:hover { border-color: var(--green); box-shadow: var(--shadow); }
.tl-date    { font-size: 11px; color: var(--green); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 5px; }
.tl-title   { font-family: var(--font-h); font-size: 16px; font-weight: 700; margin-bottom: 3px; color: var(--text); }
.tl-company { font-size: 13px; color: var(--text2); margin-bottom: 10px; }
.tl-desc    { font-size: 13px; color: var(--text2); line-height: 1.7; margin-bottom: 12px; }
.tl-tags    { display: flex; gap: 7px; flex-wrap: wrap; }
.tl-tag     { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: var(--green-light); color: var(--green-dark); }

/* ============================================================
   EDUCATION
   ============================================================ */
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.edu-card {
  background:    var(--card);
  border:        1px solid var(--border);
  border-radius: 18px;
  padding:       22px;
  transition:    all .25s;
  position:      relative;
  overflow:      hidden;
}
.edu-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--green); }
.edu-card:hover   { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow); }
.edu-year {
  display:      inline-block;
  font-size:    11px;
  font-weight:  700;
  color:        var(--green);
  background:   var(--green-light);
  padding:      3px 10px;
  border-radius:20px;
  margin-bottom:10px;
}
.edu-degree { font-family: var(--font-h); font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.edu-inst   { font-size: 13px; color: var(--text2); margin-bottom: 8px; }
.edu-result { font-size: 13px; font-weight: 700; color: var(--green); }

/* ============================================================
   PROJECTS
   ============================================================ */
.proj-header {
  display:     flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap:   wrap;
  gap:         16px;
  margin-bottom:40px;
}
.proj-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding:     7px 18px;
  border-radius:30px;
  border:      1.5px solid var(--border);
  background:  transparent;
  color:       var(--text2);
  font-size:   13px;
  font-weight: 600;
  cursor:      pointer;
  font-family: inherit;
  transition:  all .2s;
}
.filter-btn:hover,
.filter-btn.active { background: var(--green); color: #fff; border-color: var(--green); }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap:     20px;
}
.proj-card {
  background:    var(--card);
  border:        1px solid var(--border);
  border-radius: 20px;
  overflow:      hidden;
  transition:    all .28s;
}
.proj-card:hover { border-color: var(--green); transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,192,112,.15); }

.proj-thumb {
  width:      100%;
  height:     190px;
  object-fit: cover;
  display:    block;
}
.proj-thumb-placeholder {
  width:      100%;
  height:     190px;
  display:    flex;
  align-items:center;
  justify-content:center;
  font-size:  44px;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  position:   relative;
}
.proj-cat-badge {
  position:      absolute;
  top:           12px;
  left:          12px;
  font-size:     10px;
  font-weight:   700;
  padding:       3px 10px;
  border-radius: 20px;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.proj-body    { padding: 18px; }
.proj-tags    { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.proj-tag     { font-size: 10px; font-weight: 700; padding: 2px 9px; border-radius: 20px; background: var(--green-light); color: var(--green-dark); }
.proj-title   { font-family: var(--font-h); font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.proj-desc    { font-size: 13px; color: var(--text2); line-height: 1.65; margin-bottom: 14px; }
.proj-footer  { display: flex; align-items: center; justify-content: space-between; }
.proj-links   { display: flex; gap: 8px; }
.proj-link {
  font-size:   12px;
  font-weight: 600;
  padding:     5px 14px;
  border-radius:20px;
  text-decoration:none;
  transition:  all .2s;
  display:     inline-flex;
  align-items: center;
  gap:         5px;
}
.proj-link.demo { background: var(--green); color: #fff; }
.proj-link.demo:hover { background: var(--green-dark); }
.proj-link.code { border: 1.5px solid var(--border); color: var(--text2); }
.proj-link.code:hover { border-color: var(--green); color: var(--green); }
.proj-status  { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.st-done      { background: rgba(0,192,112,.12);  color: #009952; }
.st-progress  { background: rgba(186,117,23,.12); color: #BA7517; }

.load-more-wrap { text-align: center; margin-top: 36px; }

/* ============================================================
   CERTIFICATES
   ============================================================ */
.certs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.cert-card {
  background:    var(--card);
  border:        1px solid var(--border);
  border-radius: 18px;
  overflow:      hidden;
  cursor:        pointer;
  transition:    all .25s;
}
.cert-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow); }
.cert-img   { width: 100%; height: 200px; object-fit: cover; object-position: top; }
.cert-info  { padding: 16px; }
.cert-badge {
  font-size:    10px;
  font-weight:  700;
  color:        var(--green);
  background:   var(--green-light);
  padding:      3px 9px;
  border-radius:20px;
  display:      inline-block;
  margin-bottom:6px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.cert-title  { font-family: var(--font-h); font-size: 15px; font-weight: 700; margin-bottom: 3px; color: var(--text); }
.cert-issuer { font-size: 13px; color: var(--text2); }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap:     18px;
  margin-top: 44px;
}
.svc-card {
  background:    var(--card);
  border:        1px solid var(--border);
  border-radius: 20px;
  padding:       26px;
  transition:    all .25s;
}
.svc-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-icon {
  width:         48px;
  height:        48px;
  border-radius: 13px;
  background:    var(--green-light);
  display:       flex;
  align-items:   center;
  justify-content:center;
  margin-bottom: 16px;
  font-size:     22px;
  transition:    background .25s;
}
.svc-card:hover .svc-icon { background: var(--green); }
.svc-title { font-family: var(--font-h); font-size: 16px; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.svc-desc  { font-size: 13px; color: var(--text2); line-height: 1.7; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap:     56px;
  align-items: start;
}
.contact-info-item { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ci-icon {
  width:          44px;
  height:         44px;
  border-radius:  12px;
  background:     var(--green-light);
  display:        flex;
  align-items:    center;
  justify-content:center;
  flex-shrink:    0;
  font-size:      20px;
}
.ci-lbl { font-size: 11px; color: var(--text3); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .05em; }
.ci-val { font-size: 14px; font-weight: 600; color: var(--text); }

.contact-form { display: flex; flex-direction: column; gap: 13px; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-group   { display: flex; flex-direction: column; gap: 5px; }
.form-group label {
  font-size:    12px;
  font-weight:  600;
  color:        var(--text2);
  text-transform:uppercase;
  letter-spacing:.05em;
}
.form-group input,
.form-group textarea {
  padding:     12px 15px;
  border-radius:12px;
  border:      1.5px solid var(--border);
  background:  var(--bg2);
  color:       var(--text);
  font-family: inherit;
  font-size:   14px;
  outline:     none;
  transition:  border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 110px; }

.btn-submit {
  padding:     14px;
  border-radius:14px;
  background:  var(--green);
  color:       #fff;
  border:      none;
  font-size:   15px;
  font-weight: 700;
  cursor:      pointer;
  font-family: inherit;
  transition:  all .25s;
  box-shadow:  0 4px 20px rgba(0,192,112,.28);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,192,112,.4); }

/* ============================================================
   MODAL (Certificate viewer)
   ============================================================ */
.modal-overlay {
  display:         none;
  position:        fixed;
  inset:           0;
  background:      rgba(0,0,0,.90);
  z-index:         1000;
  align-items:     center;
  justify-content: center;
  padding:         20px;
}
.modal-overlay.open { display: flex; }
.modal-img   { max-width: 90vw; max-height: 90vh; border-radius: 12px; object-fit: contain; }
.modal-close {
  position:  fixed;
  top:       18px;
  right:     22px;
  font-size: 30px;
  color:     #fff;
  cursor:    pointer;
  background:none;
  border:    none;
  font-weight:700;
  z-index:   1001;
  line-height:1;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background:  var(--bg2);
  border-top:  1px solid var(--border);
  padding:     28px 6vw;
  display:     flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap:   wrap;
  gap:         14px;
}
.footer-copy    { font-size: 13px; color: var(--text3); }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width:         38px;
  height:        38px;
  border-radius: 10px;
  border:        1px solid var(--border);
  background:    var(--bg);
  display:       flex;
  align-items:   center;
  justify-content:center;
  cursor:        pointer;
  font-size:     13px;
  font-weight:   700;
  transition:    all .2s;
  color:         var(--text2);
  text-decoration:none;
}
.social-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s ease forwards; opacity: 0; }
.d1 { animation-delay: .10s; }
.d2 { animation-delay: .25s; }
.d3 { animation-delay: .40s; }
.d4 { animation-delay: .55s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .skills-layout  { grid-template-columns: 1fr; gap: 36px; }
  .about-layout   { grid-template-columns: 1fr; gap: 36px; }
  .about-img-inner{ max-width: 380px; margin: 0 auto; }
}

@media (max-width: 900px) {
  nav { padding: 0 4vw; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-cv#hireBtnDesktop { display: none !important; }

  .hero {
    grid-template-columns: 1fr;
    text-align:  center;
    padding:     90px 5vw 50px !important;
    gap:         30px;
  }
  .hero-sub,
  .section-desc { margin-left: auto; margin-right: auto; }
  .hero-btns,
  .hero-role-tags { justify-content: center; }
  .hero-image-side { order: -1; }
  .hero-img-frame  { width: 230px; height: 290px; }

  .stats         { flex-wrap: wrap; }
  .stat-item     { flex: 1 1 50%; border-bottom: 1px solid var(--border); }

  section        { padding: 60px 5vw; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .edu-grid      { grid-template-columns: 1fr 1fr; }
  .certs-grid    { grid-template-columns: 1fr 1fr; }
  .proj-grid     { grid-template-columns: 1fr 1fr; }
  .contact-layout{ grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  .hero-img-frame  { width: 180px; height: 230px; border-radius: 18px; }
  .hero h1         { font-size: clamp(28px, 9vw, 42px); }

  .stat-item       { flex: 1 1 100%; }

  .services-grid,
  .edu-grid,
  .certs-grid,
  .proj-grid       { grid-template-columns: 1fr; }

  .skill-radials   { grid-template-columns: 1fr 1fr; }
  .about-info-grid { grid-template-columns: 1fr 1fr; }

  .form-row        { grid-template-columns: 1fr; }
  footer           { flex-direction: column; text-align: center; }
}

/* ============================================================
   PARTICLES CURSOR — hide default cursor
   ============================================================ */


/* Restore cursor on mobile */
@media (hover: none), (max-width: 768px) {
  *, *::before, *::after {
    cursor: auto !important;
  }
}