/* ===========================
   ROOT VARIABLES
=========================== */
:root {
  --accent: #a8ff3e;
  --accent-dark: #85d926;
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --header-bg: rgba(10, 10, 10, 0.45);
  --header-border: rgba(255, 255, 255, 0.1);
  --header-blur: blur(18px);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: #0a0a0a;
  color: var(--text-light);
  min-height: 100vh;
  font-size: 17px;
  overflow-x: hidden;
  width: 100%;
}
a { text-decoration: none; color: inherit; }
.accent { color: var(--accent); }

/* ===========================
   HEADER
=========================== */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 48px);
  max-width: 1200px;
  min-width: 0;
  box-sizing: border-box;
  z-index: 1000;
  border-radius: 999px;
  background: var(--header-bg);
  border: 1px solid var(--header-border);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(10,10,10,0.75);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 24px;
  gap: 16px;
  height: 64px;
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 67px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: 999px;
  position: relative;
  letter-spacing: 0.01em;
  transition: color var(--transition), background var(--transition);
}

.nav__link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity var(--transition), transform var(--transition);
}

.nav__link:hover { color: var(--text-light); }
.nav__link:hover::before { opacity: 1; transform: scale(1); }
.nav__link.active { color: var(--text-light); }
.nav__link.active::before { opacity: 1; transform: scale(1); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.header__btn {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #0a0a0a;
  background: var(--accent);
  padding: 9px 22px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.header__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.header__btn:hover::before { left: 140%; }
.header__btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(168,255,62,0.35);
}
.header__btn:active { transform: translateY(0px); }

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  flex-shrink: 0;
}

.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-light);
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  transform-origin: center;
}

.header__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav hidden by default */
.header__mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 20px;
  border-top: 1px solid transparent;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1),
              opacity 0.35s ease,
              padding 0.35s ease,
              border-color 0.35s ease;
}

.header__mobile-nav.open {
  max-height: 400px;
  opacity: 1;
  padding: 12px 20px 20px;
  border-top-color: var(--header-border);
}

@media (max-width: 768px) {
  .header {
    top: 12px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    border-radius: 999px;
  }
  .header:not(.menu-open) { border-radius: 999px; }
  .header.menu-open { border-radius: 20px; }
  .header__inner { height: 52px; padding: 0 14px; }
  .header__logo img { height: 48px; }
  .header__nav { display: none; }
  .header__btn:not(.mobile-btn) { display: none; }
  .header__hamburger { display: flex; }
}

@media (max-width: 480px) {
  .header {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
  }
  .header__inner { padding: 0 12px; height: 48px; }
  .header__logo img { height: 42px; }
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: flex-start; overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }

.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.50) 50%, rgba(10,10,10,0.10) 100%);
}

.hero__content {
  position: relative; z-index: 1; max-width: 520px;
  margin-left: clamp(24px, 8vw, 120px); padding: 120px 0 60px;
  display: flex; flex-direction: column; gap: 20px;
}

.hero__sub {
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}

.hero__tag {
  font-family: var(--font-heading); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; line-height: 1.2; color: var(--text-light);
}

.hero__cta {
  display: inline-block; width: fit-content; margin-top: 8px;
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 700;
  color: #0a0a0a; background: var(--accent); padding: 13px 30px;
  border-radius: 999px; letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.hero__cta:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(168,255,62,0.35); }

@media (max-width: 768px) {
  .hero { justify-content: center; align-items: flex-end; }
  .hero__overlay { background: rgba(10,10,10,0.65); }
  .hero__content { margin: 0 24px 60px; max-width: 100%; text-align: center; align-items: center; }
}

/* ===========================
   WHAT IS TECHMORPH
=========================== */
.about-section { background: #0a0a0a; padding: 100px 24px; }

.about-section__inner {
  max-width: 780px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; gap: 28px;
}

.about-section__title {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800; color: var(--text-light); line-height: 1.15;
}

.about-section__desc {
  font-family: var(--font-body); font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--text-muted); line-height: 1.85; max-width: 680px; margin: 0 auto;
}

/* ===========================
   OUR EXPERTISE SECTION
=========================== */
.expertise-section {
  background: #0d0d0d; padding: 100px 0 140px;
  border-top: 1px solid rgba(255,255,255,0.06); overflow: hidden;
}

.expertise-section__inner {
  max-width: 1300px; margin: 0 auto; padding: 0 60px;
  display: flex; flex-direction: column; align-items: center; gap: 80px;
}

.expertise-section__title {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800; color: var(--text-light); text-align: center; line-height: 1.15;
}

.expertise-timeline { position: relative; width: 100%; display: flex; flex-direction: column; }

.timeline__track {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 0; bottom: 0; width: 2px; z-index: 2; pointer-events: none;
}

.timeline__line {
  position: absolute; top: 0; left: 0; width: 2px; height: 100%;
  background: rgba(255,255,255,0.08); border-radius: 2px;
}

.timeline__line-fill {
  position: absolute; top: 0; left: 0; width: 2px; height: 0%;
  background: var(--accent); border-radius: 2px; transition: height 0.04s linear;
  box-shadow: 0 0 12px rgba(168,255,62,0.6);
}

.timeline__dot {
  position: absolute; left: 50%; transform: translate(-50%, -50%);
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15); background: #0d0d0d;
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease; z-index: 3;
}

.timeline__dot[data-index="0"] { top: 8.33%; }
.timeline__dot[data-index="1"] { top: 25%; }
.timeline__dot[data-index="2"] { top: 41.66%; }
.timeline__dot[data-index="3"] { top: 58.33%; }
.timeline__dot[data-index="4"] { top: 75%; }
.timeline__dot[data-index="5"] { top: 91.66%; }

