/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
  /**
   * colors
   */

  --blue-green-color-wheel_60: hsla(165, 77%, 17%, 0.6);
  --blue-green-color-wheel_10: hsla(165, 77%, 17%, 0.1);
  --blue-green-color-wheel: hsl(165, 77%, 17%);
  --black-chocolate: hsl(32, 24%, 14%);
  --spanish-gray: hsl(210, 3%, 62%);
  --orange-web: hsl(38, 100%, 50%);
  --davys-gray: hsl(213, 5%, 34%);
  --light-gray: hsl(0, 0%, 80%);
  --msu-green: #052428;
  --cultured: hsl(30, 22%, 96%);
  --white_15: hsl(0, 0%, 100%, 0.15);
  --white: hsl(0, 0%, 100%);
  --onyx: hsl(210, 10%, 23%);

  /**
   * typography
   */

  --ff-montserrat: "Montserrat", sans-serif;
  --ff-playfair: "Playfair Display", serif;

  --fs-1: 3.6rem;
  --fs-2: 2.4rem;
  --fs-3: 2.2rem;
  --fs-4: 2rem;
  --fs-5: 1.5rem;
  --fs-6: 1.4rem;
  --fs-7: 1.3rem;

  --fw-700: 700;
  --fw-600: 600;
  --fw-500: 500;

  /**
   * spacing
   */

  --section-padding: 60px;

  /**
   * shadow
   */

  --shadow-1: 0 2px 30px hsla(0, 0%, 0%, 0.1);
  --shadow-2: 2px 4px 8px hsla(215, 20%, 16%, 0.15);

  /**
   * border radius
   */

  --radius-2: 2px;
  --radius-10: 10px;
  --radius-50: 50px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --transition-3: 1s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

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

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
span,
input,
button,
ion-icon {
  display: block;
}

img {
  height: auto;
}

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input {
  width: 100%;
}

button {
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

address {
  font-style: normal;
}

html {
  font-family: var(--ff-montserrat);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--davys-gray);
  font-size: 1.6rem;
  line-height: 1.75;
}

:focus-visible {
  outline-offset: 4px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: hsl(0, 0%, 98%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 70%);
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  padding-inline: 15px;
}

.btn {
  color: var(--white);
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  max-width: max-content;
  padding: 8px 20px;
  border-radius: var(--radius-50);
  transition: var(--transition-1);
}

.btn-primary,
.btn-secondary:is(:hover, :focus) {
  background: linear-gradient(180deg, #009356 0%, #007a49 100%);
}

.btn-secondary,
.btn-primary:is(:hover, :focus) {
  background: linear-gradient(180deg, #009356 0%, #007a49 100%);
}

.h1,
.h2,
.h3 {
  color: var(--black-chocolate);
  font-family: var(--ff-playfair);
  line-height: 1.1;
}

.h1 {
  font-size: var(--fs-1);
}

.h2 {
  font-size: var(--fs-2);
}

.h3 {
  font-size: var(--fs-4);
}

.grid-list {
  display: grid;
  gap: 50px;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #1a6e42 0%, #2d9e60 40%, #a8e6c0 100%);
  box-shadow: none;
  padding-block: 15px;
  z-index: 10;
  transition: var(--transition-1);
}

.header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.header .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px #0a4d3c;
}
.logo img {
  width: 315px;
}
/*-----------------------------------*\
  #New design Section hero
\*-----------------------------------*/

/* ── NAV ── */
.diy-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
}
.diy-logo {
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
}
.diy-logo span {
  color: #a8ffcc;
}
.diy-login {
  background: #1d6e42;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.diy-login:hover {
  background: #155233;
}

/* ── HERO ── */
.diy-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a6e42 0%, #2d9e60 40%, #a8e6c0 100%);
  padding: 150px 90px;
}

