/*
  Ernest Uwaoma Portfolio — Premium Redesign
  NexKeys Agency | ernestuwaoma3@gmail.com
  Color scheme: White · Green · Black · Ash
*/

/* ─────────── VARIABLES ─────────── */
:root {
  --green:        #22c55e;
  --green-dark:   #16a34a;
  --green-glow:   rgba(34,197,94,.18);
  --green-soft:   rgba(34,197,94,.08);
  --black:        #0a0f0d;
  --dark:         #0f172a;
  --white:        #ffffff;
  --ash:          #f4f7f5;
  --ash-mid:      #e8ede9;
  --muted:        #64748b;
  --border:       #e2e8f0;
  --card-shadow:  0 4px 24px rgba(15,23,42,.08);
  --card-shadow-h:0 12px 40px rgba(15,23,42,.14);

  --ff-head: 'Syne', sans-serif;
  --ff-body: 'DM Sans', sans-serif;

  --nav-h: 72px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
}

/* ─────────── RESET / BASE ─────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--ff-head);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.15;
  color: var(--dark);
}
h1 { font-size: clamp(2.4rem,6vw,4rem); }
h2 { font-size: clamp(1.6rem,4vw,2.8rem); }
h3 { font-size: clamp(1.4rem,3vw,2rem); }
h4 { font-size: clamp(1.1rem,2.5vw,1.5rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: .95rem; }

p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin-bottom: .9rem; }
a { color: var(--dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
strong { font-weight: 700; color: var(--dark); }

::selection { background: var(--green); color: #fff; }

.section-padding { padding: 100px 0; }

/* ─────────── PRELOADER ─────────── */
.preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
}
.preloader-inner { position: relative; width: 64px; height: 64px; }
.preloader-ring {
  position: absolute; inset: 0;
  border: 3px solid rgba(34,197,94,.2);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin .85s linear infinite;
}
.preloader-logo {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-size: 1.4rem; color: #fff;
}
.preloader-logo span { color: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─────────── NAVBAR ─────────── */
.sticky-wrapper { position: relative; z-index: 200; height: auto !important; }

.navbar {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 16px 0;
  background: transparent;
  transition: all .3s ease;
  z-index: 100;
}
.navbar .container {
  background: rgba(10,15,13,.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(34,197,94,.15);
  border-radius: var(--radius-md);
  padding: 10px 24px;
}
.is-sticky .navbar .container {
  background: rgba(255,255,255,.96);
  border-color: var(--border);
  box-shadow: 0 4px 32px rgba(15,23,42,.1);
}

/* Brand */
.navbar-brand { font-family: var(--ff-head); font-size: 1.3rem; color: #fff; font-weight: 800; }
.navbar-brand .brand-dot { color: var(--green); }
.navbar-brand .brand-suffix { color: var(--green); }
.navbar-brand:hover { color: var(--green); }
.is-sticky .navbar-brand { color: var(--dark); }
.is-sticky .navbar-brand:hover { color: var(--green); }

/* Nav links */
.navbar-nav .nav-link {
  font-family: var(--ff-body); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.8); padding: 8px 0; margin: 0 14px;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 0; right: 0;
  height: 2px; background: var(--green); transform: scaleX(0);
  transition: transform .25s ease;
}
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover { color: var(--green); }
.is-sticky .navbar-nav .nav-link { color: var(--muted); }
.is-sticky .navbar-nav .nav-link.active,
.is-sticky .navbar-nav .nav-link:hover { color: var(--green); }

/* Toggler */
.navbar-toggler { border: 0; padding: 4px; outline: none; box-shadow: none; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px; height: 24px;
}
.is-sticky .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,23,42,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width:991px) {
  .navbar .container { background: rgba(255,255,255,.97); border-color: var(--border); }
  .navbar-nav .nav-link { color: var(--muted); }
  .navbar-brand { color: var(--dark); }
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,23,42,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}

/* Buttons */
.custom-btn {
  font-family: var(--ff-body); font-weight: 700; font-size: .95rem;
  background: var(--green); color: #fff;
  border: 2px solid var(--green);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  transition: all .25s ease;
}
.custom-btn:hover {
  background: var(--green-dark); border-color: var(--green-dark);
  color: #fff; box-shadow: 0 6px 20px rgba(34,197,94,.35);
  transform: translateY(-1px);
}
.hero-outline-btn {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.5);
}
.hero-outline-btn:hover {
  background: #fff; color: var(--dark); border-color: #fff;
  box-shadow: 0 6px 20px rgba(255,255,255,.2);
}
.btn-sm { font-size: .8rem; padding: 7px 18px; }