.timeline__dot.active {
  border-color: var(--accent); background: var(--accent);
  box-shadow: 0 0 0 5px rgba(168,255,62,0.18), 0 0 20px rgba(168,255,62,0.55);
}

.timeline__row {
  width: 100%; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; min-height: 360px; padding: 40px 0;
}

.timeline__item {
  display: flex; align-items: center; opacity: 0; transform: translateY(50px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.4,0,0.2,1);
}

.timeline__item--left { justify-content: flex-start; padding-right: 52px; }
.timeline__item--right { justify-content: flex-end; padding-left: 52px; }
.timeline__item.visible { opacity: 1; transform: translateY(0); }

.timeline__text {
  display: flex; align-items: center; opacity: 0; transform: translateY(60px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1) 0.15s, transform 0.75s cubic-bezier(0.4,0,0.2,1) 0.15s;
}

.timeline__text--left { justify-content: flex-start; padding-right: 52px; }
.timeline__text--right { justify-content: flex-end; padding-left: 52px; }
.timeline__text.visible { opacity: 1; transform: translateY(0); }

.timeline__text-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; padding: 28px 30px; backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); width: 100%;
  transition: border-color 0.35s ease, background 0.35s ease;
}

.timeline__text-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(168,255,62,0.2); }

.timeline__text-title {
  font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800;
  color: var(--accent); margin-bottom: 14px; letter-spacing: 0.02em;
}

.timeline__text-body { font-family: var(--font-body); font-size: 1rem; color: var(--text-muted); line-height: 1.8; }

.expertise-card {
  width: 100%; min-width: 0; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09); background: #111;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.expertise-card:hover {
  border-color: rgba(168,255,62,0.5); transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(168,255,62,0.12);
}

.expertise-card__img-wrap { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; }

.expertise-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; transition: transform 0.55s ease;
}

.expertise-card:hover .expertise-card__img-wrap img { transform: scale(1.05); }

.expertise-card__overlay {
  position: absolute; bottom: 0; left: 0; right: 0; background: rgba(8,8,8,0.96);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 22px 26px; gap: 8px; transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  border-top: 1px solid rgba(168,255,62,0.25);
}

.expertise-card:hover .expertise-card__overlay { transform: translateY(0%); }

.expertise-card__label {
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800;
  color: var(--accent); letter-spacing: 0.04em; white-space: nowrap;
}

.expertise-card__desc {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text-muted);
  line-height: 1.6; opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s;
}

.expertise-card:hover .expertise-card__desc { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .expertise-section__inner { padding: 0 32px; }
  .timeline__item--left { padding-right: 36px; }
  .timeline__item--right { padding-left: 36px; }
  .timeline__text--left { padding-right: 36px; }
  .timeline__text--right { padding-left: 36px; }
  .timeline__row { min-height: 280px; }
  .timeline__text-title { font-size: 1.2rem; }
  .timeline__text-body { font-size: 0.95rem; }
}

@media (max-width: 768px) {
  .expertise-section__inner { padding: 0 20px; }
  .timeline__track { left: 16px; transform: none; }
  .timeline__row {
    grid-template-columns: 1fr; padding: 20px 0 20px 44px; min-height: unset; gap: 16px;
  }
  .timeline__row[data-index="1"] .timeline__text--left,
  .timeline__row[data-index="3"] .timeline__text--left,
  .timeline__row[data-index="5"] .timeline__text--left { order: 2; }
  .timeline__row[data-index="1"] .timeline__item--right,
  .timeline__row[data-index="3"] .timeline__item--right,
  .timeline__row[data-index="5"] .timeline__item--right { order: 1; }
  .timeline__item--left, .timeline__item--right { padding: 0; justify-content: flex-start; }
  .timeline__text--left, .timeline__text--right { padding: 0; justify-content: flex-start; }
  .timeline__text-card { padding: 20px; }
}

@media (max-width: 480px) {
  .expertise-section { padding: 70px 0 80px; }
  .expertise-section__inner { gap: 48px; padding: 0 16px; }
  .expertise-card__label { font-size: 1.1rem; }
  .expertise-card__desc { font-size: 0.9rem; }
  .timeline__text-title { font-size: 1.1rem; }
  .timeline__text-body { font-size: 0.9rem; }
}

/* ===========================
   WHY CHOOSE US SECTION
=========================== */
.why-section {
  background: #0a0a0a; padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.06); overflow: hidden;
}

.why-section__inner {
  max-width: 1300px; margin: 0 auto; padding: 0 60px;
  display: grid; grid-template-columns: 340px 1fr; align-items: center; gap: 80px;
}

.why-section__left { display: flex; flex-direction: column; gap: 16px; }

.why-section__label {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}

.why-section__title {
  font-family: var(--font-heading); font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800; color: var(--text-light); line-height: 1.1;
}

.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr; gap: 20px;
}

