/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&family=Poppins:wght@600;800&display=swap');

/* ===== RESET / BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif; /* body text */
  background-color: #fff;
  color: #111;


}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 3rem;
  background-color: rgba(0, 0, 0, 0.85);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: top 0.3s ease;
  backdrop-filter: blur(5px);
}

.navbar.hidden {
  top: -140px;
}

/* ===== LOGO ===== */
.logo {
  position: relative;
  height: 0;
  z-index: 1001;
}

.logo img {
  height: 130px;
  width: auto;
  position: absolute;
  top: -30px;
  left: -30px; /* adjust this number until it looks right */
}

/* ===== NAV LINKS ===== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* STANDARD NAV LINKS (NOT BUTTONS) */
.nav-links a:not(.btn) {
  position: relative;
  color: #ff4d00;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  padding: 0.25rem 0;
}

/* UNDERLINE ONLY FOR NON-BUTTON LINKS */
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #ff4d00;
  transition: width 0.25s ease;
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* ACTIVE PAGE LINK */
.nav-links a.active:not(.btn)::after {
  width: 100%;
}

/* ===== BUTTON LINK ===== */
.nav-links .btn {
  background-color: #39ff14;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 60px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(57, 255, 20, 0.65); /* thin neon border */
  transition: all 0.3s ease;

    /* stronger always-on glow */
  box-shadow:
    0 0 6px rgba(57, 255, 20, 0.55),
    0 0 12px rgba(57, 255, 20, 0.35),
    inset 0 0 6px rgba(57, 255, 20, 0.45);}

/* hover = stronger glow */
.nav-links .btn:hover {
  background-color: #39ff14;
  color: #000;
  box-shadow:
    0 0 10px rgba(57, 255, 20, 0.75),
    0 0 22px rgba(57, 255, 20, 0.5),
    inset 0 0 10px rgba(57, 255, 20, 0.55);
}


/* ===== RESPONSIVE NAVBAR ===== */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
  }

  /* ===== MOBILE LOGO ===== */
  .logo {
    height: auto;
  }

  .logo img {
    height: 65px;
    position: static;
    display: block;
    margin-left: -30px;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0,0,0,0.95);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.3s ease;
    text-align: center;
    gap: 1.5rem;
    padding: 0;
    font-size: 1.2rem;
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a:not(.btn) {
    font-size: 1.3rem;
  }

  .nav-links .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
  }

  .nav-links.active {
    max-height: 500px;
    padding: 1rem 0;
  }
}

/* HIDE HAMBURGER ON DESKTOP */
@media (min-width: 865px) {
  .menu-toggle {
    display: none;
  }
}

/* ================= ANIMATIONS ================= */
@keyframes fadeSlideUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 115vh;
  background-image: url('./images/hero_color.jpg');
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 305px 10% 0 10%;
  color: #fff;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-content {
  position: relative;
  max-width: 600px;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Hero text/buttons */
.hero h1 {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800; /* bold like contact hero */
  line-height: 1.3;
  margin-bottom: 30px;
  text-align: left;
}

.hero h1 .line1,
.hero h1 .line2 {
  display: block;
}