/* Avatar */
.avatar-image {
  border-radius: var(--radius-pill);
  width: 130px; height: 130px; object-fit: cover;
  border: 3px solid rgba(34,197,94,.4);
}
.avatar-image-large { width: 80px; height: 80px; }

/* Section labels */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--green);
}
.section-eyebrow::before {
  content: ''; width: 20px; height: 2px; background: var(--green); border-radius: 2px;
}
.section-eyebrow-light { color: rgba(34,197,94,.8); }
.section-eyebrow-light::before { background: rgba(34,197,94,.8); }
.section-heading { font-family: var(--ff-head); color: var(--dark); margin-bottom: .5rem; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 520px; margin: 0 auto; }
.text-green { color: var(--green); }

/* ─────────── HERO ─────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 120px;
  background: var(--black);
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -10%; left: -5%;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse at 30% 40%, rgba(34,197,94,.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(34,197,94,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(34,197,94,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-title { font-family: var(--ff-head); font-size: clamp(2.2rem,5vw,3.5rem); color: #fff; }
.hero-sub { font-size: clamp(1.05rem,2.5vw,1.4rem); color: rgba(255,255,255,.7); font-weight: 400; }
.nexkeys-link {
  color: var(--green); font-weight: 700;
  background: rgba(34,197,94,.1); padding: 2px 10px;
  border-radius: var(--radius-sm); border: 1px solid rgba(34,197,94,.25);
}
.nexkeys-link:hover { background: rgba(34,197,94,.2); color: #4ade80; }
.hero-desc { color: rgba(255,255,255,.6); font-size: 1rem; line-height: 1.8; }

/* Hero badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25);
  border-radius: var(--radius-pill); padding: 8px 18px;
  font-size: .8rem; font-weight: 600; color: #4ade80;
}
.badge-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* Hero image */
.hero-image-wrap {
  position: absolute; top: -20px; right: -20px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(34,197,94,.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-image {
  position: relative; z-index: 2;
  max-height: 520px; object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(34,197,94,.12));
}

/* Floating badges */
.hero-float {
  position: absolute; z-index: 10;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: .8rem; font-weight: 700; color: #fff;
  animation: float-bob 4s ease-in-out infinite;
}
.hero-float i { color: var(--green); font-size: .9rem; }
.hero-float-1 { top: 15%; left: 2%; animation-delay: 0s; }
.hero-float-2 { bottom: 18%; right: 2%; animation-delay: 1.5s; }
@keyframes float-bob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Hero wave */
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; display: block; }

/* ─────────── ABOUT ─────────── */
.about { background: var(--white); }

.about-img-wrap {
  position: relative;
  display: inline-block; width: 100%;
}
.about-image {
  border-radius: var(--radius-lg);
  width: 100%; max-width: 460px;
  object-fit: cover;
  box-shadow: var(--card-shadow-h);
}
.about-exp-badge {
  position: absolute; bottom: 24px; right: 0;
  background: var(--green); color: #fff;
  border-radius: var(--radius-md);
  padding: 14px 20px; text-align: center;
  box-shadow: 0 8px 24px rgba(34,197,94,.35);
}
.about-exp-badge strong { display: block; font-family: var(--ff-head); font-size: 2rem; line-height: 1; }
.about-exp-badge span { font-size: .75rem; opacity: .9; }
.about-img-deco {
  position: absolute; top: -16px; left: -16px; z-index: -1;
  width: 120px; height: 120px;
  border: 3px solid var(--ash-mid); border-radius: var(--radius-md);
}

/* About info grid */
.about-info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.info-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 16px;
  background: var(--ash); border-radius: var(--radius-sm);
  border-left: 3px solid var(--green);
}
.info-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.info-value { font-size: .9rem; font-weight: 600; color: var(--dark); word-break: break-all; }
.info-value a { color: var(--green); font-weight: 600; }
.info-value a:hover { color: var(--green-dark); }

/* Stats */
.stat-box {
  text-align: center; padding: 20px 12px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  transition: box-shadow .2s, transform .2s;
}
.stat-box:hover { box-shadow: var(--card-shadow-h); transform: translateY(-3px); }
.stat-num {
  display: block; font-family: var(--ff-head);
  font-size: 2rem; font-weight: 800; color: var(--green); line-height: 1;
}
.stat-label { font-size: .78rem; color: var(--muted); margin: 6px 0 0; font-weight: 600; }