.why-card {
  position: relative; background: #111;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 20px;
  overflow: hidden; min-height: 230px; cursor: default;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.why-card:hover {
  border-color: rgba(168,255,62,0.4);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(168,255,62,0.08);
}

.why-card__front {
  position: relative; z-index: 1; padding: 32px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  height: 100%; transition: opacity 0.35s ease;
}

.why-card:hover .why-card__front { opacity: 0; }

.why-card__number {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.12em; color: rgba(168,255,62,0.35);
}

.why-card__title {
  font-family: var(--font-heading); font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 800; color: var(--accent); line-height: 1.2;
  margin-top: auto; padding-top: 16px;
}

.why-card__drawer {
  position: absolute; inset: 0; background: #161616;
  border-top: 2px solid var(--accent); padding: 28px;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  transform: translateY(100%); transition: transform 0.45s cubic-bezier(0.4,0,0.2,1); z-index: 2;
}

.why-card:hover .why-card__drawer { transform: translateY(0%); }

.why-card__drawer-title {
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800;
  color: var(--accent); letter-spacing: 0.04em;
}

.why-card__drawer-desc {
  font-family: var(--font-body); font-size: 0.975rem; color: var(--text-light);
  line-height: 1.75; opacity: 0; transform: translateY(10px);
  transition: opacity 0.35s ease 0.2s, transform 0.35s ease 0.2s;
}

.why-card:hover .why-card__drawer-desc { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .why-section__inner { grid-template-columns: 260px 1fr; gap: 50px; padding: 0 40px; }
  .why-section__title { font-size: clamp(2.2rem, 4vw, 3.2rem); }
}

@media (max-width: 768px) {
  .why-section__inner { grid-template-columns: 1fr; padding: 0 24px; gap: 48px; }
  .why-section__left { text-align: center; align-items: center; }
  .why-section__title { font-size: clamp(2.5rem, 8vw, 3.5rem); }
  .why-grid { gap: 16px; }
  .why-card { min-height: 180px; }
  .why-card__front { padding: 24px 20px; }
  .why-card__drawer { padding: 20px; }
}

@media (max-width: 480px) {
  .why-section { padding: 80px 0; }
  .why-section__inner { padding: 0 16px; gap: 36px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { min-height: 160px; }
  .why-card__title { font-size: 1.4rem; }
}

/* ===========================
   FAQ SECTION
=========================== */
.faq-section {
  background: #0d0d0d;
  padding: 120px 0 140px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.faq-section__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.faq-section__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-light);
  text-align: center;
  line-height: 1.15;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: #111;
  transition: background 0.3s ease;
}

.faq-item:last-child { border-bottom: none; }
.faq-item.open { background: #141414; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 32px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.5;
  transition: color 0.3s ease;
}

.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 22px;
  height: 22px;
}

.faq-icon span {
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
}

.faq-icon span:nth-child(1) {
  width: 22px; height: 2px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}

.faq-icon span:nth-child(2) {
  width: 2px; height: 22px;
  top: 0; left: 50%;
  transform: translateX(-50%);
}

.faq-item.open .faq-icon span:nth-child(2) {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), padding 0.4s ease;
  padding: 0 32px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 32px 28px;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.85;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.faq-item.open .faq-answer p { opacity: 1; transform: translateY(0); }
.faq-item.open { box-shadow: inset 3px 0 0 var(--accent); }

@media (max-width: 768px) {
  .faq-section { padding: 80px 0 100px; }
  .faq-section__inner { gap: 40px; padding: 0 16px; }
  .faq-question { padding: 20px 20px; }
  .faq-answer { padding: 0 20px; }
  .faq-item.open .faq-answer { padding: 0 20px 22px; }
  .faq-question span { font-size: 1rem; }
}

@media (max-width: 480px) {
  .faq-section__title { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .faq-question span { font-size: 0.95rem; }
  .faq-answer p { font-size: 0.95rem; }
}

/* ===========================
   FOOTER SECTION
=========================== */
.footer {
  background: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
}

.footer__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 60px 60px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.footer__brand { display: flex; flex-direction: column; gap: 24px; }

.footer__logo { display: inline-block; flex-shrink: 0; line-height: 0; }

.footer__logo img {
  height: 120px; width: auto; object-fit: contain; display: block;
  transition: opacity var(--transition);
}

.footer__logo:hover img { opacity: 0.85; }

.footer__tagline {
  font-family: var(--font-body); font-size: 1.05rem;
  color: var(--text-muted); line-height: 1.85; max-width: 360px;
}

.footer__col { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }

.footer__col-title {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800;
  color: var(--text-light); letter-spacing: 0.02em;
  position: relative; padding-bottom: 14px;
}

.footer__col-title::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 28px; height: 2px; border-radius: 2px; background: var(--accent);
}

.footer__links { list-style: none; display: flex; flex-direction: column; gap: 4px; }

.footer__link {
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  color: var(--text-muted); padding: 7px 16px; border-radius: 999px;
  position: relative; letter-spacing: 0.01em; display: inline-block;
  margin-left: -16px; transition: color var(--transition), background var(--transition);
}

.footer__link::before {
  content: '';
  position: absolute; inset: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); opacity: 0; transform: scale(0.88);
  transition: opacity var(--transition), transform var(--transition);
}

.footer__link:hover { color: var(--text-light); }
.footer__link:hover::before { opacity: 1; transform: scale(1); }

.footer__link::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px; height: 2px; border-radius: 2px; background: var(--accent);
  transition: transform var(--transition);
}

.footer__link:hover::after { transform: translateX(-50%) scaleX(1); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px 60px; max-width: 100%;
}

.footer__copy {
  max-width: 1300px; margin: 0 auto;
  font-family: var(--font-body); font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.3); letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .footer__inner { padding: 70px 40px 50px; gap: 48px; }
  .footer__bottom { padding: 22px 40px; }
}

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr 1fr; padding: 60px 24px 48px; gap: 48px 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__logo img { height: 90px; }
  .footer__tagline { font-size: 1rem; max-width: 100%; }
  .footer__bottom { padding: 20px 24px; }
}

