:root {
  --navy-dark: #07111f;
  --navy-mid: #0f1c2e;
  --navy-light: #16263d;
  --gold: #c9a84c;
  --gold-light: #f3d98b;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --white: #ffffff;
  --muted: #b4bfd0;
  --dim: #8a95a8;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-strong: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-strong: rgba(243, 217, 139, 0.28);
  --nav-bg: rgba(7, 17, 31, 0.85);
  --nav-bg-solid: rgba(7, 17, 31, 0.95);
  --input-bg: rgba(255, 255, 255, 0.03);
  --input-bg-focus: rgba(255, 255, 255, 0.05);
  --progress-bg: rgba(255, 255, 255, 0.06);
  --glass-blur: 14px;
  --glass-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --font-display: Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 50px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s ease;
  --transition-slow: 0.6s ease;
}

/* ─── LIGHT THEME ─── */
[data-theme="light"] {
  --navy-dark: #f4f1ea;
  --navy-mid: #ffffff;
  --navy-light: #efe9dc;
  --white: #1a2230;
  --muted: #4a5568;
  --dim: #6b7488;
  --glass-bg: rgba(0, 0, 0, 0.03);
  --glass-bg-strong: rgba(0, 0, 0, 0.05);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-border-strong: rgba(170, 120, 20, 0.35);
  --gold: #9a7b1e;
  --gold-light: #7a5f12;
  --gold-dim: rgba(154, 123, 30, 0.14);
  --nav-bg: rgba(244, 241, 234, 0.85);
  --nav-bg-solid: rgba(244, 241, 234, 0.97);
  --input-bg: rgba(0, 0, 0, 0.03);
  --input-bg-focus: rgba(0, 0, 0, 0.05);
  --progress-bg: rgba(0, 0, 0, 0.06);
}

/* ─── RESET & BASE ─── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--navy-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

section,
footer {
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* ─── SELECTION ─── */
::selection {
  background: var(--gold-dim);
  color: var(--gold-light);
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-base);
}

nav.scrolled {
  padding: 0.8rem 5%;
  background: var(--nav-bg-solid);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--gold-light);
  position: relative;
  transition: var(--transition-fast);
}

.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-logo:hover::after {
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.2rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.4rem 0;
  transition: var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  border: 1.5px solid var(--gold) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: var(--radius-xl);
  color: var(--gold-light) !important;
  transition: all 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--navy-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

/* THEME TOGGLE */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--gold-light);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  margin-right: 0.5rem;
}

.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.25);
}

.theme-toggle i {
  transition: transform 0.4s ease, opacity 0.3s ease;
}

[data-theme="light"] .theme-toggle i.fa-moon {
  display: none;
}

.theme-toggle i.fa-sun {
  display: none;
}

[data-theme="light"] .theme-toggle i.fa-sun {
  display: inline-block;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-base);
  transform-origin: center;
}

.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);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  padding: 10rem 5% 4rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}




.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* AVAILABILITY */
.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gold);
  padding: 10px 20px;
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  animation: pulse-border 3s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(201, 168, 76, 0.6); }
  50% { border-color: rgba(201, 168, 76, 1); }
}

.dot {
  width: 8px;
  height: 8px;
  background: #00ff66;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* EYEBROW */
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* HEADING */
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero h1 em {
  color: var(--gold-light);
  font-style: italic;
  position: relative;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--gold-dim);
  border-radius: 4px;
  z-index: -1;
}

/* DESCRIPTION */
.hero-sub {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

/* TAGLINE */
.hero-tagline {
  color: var(--gold-light);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* CTA */
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* BUTTONS */
.btn-primary,
.btn-outline {
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-xl);
  transition: var(--transition-base);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--glass-border);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: var(--glass-bg);
  transform: translateY(-3px);
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 14px;
  margin-bottom: 2.5rem;
}