/* Gradient for "Love In." */
.hero h1 .highlight-love {
  /* Apply the gradient to the text itself */
  background: linear-gradient(
    90deg,
    #ff4d00,
    #ff4d00,  /* var(--orange-main) fallback */
    #ff4d00,  /* var(--orange-light) fallback */
    #ffa500   /* var(--orange-soft) fallback */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;  /* ensures gradient works */
  position: relative;
  z-index: 2;  /* above overlay */
}

.hero p {
  font-size: 1.2rem;
  color: #d1d5db; /* grey like contact hero */
  margin-bottom: 20px;
  text-align: left;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

/* BUTTONS */
.btn {
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 60px;
  text-decoration: none;
  transition: 0.3s ease;
}

/* Hero button styled like CTA */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d00, #ff6d21);
  color: #000;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(249,115,22,0.35);
  transition: all 0.25s ease;
  position: relative;
  z-index: 10;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff5a00, #ff6600);
  box-shadow: 
    0 10px 24px rgba(255,90,0,0.6),
    0 0 15px rgba(255,133,0,0.5);
  text-shadow: 0 0 8px rgba(255,133,0,0.6);
  transition: all 0.25s ease;
}

.btn-outline {
  border: 2px solid #39ff14;
  color: #39ff14;
  background: transparent;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 6px rgba(57, 255, 20, 0.4);
}

.btn-outline:hover {
  color: #39ff14;
  background: transparent;
  box-shadow:
    0 0 8px rgba(57, 255, 20, 0.6),
    0 0 16px rgba(57, 255, 20, 0.4),
    inset 0 0 8px rgba(57, 255, 20, 0.5);
  transition: all 0.3s ease;
}

/* ===== HERO RESPONSIVE ===== */

/* ===== HERO TABLET ADJUSTMENT ===== */
@media (max-width: 1100px) and (min-width: 769px) {

  .hero {
    padding-top: 475px; /* pushes text/buttons down more */
  }

}
@media (max-width: 768px) {
  :root {
    --hero-bg-size: 300%;       /* control background image size */
    --hero-bg-pos-x: 54.5%;       /* horizontal position */
    --hero-bg-pos-y: 5%;       /* vertical position */
  }

  .hero {
    background-size: var(--hero-bg-size);
    background-position: var(--hero-bg-pos-x) var(--hero-bg-pos-y);
    background-repeat: no-repeat;
    min-height: 90vh;
    background-attachment: scroll;
    background-position: 54.5% top;


    display: flex;
    justify-content: flex-end; /* pushes content to bottom */
    align-items: center;       /* center horizontally */
    flex-direction: column;
    text-align: center;        /* center text on mobile */
    padding: 0 0% 50px;      /* bottom spacing */
  }

  .hero h1 {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    line-height: 1.2;
    white-space: nowrap; /* force 1 line on mobile */
    text-align: center;  /* center text on mobile */
  }

  /* merge lines on mobile */
  .hero h1 .line1,
  .hero h1 .line2 {
    display: inline;
  }

  .hero h1 .highlight-love {
    color: #ff4d00;
  }

  .hero p {
    display: none; /* optional: hide paragraph */
  }

  .hero-buttons {
    gap: 12px;
    justify-content: center; /* center buttons on mobile */
  }
}

/* ================= HERO LOAD ANIMATION ================= */

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animate hero content only (not background) */
.hero-content {
  opacity: 0;
  animation: heroFadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

/* Optional: stagger text + buttons for premium feel */

.hero h1 {
  opacity: 0;
  animation: heroFadeUp 0.9s ease forwards;
  animation-delay: 0.4s;
}

.hero-buttons {
  opacity: 0;
  animation: heroFadeUp 1s ease forwards;
  animation-delay: 0.6s;
}

/* ===== BANNERS WRAPPER ===== */
.banners-wrapper {
  width: 100%;
  background-image: url('./images/sad_dog.jpg');
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

/* ===== BANNER GAP ===== */
.banner-gap {
  height: 20vw;
  min-height: 150px;
  max-height: 400px;
  background: transparent;
  position: relative;
  z-index: 0;
}

/* ===== PANEL VARIABLES ===== */
:root {
  --overhang:    110px;
  --img-width:   400px;
  --img-height:  520px;
  --panel-pad-v: 3.5rem;
}

/* ===== PANELS ===== */
.exercise-problems {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  background: rgba(9, 9, 14, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.55);
  padding-top: var(--panel-pad-v);
  padding-bottom: var(--panel-pad-v);
}

.exercise-problems .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5% 0 3%;
  display: flex;
  align-items: center;
  gap: 8rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 420px;
}

.exercise-problems.reverse .container {
  flex-direction: row-reverse;
  padding: 0 3% 0 5%;
}

/* ===== IMAGE COLUMN ===== */
.image-column {
  flex: 0 0 var(--img-width);
  width: var(--img-width);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: calc(-1 * var(--overhang) - var(--panel-pad-v));
  position: relative;
  z-index: 20;
  align-self: flex-end;
  margin-bottom: 0;
}

.image-frame {
  width: 100%;
  height: calc(var(--overhang) + var(--img-height));
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 32px 64px rgba(0,0,0,0.75),
    0 8px 20px rgba(0,0,0,0.45);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.image-frame:hover {
  transform: translateY(-6px);
  box-shadow:
    0 44px 76px rgba(0,0,0,0.80),
    0 12px 28px rgba(0,0,0,0.5);
}

.image-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.image-frame:hover img { transform: scale(1.03); }

.ps-problem-accent::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 5px; height: 100%;
  background: linear-gradient(to bottom, #ff4d00, #cc3d00);
  z-index: 3; border-radius: 22px 0 0 22px;
}

.ps-solution-accent::before {
  content: ""; position: absolute; top: 0; right: 0;
  width: 5px; height: 100%;
  background: linear-gradient(to bottom, #39ff14, #1a8a06);
  z-index: 3; border-radius: 0 22px 22px 0;
}

.image-tint {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(9,9,14,0.72) 0%,
    rgba(9,9,14,0.05) 40%,
    transparent 100%
  );
  z-index: 1;
}

.image-badge {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 0.32rem 0.88rem; border-radius: 999px;
  backdrop-filter: blur(8px); z-index: 4;
}

.badge-bad  { background: rgba(239,68,68,0.18); color: #fca5a5; border: 1px solid rgba(239,68,68,0.35); }
.badge-good { background: rgba(57,255,20,0.13);  color: #4ade80; border: 1px solid rgba(57,255,20,0.35); }

/* ===== TEXT COLUMN ===== */
.text-column {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.ps-eyebrow {
  font-size: 0.73rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; display: block;
}
.eyebrow-bad  { color: #f87171; }
.eyebrow-good { color: #4ade80; }

.text-column h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900; line-height: 1.1; color: #fff;
}

.text-column h2 span {
  background: linear-gradient(90deg, #ff4d00, #ff7a33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.text-column h2::after {
  content: ""; display: block; margin-top: 0.75rem;
  width: 50%; height: 3px; border-radius: 999px;
  background: linear-gradient(
    to right,
    rgba(255,77,0,0) 0%, rgba(255,77,0,0.9) 30%,
    rgba(255,77,0,0.9) 70%, rgba(255,77,0,0) 100%
  );
}

.ps-body {
  font-size: 1rem; line-height: 1.82;
  color: #9ca3af;
  max-width: 680px;
}

/* ===== PILL LIST ===== */
.benefits-list ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.55rem;
}

.benefits-list ul li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.95rem; line-height: 1.5;
  padding: 0.7rem 1rem; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  color: #cbd5e1;
}

.benefits-list ul li::before {
  flex-shrink: 0; font-weight: 700;
  font-size: 0.8rem; margin-top: 2px;
}

.exercise-problems:not(.reverse) .benefits-list ul li::before { content: "✕"; color: #f87171; }
.exercise-problems.reverse       .benefits-list ul li::before { content: "✓"; color: #4ade80; }

/* ===== ANIMATIONS ===== */
.animate-left  { opacity: 0; transform: translateX(-48px); transition: opacity 0.85s ease, transform 0.85s ease; }
.animate-right { opacity: 0; transform: translateX(48px);  transition: opacity 0.85s ease, transform 0.85s ease; }
.animate-left.active, .animate-right.active { opacity: 1; transform: translateX(0); }

/* ===== BANNER RESPONSIVE ===== */
@media (max-width: 1100px) {
  :root {
    --overhang:    80px;
    --img-width:   100%;
    --img-height:  360px;
    --panel-pad-v: 2.5rem;
  }

  .exercise-problems .container,
  .exercise-problems.reverse .container {
    flex-direction: column;
    padding: 0 7%;
    gap: 2rem;
    min-height: unset;
  }

  .image-column {
    width: 100%; max-width: 520px;
    margin: calc(-1 * var(--overhang)) auto 0;
    align-self: auto;
  }

  .text-column { flex: 0 0 auto; width: 100%; }
  .ps-body { max-width: 100%; }
}

@media (max-width: 768px) {


  :root {
    --overhang:    55px;
    --img-height:  270px;
    --panel-pad-v: 2rem;
  }

  .image-frame { border-radius: 16px; }
  .banner-gap  { height: 50vw; min-height: 110px; }

  .banners-wrapper {
      background-image: url('./images/sad_dog.jpg'); /* double check this matches exactly */
    background-attachment: scroll;
    background-size: 120% auto;   /* ← width% then auto height */
    background-repeat: no-repeat;


  }


  .exercise-problems .container,
  .exercise-problems.reverse .container { padding: 0 6%; }
}
/* ======================================================
   HOW IT WORKS SECTION
====================================================== */
.how-it-works {
  position: relative;
  width: 100%;
  padding: 4rem 5% 0;
  box-sizing: border-box;
  overflow: visible;
  background: none;
}

.how-it-works::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(173, 216, 230, 0.6) 0%,
      rgba(173, 216, 230, 0.3) 25%,
      rgba(173, 216, 230, 0.1) 37%,
      rgba(0, 123, 255, 0.1) 50%,
      rgba(0, 0, 0, 0.7) 77%,
      rgba(0, 0, 0, 1) 100%
    ),
    url('images/snow running dog.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

/* ===== WRAPPER ===== */
.how-it-works-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 3;
}

/* ===== FLOATING HEADING ===== */
.how-it-works-heading {
  text-align: center;
  font-family: sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin: 2rem auto 3rem auto;
  z-index: 10;
}

.how-it-works-heading span {
  color: #ff4d00;
}

/* ===== GLASS BOX ===== */
.how-it-works-box {
  position: relative;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 4rem 2rem 2rem;
  margin: 0 auto -6rem; /* hang into next section */
  max-width: 1200px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.6),
    0 0 60px rgba(255,77,0,0.15);
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ===== RADIAL GLOW ===== */
.how-it-works-box::before {
  content: "";
  position: absolute;
  inset: -100px;
  background: radial-gradient(circle, rgba(255,77,0,0.15), transparent 60%);
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
}

/* ===== CONTENT ABOVE CARDS ===== */
.how-it-works-content {
  position: absolute;
  top: 3.8rem;

  left: 42.333%;
  max-width: 36rem;

  text-align: left;
  z-index: 5;
}


.how-it-works-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.how-it-works-content p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
}

/* ===== STEPS GRID ===== */
.steps-grid ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
  gap: 4rem;
  padding-left: 4%;
  padding-right: 4%;
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;

  justify-items: center; /* ADDED – safe centering */
}
.steps-grid li {
  position: relative;
  border-radius: 22px;
  padding: 2.5rem 2rem;
  text-align: center;
  overflow: visible;

  /* Gradient border */
  border: 3px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-image:
    radial-gradient(
      circle at 50% 35%,
      #ff9a2f 0%,
      #ff6a00 35%,
      #ff4d00 70%,
      #e63e00 100%
    ),
    linear-gradient(
      to bottom,
      #fff2e0 0%,   /* lighter top stroke */
      #ffcca0 50%,
      #ff9933 100%  /* darker bottom stroke */
    );

  /* Constant 3D drop shadow */
  box-shadow:
    0 10px 20px rgba(0,0,0,0.50), /* main shadow for depth */
    0 6px 6px rgba(0,0,0,0.25);    /* soft ambient shadow for subtle lift */

  transition: transform .3s ease, opacity .6s ease;
  opacity: 0;
  transform: translateY(40px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* Hover effect */
.steps-grid li:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}
/* Fixed height example */
.steps-grid li:nth-child(1),
.steps-grid li:nth-child(4) {
  width: 20rem;       /* optional, still controls width */
  height: 29rem;      /* fixed height */
  aspect-ratio: auto; /* disable aspect ratio if you want exact height */
}

.steps-grid li:nth-child(2),
.steps-grid li:nth-child(3) {
  width: 38rem;
  height: 20rem;      /* fixed height for long cards */
  aspect-ratio: auto;
}

/* Card placement (desktop) */
.steps-grid li:nth-child(1) { grid-column: 1 / span 2; grid-row: span 2; justify-self: start; }
.steps-grid li:nth-child(2) { grid-column: 3 / span 4; grid-row: 2; justify-self: end; }
.steps-grid li:nth-child(3) { grid-column: 1 / span 4; justify-self: start; }
.steps-grid li:nth-child(4) { grid-column: 5 / span 2; grid-row: span 2; justify-self: end; }

/* Titles & underline */
.steps-grid li h3 {
  font-size: 1.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: white;
}

/* Text inside cards */
.steps-grid li p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
  max-width: 380px;
  margin: 1rem auto 0;
}

/* Card 1 – precise image positioning */
.steps-grid li:nth-child(1) {
  position: relative;
}

/* Card 1 – text positioning */
.steps-grid li:nth-child(1) p {
   text-align: justify;
  position: absolute;
         /* ← move left/right */
  top: 5.5rem;      /* ← move up/down */
  max-width: 15rem; /* ← control text width */
  text-align: center;
  margin: 0;
}

.steps-grid li:nth-child(1) .svg {
  position: absolute;
  bottom: 2rem;    /* move up/down */
  left: 49%;
  transform: translateX(-50%);
  width: 80%;       /* control size */
}

.steps-grid li:nth-child(1) .svg img {
  width: 100%;
  height: auto;
  transform: translateX(1rem) translateY(5rem); /* ← fine tune here */
}

/* ← ADD THIS RIGHT HERE */
.steps-grid li:nth-child(1):hover .svg img {
  transform: translateX(1rem) translateY(5rem) scale(1.05);
}

/* Card 2 – absolute text positioning */
.steps-grid li:nth-child(2) p {
  position: absolute;
  left: 2rem;     /* distance from left edge */
  top: 5.5rem;      /* move up/down */
  max-width: 10.5rem;
  text-align: left;
  margin: 0;
}

/* Card 2 – precise image positioning */
.steps-grid li:nth-child(2) {
  position: relative;
}

.steps-grid li:nth-child(2) .svg {
  position: absolute;
  right: -4.5rem;   /* move right */
  top: 1.7rem;      /* move up/down */
  width: 87%;     /* control size */
}

/* Card 3 – absolute text positioning */
.steps-grid li:nth-child(3) {
  position: relative; /* required for absolute children */
}

.steps-grid li:nth-child(3) p {
  position: absolute;
  Right: 2.5rem;        /* adjust as needed */
  top: 7.5rem;      /* adjust vertical position */
  max-width: 20rem;
  text-align: left;
  margin: 0;
}

/* Card 3 – precise image positioning */
.steps-grid li:nth-child(3) .svg {
  position: absolute;
  left: -3rem;    /* adjust horizontally */
  top: .2rem;       /* adjust vertically */
  width: 65%;        /* control size */
}

.steps-grid li:nth-child(2) .svg img {
  width: 100%;
}

/* ==========================================
   CARD 4 – FULL ABSOLUTE CONTROL
========================================== */

/* Required for absolute positioning */
.steps-grid li:nth-child(4) {
  position: relative;
}

/* Card 4 – centered text ABOVE image */
.steps-grid li:nth-child(4) h3 {
  position: absolute;
  top: 2.5rem;          /* move title up/down */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  margin: 0;
}

.steps-grid li:nth-child(4) p {
  position: absolute;
  top: 6.5rem;
  left: 50%;
  transform: translateX(-50%);
  
  width: 15rem;        /* THIS controls the width */
  max-width: 90%;      /* prevents overflow on smaller screens */

  text-align: center;
  margin: 0;
}

/* Card 4 – precise image positioning BELOW text */
.steps-grid li:nth-child(4) .svg {
  position: absolute;
  bottom: -3rem;           /* move image up/down */
  left: 50%;
  transform: translateX(-50%);
  width: 79%;           /* control image size */
}

/* Ensure image scales correctly */
.steps-grid li:nth-child(4) .svg img {
  width: 100%;
  height: auto;
}

/* Image area */
.steps-grid .svg {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.steps-grid .svg img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform .4s ease;
}

.steps-grid li:hover img { transform: scale(1.05); }

/* Scroll reveal */
.steps-grid li.reveal {
  opacity: 1;
  transform: translateY(0);
}

.steps-grid li:nth-child(1).reveal { transition-delay: 0.2s; }
.steps-grid li:nth-child(2).reveal { transition-delay: 0.3s; }
.steps-grid li:nth-child(3).reveal { transition-delay: 0.4s; }
.steps-grid li:nth-child(4).reveal { transition-delay: 0.5s; }


/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 1300px) {

  .steps-grid {
    margin: 0 auto;
    width: 100%;
  }

  .steps-grid ul {
    display: grid;

    /* THIS is the important change */
    grid-template-columns: repeat(2, minmax(0, 480px));

    justify-content: center;  /* centers the whole grid */
    gap: 2.5rem;

    padding: 0;
    margin: 0 auto;
  }

  .steps-grid li {
    width: 100%;
    height: auto;
  }

}

  /* 2️⃣ Clean Stack Layout at 1100px */
@media (max-width: 1100px) {

  .steps-grid ul {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-left: 0;
    padding-right: 0;
  }

  .steps-grid li {
    grid-column: auto !important;
    grid-row: auto !important;

    width: 100%;
    max-width: 560px;
    height: auto;

    margin: 0 auto;
  }

  /* Glass box now hugs cards */
  .how-it-works-box {
    align-items: center;
    padding: 3rem 2rem;
    max-width: 700px;
    margin: 0 auto -4rem;
  }

  .how-it-works-content {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;      /* 🔥 IMPORTANT — clears desktop transform */

    margin: 0 auto 3rem auto;  /* centers horizontally */
    max-width: 600px;
    text-align: center;        /* centers text */
  }

}


/* 3️⃣ Small Screens - uniform cards, image at bottom */
@media (max-width: 768px) {

/* ===== MOBILE BG IMAGE ===== */
.how-it-works::before {
  background: 
    linear-gradient(
      to bottom,
      rgba(173, 216, 230, 0.6) 0%,
      rgba(173, 216, 230, 0.3) 4%,
      rgba(173, 216, 230, 0.1) 8%,
      rgba(0, 123, 255, 0.1) 9%,
      rgba(0, 0, 0, 0.8) 20%,   /* ← lower % = black starts sooner */
      rgba(0, 0, 0, .95) 25%       /* ← lower % = black fully solid sooner */
    ),
    url('images/snow running dog.jpg') center top / 150% auto scroll no-repeat;
}
.how-it-works-heading {
  display: none;
}

.how-it-works {
  padding-top: 16rem; /* adjust this number for the gap you want */
}
  


  /* ===== Glass box adjustments ===== */
  .how-it-works-box {
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    align-items: center;
    overflow: hidden;
  }

  /* ===== Steps grid: stack cards ===== */
  .steps-grid ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-left: 0;
    padding-right: 0;
    justify-items: center;
  }

  /* ===== Make all cards the same size ===== */
  .steps-grid li {
    width: 90%;
    max-width: 360px;
    height: 460px;
    padding: 2rem 1.5rem;
    border-radius: 22px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5), 0 6px 6px rgba(0,0,0,0.25);
  }

  /* ===== Make all cards the same height as Card 4 ===== */
  .steps-grid li:nth-child(1),
  .steps-grid li:nth-child(2),
  .steps-grid li:nth-child(3),
  .steps-grid li:nth-child(4) {
    height: 400px;
    width: 320px;
  }

  /* ===== Text inside card stays at top ===== */
  .steps-grid li h3,
  .steps-grid li p {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  /* ===== Image at bottom center of card ===== */
  .steps-grid li .svg {
    position: relative !important;
    width: 80%;
    max-width: 100%;
    height: auto;
    margin: 0 auto 0 auto;
    order: 2;
  }

  /* ===== Heading scales nicely ===== */
  .how-it-works-heading {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  /* ===== Content above cards centered ===== */
  .how-it-works-content {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    margin: 0 auto 2rem auto;
    max-width: 90%;
    text-align: center;
    z-index: 5;
  }

  /* ===== Stack cards vertically ===== */
  .steps-grid ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(3.5rem, 4vw, 4rem);
    padding-left: 0;
    padding-right: 0;
    justify-items: center;
  }

  /* ===== General card settings ===== */
  .steps-grid li {
    position: relative;
    width: 90%;
    max-width: 360px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    overflow: visible;
  }

  /* ===== General header + paragraph settings ===== */
  .steps-grid li h3,
  .steps-grid li p {
    position: relative;
    margin: 0 auto;
    z-index: 2;
  }

  /* ===== IMAGE SYSTEM ===== */
  .steps-grid li .svg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
    pointer-events: none;
  }

  .steps-grid li .svg img {
    width: 80%;
    max-width: 500px;
    height: auto;
    display: block;
  }

  /* -------- Card 1 -------- */
  .steps-grid li:nth-child(1) h2 {
    font-size: 1.3rem;
    margin-top: 0.5rem;
  }

  .steps-grid li:nth-child(1) {
    position: relative;
  }

  .steps-grid li:nth-child(1) .svg {
    position: absolute;
    bottom: 6rem;
    left: 38%;
    width: 78%;
  }

  /* -------- Card 2 -------- */
  .steps-grid li:nth-child(2) h2 {
    font-size: 1.3rem;
    margin-top: 0.5rem;
  }

  .steps-grid li:nth-child(2) p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 85%;
    margin: 1rem auto 0 auto;
    text-align: center;
  }

  .steps-grid li:nth-child(2) .svg img {
    width: 170%;
    transform: translateY(-2rem);
  }

  /* -------- Card 3 -------- */
  .steps-grid li:nth-child(3) h2 {
    font-size: 1.2rem;
    margin-top: 0.5rem;
  }

  .steps-grid li:nth-child(3) p {
    font-size: 0.95rem;
    line-height: 1.4;
    max-width: 90%;
    margin: 1rem auto 0 auto;
    text-align: center;
  }

  .steps-grid li:nth-child(3) .svg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .steps-grid li:nth-child(3) .svg img {
    width: 115%;
    max-width: 500px;
    height: auto;
    display: block;
    transform: translateX(1.2rem) translateY(-.5rem);
  }

  /* -------- Card 4 -------- */
  .steps-grid li:nth-child(4) h2 {
    font-size: 1.3rem;
    margin-top: 0.5rem;
  }

  .steps-grid li:nth-child(4) p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 85%;
    margin: 1rem auto 0 auto;
  }

  .steps-grid li:nth-child(4) .svg img {
    width: 105%;
    transform: translateX(-2.1rem) translateY(-4.7rem);
  }

  /* ===== How it works content above cards ===== */
  .how-it-works-content {
    position: relative;
    margin: 0 auto 2rem auto;
    max-width: 90%;
    text-align: center;
    z-index: 5;
  }

  /* ===== Heading scale ===== */
  .how-it-works-heading {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

}

/* ===== SERVICES SECTION ===== */
.services {
  position: relative;
  background-image: url("images/fargo.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 8rem 1rem 6rem;
  text-align: center;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(26,15,10,0.82) 0%, rgba(15,15,20,0.75) 100%),
    radial-gradient(circle at 15% 20%, rgba(255,77,0,0.15), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255,122,51,0.1), transparent 45%);
}