@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; padding: 48px 20px 40px; gap: 40px; }
  .footer__logo img { height: 67px; }
  .footer__col-title { font-size: 1.05rem; }
  .footer__link { font-size: 0.95rem; }
  .footer__tagline { font-size: 0.95rem; }
  .footer__bottom { padding: 18px 20px; }
  .footer__copy { font-size: 0.82rem; }
}

/* ===========================
   TECH STACK SECTION
=========================== */
.techstack-section {
  background: #0a0a0a; padding: 120px 0 130px;
  border-top: 1px solid rgba(255,255,255,0.06); overflow: hidden;
}

.techstack-section__inner {
  max-width: 1300px; margin: 0 auto; padding: 0 60px;
  display: flex; flex-direction: column; align-items: center; gap: 72px;
}

.techstack-header {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px;
}

.techstack-title {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900; color: var(--text-light); line-height: 1.1;
}

.techstack-subtitle {
  font-family: var(--font-body); font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted); line-height: 1.75; max-width: 560px;
}

.techstack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; width: 100%; }

.ts-card {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09); background: #111; cursor: default;
  transition: border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease;
  min-height: 300px;
}

.ts-card:hover {
  border-color: rgba(168,255,62,0.5);
  box-shadow: 0 20px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(168,255,62,0.1);
  transform: translateY(-6px);
}

.ts-card__inner {
  position: relative; width: 100%; height: 100%; min-height: 300px;
  padding: 36px 36px 40px; display: flex; flex-direction: column;
  justify-content: space-between; z-index: 1;
}

.ts-card__water {
  position: absolute; left: 0; right: 0; bottom: 0; height: 0%;
  background: rgba(168,255,62,0.09); z-index: 0;
  transition: height 0.75s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden;
}

.ts-card:hover .ts-card__water { height: 100%; }

.ts-card__wave {
  position: absolute; top: -22px; left: -60%; width: 220%; height: 44px;
  background: rgba(168,255,62,0.13); border-radius: 45%;
  animation: waveRoll 3.5s linear infinite;
}

.ts-card__wave--2 {
  top: -14px; animation: waveRoll 5s linear infinite reverse;
  background: rgba(168,255,62,0.08); border-radius: 40%;
}

@keyframes waveRoll {
  0%   { transform: translateX(0) rotate(0deg); }
  100% { transform: translateX(30%) rotate(360deg); }
}

.ts-card__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 32px; height: 100%;
}

.ts-card__top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}

.ts-card__category {
  font-family: var(--font-heading); font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 900; color: var(--text-light); line-height: 1.2; max-width: 220px;
}

.ts-card__glass-wrap { position: relative; flex-shrink: 0; }

.ts-card__glass {
  width: 42px; height: 58px; border: 2.5px solid rgba(168,255,62,0.45);
  border-top: none; border-radius: 0 0 10px 10px; position: relative;
  overflow: hidden; background: transparent; box-shadow: 0 -2px 0 0 rgba(168,255,62,0.45);
}

.ts-card__liquid {
  position: absolute; bottom: 0; left: 0; right: 0; height: 48%;
  background: rgba(168,255,62,0.25); transition: height 0.75s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden;
}

.ts-card:hover .ts-card__liquid { height: 92%; background: rgba(168,255,62,0.45); }

.ts-card__liquid-wave {
  position: absolute; top: -10px; left: -50%; width: 200%; height: 20px;
  background: rgba(168,255,62,0.3); border-radius: 45%;
  animation: liquidWave 2s ease-in-out infinite;
}

@keyframes liquidWave {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(15px); }
}

.ts-card__glass-shine {
  position: absolute; top: 6px; left: 8px; width: 6px; height: 70%;
  background: rgba(255,255,255,0.18); border-radius: 3px;
}

.ts-card__icons {
  display: flex; flex-wrap: wrap; gap: 18px 20px; align-items: center;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.45s cubic-bezier(0.4,0,0.2,1) 0.15s,
              transform 0.45s cubic-bezier(0.4,0,0.2,1) 0.15s;
  pointer-events: none;
}

.ts-card:hover .ts-card__icons { opacity: 1; transform: translateY(0); pointer-events: all; }

.ts-icon-item { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.ts-icon-item:nth-child(1) { transition-delay: 0.10s; }
.ts-icon-item:nth-child(2) { transition-delay: 0.16s; }
.ts-icon-item:nth-child(3) { transition-delay: 0.22s; }
.ts-icon-item:nth-child(4) { transition-delay: 0.28s; }
.ts-icon-item:nth-child(5) { transition-delay: 0.34s; }

.ts-icon {
  width: 44px; height: 44px; object-fit: contain; display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5)); transition: transform 0.3s ease;
}

.ts-icon-item:hover .ts-icon { transform: scale(1.15) translateY(-3px); }

.ts-icon-item span {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.04em; text-align: center;
  white-space: nowrap; transition: color 0.3s ease;
}

.ts-card:hover .ts-icon-item span { color: var(--text-light); }

.ts-card {
  opacity: 0; transform: translateY(48px);
  transition-property: opacity, transform, border-color, box-shadow;
  transition-duration: 0.75s, 0.75s, 0.45s, 0.45s;
  transition-timing-function: cubic-bezier(0.4,0,0.2,1);
}

.ts-card.ts-visible { opacity: 1; transform: translateY(0); }
.ts-card:hover { transform: translateY(-6px); }
.ts-card.ts-visible:hover { transform: translateY(-6px); }
.ts-card:nth-child(1) { transition-delay: 0s; }
.ts-card:nth-child(2) { transition-delay: 0.1s; }
.ts-card:nth-child(3) { transition-delay: 0.18s; }
.ts-card:nth-child(4) { transition-delay: 0.26s; }

