/* ===== DESIGN TOKENS ===== */
:root {
  --bg: #F8F7F4;
  --surface: #FFFFFF;
  --surface-alt: #F0EFEA;
  --text: #111111;
  --text2: #666666;
  --border: #E6E5E0;
  --radius: 20px;
  --radius-sm: 12px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s var(--ease);
  --max-w: 1200px;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  color: var(--text2);
}

button {
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

/* ===== UTILITIES ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.section-pad {
  padding: 100px 0;
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-bar {
  width: 120px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  margin: 0 auto 20px;
  overflow: hidden;
  position: relative;
}

.loader-bar::after {
  content: '';
  position: absolute;
  left: -40%;
  top: 0;
  height: 100%;
  width: 40%;
  background: #fff;
  border-radius: 3px;
  animation: loaderSlide 1s var(--ease) infinite;
}

@keyframes loaderSlide {
  to {
    left: 100%;
  }
}

.loader-text {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 2px;
}

/* ===== SCROLL ANIMATIONS ===== */
.anim-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.anim-up.d1 {
  transition-delay: 0.1s;
}

.anim-up.d2 {
  transition-delay: 0.2s;
}

.anim-up.d3 {
  transition-delay: 0.3s;
}

.anim-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 100px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--text);
  color: #fff;
  padding: 12px 28px;
  border: none;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 12px 28px;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.btn-primary.lg,
.btn-secondary.lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-primary.dark-btn {
  background: #fff;
  color: var(--text);
}

.btn-primary.dark-btn:hover {
  background: #eee;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 247, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1001;
}