/* SVG canvas */
.diy-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.diy-grid {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.diy-line1 {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: diy-draw 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite 0.5s;
}
.diy-line2 {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1.5;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: diy-draw 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite 0.8s;
}
.diy-area {
  fill: url(#diy-ag);
  opacity: 0;
  animation: diy-fi 1s ease forwards 2.5s;
}
.diy-dot {
  fill: #fff;
  opacity: 0;
  animation: diy-pd 0.4s ease forwards;
}
.diy-dot:nth-child(1) {
  animation-delay: 2.8s;
}
.diy-dot:nth-child(2) {
  animation-delay: 3s;
}
.diy-dot:nth-child(3) {
  animation-delay: 3.2s;
}
.diy-dot:nth-child(4) {
  animation-delay: 3.4s;
}

/* Decorative circle */
.diy-circle {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.diy-circle::before {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Floating cards */
.diy-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 14px 18px;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  animation: diy-fu 0.7s ease forwards, diy-bob 4s ease-in-out infinite;
}
.diy-card-1 {
  top: 20%;
  right: 8%;
  animation-delay: 0.9s, 1.6s;
}
.diy-card-2 {
  bottom: 18%;
  right: 22%;
  animation-delay: 1.2s, 1.9s;
}
.diy-card-3 {
  top: 50%;
  right: 5%;
  animation-delay: 1.5s, 2.2s;
}
.diy-clabel {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.diy-cval {
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 900;
}
.diy-cchg {
  font-size: 12px;
  font-weight: 500;
  margin-top: 2px;
}

/* Hero text */
.diy-content {
  position: relative;
  z-index: 5;
  padding: 60px 48px 60px;
  max-width: 560px;
}

.diy-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: diy-fu 0.6s ease forwards 0.2s;
}
.diy-tdot {
  width: 6px;
  height: 6px;
  background: #a8ffcc;
  border-radius: 50%;
  animation: diy-blink 2s infinite;
}

.diy-h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  opacity: 0;
  animation: diy-fu 0.7s ease forwards 0.35s;
}
.diy-h1 em {
  color: #a8ffcc;
  font-style: italic;
}

.diy-sub {
  font-size: 16.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin: 0 0 36px;
  opacity: 0;
  animation: diy-fu 0.7s ease forwards 0.5s;
}

.diy-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  opacity: 0;
  animation: diy-fu 0.7s ease forwards 0.65s;
}
.diy-btn-w {
  background: #fff;
  color: #1a6e42;
  border: none;
  padding: 15px 32px;
  border-radius: 100px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.diy-btn-w:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px #a8e6c0;
}
.diy-btn-g {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  padding: 15px 28px;
  border-radius: 100px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.diy-btn-g:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Stats */
.diy-stats {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  opacity: 0;
  animation: diy-fu 0.7s ease forwards 0.8s;
}
.diy-snum {
  font-family: "Fraunces", serif;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
}
.diy-snum sup {
  font-size: 0.55em;
  color: #a8ffcc;
}
.diy-slbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}
.diy-sdiv {
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  align-self: stretch;
}

/* Keyframes */
@keyframes diy-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes diy-fi {
  to {
    opacity: 1;
  }
}
@keyframes diy-pd {
  0% {
    opacity: 0;
  }
  70% {
    r: 7px;
  }
  100% {
    opacity: 1;
    r: 5px;
  }
}
@keyframes diy-fu {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes diy-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes diy-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Mobile Hero - Section 1 */
@media (max-width: 768px) {
  .logo img {
    width: 256px;
  }

  .diy-cta {
    display: inline-flex;
  }
  .diy-btn-w {
    padding: 15px 48px;
  }
  .diy-hero {
    min-height: 100vh;
    padding: 110px 24px 0px !important;
    text-align: center;
  }

  .diy-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh; /* Limit SVG height */
    max-height: 18em;
  }

  .diy-content {
    padding: 0 !important;
    max-width: 100%;
    margin-top: 44px;
  }

  .diy-circle,
  .diy-card {
    display: none !important; /* Hide distractions */
  }

  .diy-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
  }
}

/*-----------------------------------*\
  #Section 2 Questions
\*-----------------------------------*/

.tm {
  padding: 60px 48px;
  background: linear-gradient(135deg, #1a6e42 0%, #2d9e60 0%, #a8e6c0 62%);
  font-family: "DM Sans", sans-serif;
}

.tm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px 20px;
  max-width: 1100px;
  margin: 0 auto 30px;
}

/* Flip wrapper */
.tm-card {
  perspective: 1000px;
  min-height: 200px;
  cursor: default;
}

.tm-inner {
  position: relative;
  width: 100%;
  height: 85%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
}
.tm-card:hover .tm-inner {
  transform: rotateY(180deg);
}

.tm-front,
.tm-back {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 24px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
}