@media (max-width: 1024px) {
  .techstack-section__inner { padding: 0 40px; }
  .techstack-grid { gap: 20px; }
  .ts-card__inner { padding: 28px 28px 32px; }
}

@media (max-width: 768px) {
  .techstack-section { padding: 80px 0 90px; }
  .techstack-section__inner { padding: 0 24px; gap: 48px; }
  .techstack-grid { grid-template-columns: 1fr; gap: 18px; }
  .ts-card { min-height: 260px; }
  .ts-card__inner { min-height: 260px; padding: 26px 24px 30px; gap: 24px; }
  .ts-card__category { font-size: 1.3rem; }
  .ts-card__icons { opacity: 1; transform: translateY(0); pointer-events: all; }
  .ts-card__water { height: 40%; }
  .ts-card .ts-card__liquid { height: 60%; }
}

@media (max-width: 480px) {
  .techstack-section__inner { padding: 0 16px; gap: 40px; }
  .ts-card__inner { padding: 22px 20px 26px; }
  .ts-card__category { font-size: 1.15rem; }
  .ts-icon { width: 36px; height: 36px; }
  .ts-icon-item span { font-size: 0.68rem; }
  .ts-card__glass { width: 34px; height: 48px; }
  .techstack-grid { gap: 14px; }
}

/* ===========================
   THINGS WE DON'T DO SECTION
=========================== */
.dont-section {
  background: #0d0d0d; padding: 120px 0 130px;
  border-top: 1px solid rgba(255,255,255,0.06); overflow: hidden; position: relative;
}

.dont-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.3; z-index: 0;
}

.dont-section__inner {
  max-width: 1300px; margin: 0 auto; padding: 0 60px;
  display: flex; flex-direction: column; align-items: center; gap: 72px;
  position: relative; z-index: 1;
}

.dont-header { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }

.dont-header__label {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); opacity: 0.75;
}

.dont-header__title {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900; color: var(--text-light); line-height: 1.1;
}

.dont-header__subtitle {
  font-family: var(--font-body); font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted); line-height: 1.75; max-width: 500px;
}

.dont-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 28px; width: 100%; align-items: stretch;
}

.dont-card {
  position: relative; background: #111;
  border: 1px solid rgba(255,255,255,0.09); border-radius: 24px;
  padding: 44px 42px 48px; display: flex; flex-direction: column; gap: 28px;
  overflow: hidden; transition: border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease;
  opacity: 0; transform: translateY(50px);
}

.dont-card.dont-visible {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.4,0,0.2,1),
              border-color 0.45s ease, box-shadow 0.45s ease;
}

.dont-card:hover {
  border-color: rgba(168,255,62,0.35);
  box-shadow: 0 24px 72px rgba(0,0,0,0.55), 0 0 0 1px rgba(168,255,62,0.08);
  transform: translateY(-4px);
}

.dont-card.dont-visible:hover { transform: translateY(-4px); }

.dont-card__glow {
  position: absolute; bottom: -80px; right: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(168,255,62,0.07) 0%, transparent 70%);
  pointer-events: none; transition: opacity 0.5s ease; opacity: 0;
}

.dont-card:hover .dont-card__glow { opacity: 1; }

.dont-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.dont-card__icon-wrap {
  width: 52px; height: 52px; background: rgba(168,255,62,0.08);
  border: 1px solid rgba(168,255,62,0.2); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.dont-card:hover .dont-card__icon-wrap {
  background: rgba(168,255,62,0.14); border-color: rgba(168,255,62,0.4);
}

.dont-card__icon { width: 26px; height: 26px; color: var(--accent); }

.dont-card__badge {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  background: rgba(168,255,62,0.08); border: 1px solid rgba(168,255,62,0.18);
  border-radius: 999px; padding: 6px 14px 6px 10px;
}

.dont-card__badge svg { color: var(--accent); }

.dont-card__title {
  font-family: var(--font-heading); font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 800; color: var(--text-light); line-height: 1.25;
}

.dont-card__intro {
  font-family: var(--font-body); font-size: 1rem; color: var(--text-muted);
  line-height: 1.82; border-left: 2px solid rgba(168,255,62,0.25); padding-left: 18px;
}

.dont-card__list {
  list-style: none; display: flex; flex-direction: column; gap: 20px; padding: 0; margin: 0;
}

.dont-card__list li {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; transition: background 0.3s ease, border-color 0.3s ease;
}

.dont-card__list li:hover { background: rgba(168,255,62,0.05); border-color: rgba(168,255,62,0.15); }

.dont-list__icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; filter: grayscale(0.2); }

.dont-card__list li div { display: flex; flex-direction: column; gap: 5px; }

.dont-card__list li strong {
  font-family: var(--font-heading); font-size: 0.97rem; font-weight: 800;
  color: var(--accent); line-height: 1.3;
}

.dont-card__list li span {
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text-muted); line-height: 1.7;
}

.dont-stats { display: flex; flex-direction: column; gap: 20px; }

.dont-stat {
  background: #111; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px;
  padding: 28px 26px; display: flex; align-items: flex-start; gap: 20px; flex: 1;
  position: relative; overflow: hidden;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0; transform: translateX(40px);
}

.dont-stat.dont-visible {
  opacity: 1; transform: translateX(0);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1),
              border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.dont-stat:nth-child(1) { transition-delay: 0s; }
.dont-stat:nth-child(2) { transition-delay: 0.1s; }
.dont-stat:nth-child(3) { transition-delay: 0.2s; }
.dont-stat.dont-visible:nth-child(1) { transition-delay: 0s; }
.dont-stat.dont-visible:nth-child(2) { transition-delay: 0.1s; }
.dont-stat.dont-visible:nth-child(3) { transition-delay: 0.2s; }