/* ─────────── SKILLS ─────────── */
.skills-section { background: var(--ash); }

.skills-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; height: 100%;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}
.skills-card-title {
  font-family: var(--ff-head); font-size: 1rem; color: var(--dark);
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 2px solid var(--ash-mid);
}
.skills-card-title i { color: var(--green); }

.skill-bar-wrap { margin-bottom: 18px; }
.skill-bar-label {
  display: flex; justify-content: space-between;
  font-size: .82rem; font-weight: 600; color: var(--dark);
  margin-bottom: 7px;
}
.skill-bar {
  height: 7px; background: var(--ash-mid); border-radius: 10px; overflow: hidden;
}
.skill-bar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  border-radius: 10px;
}

.skills-tags-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}
.tags-title {
  font-family: var(--ff-head); font-size: .9rem; margin-bottom: 14px; color: var(--dark);
}
.tags-title i { color: var(--green); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
  font-size: .78rem; font-weight: 600;
  background: var(--green-soft); color: var(--green-dark);
  border: 1px solid rgba(34,197,94,.2);
  padding: 5px 12px; border-radius: var(--radius-pill);
  transition: background .2s, color .2s;
}
.skill-tag:hover { background: var(--green); color: #fff; }

/* Education timeline */
.edu-section-title { font-family: var(--ff-head); font-size: 1.2rem; color: var(--dark); }
.edu-section-title i { color: var(--green); }
.edu-timeline { position: relative; padding-left: 32px; }
.edu-timeline::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--green), var(--ash-mid));
  border-radius: 2px;
}
.edu-item { position: relative; margin-bottom: 36px; }
.edu-item:last-child { margin-bottom: 0; }
.edu-marker {
  position: absolute; left: -38px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green); border: 3px solid var(--ash);
  box-shadow: 0 0 0 3px rgba(34,197,94,.25);
}
.edu-content {}
.edu-year {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--green); display: block; margin-bottom: 4px;
}
.edu-content h6 { font-family: var(--ff-head); font-size: 1rem; color: var(--dark); margin-bottom: 8px; }
.edu-content p { font-size: .9rem; margin: 0; }

/* ─────────── SERVICES ─────────── */
.services { background: var(--white); }

.service-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px;
  height: 100%;
  transition: all .3s ease;
  box-shadow: var(--card-shadow);
}
.service-card:hover {
  box-shadow: var(--card-shadow-h); transform: translateY(-6px);
  border-color: var(--green);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--green), #4ade80);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover::before { opacity: 1; }

.service-card-featured {
  background: linear-gradient(145deg, var(--dark) 0%, #1a2e1e 100%);
  border-color: var(--green);
  color: #fff;
}
.service-card-featured h4 { color: #fff; }
.service-card-featured p { color: rgba(255,255,255,.65); }
.service-card-featured::before { opacity: 1; }
.service-card-featured:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(34,197,94,.2); }

.service-featured-badge {
  position: absolute; top: -1px; right: 24px;
  background: var(--green); color: #fff;
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 14px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.service-icon-wrap {
  width: 56px; height: 56px;
  background: var(--green-soft); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon { font-size: 1.5rem; color: var(--green); }
.service-card-featured .service-icon-wrap { background: rgba(34,197,94,.15); }

.service-card h4 { font-size: 1.15rem; margin-bottom: 8px; }
.service-price {
  font-size: .82rem; color: var(--muted); margin-bottom: 12px;
}
.service-price strong { color: var(--green); font-size: 1.1rem; }
.service-card-featured .service-price { color: rgba(255,255,255,.6); }

.service-list {
  list-style: none; padding: 0; margin: 0 0 20px;
}
.service-list li {
  font-size: .88rem; padding: 5px 0;
  display: flex; align-items: center; gap: 8px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.service-card-featured .service-list li {
  color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.08);
}
.service-list li i { color: var(--green); font-size: .85rem; flex-shrink: 0; }

.service-btn {
  font-size: .85rem; font-weight: 700;
  background: transparent; color: var(--green);
  border: 1.5px solid rgba(34,197,94,.3);
  border-radius: var(--radius-pill); padding: 9px 22px;
  transition: all .2s;
  display: inline-block;
}
.service-btn:hover {
  background: var(--green); color: #fff; border-color: var(--green);
  box-shadow: 0 4px 14px rgba(34,197,94,.3);
}
.service-btn-featured {
  background: var(--green); color: #fff; border-color: var(--green);
}
.service-btn-featured:hover {
  background: #fff; color: var(--dark); border-color: #fff;
}

/* ─────────── PROJECTS ─────────── */
.projects { background: var(--dark); }
.projects .section-heading.text-white { color: #fff; }

.project-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all .3s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34,197,94,.3);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}

.project-img-wrap {
  position: relative; overflow: hidden;
  height: 200px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--proj-color) 20%, #0f172a), #0f172a);
}
.project-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease; position: relative; z-index: 2;
}
.project-card:hover .project-img { transform: scale(1.04); }
.project-placeholder {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; color: var(--proj-color);
  opacity: .25;
}

