/* YTD overrides on top of the Webteck template. Keep style.css untouched. */

/* Text logo (until an uploaded logo exists) */
.ytd-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.ytd-logo img {
  max-height: 48px;
  width: auto;
}

.ytd-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--theme-color);
  color: #fff;
  font-family: var(--title-font);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2px;
}

.ytd-logo__text {
  display: flex;
  flex-direction: column;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
  text-align: left;
}

/* Small label above the brand name */
.ytd-logo__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
  white-space: nowrap;
}

.ytd-logo__name {
  white-space: nowrap;
}

@media (max-width: 375px) {
  .ytd-logo__text {
    font-size: 14px;
  }
}

.ytd-logo--light .ytd-logo__text {
  color: #fff;
}

.ytd-logo--dark .ytd-logo__text {
  color: var(--title-color);
}

/* Floating capsule header (header-layout23) */
.ytd-header .menu-area {
  width: calc(100% - 32px);
  max-width: 1320px;
  margin: 20px auto 0;
  padding: 12px 10px;
  background: #fff;
  border-radius: 60px;
  box-shadow: 0 10px 30px rgba(20, 29, 56, 0.12);
  transition: margin 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

/* Keep the capsule when the header sticks (the template switches to a square full-width bar). */
.ytd-header .sticky-wrapper.sticky {
  background-color: transparent;
}

.ytd-header .sticky-wrapper.sticky .menu-area {
  max-width: 1320px;
  margin-top: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 60px;
  box-shadow: 0 12px 34px rgba(20, 29, 56, 0.18);
}

.ytd-header .main-menu > ul > li > a {
  padding: 14px 0;
  color: var(--title-color);
  font-weight: 500;
}

/* The template uses 4px between items, which crowds the menu */
.ytd-header .main-menu.style2 > ul > li {
  margin: 0 16px;
}

/* Laptops/tablets landscape (992–1199px): keep logo, menu and CTA on one line */
@media (max-width: 1399px) {
  .ytd-header .main-menu.style2 > ul > li {
    margin: 0 10px;
  }
}

@media (max-width: 1199px) {
  .ytd-header .main-menu.style2 > ul > li {
    margin: 0 6px;
  }

  .ytd-header .main-menu > ul > li > a {
    font-size: 15px;
  }
}

/* Menu hover like the original template: gradient text (theme → theme2) */
.ytd-header .main-menu > ul > li > a {
  position: relative;
  padding: 14px 0;
  border-radius: 0;
  background: linear-gradient(180deg, var(--theme-color) 0%, var(--theme-color2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: var(--title-color);
  transition: -webkit-text-fill-color 0.3s ease;
}

.ytd-header .main-menu > ul > li > a:hover,
.ytd-header .main-menu > ul > li > a:focus-visible,
.ytd-header .main-menu > ul > li.active > a {
  -webkit-text-fill-color: transparent;
}

/* Active page: gradient text + a small dot, so it differs from a plain hover */
.ytd-header .main-menu > ul > li.active > a {
  font-weight: 600;
}

.ytd-header .main-menu > ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--theme-color) 0%, var(--theme-color2) 100%);
  transform: translateX(-50%) scale(0);
  transition: transform 0.3s ease;
}

.ytd-header .main-menu > ul > li.active > a::after {
  transform: translateX(-50%) scale(1);
}

.ytd-header .header-button .th-btn {
  padding: 16px 30px;
}

/* The template hides the CTA below 1200px; keep it from the lg breakpoint where the menu shows. */
@media (max-width: 1199px) {
  .ytd-header .header-button .th-btn {
    display: inline-block;
    padding: 14px 22px;
  }

  .ytd-header .main-menu > ul > li {
    margin: 0 10px;
  }
}

.ytd-header .th-menu-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--theme-color);
  color: #fff;
}

.ytd-header .ytd-logo__mark {
  width: 44px;
  height: 44px;
}

@media (max-width: 575px) {
  .ytd-header .ytd-logo__eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .ytd-header .menu-area {
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 8px 4px;
  }
}

