/* =========================================
   APPLY BLOCK
   ========================================= */
.sn-apply-outer,
.sn-apply-outer *,
.sn-apply-outer *::before,
.sn-apply-outer *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.sn-apply-outer {
  --sn-gutter: clamp(20px, 6vw, 80px);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding: 30px 0;
  background: #f7f8fa;
  font-family: 'Inter', sans-serif;
}

/* ---- CARD ---- */
.sn-apply-card {
  display: flex;
  align-items: stretch;
  width: min(1300px, calc(100% - (var(--sn-gutter) * 2)));
  max-width: 1300px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.07),
    0 24px 64px rgba(0, 0, 0, 0.05);

  /* Initial state — hidden, shifted down */
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity  0.75s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Triggered by IntersectionObserver */
.sn-apply-card.sn-apply-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- LEFT: TEXT BODY ---- */
.sn-apply-body {
  flex: 1 1 56%;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sn-apply-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #138F29;
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
}

.sn-apply-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #138F29;
  border-radius: 2px;
  flex-shrink: 0;
}

.sn-apply-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
}

.sn-apply-desc {
  font-size: 0.96rem;
  line-height: 1.78;
  color: #5a6472;
  max-width: 400px;
  margin: 0 0 38px 0 !important;
  padding: 0 !important;
}

.sn-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: #90ad17;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 15px 34px !important;
  margin: 0 !important;
  border-radius: 7px;
  align-self: flex-start;
  box-shadow: 0 4px 18px rgba(19, 143, 41, 0.32);
  transition:
    background 0.22s ease,
    box-shadow  0.22s ease,
    transform   0.18s ease;
}

/* Arrow icon inside button */
.sn-apply-btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.sn-apply-btn:hover {
  background: #006637;
  box-shadow: 0 6px 24px rgba(0, 102, 55, 0.42);
  transform: translateY(-2px);
}

.sn-apply-btn:hover .sn-apply-btn-arrow {
  transform: translateX(4px);
}

.sn-apply-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 102, 55, 0.28);
}

/* ---- RIGHT: IMAGE ---- */
.sn-apply-image {
  flex: 0 0 44%;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.sn-apply-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 30%
  );
  pointer-events: none;
  z-index: 1;
}

.sn-apply-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.sn-apply-card:hover .sn-apply-image img {
  transform: scale(1.04);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 820px) {
  .sn-apply-outer {
    padding: 48px 0;
  }
  .sn-apply-card {
    flex-direction: column;
  }
  .sn-apply-body {
    padding: 40px 32px;
  }
  .sn-apply-image {
    flex: none;
    height: 240px;
    min-height: unset;
  }
  .sn-apply-image img {
    position: absolute;
  }
}

@media (max-width: 480px) {
  .sn-apply-body {
    padding: 32px 22px;
  }
  .sn-apply-title {
    font-size: 1.4rem;
  }
  .sn-apply-btn {
    width: 100%;
    justify-content: center;
  }
  .sn-apply-image {
    height: 200px;
  }
}

/* =========================================
   CEO SECTION
   ========================================= */
/* ---- Reset scoped to this block ---- */
.sn-ceo *, .sn-ceo *::before, .sn-ceo *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

.sn-ceo-outer {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.sn-ceo {
  --navy:         #0d1f2d;
  --green:         #138F29;
  --green-light:  #1db83a;
  --white:         #ffffff;
  --text-soft:     rgba(255,255,255,0.55);
  --shadow:        0 24px 64px rgba(0,0,0,0.35);
  --radius:        16px;
  --sn-gutter:     clamp(20px, 6vw, 80px);
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
  line-height: normal;
  font-size: 16px;
}

.sn-ceo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(19,143,41,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(19,143,41,0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.sn-ceo-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  width: min(1300px, calc(100% - (var(--sn-gutter) * 2)));
  margin: 0 auto;
  padding: 80px 0;
  display: flex;
  align-items: center;
  gap: 60px;
}

.sn-ceo-video-wrap {
  flex: 1 1 55%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sn-ceo-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
  display: block;
}

/* Using native controls to allow seeking, pausing, and unmuting */
.sn-ceo-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sn-ceo-info {
  flex: 1 1 40%;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sn-ceo-name {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
}

.sn-ceo-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
}

.sn-ceo-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), transparent);
}

.sn-ceo-desc {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.75;
  color: var(--text-soft);
}

@media (max-width: 1024px) {
  .sn-ceo-inner {
    flex-direction: column;
    padding: 60px 0;
    gap: 40px;
  }
  .sn-ceo-info {
    width: 100%;
  }
}

/* =========================================
   ABOUT / HISTORY SECTION
   ========================================= */