.services > * { position: relative; z-index: 1; }

.services h1 {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.services-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ff4d00;
  margin-bottom: 0.6rem;
  display: block;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 20px rgba(255,77,0,0.5);
}

.services-sub {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
  position: relative;
  z-index: 2;
  text-align: left;
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.card-icon { font-size: 2rem; line-height: 1; }

.card-badge-pill {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4d00, #ff7a33);
  color: #fff;
}

.card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.card-price-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff4d00, #ff9e66);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.card-book-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff4d00, #ff7a33);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.card-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,77,0,0.45);
}

.card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0.8rem 0 1rem;
  border-radius: 16px;
  border: 2px solid rgba(255,77,0,0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

/* ===== CARD SLIDE-IN ANIMATION ===== */
.card:nth-child(odd) {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.card:nth-child(even) {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.card.animate {
  opacity: 1;
  transform: translateX(0);
}

.card:nth-child(1).animate { transition-delay: 0.05s; }
.card:nth-child(2).animate { transition-delay: 0.05s; }
.card:nth-child(3).animate { transition-delay: 0.05s; }
.card:nth-child(4).animate { transition-delay: 0.05s; }

/* ===== CARD BASE ===== */
.service-cards .card {
  background: rgba(45, 15, 5, 0.85);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,77,0,0.45);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,77,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.06);
  will-change: transform, box-shadow;
  z-index: 2;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.7s ease;
}

.service-cards .card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff4d00, #ff7a33, #ff9e66);
}