/* Footer: gradient instead of the template's placeholder background image */
.ytd-footer {
  background: linear-gradient(135deg, #141D38 0%, #2a2163 60%, #684DF4 140%);
}

/* Hero fallback until a real background image is uploaded */
.ytd-hero-fallback {
  background: radial-gradient(circle at 80% 20%, rgba(104, 77, 244, 0.55), transparent 55%),
    linear-gradient(135deg, #141D38 0%, #1f1a4d 100%);
  color: #fff;
}

/* Hero without background image: give the template's large padding a backdrop */
.hero-19.ytd-hero-fallback .hero-title,
.hero-19.ytd-hero-fallback .hero-text,
.hero-19.ytd-hero-fallback .sub-title {
  color: #fff;
}

/* Hero right column: composition built from real data (shown when no hero image is uploaded) */
.ytd-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  padding: 48px 0 48px 24px;
}

.ytd-hero-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  padding: 24px 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(4, 8, 30, 0.35);
}

.ytd-hero-card--flow {
  animation: ytd-float 7s ease-in-out infinite;
}

.ytd-hero-card--team {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 340px;
  margin-right: 70px;
  color: var(--title-color);
  animation: ytd-float 7s ease-in-out -3.5s infinite;
}

.ytd-hero-card--team:hover {
  color: var(--title-color);
}

.ytd-hero-card__label {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--body-color);
}

.ytd-hero-card__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.ytd-hero-card__text strong {
  font-family: var(--title-font);
  font-size: 18px;
}

.ytd-hero-card__text small {
  color: var(--body-color);
  font-size: 13px;
}

/* Riset → Data → Web */
.ytd-hero-flow {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ytd-hero-flow::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 21px;
  border-left: 2px dashed color-mix(in srgb, var(--theme-color) 35%, transparent);
}

.ytd-hero-flow__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}

.ytd-hero-flow__item strong {
  display: block;
  font-family: var(--title-font);
  font-size: 17px;
  color: var(--title-color);
}

.ytd-hero-flow__item small {
  display: block;
  font-size: 13px;
  color: var(--body-color);
}

.ytd-hero-flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--theme-color);
  color: #fff;
  font-size: 18px;
}

/* Overlapping avatars */
.ytd-avatar-stack {
  display: flex;
  flex: 0 0 auto;
}

.ytd-avatar-stack .ytd-avatar-stack__item {
  width: 44px;
  height: 44px;
  margin-left: -12px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: auto;
  font-size: 14px;
}

.ytd-avatar-stack .ytd-avatar-stack__item:first-child {
  margin-left: 0;
}

/* Floating pills */
.ytd-hero-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--title-color);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(4, 8, 30, 0.3);
  animation: ytd-float 6s ease-in-out infinite;
}

.ytd-hero-badge i {
  color: var(--theme-color);
}

.ytd-hero-badge--top {
  top: 0;
  left: 0;
  animation-delay: -2s;
}

.ytd-hero-badge--bottom {
  right: 0;
  bottom: 0;
  animation-delay: -4s;
}

/* Uploaded hero image */
.ytd-hero-image img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(4, 8, 30, 0.35);
}

@keyframes ytd-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Soft section background instead of placeholder images */
.ytd-soft-bg {
  background: #F2F6FF;
}

/* Initials avatar (talent/testimonial without photo) */
.ytd-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--theme-color) 0%, #2a2163 100%);
  color: #fff;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 56px;
  letter-spacing: 1px;
}

.ytd-initials--sm {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 20px;
}

/* Section title followed by text where the template's .mb-0 would pull the text up */
.title-area.ytd-title-flush {
  margin-bottom: 0;
}

.title-area.ytd-title-flush > p:last-child {
  margin-bottom: 0;
}

/* Project card (title always visible, also on touch screens) */
.ytd-project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 29, 56, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ytd-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 29, 56, 0.14);
}

.ytd-project-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ytd-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ytd-project-card:hover .ytd-project-card__media img {
  transform: scale(1.04);
}

.ytd-project-card__fallback {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 24px;
  background: radial-gradient(circle at 80% 20%, rgba(255, 129, 57, 0.35), transparent 55%),
    linear-gradient(135deg, #141D38 0%, #684DF4 100%);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--title-font);
  font-weight: 600;
  font-size: 18px;
}

.ytd-project-card__fallback i {
  font-size: 28px;
  opacity: 0.8;
}

.ytd-project-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 28px 28px;
}