/* Front — glassmorphism dark with large number */
.tm-front {
  background: #fff;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 20px 20px 50px #000;
}
.tm-front::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(61, 220, 132, 0.2);
}

.tm-num {
  font-family: "Fraunces", serif;
  font-size: 25px;
  font-weight: 900;
  color: rgb(74 224 141 / 70%);
  line-height: 1;
  margin: 0;
}

.tm-question {
  font-size: 20px;
  font-weight: 600;
  color: #1e533c;
  line-height: 1.55;
  margin: 12px 0 0;
  flex: 1;
}

.tm-tag {
  display: inline-block;
  margin-top: 14px;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3ddc84;
  border: 1px solid rgba(61, 220, 132, 0.3);
  border-radius: 100px;
  padding: 3px 10px;
}

/* Back — dark with green border */
.tm-back {
  background: linear-gradient(180deg, #009356 0%, #007a49 100%);
  box-shadow: 0 8px 28px #000;
  transform: rotateY(180deg);
  justify-content: center;
}
.tm-answer {
  font-size: 19px;
  color: #fff;
  line-height: 1.7;
  margin: 0;
}

.tm-footer,
.tm-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.tm-footer h3 {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: #000;
  line-height: 1.45;
  margin: 0;
  letter-spacing: -0.01em;
}
.tm-footer h3 em {
  color: #009356;
  font-style: italic;
}
.tm-header h3 {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  line-height: 1.45;
  margin: 0;
  letter-spacing: -0.01em;
}
.tm-header h4 {
  font-size: 24px;
  padding-bottom: 24px;
}
.tm-header h4 em {
  color: #fff;
  font-style: italic;
}

@media (max-width: 900px) {
  .tm-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tm {
    padding: 60px 24px;
  }
  .tm-header h3 {
    font-size: 30px;
  }
}
@media (max-width: 600px) {
  .tm-grid {
    grid-template-columns: 1fr;
  }
}
/* Section 2 TM Cards - Scroll Wiggle */
.tm-card {
  transform: translateY(0) rotate(0deg);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tm.wiggle .tm-card:nth-child(1) {
  animation: wiggle1 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.tm.wiggle .tm-card:nth-child(2) {
  animation: wiggle2 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.05s;
}
.tm.wiggle .tm-card:nth-child(3) {
  animation: wiggle3 0.65s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.1s;
}
.tm.wiggle .tm-card:nth-child(4) {
  animation: wiggle4 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.15s;
}
/* Continue for all 9 cards */
.tm.wiggle .tm-card:nth-child(5) {
  animation: wiggle1 0.7s 0.25s;
}
.tm.wiggle .tm-card:nth-child(6) {
  animation: wiggle2 0.65s 0.3s;
}
.tm.wiggle .tm-card:nth-child(7) {
  animation: wiggle3 0.6s 0.35s;
}
.tm.wiggle .tm-card:nth-child(8) {
  animation: wiggle4 0.7s 0.4s;
}
.tm.wiggle .tm-card:nth-child(9) {
  animation: wiggle1 0.65s 0.45s;
}

@keyframes wiggle1 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  20% {
    transform: translateY(-4px) rotate(-1deg);
  }
  40% {
    transform: translateY(-2px) rotate(1deg);
  }
  60% {
    transform: translateY(-1px) rotate(-0.5deg);
  }
  80% {
    transform: translateY(1px) rotate(0.5deg);
  }
}

@keyframes wiggle2 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-3px) rotate(0.8deg);
  }
  50% {
    transform: translateY(-1px) rotate(-0.8deg);
  }
  75% {
    transform: translateY(2px) rotate(0.3deg);
  }
}

@keyframes wiggle3 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  15% {
    transform: translateY(-5px) rotate(-1.2deg);
  }
  35% {
    transform: translateY(0px) rotate(1deg);
  }
  55% {
    transform: translateY(-2px) rotate(-0.7deg);
  }
  75% {
    transform: translateY(1px) rotate(0.5deg);
  }
}

@keyframes wiggle4 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  20% {
    transform: translateY(-2px) rotate(1deg);
  }
  45% {
    transform: translateY(2px) rotate(-1deg);
  }
  70% {
    transform: translateY(-1px) rotate(0.5deg);
  }
}
/* Section 2 TM Cards - Scroll Wiggle */
/*-----------------------------------*\
  #Section 3
\*-----------------------------------*/
.pv {
  background: #0b1512;
  background-image: radial-gradient(
      ellipse 70% 60% at 80% 10%,
      rgba(20, 80, 50, 0.45) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 50% 50% at 10% 90%,
      rgba(20, 60, 40, 0.25) 0%,
      transparent 60%
    );
  padding: 50px 48px;
  color: #e8f0eb;
}