.logo-text {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.logo-dot {
  color: #4CAF50;
  font-size: 1.6rem;
  margin-left: 2px;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text2);
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.4s var(--ease);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu ul {
  text-align: center;
}

.mobile-menu li {
  margin-bottom: 24px;
}

.mobile-menu a {
  font-size: 1.8rem;
  font-weight: 600;
}

/* ===== HERO ===== */
.hero {
  padding: 160px 0 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-left {
  flex: 1;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
  border: 3px solid var(--border);
}

.hero-greeting {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.08;
}

.hero-right {
  flex: 1;
  padding-left: 48px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.hero-title {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 420px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Text Loop */
.text-loop {
  display: inline-block;
  min-width: 120px;
  position: relative;
  color: var(--text);
}

.text-loop .loop-word {
  display: inline-block;
  animation: loopFade 0.5s var(--ease);
}

@keyframes loopFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Experience Description */
.exp-description {
  font-size: 0.95rem;
  line-height: 1.7;
  padding-top: 16px;
  color: var(--text2);
}

.exp-description strong {
  color: var(--text);
  font-weight: 600;
}

/* Skills Tags */
.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.skill-tag {
  display: inline-block;
  padding: 10px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.skill-tag:hover {
  background: var(--text);
  color: #fff;
  transform: translateY(-2px);
}

/* About List */
.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-list li {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.6;
}


/* ===== PAGE HERO (sub-pages) ===== */
.page-hero {
  padding: 160px 0 80px;
}

.page-tag {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--text2);
  margin-bottom: 16px;
  font-weight: 500;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  max-width: 700px;
}

/* ===== DUAL COL ===== */
.dual-col {
  display: flex;
  gap: 40px;
}

/* ===== EXPERIENCE ===== */
.exp-col {
  flex: 1;
  background: var(--surface-alt);
  padding: 40px;
  border-radius: var(--radius);
}

.col-title {
  font-size: 1.35rem;
  margin-bottom: 28px;
  font-weight: 600;
}

.list-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.list-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.list-card:hover {
  padding-left: 8px;
}

.icn {
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.icn-num {
  font-weight: 700;
  color: var(--text2);
  font-size: 0.9rem;
  width: 46px;
  text-align: center;
  flex-shrink: 0;
}

.list-content {
  flex: 1;
}

.list-content h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.list-content p {
  font-size: 0.85rem;
}

.arrow {
  color: var(--text2);
  font-size: 1.2rem;
  transition: var(--transition);
}

.list-card:hover .arrow {
  transform: translateX(4px);
}

/* ===== STATS ===== */
.stats-wrap {
  display: flex;
  gap: 48px;
  background: var(--surface);
  padding: 60px;
  border-radius: var(--radius);
  align-items: center;
}

.stats-text {
  flex: 1;
}

.stats-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 20px;
}

.stats-text p {
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 400px;
}

.stats-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stats-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-box {
  padding: 32px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.stat-box h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ===== WORKS ===== */
.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--surface-alt);
  padding: 4px 14px;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 8px;
  color: var(--text2);
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.work-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.work-img {
  width: 100%;
  height: 260px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
  transition: transform 0.5s var(--ease);
  overflow: hidden;
}

.work-card:hover .work-img {
  transform: scale(1.02);
}

.work-info h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.role {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text2);
}

.desc {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== WORK PAGE - Full Cards ===== */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--surface-alt);
  color: var(--text2);
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  border: none;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--text);
  color: #fff;
}

.works-grid-full {
  display: grid;
  gap: 48px;
}

.work-card-full {
  display: flex;
  gap: 40px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.work-card-full:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.work-card-full.hidden {
  display: none;
}

.work-img-lg {
  width: 400px;
  min-height: 280px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.work-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.work-meta h3 {
  font-size: 1.6rem;
}

.work-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.work-tags span {
  font-size: 0.8rem;
  background: var(--surface-alt);
  padding: 4px 14px;
  border-radius: 100px;
  color: var(--text2);
  font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
.testimonial-section {
  background: var(--surface-alt);
}

.avatars {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.avatars img {
  border-radius: 50%;
  border: 4px solid var(--surface-alt);
  width: 52px;
  height: 52px;
  object-fit: cover;
  margin-left: -14px;
  transition: transform 0.3s var(--ease);
}

.avatars img:first-child {
  margin-left: 0;
}

.avatars img:hover {
  transform: scale(1.15);
  z-index: 1;
}

.testimonial-text {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.7;
  max-width: 750px;
  margin: 0 auto 24px;
  font-weight: 500;
  color: var(--text);
}

.testimonial-author {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
}

.cta-content {
  flex: 1;
  max-width: 500px;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  color: #fff;
}

.cta-content p {
  color: #999;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.cta-illus {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.mockup-card {
  width: 320px;
  background: #222;
  border-radius: 16px;
  padding: 32px;
  transform: rotate(-4deg);
  box-shadow: -16px 16px 48px rgba(0, 0, 0, 0.4);
}

.mockup-line {
  height: 10px;
  background: #333;
  border-radius: 5px;
  margin-bottom: 14px;
}

.mockup-line.w60 {
  width: 60%;
}

.mockup-line.w80 {
  width: 80%;
}

.mockup-line.w40 {
  width: 40%;
}

.mockup-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  align-items: center;
}

.about-img img {
  border-radius: var(--radius);
  width: 100%;
  max-width: 480px;
  object-fit: cover;
}

.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-text h2 {
  font-size: 2rem;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.about-stats div {
  text-align: center;
}

.about-stats h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about-stats p {
  font-size: 0.85rem;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.skill-card {
  background: var(--surface);
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.skill-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.skill-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.skill-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Marquee */
.marquee-section {
  padding: 48px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-content {
  display: flex;
  gap: 40px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text2);
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  align-items: flex-start;
  gap: 60px;
}

.contact-form-wrap {
  flex: 1.2;
}

.contact-form-wrap h2 {
  font-size: 1.8rem;
  margin-bottom: 32px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  flex: 1;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.3s;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text);
}

.contact-info {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.info-card a,
.info-card p {
  font-size: 0.95rem;
}

.info-card a:hover {
  color: var(--text);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.social-links a {
  font-size: 0.9rem;
  font-weight: 500;
}

.availability-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #e8f5e9;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  color: #2e7d32;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(76, 175, 80, 0);
  }
}

/* ===== FOOTER ===== */
.footer {
  padding: 100px 0 40px;
  text-align: center;
}

.footer-pre {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
  color: var(--text2);
  font-weight: 500;
}

.footer-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 32px;
}

.footer-bottom {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.f-logo {
  font-weight: 700;
  font-size: 1.05rem;
}

.f-links {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
}

.f-links a:hover {
  color: var(--text);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text2);
}

/* ===== TECH STRIP ===== */
.tech-strip {
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg);
  overflow: hidden;
}

.tech-label {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text2);
  margin-bottom: 24px;
}

.tech-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.tech-icon {
  width: 65px;
  height: 65px;
  opacity: 0.7;
  transition: var(--transition);
  filter: grayscale(60%);
  cursor: pointer;
  object-fit: contain;
}

.tech-icon:hover {
  opacity: 1;
  transform: translateY(-4px);
  filter: grayscale(0%);
}

/* ===== BENEFITS SECTION ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.benefit-card {
  background: rgba(0, 0, 0, 0.015);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  transition: var(--transition);
  text-align: left;
}

.benefit-card:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  border-color: transparent;
}

.b-icon {
  font-size: 2.2rem;
  margin-bottom: 24px;
  display: inline-block;
  padding: 16px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 12px;
}

.benefit-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.benefit-card p {
  font-size: 1.05rem;
  color: var(--text2);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.testimo-card {
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  position: relative;
  transition: var(--transition);
}

.testimo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
}

.testimo-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 24px;
  font-size: 5rem;
  color: var(--border);
  font-family: serif;
  opacity: 0.4;
  line-height: 1;
}

.quote {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  font-style: italic;
  color: var(--text);
}

.client-info {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.client-info strong {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.client-info span {
  font-size: 0.9rem;
  color: var(--text2);
  margin-top: 4px;
}


/* ===== PARALLAX ===== */
[data-parallax] {
  will-change: transform;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner {
    flex-direction: column;
    gap: 40px;
  }

  .hero-right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 32px;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .dual-col {
    flex-direction: column;
  }

  .stats-wrap {
    flex-direction: column;
    padding: 40px;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 48px 32px;
  }

  .cta-illus {
    justify-content: center;
  }

  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-card-full {
    flex-direction: column;
  }

  .work-img-lg {
    width: 100%;
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section-pad {
    padding: 72px 0;
  }

  .nav-desktop,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .benefits-grid,
  .testimo-grid {
    grid-template-columns: 1fr;
  }

  .tech-logos {
    gap: 24px;
  }

  .hero-greeting {
    font-size: 2.2rem;
  }

  .hero {
    text-align: center;
    padding: 130px 0 60px;
  }

  .hero-right {
    align-items: center;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .profile-pic {
    margin: 0 auto 20px;
  }

  .footer-title {
    font-size: 2.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .f-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .contact-grid {
    flex-direction: column;
    gap: 40px;
  }

  .page-title {
    font-size: 2.2rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .exp-col {
    padding: 28px;
  }

  .stat-box {
    padding: 24px 16px;
  }

  .stat-box h3 {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .about-stats {
    gap: 24px;
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  .skills-tags {
    gap: 8px;
  }

  .skill-tag {
    padding: 8px 18px;
    font-size: 0.82rem;
  }

  .hero-badge {
    font-size: 0.78rem;
  }

  .hero-left,
  .hero-right {
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-greeting {
    font-size: 1.8rem;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: column;
    gap: 16px;
  }

  .mockup-card {
    width: 240px;
  }

  .btn-primary.lg,
  .btn-secondary.lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

/* ===== PERFORMANCE: reduce motion ===== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .anim-up {
    opacity: 1;
    transform: none;
  }
}

/* ===== FLOATING TOOLBAR ===== */
.floating-toolbar {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(250, 249, 246, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 60px;
    padding: 8px 8px 8px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 1000;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06), 0 5px 15px rgba(0,0,0,0.03);
    animation: floatUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes floatUp {
    from { opacity: 0; transform: translate(-50%, 40px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.toolbar-text {
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.toolbar-btn {
    background: #111;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px 6px 6px 24px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.toolbar-btn:hover {
    background: #000;
    transform: scale(1.02);
}

.toolbar-btn-text {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toolbar-avatars {
    display: flex;
    align-items: center;
}

.toolbar-avatars img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #111;
    position: relative;
    z-index: 2;
}

.toolbar-icon {
    width: 38px;
    height: 38px;
    background: #fff;
    color: #111;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -12px;
    position: relative;
    z-index: 1;
}

.toolbar-icon svg {
    animation: phoneRing 2s infinite ease-in-out;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(5deg); }
    40% { transform: rotate(-5deg); }
    50% { transform: rotate(2deg); }
    60% { transform: rotate(0deg); }
}

@media (max-width: 600px) {
    .floating-toolbar {
        bottom: 24px;
        width: calc(100% - 40px);
        padding: 6px;
    }
    .toolbar-text {
        display: none;
    }
    .toolbar-btn {
        width: 100%;
        justify-content: space-between;
        padding: 6px 6px 6px 20px;
    }
}