.service-cards .card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,77,0,0.08), transparent 65%);
  border-radius: 24px;
}

/* ===== CARD HOVER ===== */
.service-cards .card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255,77,0,0.8);
  box-shadow:
    0 20px 44px rgba(0,0,0,0.7),
    0 0 30px rgba(255,77,0,0.35),
    0 0 60px rgba(255,77,0,0.15),
    0 0 0 1px rgba(255,77,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.09);
}

.card:nth-child(1) { grid-row: 1 / 3; }
.card:nth-child(4) { grid-column: 2 / 4; padding: 2rem; }

.card h3 {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.97rem;
  color: #9ca3af;
  line-height: 1.7;
  flex: 1;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d00, #ff8c42);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(249,115,22,0.35);
  transition: all 0.25s ease;
  position: relative;
  z-index: 10;
  margin-top: 4rem;
}

.cta-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff5a00, #ff6600);
  box-shadow: 0 10px 24px rgba(255,90,0,0.6), 0 0 15px rgba(255,133,0,0.5);
  text-shadow: 0 0 8px rgba(255,133,0,0.6);
}

@media (max-width: 992px) {
  .service-cards { grid-template-columns: 1fr; grid-template-rows: auto; gap: 1.5rem; }
  .card:nth-child(1), .card:nth-child(4) { grid-row: auto; grid-column: auto; padding: 2rem; }
  .services {
    background-attachment: scroll;
    background-size: 150% auto;
    background-position: center top;
    background-repeat: no-repeat;
  }
  .services::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.9) 25%);
  }
}