.pv-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 20px 100px;
  gap: 15em;
}

.pv-title {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 40px;
}
.pv-word {
  font-family: "Fraunces", serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #e8f0eb;
  margin: 0;
  display: inline-flex;
  margin-bottom: 10px;
}
.pv-word.pv-g {
  color: #3ddc84;
  font-style: italic;
}
.pv-dot {
  color: #3ddc84;
}
.pv-g .pv-dot {
  color: #e8f0eb;
}

.pv-steps {
  display: flex;
  flex-direction: column;
}
.pv-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  transition: padding-left 0.25s;
  cursor: default;
  align-items: center;
}
.pv-step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.pv-step:hover {
  padding-left: 6px;
}
/* .pv-icon {
  width: 48px;
  height: 48px;
  background: rgba(29, 80, 55, 0.55);
  border: 1px solid rgba(61, 220, 132, 0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
} */
.pv-image {
  width: 48px;
  height: 48px;
}
.pv-sname {
  font-weight: 600;
  margin: 0 0 4px;
  color: #e8f0eb;
}
.pv-sdesc {
  color: #6b7f74;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

.pv-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.pv-tagline {
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #e8f0eb;
  margin: 0;
}
.pv-tagline em {
  color: #3ddc84;
  font-style: italic;
  display: block;
}
.pv-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  color: #a8bdb4;
  margin: 0;
}
.pv-sub strong {
  color: #e8f0eb;
  font-weight: 600;
}
/* PV Section 3 - Scroll Animation */
.pv .pv-hero > div:first-child,
.pv .pv-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.pv.visible .pv-hero > div:first-child,
.pv.visible .pv-right {
  opacity: 1;
  transform: translateY(0);
}

/* Steps slide in */
.pv-step {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.pv.visible .pv-step:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: -0.2s;
}
.pv.visible .pv-step:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}
.pv.visible .pv-step:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: -0.5s;
}

/* Title words */
.pv-title .pv-word {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}

.pv.visible .pv-title .pv-word:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.pv.visible .pv-title .pv-word:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}
.pv.visible .pv-title .pv-word:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.pv:not(.visible) .pv-step,
.pv:not(.visible) .pv-word,
.pv:not(.visible) .pv-hero > div:first-child,
.pv:not(.visible) .pv-right {
  transition: all 0.6s ease !important; /* Smooth exit */
}
/* PV Section 3 - Scroll Animation End */