/* ---- Reset scoped to this block ---- */
.sn-about *, .sn-about *::before, .sn-about *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

/* ---- Root variables ---- */
.sn-about {
  --green:        #90ad17;
  --green-card:   rgba(0,0,0,0.15);  /* card bg — semi-transparent dark overlay */
  --green-border: rgba(255,255,255,0.18);
  --white:        #ffffff;
  --text-white:   rgba(255,255,255,0.95);
  --text-soft:    rgba(255,255,255,0.72);
  --shadow:       0 12px 40px rgba(0,0,0,0.18);
  --radius:       16px;
  --sn-gutter:    clamp(20px, 6vw, 80px);
  font-family: 'Inter', sans-serif;
  background: var(--green); /* CHANGED: Applied the solid #90ad17 background here */
  color: var(--white);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  display: block;
}

/* ---- Decorative watermark (top-right) via pseudo-element — WP-safe ---- */
.sn-about::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 360px;
  height: 360px;
  background: url('https://tahealthcaregroup.com/wp-content/uploads/2026/03/logo-outline.png') no-repeat top right / contain;
  mix-blend-mode: multiply;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: snAboutFloat 8s ease-in-out infinite;
}

/* ---- Wrapper ---- */
.sn-about-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  width: min(1300px, calc(100% - (var(--sn-gutter) * 2)));
  margin: 0 auto;
  padding: 72px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ---- Entrance animations ---- */
@keyframes snAboutReveal {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes snAboutFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(1.5deg); }
}
@keyframes snAboutYearGlow {
  0%, 100% { text-shadow: 0 0 0px rgba(255,255,255,0); }
  50%       { text-shadow: 0 0 40px rgba(255,255,255,0.25); }
}

/* Elements hidden until JS triggers reveal */
.sn-about-top-card,
.sn-logos-card,
.sn-about-mission {
  opacity: 0;
}
.sn-about-top-card.sn-revealed {
  animation: snAboutReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.sn-logos-card.sn-revealed {
  animation: snAboutReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}
.sn-about-mission.sn-revealed {
  animation: snAboutReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.44s both;
}

/* =========================================
   TOP CARD — Established + description
   ========================================= */
.sn-about-top-card {
  position: relative;
  background: var(--green-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 48px 56px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 64px;
  width: 100%;
}

.sn-est-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 2px;
}

.sn-est-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 0;
  line-height: 1;
  flex-shrink: 0;
}

/* New: right side of top card */
.sn-est-right {
  flex: 1 1 auto;
}

.sn-est-divider {
  width: 1px;
  height: 80px;
  background: var(--green-border);
  flex-shrink: 0;
}

.sn-est-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-white);
}

.sn-est-year {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1;
  animation: snAboutYearGlow 4s ease-in-out infinite 1s;
}

.sn-about-tagline {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-white);
  max-width: 640px;
}

/* =========================================
   BOTTOM ROW — Logo card + mission text
   ========================================= */
.sn-about-bottom {
  display: flex;
  align-items: stretch;
  gap: 36px;
}