.dont-stat:hover {
  border-color: rgba(168,255,62,0.35); background: #141414;
  transform: translateX(4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.dont-stat.dont-visible:hover { transform: translateX(4px); }

.dont-stat::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); border-radius: 0 2px 2px 0;
  transform: scaleY(0); transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.dont-stat:hover::before { transform: scaleY(1); }

.dont-stat__icon-wrap {
  width: 48px; height: 48px; background: rgba(168,255,62,0.07);
  border: 1px solid rgba(168,255,62,0.15); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.dont-stat:hover .dont-stat__icon-wrap {
  background: rgba(168,255,62,0.14); border-color: rgba(168,255,62,0.35);
}

.dont-stat__icon-wrap svg { width: 24px; height: 24px; color: var(--accent); }

.dont-stat__text { display: flex; flex-direction: column; gap: 5px; }

.dont-stat__label {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); opacity: 0.65;
}

.dont-stat__text h4 {
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800;
  color: var(--text-light); line-height: 1.3;
}

.dont-stat__text p {
  font-family: var(--font-body); font-size: 0.88rem; color: var(--text-muted); line-height: 1.7;
}

.dont-promise {
  display: flex; align-items: center; gap: 32px; width: 100%; max-width: 860px;
  opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease;
}

.dont-promise.dont-visible { opacity: 1; transform: translateY(0); }

.dont-promise__line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,255,62,0.3), transparent);
}

.dont-promise__text {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text-muted);
  line-height: 1.75; text-align: center; max-width: 560px; flex-shrink: 0;
}

@media (max-width: 1024px) {
  .dont-section__inner { padding: 0 40px; gap: 56px; }
  .dont-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .dont-card { padding: 34px 30px 38px; }
}

@media (max-width: 900px) {
  .dont-grid { grid-template-columns: 1fr; }
  .dont-stats { flex-direction: row; flex-wrap: wrap; }
  .dont-stat { flex: 1 1 calc(50% - 10px); min-width: 220px; }
  .dont-stat { transform: translateY(40px); }
  .dont-stat.dont-visible { transform: translateY(0); }
  .dont-stat.dont-visible:hover { transform: translateY(-3px); }
  .dont-stat:hover { transform: translateY(-3px); }
  .dont-stat::before { display: none; }
}

@media (max-width: 768px) {
  .dont-section { padding: 80px 0 90px; }
  .dont-section__inner { padding: 0 24px; gap: 48px; }
  .dont-card { padding: 28px 24px 32px; gap: 22px; }
  .dont-promise { flex-direction: column; gap: 16px; }
  .dont-promise__line { width: 100%; }
  .dont-promise__text { max-width: 100%; }
  .dont-stat { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .dont-section__inner { padding: 0 16px; gap: 40px; }
  .dont-card { padding: 22px 18px 26px; gap: 18px; }
  .dont-card__title { font-size: 1.2rem; }
  .dont-card__list li { padding: 14px 16px; gap: 12px; }
  .dont-card__icon-wrap { width: 44px; height: 44px; }
  .dont-header__title { font-size: clamp(1.9rem, 6vw, 2.4rem); }
}

/* ===========================
   TESTIMONIALS SECTION
=========================== */
.testimonials-section {
  background: #0d0d0d; padding: 120px 0 130px;
  border-top: 1px solid rgba(255, 255, 255, 0.06); overflow: hidden; position: relative;
}

.testimonials-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,255,62,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,255,62,0.025) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none; z-index: 0;
}

.testimonials-section::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(168,255,62,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

.testimonials-section__inner {
  max-width: 1300px; margin: 0 auto; padding: 0 60px;
  display: flex; flex-direction: column; align-items: center; gap: 60px;
  position: relative; z-index: 1;
}

.testimonials-header {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px;
  max-width: 640px; width: 100%; margin: 0 auto;
}

.testimonials-header__label {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); opacity: 0.8;
  display: flex; align-items: center; gap: 10px;
}

.testimonials-header__label::before,
.testimonials-header__label::after {
  content: ''; display: inline-block; width: 24px; height: 1px;
  background: rgba(168,255,62,0.4);
}

.testimonials-header__title {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900; color: var(--text-light); line-height: 1.1; text-align: center;
}

.testimonials-header__subtitle {
  font-family: var(--font-body); font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted); line-height: 1.75; text-align: center; max-width: 480px;
}

.tm-slider-outer { position: relative; width: 100%; overflow: hidden; }