/* Mobile Section 3 */
@media (max-width: 768px) {
  .pv {
    padding: 48px 30px !important;
  }

  .pv-hero {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 0 !important;
  }

  .pv-title {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
  }

  .pv-word {
    font-size: 36px !important;
    margin-bottom: 0 !important;
  }

  .pv-steps {
    max-width: 400px;
    margin: 0 auto 32px;
  }

  .pv-step {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .pv-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* iPad/Tablet (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .pv {
    padding: 60px 32px !important;
  }

  .pv-hero {
    grid-template-columns: 1fr 1fr !important;
    gap: 48px !important;
    padding: 0 40px !important;
  }

  .pv-tagline {
    font-size: 36px !important;
  }

  .pv-steps {
    max-width: 320px;
  }
}

.quiz_bg {
  background: linear-gradient(135deg, #1a6e42 0%, #2d9e60 0%, #a8e6c0 62%);
}
/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer-link:is(:hover, :focus),
.footer-bottom-link:is(:hover, :focus) {
  color: #3ddc84;
}

.footer-bottom {
  background: linear-gradient(135deg, #1a6e42 0%, #2d9e60 40%, #a8e6c0 100%);
  color: var(--white);
  font-size: var(--fs-5);
  text-align: center;
  padding-block: 50px;
  font-weight: 500;
}

.copyright {
  margin-block-end: 25px;
}

.copyright :is(.copyright-link, ion-icon) {
  display: inline-block;
  color: #a8ffcc;
  font-weight: 600;
}

.copyright ion-icon {
  font-size: 18px;
  margin-block-end: -4px;
}

.copyright-link:is(:hover, :focus) {
  text-decoration: underline;
}

.footer-bottom-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 10px;
}

.footer-bottom-item {
  position: relative;
  display: flex;
  align-items: center;
}

.footer-bottom-item:not(:last-child)::after {
  content: "|";
  margin-inline: 10px;
}

.footer-bottom-link {
  transition: var(--transition-1);
}

.social-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
}

.social-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-list li {
  margin-left: 20px;
}
.social-link {
  margin-top: 0.5rem;
}

/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: #038951;
  color: var(--white);
  font-size: 20px;
  padding: 10px;
  border-radius: 50%;
  box-shadow: var(--shadow-1);
  transition: var(--transition-1);
  z-index: 4;
}

.back-top-btn:is(:hover, :focus) {
  background-color: var(--onyx);
}

.back-top-btn.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(-10px);
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 575px screen
 */

@media (min-width: 575px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 5.6rem;
    --fs-2: 3.6rem;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
  }

  .btn {
    padding: 10px 30px;
  }

  /**
   * HERO
   */

  .hero {
    padding-block: 170px 100px;
  }

  .hero-text {
    font-size: var(--fs-4);
  }

  .hero .btn {
    margin-block: 25px 80px;
  }

  .hero .social-title {
    --fs-6: 1.6rem;
  }

  .hero .social-link {
    padding: 15px;
  }

  /**
   * SERVICE
   */

  .service-card {
    max-width: 380px;
    margin-inline: auto;
  }

  .service-card .card-icon {
    padding: 50px;
  }

  .service-card .card-icon img {
    width: 70px;
  }

  .service-card .card-icon::before,
  .service-card:is(:hover, :focus-within, .active) .card-icon::after {
    transform: translateY(150px);
  }

  .service-card .card-icon::after {
    transform: translateY(180px);
  }

  .service-card .h3 {
    --fs-4: 3.5rem;
  }

  /**
   * Section3 Questions
   */

  .questions .grid-list {
    grid-template-columns: 1fr 1fr;
  }

  /**
   * FOOTER
   */

  .footer-list:first-child {
    grid-column: 1 / 4;
  }
}

/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 6.4rem;
    --fs-2: 5.7rem;

    /**
     * spacing
     */

    --section-padding: 80px;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 720px;
  }

  /**
   * HEADER
   */

  /* .logo {
    font-size: 35px;
  } */

  /**
   * HERO
   */

  .hero-title {
    max-width: 15ch;
  }

  /**
   * SERVICE
   */

  .service .grid-list {
    grid-template-columns: 1fr 1fr;
  }

  /**
   * Section3 Questions
   */

  .questions-card .card-price {
    width: 80px;
    height: 80px;
    font-size: var(--fs-4);
    margin-block-start: -100px;
  }

  .questions-card .h3 {
    --fs-4: 2.4rem;
  }

  .questions-card .card-content {
    padding: 30px;
    padding-block-end: 25px;
  }
}

/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * spacing
     */

    --section-padding: 100px;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 960px;
  }

  .btn {
    font-size: unset;
    padding: 13px 40px;
  }

  :is(.service, .questions, .blog) .grid-list {
    grid-template-columns: repeat(3, 1fr);
  }

  /**
   * Section 2 Questions
   */

  .service .grid-list {
    gap: 0;
  }

  .service .grid-list > li:nth-child(2) {
    border-inline: 1px solid var(--cultured);
  }

  .service-card .h3 {
    --fs-4: 3rem;
  }

  /**
   * FOOTER
   */

  .footer-list:first-child {
    grid-column: auto;
  }

  .footer-list-title {
    --fs-4: 2.4rem;
  }

  .footer-link,
  .address {
    --fs-6: 1.5rem;
  }

  .footer-bottom .container {
    display: block;
    margin-bottom: 3em;
  }

  .copyright {
    margin-block-end: 0;
  }
}

/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 8rem;

    /**
     * spacing
     */

    --section-padding: 75px;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1200px;
  }

  /**
   * HEADER
   */

  .header .container {
    gap: 35px;
  }

  /**
   * SERVICE
   */

  .service-card .h3 {
    --fs-4: 3.5rem;
  }

  .service-card .btn {
    opacity: 0;
  }

  .service-card:is(:hover, :focus-within, .active) .btn {
    opacity: 1;
  }

  /**
   * FOOTER
   */
}

