/* ============================================================
   PORTFOLIO — style.css
   Theme: "Studio Linen"
   Palette: Warm ivory canvas · Deep navy text · Teal accent
   Fonts: Cormorant Garamond (display) + Plus Jakarta Sans (UI)
   ============================================================ */

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  /* Colours */
  --bg: #faf8f4; /* warm ivory */
  --bg-alt: #f2efe9; /* slightly deeper linen */
  --surface: #ffffff; /* pure white cards */
  --surface-alt: #f7f5f0; /* off-white surface */
  --border: rgba(0, 0, 0, 0.08);
  --border-mid: rgba(0, 0, 0, 0.13);

  --ink: #1a1a2e; /* deep navy-almost-black */
  --ink-mid: #4a4a6a; /* medium slate */
  --ink-light: #8a8aaa; /* soft grey-blue */

  --accent: #2a9d8f; /* teal green */
  --accent-dark: #1f7a6e; /* deeper teal */
  --accent-light: rgba(42, 157, 143, 0.1);
  --accent-glow: rgba(42, 157, 143, 0.18);

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  /* Spacing */
  --section-py: 96px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #fff;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 99px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
strong {
  font-weight: 600;
}

/* ── SECTION UTILITIES ──────────────────────────────────────── */
.section-block {
  padding: var(--section-py) 0;
  position: relative;
}
.bg-alt {
  background-color: var(--bg-alt);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.section-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.section-body {
  color: var(--ink-mid);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 54ch;
}

.section-subtext {
  color: var(--ink-light);
  font-size: 0.95rem;
  max-width: 46ch;
  margin: 0 auto;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-solid {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.7rem;
  border-radius: var(--r-sm);
  border: 2px solid var(--accent);
  cursor: pointer;
  transition:
    background 0.22s,
    border-color 0.22s,
    transform 0.18s,
    box-shadow 0.22s;
  box-shadow: 0 3px 16px rgba(42, 157, 143, 0.22);
}
.btn-solid:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(42, 157, 143, 0.3);
}

.btn-outline-cta {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.7rem;
  border-radius: var(--r-sm);
  border: 2px solid var(--border-mid);
  cursor: pointer;
  transition:
    border-color 0.22s,
    color 0.22s,
    transform 0.18s,
    background 0.22s;
}
.btn-outline-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* Hire Me nav button */
.btn-hire {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.5rem 1.2rem;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  transition: all 0.22s;
}
.btn-hire:hover {
  background: transparent;
  color: var(--accent);
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════ */
#mainNav {
  background: rgba(250, 248, 244, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  padding: 1rem 0;
  transition:
    background 0.3s,
    border-color 0.3s,
    padding 0.3s,
    box-shadow 0.3s;
  z-index: 999;
}

#mainNav.scrolled {
  background: rgba(250, 248, 244, 0.96);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0.65rem 0;
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink) !important;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand-name {
  color: var(--ink);
}

/* Nav links */
.navbar .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-mid) !important;
  padding: 0.4rem 0.85rem !important;
  border-radius: 6px;
  transition:
    color 0.2s,
    background 0.2s;
  position: relative;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--ink) !important;
  background: var(--accent-light);
}

/* Custom hamburger */
.navbar-toggler {
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  padding: 0.4rem 0.55rem;
  background: none;
  box-shadow: none !important;
  outline: none;
}
.nav-toggler-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}
.nav-toggler-lines span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 99px;
  transition: all 0.25s;
}
.navbar-toggler[aria-expanded="true"] .nav-toggler-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .nav-toggler-lines span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .nav-toggler-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
@media (max-width: 991.98px) {
  #navMenu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1rem;
    margin-top: 0.6rem;
    box-shadow: var(--shadow-md);
  }
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

/* Subtle dot-grid background */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(42, 157, 143, 0.07) 1px,
    transparent 1px
  );
  background-size: 36px 36px;
  pointer-events: none;
  opacity: 0.7;
}

/* Soft gradient blob */
.hero-section::after {
  content: "";
  position: absolute;
  top: -15%;
  right: -10%;
  width: 55vw;
  height: 70vh;
  background: radial-gradient(
    ellipse,
    rgba(42, 157, 143, 0.07) 0%,
    transparent 65%
  );
  pointer-events: none;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-mid);
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: 99px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  }
  50% {
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.7);
  }
}