.ytd-project-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--body-color);
}

.ytd-project-card .box-title {
  margin-bottom: 10px;
  font-size: 22px;
}

.ytd-project-card__summary {
  margin-bottom: 18px;
}

.ytd-project-card .line-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Project without cover */
.ytd-cover-fallback {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 5;
  padding: 24px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 129, 57, 0.45), transparent 50%),
    linear-gradient(135deg, #141D38 0%, #684DF4 100%);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--title-font);
  font-weight: 600;
  font-size: 18px;
}

.ytd-cover-fallback--wide {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  font-size: 24px;
}

/* Service card without image: icon aligned with the text, links pinned to the bottom */
.ytd-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ytd-service-card .service_box_content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ytd-service-card .line-btn {
  margin-top: auto;
  align-self: flex-start;
}

.ytd-service-card__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  margin: 0;
}

.ytd-service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  margin: 0 0 24px;
  border-radius: 16px;
  background: var(--theme-color);
  color: #fff;
  font-size: 26px;
}

/* Indonesian copy: show headings as written (the template forces Title Case), keep buttons consistent */
.sec-title {
  text-transform: none;
}

.th-btn,
.line-btn {
  text-transform: capitalize;
}

/*
 * Buttons: replace the template's "curtain" hover (a pseudo-element that floods the button with
 * another color, e.g. white on the hero) with a subtle lift + shade + shadow.
 */
.th-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.th-btn::before,
.th-btn::after,
.th-btn:hover::before,
.th-btn:hover::after {
  display: none;
}

/* Shades derive from the active theme color (body.theme-blue3 → #3E66F3), so a rebrand only changes one variable. */
.th-btn:hover,
.th-btn:focus-visible,
.th-btn.style3:hover {
  color: #fff;
  background-color: color-mix(in srgb, var(--theme-color) 85%, #000);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--theme-color) 35%, transparent);
}

.th-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--theme-color) 25%, transparent);
}

.th-btn i {
  transition: transform 0.2s ease;
}

.th-btn:hover i.fa-arrow-right,
.line-btn:hover i.fa-arrow-right {
  transform: translateX(3px);
}

/* Outline on dark backgrounds (hero, CTA) */
.th-btn.style2:hover,
.th-btn.style2:focus-visible {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.th-btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--theme-color) 45%, transparent);
  outline-offset: 2px;
}

/* Cards: consistent gentle lift on hover */
.ytd-service-card,
.ytd-feature,
.ytd-stats__item,
.testi-box8 {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ytd-service-card:hover,
.ytd-feature:hover,
.testi-box8:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 29, 56, 0.12);
}

.ytd-service-card:hover .ytd-service-card__icon {
  transform: rotate(-6deg) scale(1.05);
}

.ytd-service-card__icon {
  transition: transform 0.25s ease;
}

.th-team .team-img .ytd-initials,
.th-team .team-img img {
  transition: transform 0.4s ease;
}

.th-team:hover .team-img .ytd-initials,
.th-team:hover .team-img img {
  transform: scale(1.04);
}

/* Reveal on scroll (classes added by site/js/ytd.js) */
.ytd-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--ytd-reveal-delay, 0ms);
}

.ytd-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hover lift must not fight the reveal transform once visible */
.ytd-reveal.is-visible.ytd-service-card:hover,
.ytd-reveal.is-visible.ytd-feature:hover,
.ytd-reveal.is-visible.testi-box8:hover,
.ytd-reveal.is-visible.ytd-project-card:hover {
  transform: translateY(-4px);
  transition-delay: 0ms;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ytd-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Testimonial cards in a grid: equal height, quote text first */
#testi-sec .testi-box8 {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

#testi-sec .testi-box8 .testi-box8_text {
  padding-right: 48px;
}

/* The template's rotated 150px quote block is made for a wide slider; in a grid it covers the client name. */
#testi-sec .testi-box8 .testi-quote {
  top: 24px;
  right: 24px;
  bottom: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  line-height: 44px;
  border-radius: 12px;
  text-align: center;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