@media screen and (min-width: 1440px) and (max-width: 1920px) {
  .hero {
    min-height: 803px;
  }
}

/*-CSS for mobile view*/
@media only screen and (min-width: 321px) and (max-width: 768px) {
  .hero {
    background-position: bottom;
  }
  .hero-section {
    margin: 5rem;
  }
}
/* Footer Mobile Responsiveness */
@media (max-width: 768px) {
  .footer-bottom {
    padding-block: 32px 24px !important; /* Smaller vertical padding */
    text-align: center;
  }

  .footer-bottom-list {
    flex-direction: column !important; /* Stack links vertically */
    gap: 8px !important;
    margin-block: 16px;
  }

  .footer-bottom-item {
    justify-content: center !important; /* Center links */
  }

  .footer-bottom-item:not(:last-child)::after {
    content: none !important; /* Remove separators on mobile */
  }

  .footer-bottom-link {
    font-size: 14px !important; /* Smaller links */
    padding: 6px 12px;
  }

  .social-wrapper {
    margin-top: 20px !important;
    flex-direction: column !important;
    gap: 12px;
  }

  .social-list {
    gap: 16px !important; /* Space social icons */
  }

  .social-list li {
    margin-left: 0 !important; /* Reset margins */
  }

  .social-link {
    font-size: 20px !important; /* Larger touch targets */
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .copyright {
    font-size: 13px !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
}

/* Very Small Screens */
@media (max-width: 480px) {
  .footer-bottom {
    padding-inline: 16px !important;
  }

  .social-list {
    gap: 12px !important;
  }
}
/* ── AUTH MODAL & HEADER USER STATE ─────────────────────────────
   Append to assets/css/style.css
   All classes prefixed auth- — no conflicts
   ─────────────────────────────────────────────────────────────── */

/* Header user state */
.auth-user-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green, #2d6a4f);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-username {
  font-size: 14px;
  font-weight: 600;
  color: var(--black, #1a1a1a);
}

.auth-logout-btn {
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.auth-logout-btn:hover {
  border-color: #d62828;
  color: #d62828;
}

/* ── OVERLAY ── */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.auth-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ── MODAL ── */
.auth-modal {
  background: #fff;
  border-radius: 20px;
  padding: 36px 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  animation: auth-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes auth-pop {
  from {
    transform: scale(0.92) translateY(16px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Close */
.auth-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.auth-close:hover {
  color: #333;
}

/* Tabs */
.auth-tabs {
  display: flex;
  gap: 4px;
  background: #f4f4f4;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 9px;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.auth-tab.active {
  background: #fff;
  color: #1b4332;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Headings */
.auth-heading {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 900;
  color: #1b4332;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.auth-sub {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}

/* Google button */
.auth-google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-google-btn:hover {
  border-color: #aaa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  color: #ccc;
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e8e8e8;
}

/* Form fields */
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
  position: relative;
}

.auth-field label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-field input {
  padding: 12px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.auth-field input:focus {
  border-color: #2d6a4f;
  background: #fff;
}

/* Forgot password */
.auth-forgot {
  background: none;
  border: none;
  font-size: 12px;
  color: #2d6a4f;
  cursor: pointer;
  text-align: right;
  padding: 0;
  margin-top: 4px;
  align-self: flex-end;
  text-decoration: underline;
}

/* Error message */
.auth-error {
  font-size: 13px;
  color: #c0392b;
  min-height: 18px;
  margin-bottom: 10px;
}

/* Submit button */
.auth-submit-btn {
  width: 100%;
  background: #1b4332;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: inherit;
  margin-bottom: 14px;
}
.auth-submit-btn:hover {
  background: #2d6a4f;
  transform: translateY(-1px);
}

/* Switch tab text */
.auth-switch {
  text-align: center;
  font-size: 13px;
  color: #888;
}
.auth-switch button {
  background: none;
  border: none;
  color: #2d6a4f;
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
  padding: 0;
}

/* Loading panel */
.auth-loading-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  text-align: center;
  color: #555;
  font-size: 14px;
}

.auth-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e0e0e0;
  border-top-color: #2d6a4f;
  border-radius: 50%;
  animation: auth-spin 0.7s linear infinite;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .auth-modal {
    padding: 28px 22px;
    margin: 0 16px;
  }
}