/* Hero headline */
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-name {
  color: var(--accent);
  display: block;
}
.hero-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-mid);
}

.hero-intro {
  font-size: 1.05rem;
  color: var(--ink-mid);
  max-width: 50ch;
  line-height: 1.8;
}

/* Social pills */
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-mid);
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: 99px;
  padding: 0.45rem 1rem;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}
.social-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Hero visual */
.hero-visual-wrap {
  position: relative;
  width: 300px;
  height: 360px;
}

/* Profile card */
.profile-card {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  width: 230px;
  margin: 0 auto;
}
.pc-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--accent);
}
.pc-meta strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.pc-meta span {
  font-size: 0.8rem;
  color: var(--ink-light);
}
.pc-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}
.pc-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}
.pc-stack span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-alt);
  color: var(--ink-mid);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* Floating chips */
.float-chip {
  position: absolute;
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border-mid);
  color: var(--ink);
  padding: 0.45rem 1rem;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  z-index: 3;
}
.float-chip i {
  color: var(--accent);
}
.chip-1 {
  top: 8%;
  left: -18%;
  animation: chipFloat1 4s ease-in-out infinite;
}
.chip-2 {
  top: 52%;
  left: -22%;
  animation: chipFloat2 5s ease-in-out infinite;
}
.chip-3 {
  bottom: 8%;
  right: -15%;
  animation: chipFloat3 4.5s ease-in-out infinite;
}

@keyframes chipFloat1 {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-8px) rotate(0);
  }
}
@keyframes chipFloat2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes chipFloat3 {
  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }
  50% {
    transform: translateY(8px) rotate(0);
  }
}

/* Decorative rings */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(42, 157, 143, 0.15);
  z-index: 1;
  pointer-events: none;
}
.ring-1 {
  width: 340px;
  height: 340px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 6s ease-in-out infinite;
}
.ring-2 {
  width: 240px;
  height: 240px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 6s ease-in-out infinite 0.5s;
}

@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Wave divider */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* Hero left entry animation */
.hero-left > * {
  animation: heroFadeUp 0.65s ease both;
}
.hero-left > *:nth-child(1) {
  animation-delay: 0s;
}
.hero-left > *:nth-child(2) {
  animation-delay: 0.08s;
}
.hero-left > *:nth-child(3) {
  animation-delay: 0.16s;
}
.hero-left > *:nth-child(4) {
  animation-delay: 0.22s;
}
.hero-left > *:nth-child(5) {
  animation-delay: 0.28s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════════ */
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.av-frame {
  width: 280px;
  height: 280px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border-mid);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--accent);
  position: relative;
}
.av-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--r-xl);
  background: linear-gradient(
    135deg,
    rgba(42, 157, 143, 0.15) 0%,
    transparent 50%
  );
}

.av-stat {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-mid);
}
.av-left {
  bottom: 8%;
  left: -8%;
  animation: chipFloat1 5s ease-in-out infinite;
}
.av-right {
  top: 10%;
  right: -8%;
  animation: chipFloat3 4.5s ease-in-out infinite;
}
.stat-n {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-l {
  font-size: 0.7rem;
  color: var(--ink-light);
  line-height: 1.3;
}
.av-stat i {
  font-size: 1.1rem;
  color: var(--accent);
}

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.ig-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--ink-mid);
}
.ig-item i {
  color: var(--accent);
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════════════════════════ */
.proj-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.28s,
    box-shadow 0.28s,
    border-color 0.28s;
  box-shadow: var(--shadow-card);
}
.proj-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(42, 157, 143, 0.25);
}

/* Thumbnail */
.proj-thumb {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  font-size: 3.5rem;
  transition: font-size 0.28s;
}
.proj-card:hover .proj-thumb {
  font-size: 4rem;
}