#testi-sec .testi-box8 .testi-quote img {
  width: 20px;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

.ytd-service-card__tagline {
  color: var(--theme-color);
  font-weight: 600;
  margin-bottom: 8px;
}

.ytd-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 129, 57, 0.12);
  color: var(--theme-color3);
  font-size: 13px;
  font-weight: 600;
}

/* Stats grid */
.ytd-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
}

.ytd-stats__item {
  padding: 32px 24px;
  border-radius: 20px;
  background: #F2F6FF;
  text-align: center;
}

.ytd-stats__value {
  display: block;
  font-family: var(--title-font);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: var(--theme-color);
}

.ytd-stats__label {
  display: block;
  margin-top: 8px;
  color: var(--title-color);
  font-weight: 500;
}

/* Process steps summary */
.ytd-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ytd-steps__item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #E3E7F0;
}

.ytd-steps__item:last-child {
  border-bottom: none;
}

.ytd-steps__number {
  flex: 0 0 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--theme-color);
  color: #fff;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 18px;
}

.ytd-steps__title {
  font-size: 20px;
  margin-bottom: 4px;
}

.ytd-steps__text {
  margin-bottom: 0;
}

/* Inner page header (breadcrumb) */
.ytd-page-header {
  padding-top: 220px;
  padding-bottom: 110px;
}

.ytd-page-header .breadcumb-title,
.ytd-page-header .breadcumb-menu li,
.ytd-page-header .breadcumb-menu a {
  color: #fff;
}

/* Detailed talent card */
.ytd-talent-card--detailed .team-img {
  position: relative;
}

.ytd-availability {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.ytd-availability--available {
  background: #1f9d55;
}

.ytd-availability--busy {
  background: #d97706;
}

.ytd-availability--unavailable {
  background: #6b7280;
}

/* Team cards have a theme-colored content area, so the position text must be light */
.ytd-talent-card__position {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.8);
}

.ytd-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.ytd-skill-tags li {
  padding: 3px 10px;
  border-radius: 999px;
  background: #F2F6FF;
  color: var(--title-color);
  font-size: 13px;
}

/* Pillar filter pills */
.ytd-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ytd-filter__item {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #E3E7F0;
  color: var(--title-color);
  font-weight: 500;
}

.ytd-filter__item:hover,
.ytd-filter__item.is-active {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

/* Talent profile lists (education, certification, achievement) */
.ytd-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ytd-list > li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid #E3E7F0;
}

.ytd-list > li:last-child {
  border-bottom: none;
}

.ytd-list--media > li {
  flex-direction: row;
  gap: 16px;
}

.ytd-list--media > li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ytd-list__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}

.ytd-list__meta {
  color: var(--body-color);
  font-size: 14px;
}

.ytd-skill-tags a {
  color: inherit;
}

#talent-profile .about-card_img .ytd-initials {
  font-size: 96px;
  border-radius: 20px;
}

/* Public forms */
.ytd-form label,
.ytd-form__legend {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--title-color);
}

/* Visible fields on a white page (the template expects a grey section behind its contact form) */
.ytd-form .form-control,
.ytd-form .form-select {
  padding-left: 18px;
  padding-right: 18px;
  border: 1px solid #DCE1EC;
  border-radius: 10px;
  background-color: #F7F9FD;
  color: var(--title-color);
}

.ytd-form .form-select {
  padding-right: 44px;
  background-position: right 18px center;
}

.ytd-form .form-control:focus,
.ytd-form .form-select:focus {
  border-color: var(--theme-color);
  background-color: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-color) 15%, transparent);
}

.ytd-form .form-control.is-invalid,
.ytd-form .form-select.is-invalid {
  border-color: #dc3545;
}

.ytd-form textarea.form-control {
  padding-top: 14px;
}