.tm-fade { position: absolute; top: 0; bottom: 0; width: 160px; z-index: 2; pointer-events: none; }
.tm-fade--left  { left: 0;  background: linear-gradient(to right, #0d0d0d 0%, transparent 100%); }
.tm-fade--right { right: 0; background: linear-gradient(to left,  #0d0d0d 0%, transparent 100%); }

.tm-slider-track {
  display: flex; gap: 28px; width: max-content; will-change: transform;
  cursor: grab; user-select: none; padding: 20px 0 28px;
}

.tm-slider-track:active { cursor: grabbing; }

.tm-card {
  position: relative; background: #0f0f0f; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px; padding: 36px 36px 30px; width: 420px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 22px; overflow: hidden;
  transition: border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease; cursor: default;
}

.tm-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 60px; height: 60px;
  border-top: 1.5px solid rgba(168,255,62,0.25); border-left: 1.5px solid rgba(168,255,62,0.25);
  border-radius: 24px 0 0 0; pointer-events: none; transition: border-color 0.45s ease;
}

.tm-card::after {
  content: ''; position: absolute; bottom: 0; right: 0; width: 60px; height: 60px;
  border-bottom: 1.5px solid rgba(168,255,62,0.12); border-right: 1.5px solid rgba(168,255,62,0.12);
  border-radius: 0 0 24px 0; pointer-events: none; transition: border-color 0.45s ease;
}

.tm-card:hover {
  border-color: rgba(168,255,62,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(168,255,62,0.06), 0 0 40px rgba(168,255,62,0.04) inset;
  transform: translateY(-6px);
}

.tm-card:hover::before { border-color: rgba(168,255,62,0.5); }
.tm-card:hover::after  { border-color: rgba(168,255,62,0.3); }

.tm-card__glow {
  position: absolute; bottom: -60px; right: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(168,255,62,0.06) 0%, transparent 70%);
  pointer-events: none; opacity: 0; transition: opacity 0.5s ease;
}
.tm-card:hover .tm-card__glow { opacity: 1; }

.tm-card__top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.tm-card__logo-wrap { height: 36px; display: flex; align-items: center; }

.tm-card__logo {
  height: 100%; max-width: 130px; width: auto; object-fit: contain; display: block;
  opacity: 0.75; transition: opacity 0.35s ease;
}

.tm-card:hover .tm-card__logo { opacity: 1; }

.tm-card__logo-text {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 800;
  color: var(--accent); letter-spacing: 0.04em; white-space: nowrap;
}

.tm-card__stars { display: flex; gap: 3px; flex-shrink: 0; }

.tm-card__stars span {
  font-size: 0.88rem; color: var(--accent); line-height: 1;
  text-shadow: 0 0 8px rgba(168,255,62,0.5);
}

.tm-card__quote-icon { color: rgba(168,255,62,0.09); transition: color 0.4s ease; line-height: 0; }
.tm-card:hover .tm-card__quote-icon { color: rgba(168,255,62,0.18); }

.tm-card__text {
  font-family: var(--font-body); font-size: 0.975rem; color: rgba(255,255,255,0.72);
  line-height: 1.85; flex: 1; position: relative; z-index: 1;
}

.tm-card__author {
  display: flex; align-items: center; gap: 14px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06); position: relative; z-index: 1;
}

.tm-card__avatar {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-family: var(--font-heading); font-size: 0.78rem;
  font-weight: 800; letter-spacing: 0.04em; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(168,255,62,0.18) 0%, rgba(168,255,62,0.06) 100%);
  border: 1.5px solid rgba(168,255,62,0.3); color: var(--accent);
}

.tm-card__avatar--2 {
  background: linear-gradient(135deg, rgba(0,210,255,0.18) 0%, rgba(0,210,255,0.06) 100%);
  border-color: rgba(0,210,255,0.3); color: #00d2ff;
}

.tm-card__avatar--3 {
  background: linear-gradient(135deg, rgba(255,179,71,0.18) 0%, rgba(255,179,71,0.06) 100%);
  border-color: rgba(255,179,71,0.3); color: #ffb347;
}

.tm-card__info { display: flex; flex-direction: column; gap: 3px; }

.tm-card__name {
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 800;
  color: var(--text-light); line-height: 1.2;
}

.tm-card__role {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7;
}

.tm-card__tag-bar { display: flex; gap: 8px; flex-wrap: wrap; }

.tm-tag {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
  background: rgba(168,255,62,0.07); border: 1px solid rgba(168,255,62,0.15);
  padding: 4px 11px; border-radius: 999px; transition: background 0.3s ease, border-color 0.3s ease;
}

.tm-card:hover .tm-tag { background: rgba(168,255,62,0.12); border-color: rgba(168,255,62,0.28); }

.tm-dots { display: flex; align-items: center; gap: 10px; }

.tm-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18);
  border: none; cursor: pointer; padding: 0;
  transition: background 0.35s ease, width 0.35s ease, border-radius 0.35s ease, box-shadow 0.35s ease;
  outline: none;
}

.tm-dot.active {
  width: 28px; border-radius: 4px; background: var(--accent);
  box-shadow: 0 0 10px rgba(168,255,62,0.45);
}

.tm-dot:hover:not(.active) { background: rgba(255,255,255,0.35); }

.testimonials-header,
.tm-slider-outer,
.tm-dots {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.4,0,0.2,1);
}