.thumb-1 {
  background: linear-gradient(135deg, #d4f4e4, #a8e6cf);
  color: #2a9d8f;
}
.thumb-2 {
  background: linear-gradient(135deg, #d4e8f4, #a8cfe6);
  color: #2a6d9d;
}
.thumb-3 {
  background: linear-gradient(135deg, #f4ead4, #e6cfa8);
  color: #9d6d2a;
}
.thumb-4 {
  background: linear-gradient(135deg, #e8d4f4, #cfa8e6);
  color: #7a2a9d;
}
.thumb-5 {
  background: linear-gradient(135deg, #f4d4d4, #e6a8a8);
  color: #9d2a2a;
}
.thumb-6 {
  background: linear-gradient(135deg, #d4f4f4, #a8e0e6);
  color: #2a909d;
}

.proj-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* Card body */
.proj-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.proj-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.proj-desc {
  font-size: 0.875rem;
  color: var(--ink-mid);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 0.9rem;
}
.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1rem;
}
.proj-tags span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.proj-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.pl-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
  transition:
    background 0.2s,
    transform 0.15s;
}
.pl-btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.pl-ghost {
  background: transparent;
  color: var(--ink-mid);
  border-color: var(--border-mid);
}
.pl-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

/* ══════════════════════════════════════════════════════════════
   SKILLS
══════════════════════════════════════════════════════════════ */
.skills-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  height: 100%;
}
.sp-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.sk-item {
  margin-bottom: 1.35rem;
}
.sk-item:last-child {
  margin-bottom: 0;
}

.sk-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}
.sk-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.sk-html {
  background: rgba(228, 77, 38, 0.1);
  color: #e44d26;
}
.sk-css {
  background: rgba(38, 77, 228, 0.1);
  color: #264de4;
}
.sk-js {
  background: rgba(240, 219, 79, 0.1);
  color: #c8a900;
}
.sk-bs {
  background: rgba(121, 82, 179, 0.1);
  color: #7952b3;
}
.sk-gh {
  background: rgba(26, 26, 46, 0.07);
  color: var(--ink);
}
.sk-fb {
  background: rgba(255, 193, 7, 0.1);
  color: #d49800;
}

.sk-cloudai i {
  color: #4fc3f7;
}

.sk-copilot i {
  color: #000000;
}

.sk-vscode i {
  color: #007acc;
}

.sk-python i {
  color: #3776ab;
}

.sk-node i {
  color: #3c873a;
}

.sk-react i {
  color: #61dbfb;
}

.sk-name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}
.sk-pct {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.sk-track {
  height: 6px;
  background: var(--bg-alt);
  border-radius: 99px;
  overflow: hidden;
}
.sk-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 99px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Badge cloud */
.badge-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}
.badge-cloud span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-mid);
  background: var(--surface);
  border: 1px solid var(--border-mid);
  padding: 0.45rem 1rem;
  border-radius: 99px;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}
.badge-cloud span:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.badge-cloud span i {
  color: var(--accent);
}

/* ══════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Info panel */
.contact-info {
  background: var(--ink);
  color: #fff;
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ci-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}
.ci-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.ci-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.ci-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}
.ci-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.15rem;
}
.ci-val {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.ci-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}
.ci-socials a {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.ci-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Form */
.contact-form {
  padding: 2.75rem 2.25rem;
}

.cf-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}
.cf-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.cf-optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-light);
}

.cf-group input,
.cf-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  resize: vertical;
  transition:
    border-color 0.22s,
    box-shadow 0.22s;
}
.cf-group input::placeholder,
.cf-group textarea::placeholder {
  color: var(--ink-light);
}
.cf-group input:focus,
.cf-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.12);
  background: var(--surface);
}

/* Validation states */
.cf-group.has-error input,
.cf-group.has-error textarea {
  border-color: #ef4444;
}
.cf-err {
  font-size: 0.78rem;
  color: #ef4444;
  display: none;
}
.cf-group.has-error .cf-err {
  display: block;
}

/* Success */
.cf-success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(42, 157, 143, 0.08);
  border: 1px solid rgba(42, 157, 143, 0.25);
  color: var(--accent-dark);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
}

/* Mobile: stack */
@media (max-width: 767.98px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-info {
    padding: 2rem 1.75rem;
  }
  .ci-socials {
    margin-top: 1rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.75rem;
}

.footer-brand .brand-mark {
  background: var(--accent);
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.footer-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--accent);
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.2s;
}
.footer-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}
.back-top:hover {
  color: var(--accent);
}

/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE TWEAKS
══════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  :root {
    --section-py: 70px;
  }
  .float-chip {
    display: none;
  }
  .av-left {
    left: 0%;
  }
  .av-right {
    right: 0%;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-py: 56px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas > * {
    width: 100%;
    justify-content: center;
  }
  .hero-socials {
    flex-wrap: wrap;
  }
}