@media (max-width: 576px) {
  .services {
    padding: 6rem 1rem 3rem;
    background-attachment: scroll;
    background-size: 150% auto;
    background-position: center top;
    background-repeat: no-repeat;
  }
  .services::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,1) 25%);
  }
  .card h3 { font-size: 1.3rem; }
  .card p { font-size: 0.93rem; }
  .cta-btn { width: fit-content; text-align: center; margin-top: 2.5rem; }
}

:root {
  --orange-main: #ff4d00;
  --orange-light: #ff7a33;
  --orange-soft: #ff9e66;
  --orange-deep: #cc3d00;
  --orange-glow: rgba(255,77,0,0.45);
  --green-neon: #39ff14;
  --dark-bg: #0f0f14;
  --text-muted: #9ca3af;
  --text-soft: #cbd5e1;
}

.stats-bar {
  border-top: 1px solid rgba(255,77,0,0.3);
  border-bottom: 1px solid rgba(255,77,0,0.3);
  padding: 2.5rem 5%;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  position: relative;
  z-index: 1;
  background-image: 
    linear-gradient(rgba(9,9,14,0.97), rgba(9,9,14,0.97)),
    url('./images/about.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1rem;
  text-align: center;
}
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff4d00, #ff9e66);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-sep {
  width: 1px;
  height: 44px;
  background: rgba(255,77,0,0.25);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .stat-item { flex: 0 0 50%; padding: 1.25rem 0.5rem; }
  .stat-sep { display: none; }
}