/* ---- Logo card ---- */
.sn-logos-card {
  flex: 0 0 auto;
  width: 320px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.sn-logos-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ---- Mission text ---- */
.sn-about-mission {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.sn-about-mission p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.85;
  color: var(--text-white);
  max-width: 700px;
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* Tablet: ≤ 900px */
@media (max-width: 900px) {
  .sn-about-inner {
    padding: 52px 0 60px;
    gap: 36px;
  }
  .sn-about-top-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 36px 36px;
  }
  .sn-est-divider { display: none; }
  .sn-about-bottom {
    gap: 28px;
  }
  .sn-logos-card {
    width: 260px;
  }
}

/* Large phone / small tablet: ≤ 700px  */
@media (max-width: 700px) {
  .sn-about-inner {
    padding: 40px 0 52px;
    gap: 28px;
  }
  .sn-about-top-card {
    padding: 28px 24px;
    gap: 20px;
  }
  /* Stack logo card above mission text */
  .sn-about-bottom {
    flex-direction: column;
    gap: 24px;
  }
  .sn-logos-card {
    width: 100%;
    max-width: 400px;
    /* side by side logos when card goes full width */
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 20px;
  }
  .sn-logos-card img {
    width: calc(50% - 8px);
    max-width: 160px;
  }
  .sn-about-mission p {
    max-width: 100%;
  }
  .sn-about::before { width: 180px; height: 180px; }
}

/* Mobile: ≤ 480px */
@media (max-width: 480px) {
  .sn-about-inner {
    padding: 32px 16px 40px 18px;
    gap: 22px;
  }
  .sn-about-top-card {
    padding: 22px 18px;
  }
  .sn-est-year {
    font-size: 3rem;
  }
  .sn-about-bottom {
    gap: 18px;
  }
  .sn-logos-card {
    padding: 20px 16px;
    gap: 12px;
  }
  .sn-logos-card img {
    width: calc(50% - 6px);
    max-width: 130px;
  }
  .sn-about::before { width: 120px; height: 120px; }
}

/* Small phones: ≤ 360px */
@media (max-width: 360px) {
  .sn-about-inner {
    padding: 24px 12px 32px;
  }
  .sn-est-year {
    font-size: 2.6rem;
  }
  .sn-logos-card {
    flex-direction: column;
    align-items: center;
  }
  .sn-logos-card img {
    width: 100%;
    max-width: 180px;
  }
}

/* =========================================
   HERO SECTION
   ========================================= */
/* Scoped with .sn-hero prefix to avoid clashing with WordPress theme styles */
.sn-hero *, .sn-hero *::before, .sn-hero *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
.sn-hero {
  --green: #90ad17;
  --green-dark: #90ad17;
  --navy: #006637;
  --text-dark: #2c2c2c;
  --text-mid: #555;
  --text-light: #777;
  --bg-light: #f7f8fa;
  --white: #ffffff;
  --sn-gutter: clamp(20px, 6vw, 80px);
  --transition: 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  --hero-bg: rgba(144, 173, 23, 0.1);
  font-family: 'Inter', sans-serif;
  background: var(--hero-bg);
  position: relative;
  /* Fix for WordPress block wrapper collapsing height */
  height: clamp(600px, 75vh, 750px);
  overflow: hidden;
  overflow-x: hidden;
  width: 100%;
  display: block;
}
/* Force the WP block wrapper to not clip us */
.sn-hero-outer {
  width: 100%;
  max-width: 100%;
  height: clamp(600px, 75vh, 750px);
  overflow: hidden;
  overflow-x: hidden;
  position: relative;
  display: block;
  margin: 0 !important;
  padding: 0;
  background: var(--hero-bg);
  line-height: 0;
  font-size: 0;
}

/* ---- SLIDES ---- */
.sn-hero .sn-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(40px);
  transition: opacity var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center; 
}
.sn-hero .sn-slide.active {
  opacity: 1; pointer-events: all; transform: translateX(0);
}
.sn-hero .sn-slide.exit {
  opacity: 0; transform: translateX(-40px);
}

/* ---- SLIDE CONTENT LAYOUT ---- */
.sn-hero .sn-slide-content {
  padding: 60px 0 100px;
  max-width: 1300px;
  width: min(1300px, calc(100% - (var(--sn-gutter) * 2)));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  position: relative;
}
/* Top row: text left, visual right */
.sn-hero .sn-slide-row {
  display: flex;
  /* FIXED: Changed from 'center' to 'flex-start' so the text never jumps up or down */
  align-items: flex-start; 
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}
.sn-hero .sn-slide-text {
  flex: 1 1 45%;
  max-width: 500px;
  /* FIXED: Anchors the text 60px down from the top edge, perfectly matching the Ultrasound slide's position across all slides */
  padding-top: 0px; 
}
.sn-hero .sn-slide-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -1px;
}
.sn-hero .sn-slide-desc {
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 34px;
}
.sn-hero .sn-slide-btn {
  display: inline-block;
  text-decoration: none;
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 4px;
  transition: background 0.25s, color 0.25s;
}
.sn-hero .sn-slide-btn:hover {
  background: var(--navy); color: var(--white);
}

/* ---- VISUAL (right side) ---- */
.sn-hero .sn-slide-visual {
  flex: 1 1 55%;
  display: flex;
  justify-content: flex-end;
}

/* ---- RECTANGULAR MEDIA (All slides) ---- */
.sn-hero .sn-media-card {
  width: 100%;
  max-width: 680px; 
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 20px 60px rgba(0,0,0,0.13);
  display: block; 
}
.sn-hero .sn-media-card video,
.sn-hero .sn-media-card img {
  width: 100%;
  height: auto; 
  display: block;
}

/* ---- TAB NAVIGATION ---- */
.sn-hero .sn-tabs {
  position: absolute;
  bottom: 40px;
  left: 1%;
  display: flex;
  align-items: flex-end;
  gap: 44px;
  z-index: 10;
}
.sn-hero .sn-tab-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  color: #aaa;
  padding: 10px 0;
  margin-right: 0;
  letter-spacing: 0.2px;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s;
}
.sn-hero .sn-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 3px;
  background: var(--green);
}
.sn-hero .sn-tab-btn.active {
  color: var(--green); font-weight: 600;
}
.sn-hero .sn-tab-btn.active::after {
  animation: snTabProgress 10s linear forwards;
}
@keyframes snTabProgress {
  from { width: 0; }
  to   { width: 100%; }
}