.testimonials-header.tm-reveal { opacity: 1; transform: translateY(0); }
.tm-slider-outer.tm-reveal     { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.tm-dots.tm-reveal             { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }

@media (max-width: 1024px) {
  .testimonials-section__inner { padding: 0 40px; }
  .tm-card { width: 370px; padding: 30px 28px 26px; }
  .tm-fade { width: 100px; }
}

@media (max-width: 768px) {
  .testimonials-section { padding: 80px 0 90px; }
  .testimonials-section__inner { padding: 0 20px; gap: 44px; }
  .tm-card { width: 320px; padding: 26px 22px 22px; gap: 18px; }
  .tm-card__text { font-size: 0.93rem; }
  .tm-fade { width: 56px; }
  .testimonials-header__title { font-size: clamp(1.9rem, 6vw, 2.4rem); }
}

@media (max-width: 480px) {
  .testimonials-section__inner { padding: 0 16px; gap: 36px; }
  .tm-card { width: calc(100vw - 56px); padding: 22px 18px 18px; gap: 16px; }
  .tm-card__text { font-size: 0.9rem; line-height: 1.78; }
  .tm-card__name { font-size: 0.9rem; }
  .tm-fade { width: 28px; }
  .tm-card__logo { max-width: 100px; height: 30px; }
}

/* ===========================
   PORTFOLIO SECTION
=========================== */
.portfolio-section {
  background: #0a0a0a; padding: 100px 0 110px;
  border-top: 1px solid rgba(255, 255, 255, 0.06); overflow: hidden; position: relative;
}

.portfolio-section::before {
  content: ''; position: absolute; top: 10%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(168, 255, 62, 0.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

.portfolio-section__inner {
  max-width: 1300px; margin: 0 auto; padding: 0 60px;
  display: flex; flex-direction: column; align-items: center; gap: 64px;
  position: relative; z-index: 1;
}

.portfolio-header {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-bottom: 72px; padding: 0 20px; opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-header.pf-reveal { opacity: 1; transform: translateY(0); }

.portfolio-header__label {
  display: inline-block; font-size: 11px; letter-spacing: 0.22em; font-weight: 600;
  color: var(--accent); border: 1px solid rgba(168, 255, 62, 0.35); border-radius: 4px;
  padding: 5px 14px; margin-bottom: 22px; text-transform: uppercase;
}

.portfolio-header__title {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.1; color: var(--text-light); margin: 0 0 16px;
}

.portfolio-header__subtitle {
  font-size: 1rem; color: var(--text-muted); max-width: 480px; margin: 0 auto; line-height: 1.65;
}

.portfolio-featured {
  max-width: 960px; margin: 0 auto; padding: 0 24px; width: 100%;
  display: flex; flex-direction: column; gap: 32px; opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

.portfolio-featured.pf-reveal { opacity: 1; transform: translateY(0); }

.pf-label-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }

.pf-eyebrow {
  font-size: 10px; letter-spacing: 0.2em; font-weight: 700;
  text-transform: uppercase; color: var(--accent); white-space: nowrap;
}

.pf-divider {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(168,255,62,0.4) 0%, transparent 100%);
}

.portfolio-featured__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.pf-card {
  position: relative; display: flex; flex-direction: column; border-radius: 14px;
  overflow: hidden; background: #0e0e0e; border: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none; color: inherit; transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(168, 255, 62, 0.18);
}

.pf-card__img-wrap {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #111;
}

.pf-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease;
}

.pf-card:hover .pf-card__img-wrap img { transform: scale(1.04); }

.pf-card__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.pf-card__img-wrap--fallback .pf-card__img-fallback { display: flex; }

.pf-card__img-fallback {
  display: none; position: absolute; inset: 0; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.15);
}

.pf-card__img-fallback svg { width: 48px; height: 48px; }

.pf-card__content {
  padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1;
}

.pf-card__meta { display: flex; align-items: center; justify-content: space-between; }

.pf-card__tag {
  font-size: 10px; letter-spacing: 0.12em; font-weight: 700; text-transform: uppercase;
  background: rgba(168, 255, 62, 0.12); color: var(--accent);
  border: 1px solid rgba(168, 255, 62, 0.28); padding: 4px 10px; border-radius: 20px;
}

.pf-card__year { font-size: 12px; color: rgba(255, 255, 255, 0.35); font-weight: 500; }

.pf-card__title { font-size: 1.35rem; font-weight: 700; color: var(--text-light); margin: 0; line-height: 1.2; }

.pf-card__desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin: 0; flex: 1; }

.pf-card__cta {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem;
  font-weight: 600; color: var(--accent); margin-top: 6px; transition: gap 0.2s ease;
}

.pf-card:hover .pf-card__cta { gap: 10px; }

.pf-card__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(168, 255, 62, 0.06) 0%, transparent 65%);
  pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
}

.pf-card:hover .pf-card__glow { opacity: 1; }

.pf-card__border-shine {
  position: absolute; inset: 0; border-radius: 14px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%);
}

/* Hide slider elements — not used */
.portfolio-slider-section,
#portfolioSliderOuter,
#portfolioSliderTrack,
.portfolio-slider-track,
.portfolio-slider-outer,
.pf-controls,
.pf-dots,
#pfPrev,
#pfNext,
#pfCurrentPage,
#pfTotalPages,
.p-card {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 1200px) {
  .portfolio-section__inner { padding: 0 48px; gap: 56px; }
}

@media (max-width: 1024px) {
  .portfolio-section { padding: 80px 0 90px; }
  .portfolio-section__inner { padding: 0 36px; gap: 52px; }
  .portfolio-featured__grid { gap: 18px; }
  .pf-card__content { padding: 22px 24px 26px; }
}

@media (max-width: 860px) {
  .portfolio-section { padding: 70px 0 80px; }
  .portfolio-section__inner { padding: 0 28px; gap: 48px; }
}

@media (max-width: 700px) {
  .portfolio-featured__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .portfolio-section { padding: 56px 0 64px; }
  .portfolio-section__inner { padding: 0 20px; gap: 40px; }
  .pf-card { border-radius: 18px; }
  .pf-card__content { padding: 20px 20px 24px; gap: 10px; }
  .pf-card__title { font-size: 1.35rem; }
  .pf-card__desc { font-size: 0.9rem; line-height: 1.7; }
}

@media (max-width: 400px) {
  .portfolio-section__inner { padding: 0 16px; gap: 36px; }
  .pf-card__content { padding: 16px 16px 20px; }
  .pf-card__title { font-size: 1.2rem; }
  .pf-card__desc { font-size: 0.86rem; }
}

@media (hover: none) {
  .pf-card:hover { transform: none; box-shadow: none; border-color: rgba(255, 255, 255, 0.07); }
}