/* ===== ABOUT ===== */
.about-us {
  position: relative;
  display: flex;
  flex-direction: row;
  min-height: 560px;
  overflow: hidden;
}

.about-image-panel {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('./images/about2.png');
  background-attachment: fixed;
background-size: auto 100%;
  background-position: -50px center;
  background-repeat: no-repeat;
}

.about-image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.about-dark-panel {
  margin-left: auto;
  width: 55%;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 600px;
  z-index: 10;
}

.about-dark-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(9,9,14,0.5) 10%,
    rgba(9,9,14,0.88) 30%,
    #09090e 60%
  );
  pointer-events: none;
}

.about-text-inner {
  position: relative;
  z-index: 20;
  padding: 4rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 410px;   /* ← wider/narrower */
  margin-left: 18rem;  /* ← left/right position */
}

.about-text-inner .about-eyebrow {
  color: #ff4d00 !important;
  opacity: 1 !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: block;
}

.about-text-inner h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.about-text-inner p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 380px;
}

.orange-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  border: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  width: fit-content;
  align-self: flex-start;
  background: linear-gradient(90deg, #ff4d00, #ff7a33, #cc3d00);
  box-shadow: 0 6px 18px rgba(255,77,0,0.45);
  transition: all 0.3s ease;
}

.orange-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255,77,0,0.45);
}