/* ---- RESPONSIVE ---- */

/* Tablet landscape / large tablet: 768px – 960px */
@media (max-width: 960px) {
  .sn-hero,
  .sn-hero-outer {
    height: auto !important;
    min-height: 0;
    overflow: visible;
  }
  .sn-hero .sn-slide {
    position: relative;
    inset: auto;
    transform: none;
    transition: none;
    display: none;
    opacity: 1;
  }
  .sn-hero .sn-slide.active {
    display: block;
  }
  .sn-hero .sn-slide.exit {
    display: none;
  }
  .sn-hero .sn-slide-row {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .sn-hero .sn-slide-content {
    padding: 36px 0 24px;
    justify-content: flex-start;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .sn-hero .sn-slide-text {
    flex: none;
    width: 100%;
    max-width: 600px;
    text-align: center;
    /* Resets the anchoring so it flows naturally on mobile devices */
    padding-top: 0;
  }
  .sn-hero .sn-slide-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .sn-hero .sn-slide-visual {
    flex: none;
    width: 100%;
    justify-content: center;
  }
  .sn-hero .sn-tabs {
    position: static;
    width: 90%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 32px;
    margin: 16px auto 0;
  }
}

/* Small tablet / large phone: 540px – 767px */
@media (max-width: 767px) {
  .sn-hero .sn-slide-title { font-size: clamp(1.8rem, 5vw, 2.4rem); }
}

/* Mobile: ≤ 540px */
@media (max-width: 540px) {
  .sn-hero .sn-slide-title { font-size: clamp(1.6rem, 6vw, 2rem); }
  .sn-hero .sn-slide-desc { font-size: 0.9rem; margin-bottom: 24px; }
  .sn-hero .sn-slide-btn { padding: 11px 24px; font-size: 0.85rem; }
  .sn-hero .sn-tab-btn { font-size: 0.78rem; padding: 8px 12px; }
  .sn-hero .sn-tabs { gap: 10px; }
}

/* =========================================
   PARTNERS SECTION
   ========================================= */
/* ---- Reset scoped to this block ---- */
.sn-partners *, .sn-partners *::before, .sn-partners *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

/* ---- Section wrapper ---- */
.sn-partners {
  --green:     #90ad17;
  --green-dark:#90ad17;
  --orange:    #F7941D;
  --bg-strip:  rgba(0,0,0,0.04);
  --text-dark: #1a2e4a;
  --text-mid:  #555555;
  --radius:    4px;
  font-family: 'Inter', sans-serif;
  background: transparent;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
}

/* ---- Heading area ---- */
.sn-partners-head {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 48px 40px;
  text-align: center;
}

.sn-partners-head h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.sn-partners-head p {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}

/* Green accent line under title */
.sn-partners-head h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ---- Carousel strip ---- */
.sn-partners-strip {
  background: var(--bg-strip);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 32px 0 40px;
  overflow: hidden;
  width: 100%;
}

/*
  The track holds 2 sets side by side: [set1][set2]
  Each set contains both images with equal spacing including a trailing gap.
  translateX(-50%) always lands exactly at the start of set2 = seamless loop.
*/
.sn-partners-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  animation: snPartnersScroll 20s linear infinite;
}
.sn-partners-track:hover {
  animation-play-state: paused;
}

/* Each set: flex row of images. padding-right = gap so sets are equal width */
.sn-partners-set {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
}

.sn-partners-track img {
  height: 72px;
  width: auto;
  flex-shrink: 0;
  display: block;
  max-width: none;
}

/* Seamless infinite scroll: translate by exactly half the track (= one set) */
@keyframes snPartnersScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .sn-partners-head {
    padding: 44px 32px 32px;
  }
  .sn-partners-set {
    gap: 32px;
    padding-right: 32px;
  }
  .sn-partners-track img {
    height: 60px;
  }
}

@media (max-width: 600px) {
  .sn-partners-head {
    padding: 36px 24px 28px;
  }
  .sn-partners-strip {
    padding: 24px 0;
  }
  .sn-partners-set {
    gap: 28px;
    padding-right: 28px;
  }
  .sn-partners-track img {
    height: 48px;
  }
}

@media (max-width: 400px) {
  .sn-partners-head {
    padding: 28px 18px 20px;
  }
  .sn-partners-strip {
    padding: 20px 0;
  }
  .sn-partners-set {
    gap: 22px;
    padding-right: 22px;
  }
  .sn-partners-track img {
    height: 40px;
  }
}