.social-icons a {
  width: 48px;
  height: 48px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 1.1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.social-icons a:hover::before {
  transform: scale(1);
}

.social-icons a:hover {
  color: var(--navy-dark);
  transform: translateY(-4px);
  border-color: var(--gold);
}

.social-icons a i {
  position: relative;
  z-index: 1;
}

/* TECH STACK */
.tech-stack h3 {
  color: var(--gold);
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.stack-items {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stack-items span {
  border: 1px solid var(--glass-border);
  padding: 10px 18px;
  border-radius: var(--radius-xl);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  transition: var(--transition-base);
  cursor: default;
}

.stack-items span:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
  transform: translateY(-3px);
  color: var(--gold-light);
}

/* HERO IMAGE */
.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.image-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  background: var(--gold);
  opacity: 0.18;
  filter: blur(100px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: glow-breathe 4s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.15; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.22; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-image img {
  width: 360px;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  transition: var(--transition-base);
}

.hero-image img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

/* ─── STATS BAR ─── */
.stats-bar {
  padding: 3.5rem 5%;
  background: var(--navy-mid);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}


.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.stats-bar-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--glass-border);
}

.stat-num {
  font-size: 2.6rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-lbl {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* ─── ABOUT PAGE ─── */
.about-page {
  width: 100%;
  min-height: 100vh;
  padding: 10rem 8% 6rem;
  background: var(--navy-dark);
  color: var(--white);
  position: relative;
}

.about-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  flex: 1;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 420px;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: var(--transition-base);
}

.about-image img:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-xl);
  margin-bottom: 22px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-light);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
}

.about-role {
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 600;
}

.about-content h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 35px;
  font-family: var(--font-display);
  font-weight: 400;
}

.about-content h1 em {
  color: var(--gold-light);
  font-style: italic;
}

.about-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-base);
}

.about-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.about-card h3 {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 1.2rem;
  font-weight: 600;
}

.about-card p {
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

/* ─── JOURNEY ─── */
.journey {
  padding: 8rem 5%;
  background: var(--navy-mid);
  position: relative;
}

.journey::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.content-max {
  max-width: 900px;
  margin: auto;
}

.section-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-display);
  font-weight: 400;
  margin-bottom: 3rem;
  line-height: 1.15;
}

.journey .section-title {
  text-align: center;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: auto;
  padding-left: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-light), var(--gold));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  padding: 28px 30px;
  margin-bottom: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  transition: var(--transition-base);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 30px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 4px solid var(--navy-mid);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.2), 0 0 20px rgba(201, 168, 76, 0.4);
  transition: var(--transition-base);
}

.timeline-item:hover {
  transform: translateX(8px);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.timeline-item:hover::before {
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(201, 168, 76, 0.15), 0 0 30px rgba(201, 168, 76, 0.5);
}

.timeline-item span {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 5px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.timeline-item h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ─── SKILLS RATING ─── */
.skills-rating {
  padding: 8rem 5%;
  background: var(--navy-dark);
  position: relative;
}

.skills-rating::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.skills-rating .section-title {
  margin-bottom: 0.8rem;
}

.skills-rating .section-text {
  max-width: 600px;
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 1rem;
  line-height: 1.8;
}

.skill {
  margin-bottom: 28px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.skill-info span:last-child {
  color: var(--gold);
}

.progress {
  width: 100%;
  height: 10px;
  background: var(--progress-bg);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  position: relative;
  width: 0;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.progress-bar.visible {
  width: var(--target-width);
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
  border-radius: 0 10px 10px 0;
}

.html { --target-width: 90%; }
.css { --target-width: 85%; }
.js { --target-width: 75%; }
.responsive { --target-width: 88%; }
.git { --target-width: 70%; }
.figma { --target-width: 90%; }

/* ─── SERVICES ─── */
.services {
  padding: 10rem 5% 6rem;
  background: var(--navy-mid);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.services-header {
  max-width: 700px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.services-header .section-title {
  margin-bottom: 1rem;
}

.services-header .section-text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.service-page-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-page-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-page-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.service-page-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
  border: 1px solid var(--glass-border-strong);
  transition: transform 0.3s ease;
}

.service-page-card:hover .service-icon {
  transform: scale(1.1);
}

.service-page-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.service-page-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.service-features {
  list-style: none;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

.service-features li {
  color: var(--dim);
  font-size: 0.85rem;
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  transition: var(--transition-fast);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

.service-page-card:hover .service-features li {
  color: var(--muted);
}

/* ─── PROJECTS ─── */
.projects-section {
  padding: 8rem 5%;
  background: var(--navy-dark);
  position: relative;
}

.projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.mini {
  max-width: 700px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.mini h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-display);
  font-weight: 400;
  margin-bottom: 1rem;
}

.mini p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.projects-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}

.project-card {
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.15);
  transition: var(--transition-base);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.project-card img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-info {
  padding: 1.2rem 1.4rem;
  position: relative;
  z-index: 2;
}

.project-info h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--gold-light);
  font-weight: 600;
}

.project-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

.project-description {
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
  backdrop-filter: blur(2px);
}

.project-card:hover .overlay {
  opacity: 1;
}

.overlay a {
  background: var(--white);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  transform: translateY(10px);
}

.project-card:hover .overlay a {
  transform: translateY(0);
}

.overlay a:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.project-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: var(--transition-fast);
  cursor: pointer;
}

.open-btn {
  background: var(--gold);
  color: var(--navy-dark);
}

.open-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.download-btn {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  color: var(--white);
}

.download-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.1);
  transform: translateY(-2px);
}