/* ===== ABOUT RESPONSIVE ===== */

/* Tablet — shrink the panel, tighten text */
@media (max-width: 1100px) {
  .about-dark-panel {
    width: 65%;
  }
  .about-text-inner {
    margin-left: 8rem;
    max-width: 380px;
  }
}

/* Small tablet */
@media (max-width: 850px) {
  .about-dark-panel {
    width: 75%;
  }
  .about-text-inner {
    margin-left: 4rem;
    max-width: 340px;
  }
}

/* Mobile — full stacked layout */
@media (max-width: 1100px) {
  .about-us {
    flex-direction: column;
    min-height: auto;
  }

  /* Image becomes its own block on top */
.about-image-panel {
    position: relative;
    width: 100%;
    height: 280px;
    flex: none;
    background-attachment: scroll;
    background-size: 110%;
    background-position: 50% 30%;
  }

  /* Dark panel sits below image */
  .about-dark-panel {
    width: 100%;
    margin-left: 0;
    min-height: auto;
    background: #09090e;
    z-index: 1;
  }

  /* Kill the gradient — solid dark bg takes over */
  .about-dark-panel::before {
    display: none;
  }

  /* Text block full width, centered */
  .about-text-inner {
    margin-left: 0;
    max-width: 100%;
    padding: 3rem 2rem 3.5rem;
    align-items: center;
    text-align: center;
  }

  .about-text-inner h2 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .about-text-inner p {
    max-width: 100%;
    font-size: 0.97rem;
  }

  /* Center button on mobile */
  .orange-btn {
    align-self: center;
  }
}