.ytd-form input[type="file"].form-control {
  height: auto;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* The template hides checkboxes/radios and draws them on a sibling label; our inputs sit inside the label. */
.ytd-form input[type="checkbox"],
.ytd-form input[type="radio"] {
  display: inline-block;
  visibility: visible;
  opacity: 1;
  position: static;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  -webkit-appearance: auto;
  appearance: auto;
  cursor: pointer;
}

.ytd-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.ytd-choice-grid--talents {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ytd-form .ytd-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #E3E7F0;
  border-radius: 12px;
  background: #fff;
  font-weight: 500;
  cursor: pointer;
}

.ytd-choice input {
  margin-top: 4px;
  accent-color: var(--theme-color);
}

.ytd-choice:has(input:checked) {
  border-color: var(--theme-color);
  background: #F2F6FF;
}

.ytd-choice small {
  display: block;
  color: var(--body-color);
  font-weight: 400;
}

.ytd-form .ytd-consent {
  display: flex;
  gap: 10px;
  font-weight: 400;
}

.ytd-consent input {
  margin-top: 5px;
  accent-color: var(--theme-color);
}

/* Thank-you page */
.ytd-thanks__icon {
  font-size: 56px;
  color: #1f9d55;
  margin-bottom: 12px;
}

.ytd-thanks__ref {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  background: #F2F6FF;
  color: var(--theme-color);
  font-family: var(--title-font);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 1px;
}

.ytd-summary {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 24px;
  margin-top: 20px;
}

.ytd-summary dt {
  font-weight: 600;
  color: var(--title-color);
}

.ytd-summary dd {
  margin: 0;
}

@media (max-width: 575px) {
  .ytd-summary {
    grid-template-columns: 1fr;
  }

  .ytd-summary dd {
    margin-bottom: 8px;
  }
}

/* Feature box (process highlights, values) */
.ytd-feature {
  height: 100%;
  padding: 32px 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 29, 56, 0.06);
}

/* Outline button for light backgrounds (template style2/style5 are invisible on white) */
.th-btn.ytd-btn-outline {
  background-color: transparent;
  color: var(--theme-color);
  border: 1px solid var(--theme-color);
}

.th-btn.ytd-btn-outline:hover,
.th-btn.ytd-btn-outline:focus-visible {
  color: #fff;
  background-color: var(--theme-color);
  border-color: var(--theme-color);
}

.ytd-skill-tags--spaced {
  margin-bottom: 40px;
}

/* Skill bars: level label on the title row (the template floats it mid-bar) */
.ytd-skill {
  margin-bottom: 22px;
}

.ytd-skill__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ytd-skill__name {
  display: inline-flex;
  align-items: center;
  font-family: var(--title-font);
  font-weight: 600;
  color: var(--title-color);
}

.ytd-skill__level {
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-color);
  white-space: nowrap;
}

.ytd-skill__track {
  height: 8px;
  border-radius: 999px;
  background: #E3E7F0;
  overflow: hidden;
}

.ytd-skill__bar {
  height: 100%;
  border-radius: 999px;
  background: var(--theme-color);
}

/* Experience: show the start year as a pill instead of the template's small "1st" circle */
.experience-box .experience-box_num {
  position: static;
  display: inline-block;
  width: auto;
  height: auto;
  margin-bottom: 10px;
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

/* Admin rich text */
.ytd-richtext ul,
.ytd-richtext ol {
  padding-left: 20px;
}

.ytd-richtext h2,
.ytd-richtext h3 {
  margin-top: 24px;
}

/*
 * Mouse follower (template .cursor dot + .cursor2 ring, moved by the GSAP code in main.js).
 * ytd.js adds .is-hovering over links and buttons. Hidden on touch devices and for reduced motion.
 */
.cursor2 {
  transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.cursor2.is-hovering {
  width: 54px;
  height: 54px;
  border-color: transparent;
  background-color: color-mix(in srgb, var(--theme-color) 14%, transparent);
}

.cursor.is-hovering {
  opacity: 0;
}

.cursor.is-hidden,
.cursor2.is-hidden {
  opacity: 0;
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor,
  .cursor2 {
    display: none !important;
  }
}

/* Floating WhatsApp button */
.ytd-wa-button {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ytd-wa-button:hover,
.ytd-wa-button:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.ytd-wa-button i {
  font-size: 24px;
}

@media (max-width: 575px) {
  .ytd-wa-button {
    padding: 14px;
  }

  .ytd-wa-button__label {
    display: none;
  }
}