.project-info { padding: 22px; }
.project-tag {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--green); display: block; margin-bottom: 8px;
}
.project-title { font-family: var(--ff-head); font-size: 1.1rem; color: #fff; margin-bottom: 8px; }
.project-desc { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 16px; }
.project-link {
  font-size: .82rem; font-weight: 700; color: var(--green);
  display: inline-flex; align-items: center; gap: 5px;
  border-bottom: 1px solid rgba(34,197,94,.3);
  padding-bottom: 2px; transition: gap .2s;
}
.project-link:hover { color: #4ade80; gap: 9px; }

.projects-agency-btn {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3);
}
.projects-agency-btn:hover {
  background: var(--green); border-color: var(--green); color: #fff;
  box-shadow: 0 6px 20px rgba(34,197,94,.3);
}

/* ─────────── CONTACT ─────────── */
.contact { background: var(--ash); }

.contact-info-stack { display: flex; flex-direction: column; gap: 12px; }
.contact-info-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.contact-info-card:hover { border-color: var(--green); box-shadow: 0 4px 16px rgba(34,197,94,.1); }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-card h6 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 2px; }
.contact-info-card a, .contact-info-card span { font-size: .9rem; font-weight: 600; color: var(--dark); word-break: break-all; }
.contact-info-card a:hover { color: var(--green); }

/* Social pills */
.contact-social h6 { font-size: .85rem; color: var(--dark); }
.social-pill-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.social-pill {
  font-size: .78rem; font-weight: 600;
  background: var(--white); color: var(--dark);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 6px 14px;
  transition: all .2s;
  display: inline-flex; align-items: center; gap: 5px;
}
.social-pill:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* Contact form */
.contact-form-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}
.custom-form .form-control {
  background: var(--ash); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); color: var(--dark);
  padding: 13px 16px; font-size: .9rem;
  box-shadow: none; transition: border-color .2s, background .2s;
}
.custom-form .form-control:focus, .custom-form .form-control:hover {
  border-color: var(--green); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(34,197,94,.1);
}
.form-floating > label { color: var(--muted); font-size: .9rem; }
.custom-form .form-floating textarea { height: 140px; }

.form-check-inline {
  width: 100%; margin: 0; padding: 0;
  position: relative; vertical-align: middle; margin-bottom: 10px;
}
.form-check-input[type=checkbox] {
  width: 100%; padding: 30px 0; margin: 0;
  background: var(--ash); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
}
.form-check-input:checked { background-color: transparent; border-color: var(--green); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(34,197,94,.1); border-color: var(--green); }
.custom-form .form-check-label {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); text-align: center; pointer-events: none;
}
.form-check-icon { color: var(--green); display: block; margin-bottom: 3px; }
.form-check-label-text { font-size: .72rem; font-weight: 700; color: var(--muted); display: block; }