/* ─── CONTACT ─── */
.contact {
  padding: 10rem 5% 6rem;
  background: var(--navy-mid);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info .section-title {
  margin-bottom: 1.2rem;
}

.contact-info .section-text {
  margin-bottom: 2.5rem;
}

.contact-form-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: border-color var(--transition-base), background-color var(--transition-base);
}

.contact-form-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

.contact-form-card .section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.8rem;
}

.contact-form-card .section-text {
  margin-bottom: 2rem;
}

form {
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

input,
textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--input-bg);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-fast);
  margin-bottom: 1.2rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--dim);
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  background: var(--input-bg-focus);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1), 0 0 20px rgba(201, 168, 76, 0.08);
}

textarea {
  resize: vertical;
  min-height: 160px;
}

form button {
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
}

/* FINAL CTA */
.contact-cta {
  padding: 6rem 5%;
  text-align: center;
  background: linear-gradient(180deg, var(--navy-mid), var(--navy-dark));
  position: relative;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.contact-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-family: var(--font-display);
  font-weight: 400;
  margin-bottom: 1rem;
}

.contact-cta p {
  color: var(--muted);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy-dark);
  color: var(--muted);
  padding: 5rem 8% 2rem;
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.footer-brand h3 {
  color: var(--gold-light);
  font-size: 1.6rem;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 400;
}

.footer-brand p {
  line-height: 1.8;
  color: var(--dim);
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-links h4,
.footer-social h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.footer-links h4::after,
.footer-social h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-links a {
  display: block;
  color: var(--dim);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -18px;
  opacity: 0;
  color: var(--gold);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 18px;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dim);
  text-decoration: none;
  margin-bottom: 14px;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  padding: 4px 0;
}

.footer-social a i {
  color: var(--gold);
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  color: var(--gold-light);
  transform: translateX(6px);
}

.footer-social a:hover i {
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
  margin: 6px 0;
  color: var(--dim);
  font-size: 0.88rem;
}

.footer-bottom p:last-child {
  color: var(--gold);
  opacity: 0.7;
}

/* ─── ANIMATIONS ─── */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 8rem;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-cta,
  .social-icons,
  .stack-items {
    justify-content: center;
  }

  .hero-image {
    order: -1;
    margin-bottom: 2rem;
  }

  .hero-image img {
    width: 280px;
    height: 360px;
  }

  .about-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 50px;
  }

  .about-content h1 {
    font-size: 3rem;
  }

  .about-image img {
    max-width: 320px;
    height: 400px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: var(--navy-mid);
    flex-direction: column;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-left: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.6rem 0;
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .timeline {
    padding-left: 35px;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item::before {
    left: -32px;
    width: 14px;
    height: 14px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-links a,
  .footer-social a {
    justify-content: center;
  }

  .footer-links h4::after,
  .footer-social h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  .stats-bar-inner {
    grid-template-columns: 1fr;
  }

  .stat-num {
    font-size: 2.2rem;
  }

  .about-content h1 {
    font-size: 2.4rem;
  }

  .about-card {
    padding: 24px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .contact-cta h2 {
    font-size: 1.6rem;
  }

  .project-card {
    height: 340px;
  }

  .success-message {
    display: none;
    margin-top: 1rem;
    color: #4CAF50;
    font-weight: 600;
    text-align: center;
  }
}