/* ===== ABOUT + STATS SCROLL ANIMATIONS ===== */

/* About eyebrow */
.about-eyebrow {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* About heading */
.about-text-inner h2 {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0.1s;
}

/* About paragraph */
.about-text-inner p {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0.2s;
}

/* About button */
.about-learn-btn {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0.3s;
}

/* Revealed state for all about elements */
.about-eyebrow.reveal,
.about-text-inner h2.reveal,
.about-text-inner p.reveal,
.about-learn-btn.reveal {
  opacity: 1;
  transform: translate(0);
}

/* Stats — each item fades up */
.stat-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.reveal {
  opacity: 1;
  transform: translateY(0);
}

.stat-item:nth-child(1) { transition-delay: 0.1s; }
.stat-item:nth-child(2) { transition-delay: 0.15s; }
.stat-item:nth-child(3) { transition-delay: 0.2s; }
.stat-item:nth-child(4) { transition-delay: 0.25s; }

/* Stat numbers count-up feel — subtle scale pop */
.stat-item.reveal .stat-num {
  animation: statPop 0.5s ease forwards;
}

@keyframes statPop {
  0%   { transform: scale(0.8); opacity: 0; }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1);   opacity: 1; }
}

/* ===== FINAL CTA ===== */
.final-cta {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 9rem 2rem;
  background-image: url("images/cta.jpeg");
  background-repeat: no-repeat;
  background-position: center 85%;
  background-size: cover;
  background-attachment: fixed;
  background-color: #000;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.7);
  z-index: 1;
  pointer-events: none;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(255,77,0,0.9) 0px, rgba(255,77,0,0.7) 3px, rgba(255,77,0,0.4) 20px, rgba(255,77,0,0.2) 50px, rgba(255,77,0,0.08) 80px, transparent 120px),
    linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
  background-repeat: no-repeat;
  background-size: 100% 120px, 100% 100%;
  background-position: top, bottom;
}

/* About text animation (keep here) */
.about-text h2,
.about-text p,
.about-btn {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.about-text h2.reveal { opacity: 1; transform: translateX(0); }
.about-text p.reveal  { opacity: 1; transform: translateX(0); transition-delay: 0.15s; }
.about-btn.reveal     { opacity: 1; transform: translateX(0); transition-delay: 0.3s; }

.final-cta-inner {
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: #ff4d00;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.cta-eyebrow.reveal { opacity: 1; transform: translateY(0); }

.cta-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900; color: #fff; line-height: 1.1;
  margin: 0; text-align: center;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0.1s;
}
.cta-heading.reveal { opacity: 1; transform: translateY(0); }
.cta-heading span { color: #ff4d00; }

.cta-sub {
  font-size: 1.1rem; color: #d1d5db; line-height: 1.7;
  max-width: 500px; text-align: center;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0.2s;
}
.cta-sub.reveal { opacity: 1; transform: translateY(0); }

.green-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #39ff14; color: #000; padding: 1rem 2.5rem;
  border-radius: 60px; font-family: 'Nunito', sans-serif;
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  border: 1px solid rgba(57,255,20,0.65);
  box-shadow: 0 0 8px rgba(57,255,20,0.55), 0 0 18px rgba(57,255,20,0.35);
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0.3s;
}
.green-btn.reveal { opacity: 1; transform: translateY(0); }
.green-btn:hover { transform: translateY(-2px); box-shadow: 0 0 14px rgba(57,255,20,0.75), 0 0 30px rgba(57,255,20,0.5); }

@media (max-width: 768px) {
  .final-cta { background-attachment: scroll; background-position: center 20%; padding: 6rem 2rem; }
  .cta-heading { font-size: 3rem; }
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: #000;
  color: #fff;
  padding: 5rem 2rem 3rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-column h3 {
  color: #ff4d00;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.footer-column p,
.footer-column ul {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.7;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #ff4d00;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #ea580c;
}

/* ===== FOOTER BUTTON ===== */
.footer-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d00, #ff8c42);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(249,115,22,0.35);
  transition: all 0.25s ease;
}

.footer-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff5a00, #ff6600);
  box-shadow: 
    0 10px 24px rgba(255,90,0,0.6),
    0 0 15px rgba(255,133,0,0.5);
  text-shadow: 0 0 8px rgba(255,133,0,0.6);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 1.5rem;
}

.social-links li a svg {
  width: 40px;
  height: 40px;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links li a:hover svg {
  transform: scale(1.2);
  opacity: 0.85;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 768px) {

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .footer-column {
    width: 100%;
    max-width: 400px;
    text-align: center;   /* 🔥 center everything on mobile */
  }

  .social-links {
    justify-content: center;  /* 🔥 center icons on mobile */
  }

  .footer-btn {
    margin: 1rem auto 0;
  }
}