/* ─────────── FOOTER ─────────── */
.site-footer {
  background: var(--dark);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-logo {
  font-family: var(--ff-head); font-size: 1.2rem; font-weight: 800;
  color: #fff; display: inline-block;
}
.footer-logo span { color: var(--green); }
.footer-logo:hover { color: var(--green); }
.footer-tagline { font-size: .82rem; color: rgba(255,255,255,.4); }
.copyright-text { font-size: .8rem; color: rgba(255,255,255,.5); }
.copyright-text strong { color: #fff; }
.copyright-text a { color: var(--green); font-weight: 700; }
.copyright-text a:hover { color: #4ade80; }

.social-icon { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: 6px; }
.social-icon-item { display: inline-block; }
.social-icon-link {
  width: 38px; height: 38px; line-height: 38px; text-align: center;
  border-radius: 50%; display: inline-block;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.5); font-size: .85rem;
  transition: all .2s;
}
.social-icon-link:hover {
  background: var(--green); border-color: var(--green); color: #fff;
  transform: translateY(-3px); box-shadow: 0 4px 12px rgba(34,197,94,.3);
}

/* ─────────── RESPONSIVE ─────────── */
@media (max-width:991px) {
  .section-padding { padding: 72px 0; }
  .hero { padding: 140px 0 100px; min-height: auto; }
  .hero-float { display: none; }
  .about-info-grid { grid-template-columns: 1fr; }
  .edu-timeline { padding-left: 24px; }
  .edu-marker { left: -30px; }
  .contact-form-wrap { padding: 24px; }
}
@media (max-width:768px) {
  .section-padding { padding: 60px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  .about-image { max-width: 100%; }
  .about-exp-badge { right: 10px; bottom: 10px; }
  .skills-card { padding: 24px; }
  .service-card { padding: 28px 22px; }
  .about-info-grid { grid-template-columns: 1fr 1fr; }
  .stat-box { padding: 16px 8px; }
  .stat-num { font-size: 1.6rem; }
}
@media (max-width:480px) {
  .hero { padding: 120px 0 80px; }
  .hero-badge { font-size: .72rem; padding: 6px 14px; }
  .about-info-grid { grid-template-columns: 1fr; }
  .project-img-wrap { height: 170px; }
  .contact-form-wrap { padding: 20px 16px; }
  .footer-logo { font-size: 1.1rem; }
}
@media (min-width:1400px) {
  .hero { padding: 200px 0 160px; }
  .hero-image { max-height: 620px; }
}

/* ─────────── CV SECTION ─────────── */
.cv-section { background: var(--white); }

.cv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--card-shadow);
  transition: box-shadow .3s, transform .3s;
  height: 100%;
}
.cv-card:hover {
  box-shadow: var(--card-shadow-h);
  transform: translateY(-4px);
  border-color: var(--green);
}

.cv-card-icon {
  width: 60px; height: 60px;
  background: var(--green-soft);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--green);
  margin-bottom: 20px;
}
.cv-card-icon-va { background: rgba(139,92,246,.08); color: #8b5cf6; }

.cv-card-title {
  font-family: var(--ff-head);
  font-size: 1.25rem; color: var(--dark);
  margin-bottom: 10px;
}
.cv-card-desc {
  font-size: .88rem; color: var(--muted);
  line-height: 1.65; margin-bottom: 16px;
}

.cv-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 22px;
}
.cv-card-tags span {
  font-size: .72rem; font-weight: 700;
  background: var(--green-soft); color: var(--green-dark);
  border: 1px solid rgba(34,197,94,.2);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.cv-card-icon-va ~ .cv-card-title ~ .cv-card-desc ~ .cv-card-tags span {
  background: rgba(139,92,246,.08); color: #8b5cf6;
  border-color: rgba(139,92,246,.2);
}

.cv-btn-group {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.cv-btn {
  display: inline-flex; align-items: center;
  font-size: .85rem; font-weight: 700;
  padding: 10px 22px; border-radius: var(--radius-pill);
  transition: all .2s;
  border: none; cursor: pointer;
  text-decoration: none;
}
.cv-btn-view {
  background: var(--green); color: #fff;
}
.cv-btn-view:hover {
  background: var(--green-dark); color: #fff;
  box-shadow: 0 4px 14px rgba(34,197,94,.35);
  transform: translateY(-1px);
}
.cv-btn-download {
  background: var(--ash); color: var(--dark);
  border: 1.5px solid var(--border);
}
.cv-btn-download:hover {
  background: var(--dark); color: #fff;
  border-color: var(--dark);
  transform: translateY(-1px);
}

.cv-embed-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ash);
  position: relative;
}
.cv-embed-wrap::before {
  content: 'Loading PDF preview...';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: var(--muted);
  z-index: 0;
}
.cv-embed {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
  position: relative; z-index: 1;
}

@media (max-width: 768px) {
  .cv-card { padding: 24px 20px; }
  .cv-embed { height: 380px; }
  .cv-btn-group { flex-direction: column; }
  .cv-btn { justify-content: center; }
}
@media (max-width: 480px) {
  .cv-embed { height: 300px; }
}