/* Sticky chat button always visible */
.sticky-chat.chat {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 1200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  background: #7b2b82;
  border: 2px solid rgba(207, 207, 207, 0.6);
  padding: 12px 22px;
  transition: background 140ms, transform 140ms;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--btn-radius);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.sticky-chat.chat:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px) scale(1.04);
}
@media (max-width: 650px) {
  .sticky-chat.chat {
    right: 12px;
    bottom: 12px;
    padding: 10px 14px;
    font-size: 0.98em;
  }
}
/* ============================================
   Theme Colors & Variables
   ============================================ */
:root {
  --theme-teal: #21c2a4;
  --theme-purple: #7d3386;
  --theme-red: #e53935;
  --theme-dark: #333;
  --theme-bg: #fff;
  --theme-nav-text: #222;
  --theme-gray: #afafaf;
  --911-red: #d32f2f;
  --911-orange: #ff7043;
  --btn-radius: 999px;
}

[data-include] {
  display: contents;
}

/* ============================================
   Base Styles
   ============================================ */
body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--theme-bg);
  color: var(--theme-dark);
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
  background-color: #6cc0a5;
  padding: 0.4rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #000;
  position: sticky;
  top: 0;
  z-index: 1001;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.phone-icon-circle {
  background-color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-icon-circle img {
  width: 14px;
  height: 14px;
}

.phone-number {
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

/* ============================================
   Header & Navigation Desktop
   ============================================ */
header {
  display: flex;
  align-items: center;
  padding: 0.2em 2em 0.2em 2em;
  background: #fff;
  justify-content: space-between;
  border-bottom: 1px solid var(--theme-gray);
  position: sticky;
  top: 36px;
  z-index: 1000;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 1em;
}
.logo {
  width: 250px;
  height: auto;
  transform: translateY(25px);
}

nav ul {
  display: flex;
  gap: 2.2em;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}
nav a {
  text-decoration: none;
  color: var(--theme-nav-text);
  font-weight: 500;
  font-size: 1.13rem;
  padding: 0.3em 0.6em;
  position: relative;
  transition: color 0.2s;
}
nav a::before {
  /* Animated bar */
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 4px;
  background: var(--theme-purple);
  border-radius: 4px;
  transition: width 0.33s cubic-bezier(0.23, 1, 0.32, 1), left 0.33s, top 0.33s;
  z-index: 0;
}
nav a:hover,
nav a:focus {
  color: var(--theme-purple);
}
nav a:hover::before,
nav a:focus::before {
  width: 100%;
  left: 0;
  top: calc(100% - 4px);
}

.safety-exit {
  background: var(--theme-red);
  color: #fff;
  border: none;
  outline: none;
  padding: 0.68em 1.6em 0.68em 1.2em;
  display: flex;
  align-items: center;
  font-size: 1.13rem;
  font-weight: 600;
  gap: 0.5em;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: background 0.16s;
  overflow: hidden;
}
.safety-exit .icon {
  font-size: 1.7em;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  margin-right: 0.5em;
  background: white;
  color: var(--theme-red);
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.safety-exit .exit-text {
  transition: opacity 0.18s cubic-bezier(0.23, 1, 0.32, 1);
}
.safety-exit:hover .icon,
.safety-exit:focus .icon {
  margin-right: 0;
  margin-left: auto;
  transform: translateX(55px);
}
.safety-exit:hover .exit-text,
.safety-exit:focus .exit-text {
  opacity: 0.1;
}
.safety-exit:active {
  background: #b71c1c;
}

/* ============================
   Header & Navigation Mobile
   ============================ */
.site-header {
  position: sticky;
  top: 36px;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--theme-gray);

  padding: 0.2em 2em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.desktop-nav {
  display: block;
}

/* Desktop-only spacer */
.header-spacer {
  display: block;
  width: 220px;
  flex: 0 0 220px;
}

/* Burger hidden on desktop */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
}

.nav-toggle-bar {
  display: block;
  width: 28px;
  height: 3px;
  background: #222;
  border-radius: 2px;
  margin: 5px 0;
}

/* Mobile panel hidden by default */
.mobile-nav {
  display: none;
}

/* Mobile logo hidden on desktop */
.mobile-logo-group {
  display: none;
  align-items: center;
  justify-content: center;
}

/* ============================
   iPad/Tablet overrides (landscape and larger tablets)
   ============================ */
@media (max-width: 1100px) and (min-width: 901px) {
  .site-header {
    padding: 0.4em 1.5em;
  }

  header {
    padding: 0.3em 1.5em 0.3em 1.5em;
  }

  .logo {
    width: 220px;
  }

  nav ul {
    gap: 1.5em;
  }

  nav a {
    font-size: 1.05rem;
  }

  .safety-exit {
    padding: 0.65em 1.4em 0.65em 1.1em;
    font-size: 1.05rem;
  }
}

/* ============================
   iPad/Tablet overrides (portrait)
   ============================ */
@media (max-width: 900px) and (min-width: 768px) {
  /* Keep nav visible but more compact */
  .desktop-nav {
    display: block;
  }

  .desktop-nav .logo-group {
    display: flex;
  }

  .site-header {
    padding: 0.4em 1.2em;
  }

  .logo {
    width: 200px;
  }

  nav ul {
    gap: 1.2em;
  }

  nav a {
    font-size: 1rem;
    padding: 0.3em 0.4em;
  }

  .safety-exit {
    padding: 0.6em 1.2em 0.6em 0.9em;
    font-size: 1rem;
  }

  .safety-exit .icon {
    width: 28px;
    height: 28px;
  }

  /* Keep burger hidden on iPad portrait */
  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-logo-group {
    display: none;
  }

  .header-spacer {
    display: block;
    width: 180px;
    flex: 0 0 180px;
  }

  .sticky-chat.chat {
    right: 20px;
    bottom: 20px;
    padding: 11px 18px;
    font-size: 1rem;
  }
}

/* ============================
   Mobile overrides (phones)
   ============================ */
@media (max-width: 767px) {
  /* Hide desktop nav completely on mobile */
  .desktop-nav {
    display: none;
  }
  .desktop-nav .logo-group {
    display: none;
  }

  .header-spacer {
    display: none;
  }

  .safety-exit .icon.material-icons {
    display: none;
  }

  .sticky-chat.chat {
    display: none;
  }

  /* Show burger */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 44px;
    padding: 0;
    justify-self: start;
  }

  /* Show mobile logo */
  .mobile-logo-group {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0; /* IMPORTANT: prevents pushing button to next line */
  }

  .site-header {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    padding: 0.55em 1em;
  }

  .mobile-logo-group .logo {
    width: min(180px, 100%);
    height: auto;
    transform: translateY(22px);
    display: block;
  }

  .safety-exit {
    justify-self: end;
    padding: 0.52em 0.9em;
    font-size: 0.98rem;
    border-radius: 10px;
    gap: 8px;
    white-space: nowrap;
  }

  .safety-exit .icon {
    width: 26px;
    height: 26px;
    font-size: 1.25em;
    display: grid;
    place-items: center;
    margin-right: 6px;
  }

  /* Mobile dropdown panel */
  .mobile-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid var(--theme-gray);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    z-index: 1001;
    overflow: hidden;
  }

  .mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
  }

  .mobile-nav a {
    display: block;
    padding: 14px 18px;
    font-size: 1.05rem;
    text-decoration: none;
    color: var(--theme-nav-text);
  }

  .mobile-nav a:hover {
    background: rgba(0, 0, 0, 0.04);
  }

  /* Open state */
  .site-header.nav-open .mobile-nav {
    display: block;
    animation: navDrop 220ms ease forwards;
  }

  @keyframes navDrop {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  min-height: 610px;
  background: #222;
  overflow: hidden;
}
.hero-bg {
  width: 100%;
  height: 850px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.82);
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 54%,
    rgba(44, 33, 55, 0.52) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Hero right content */
.hero-content-right {
  position: absolute;
  right: 7vw;
  top: 54%;
  transform: translateY(-52%);
  z-index: 4;
  max-width: 500px;
  width: 35vw;
  min-width: 340px;
}
.hero-title-block {
  width: 100%;
}
.hero-subheading {
  font-size: 1.02rem;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 0.55em;
  position: relative;
}

.hero-under {
  content: "";
  display: inline-block;
  width: 48px;
  height: 6px;
  background: var(--theme-teal);
  border-radius: 3px;
  position: relative;
  margin-left: 7px;
  margin-bottom: 2px;
  vertical-align: middle;
}
.hero-title {
  font-size: 2.8em;
  margin: 0 0 0.28em 0;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: #fff;
}
.hero-desc {
  margin-top: 0;
  font-size: 1.1em;
  color: #ebebeb;
  margin-bottom: 1.6em;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  margin-bottom: 1.2em;
}

.btn {
  width: 70%;
  display: flex;
  justify-content: center;
  border-radius: var(--btn-radius);
  padding: 16px 0;
  font-size: 1.15em;
  font-weight: 700;
}
.btn-danger {
  background: var(--theme-red);
  color: #fff;
  border: 1px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.2s, color 0.2s;
}
.btn-danger {
  position: relative;
  overflow: hidden;
}
.btn-danger:hover {
  background: #ffebeb;
  color: transparent;
}
.btn-danger:hover::after {
  content: "770-860-1666";
  color: black;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.btn-secondary {
  background: var(--theme-purple);
  color: #fff;
  border: 1px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.2s;
}
.btn-secondary:hover {
  background: #d5bcd7;
  color: var(--theme-purple);
}

.call-911-block-overlap {
  right: 9vw;
  bottom: 45px;
  background: #fff;
  color: #b71c1c;
  border-radius: 25px;
  padding: 22px 40px 22px 24px;
  min-width: 140px;
  max-width: 440px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 1em;
  z-index: 5;
}
.call-911-circle {
  background: var(--911-red, #d32f2f);
  color: #fff;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 0;
  flex-shrink: 0;
  gap: 0.1px;
  transition: background 0.2s, color 0.2s;
}

.call-911-circle .call-text {
  font-size: 1.2em;
}

.call-911-circle .number-text {
  font-size: 2.5em;
}

.call-911-circle:hover {
  background: #e8b2b0;
  color: black;
}
.call-911-details {
  color: var(--theme-dark, #222);
  font-size: 1.12em;
  font-weight: 500;
  margin-left: 1.2em;
}
.call-911-details strong {
  color: var(--911-red, #d32f2f);
  font-size: 1.08em;
}

/* Purple curve SVG section */
.hero-purple-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 300px;
  z-index: 3;
  pointer-events: none;
}

/* Lower hero text block (on the purple area) */
.hero-lower-text {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 6;
  width: 100%;
  text-align: start;
  padding-left: 8vw;
  padding-right: 8vw;
  padding-bottom: 55px;
  color: #fff;
  display: flex;
  justify-content: center;
}
.hero-lower-text p {
  margin: 0;
  font-size: 1.16rem;
  max-width: 62vw;
  line-height: 1.5;
}

/* ============================================
   Hero Section (iPad/Tablet - landscape)
   ============================================ */
@media (max-width: 1100px) and (min-width: 901px) {
  .hero {
    min-height: 580px;
  }

  .hero-content-right {
    right: 6vw;
    max-width: 450px;
    width: 38vw;
    min-width: 320px;
  }

  .hero-title {
    font-size: 2.5em;
  }

  .hero-desc {
    font-size: 1.05em;
  }

  .btn {
    width: 75%;
    font-size: 1.1em;
    padding: 15px 0;
  }

  .call-911-block-overlap {
    right: 8vw;
    bottom: 40px;
    padding: 20px 35px 20px 22px;
    max-width: 400px;
  }

  .call-911-circle {
    width: 110px;
    height: 110px;
  }

  .call-911-circle .call-text {
    font-size: 1.15em;
  }

  .call-911-circle .number-text {
    font-size: 2.3em;
  }

  .call-911-details {
    font-size: 1.05em;
    margin-left: 1em;
  }

  .hero-lower-text p {
    font-size: 1.1rem;
    max-width: 68vw;
  }
}

/* ============================================
   Hero Section (iPad/Tablet - portrait)
   ============================================ */
@media (max-width: 900px) and (min-width: 768px) {
  .hero {
    min-height: 650px;
    height: 650px;
  }

  .hero-bg {
    height: 500px;
    object-position: center top;
  }

  .hero-fade {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.08) 30%,
      rgba(44, 33, 55, 0.58) 100%
    );
  }

  .call-911-block-overlap {
    right: 6vw;
    bottom: 50px;
    padding: 18px 30px 18px 20px;
    max-width: 380px;
  }

  .call-911-circle {
    width: 100px;
    height: 100px;
  }

  .call-911-circle .call-text {
    font-size: 1.1em;
  }

  .call-911-circle .number-text {
    font-size: 2.2em;
  }

  .call-911-details {
    font-size: 1em;
  }

  .hero-content-right {
    right: 5.5vw;
    top: 38%;
    width: min(82vw, 360px);
    min-width: 0;
    max-width: 320px;
  }

  .hero-subheading {
    font-size: 0.95rem;
    letter-spacing: 1.8px;
  }

  .hero-under {
    width: 40px;
    height: 5px;
  }

  .hero-title {
    font-size: 2.3em;
    letter-spacing: -1.2px;
  }

  .hero-desc {
    font-size: 1.02em;
    margin-bottom: 1.2em;
  }

  .hero-actions {
    gap: 1em;
  }

  .btn {
    width: 260px;
    max-width: 88vw;
    padding: 13px 0;
    font-size: 1.05rem;
  }

  .hero-purple-curve {
    width: 180%;
    transform: translateX(-35%);
  }

  .hero-lower-text {
    padding-left: 6vw;
    padding-right: 6vw;
    padding-bottom: 30px;
  }

  .hero-lower-text p {
    font-size: 1.05rem;
    line-height: 1.48;
    max-width: 88vw;
  }
}

/* ============================================
   Hero Section (Mobile - phones)
   ============================================ */
@media (max-width: 767px) {
  .hero {
    min-height: 720px;
    height: 720px;
  }

  .hero-bg {
    height: 550px;
    object-position: center top;
  }

  /* Fade becomes bottom overlay instead of right overlay */
  .hero-fade {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.05) 25%,
      rgba(44, 33, 55, 0.65) 100%
    );
  }

  .call-911-block-overlap {
    display: none;
  }

  .hero-content-right {
    right: 5vw;
    top: 35%;
    width: min(86vw, 380px);
    min-width: 0; /* IMPORTANT: allow shrinking */
    max-width: 230px;
    text-align: left;
  }

  .hero-subheading {
    font-size: 0.9rem;
    letter-spacing: 1.6px;
    margin-bottom: 0.45em;
  }

  .hero-under {
    width: 34px;
    height: 5px;
    margin-left: 6px;
  }

  .hero-title {
    font-size: 2.05em;
    letter-spacing: -1px;
    margin-bottom: 0.2em;
  }

  .hero-desc {
    font-size: 1em;
    margin-bottom: 1.05em;
  }

  .hero-actions {
    align-items: flex-end;
    gap: 0.9em;
  }

  .btn {
    width: 240px;
    max-width: 82vw;
    padding: 12px 0;
    font-size: 1rem;
    justify-content: center;
  }

  .hero-purple-curve {
    width: 200%;
    transform: translateX(-40%);
    height: 300px;
  }

  .hero-lower-text {
    padding-left: 5vw;
    padding-right: 5vw;
    padding-bottom: 22px;
  }

  .hero-lower-text p {
    font-size: 0.95rem;
    line-height: 1.4;
    max-width: 85vw;
  }
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
  position: relative;
  background: #fff;
  padding: 44px 0 100px 0;
  overflow: visible;
  z-index: 2;
  padding-bottom: 160px;
}

/* Curved top and bottom using ::before */
.services-bg {
  position: absolute;
  z-index: 1;
  left: 0;
  top: -59px;
  width: 100%;
  height: 350px;
  pointer-events: none;
  background: none;
}
.services-bg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #7d3386;
  clip-path: ellipse(98% 54% at 50% 0%);
  height: 125px;
}

/* Section headers */
.services-header {
  text-align: center;
  margin-bottom: 2.3em;
  z-index: 2;
  position: relative;
}
.services-title {
  color: #7d3386;
  font-size: 2.65em;
  font-weight: 700;
  margin: 0 0 0.28em 0;
  line-height: 1.04;
}
.services-subtitle {
  color: #212121;
  font-size: 1.6em;
  margin: 0;
  font-weight: 400;
}

.services-cards {
  display: flex;
  justify-content: center;
  gap: 2.1vw;
  margin-top: 0.2em;
  z-index: 3;
  position: relative;
  padding: 0 10vw;
}

.service-card {
  background: #f7f3fa;
  border-radius: 24px 24px 16px 16px/44px 44px 12px 12px;
  box-shadow: 0 2px 12px rgba(60, 0, 70, 0.08);
  border: 2px solid #b89bcc;
  width: 284px;
  min-width: 208px;
  max-width: 20vw;
  min-height: 375px;
  padding: 32px 18px 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.22s cubic-bezier(0.31, 1, 0.56, 1), box-shadow 0.14s;
  overflow: visible;

  --expand: 1.8;
  --unexpand: calc(1 / var(--expand));
  transform-origin: left center;
}
.service-card:hover {
  transform: translateY(-28px) scaleX(var(--expand));
  box-shadow: 0 8px 36px rgba(108, 18, 140, 0.13);
  z-index: 20;
  padding: 32px 22px 0 22px;
  overflow: visible;
  align-items: flex-start;
}

.service-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 12px;
  margin-top: -10px;
  display: block;
}

.service-main {
  width: 100%;
}

.service-main h3 {
  font-size: 1.8em;
  font-weight: 700;
  margin-block: 0.3em 0.27em;
  color: #222;
  text-align: center;
  transition: all 0.22s;
}
.service-main p {
  font-size: 1.5em;
  color: #222;
  margin: 0 0 1.7em 0;
  text-align: left;
  overflow: hidden;
  position: relative;
  transition: color 0.22s, font-size 0.22s, margin 0.22s;
  min-height: 3.5em;
}

.service-main p::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 1.2em;
  background: linear-gradient(transparent, #f7f3fa);
  pointer-events: none;
  transition: opacity 0.22s;
}

.service-card:hover .service-main p::after {
  opacity: 0;
}
.service-more {
  color: #444;
  opacity: 0.55;
  transition: opacity 0.28s;
  display: none;
}

.service-card:hover .service-main p {
  overflow: visible;
  min-height: unset;
}
.service-card:hover .service-main .service-more {
  display: inline;
  opacity: 1;
}
.service-card:hover .service-main {
  width: calc(100% * var(--expand));
  transform: scaleX(var(--unexpand));
  transform-origin: left center;

  text-align: left;
  align-items: flex-start;

  align-self: flex-start;
  margin-left: 0;
}

.service-card:hover .service-icon {
  transform: scaleX(var(--unexpand));
  transform-origin: center;
  align-self: center;
}

/* Plus/minus toggle styling */
.service-toggle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -38px;
  border-radius: 50%;
  border: 10px solid #fff;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 9px rgba(108, 18, 140, 0.09);
  z-index: 4;
  font-size: 2.1em;
  background: #7d3386;
  color: #fff;
  transition: background 0.18s, color 0.18s, opacity 0.18s;
}
.plusminus {
  display: block;
  font-weight: bold;
  font-size: 1.25em;
  transition: opacity 0.21s;
  pointer-events: none;
  line-height: 1;
}
.service-card:hover .plusminus {
  opacity: 0;
}
.service-card:hover .service-toggle {
  opacity: 0;
}

.services-purple-bg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: -1;
}

@media (max-width: 1200px) {
  .services-cards {
    gap: 1.2vw;
  }
  .service-card {
    min-width: 170px;
    max-width: 27vw;
    padding: 27px 8px 0 8px;
  }
  .service-icon {
    width: 42px;
    height: 42px;
  }
}

/* ============================================
   Services Section (iPad/Tablet - portrait)
   ============================================ */
@media (max-width: 900px) and (min-width: 768px) {
  .services-title {
    font-size: 2.2em;
    padding: 0 8vw;
  }

  .services-subtitle {
    font-size: 1.4em;
    padding: 0 12vw;
  }

  .services-cards {
    gap: 1.8vw;
    padding: 0 6vw;
  }

  .service-card {
    min-width: 200px;
    max-width: 24vw;
    min-height: 350px;
    padding: 28px 14px 0 14px;
  }

  .service-card:hover {
    transform: translateY(-20px) scaleX(var(--expand));
    padding: 28px 18px 0 18px;
  }

  .service-icon {
    width: 58px;
    height: 58px;
  }

  .service-main h3 {
    font-size: 1.65em;
  }

  .service-main p {
    font-size: 1.4em;
  }

  .service-toggle {
    bottom: -36px;
    width: 46px;
    height: 46px;
  }

  .services-purple-bg {
    width: 100%;
    height: 50%;
    top: 50%;
  }
}

/* ============================================
   Services Section (Mobile - phones)
   ============================================ */
@media (max-width: 767px) {
  .service-card:hover {
    transform: none !important;
    box-shadow: 0 2px 12px rgba(60, 0, 70, 0.08) !important;
    padding: 24px 16px 0 16px !important;
    align-items: center !important;
    transition: none !important;
  }

  .services-title {
    font-size: 1.7em;
    padding: 0 12vw;
  }
  .services-subtitle {
    font-size: 1.2em;
    padding: 0 17vw;
  }
  .services-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .service-card {
    min-width: 80vw;
    max-width: 90vw;
    min-height: 260px;
    padding: 24px 16px 0 16px;
    transform: none !important;
    --expand: 1 !important;
    --unexpand: 1 !important;
    transform-origin: initial !important;
  }

  .service-card .service-main p {
    overflow: visible !important;
    min-height: unset !important;
    font-size: 1.05em !important;
    line-height: 1.4 !important;
  }
  .service-card .service-main .service-more {
    display: inline !important;
    opacity: 1 !important;
  }
  .service-card .service-main p::after {
    display: none !important;
    content: none !important;
  }

  .service-toggle {
    display: none;
  }

  .service-icon {
    width: 64px;
    height: 64px;
  }

  .services-purple-bg {
    width: 97%;
    height: 230vh;
    top: 280px;
    left: 1.5%;
  }
}

/* ============================================
   Case Management Section
   ============================================ */
.case-section {
  position: relative;
  background: #fff;
  z-index: 5;
  padding: 90px 0 90px;
}

/* Big white curved top */
.case-curve {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -180px; /* pulls curve up into the purple area */
  width: 50%;
  height: 260px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.case-curve svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Content */
.case-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8vw;
  text-align: center;
}

.case-title {
  margin: 0;
  font-size: 3.2em;
  font-weight: 800;
  color: black;
  letter-spacing: -1px;
  position: relative;
  z-index: 3;
  margin-top: -150px;
}

.case-subtitle {
  margin-top: 0.25em;
  font-size: 2em;
  font-weight: 500;
  color: #111;
}

.case-text {
  margin: 1.4em auto 0;
  max-width: 1120px;
  text-align: left;
  font-size: 1.35em;
  line-height: 1.55;
  color: #222;
}

/* Big red callout banner */
.case-banner {
  margin: 60px auto 0;
  max-width: 1400px;
  background: #de1313;
  color: #fff;
  border-radius: 20px;
  padding: 34px 52px;
  font-size: 1.6em;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* ============================================
   Case Management Section (iPad/Tablet - portrait)
   ============================================ */
@media (max-width: 900px) and (min-width: 768px) {
  .case-curve {
    top: -170px;
    height: 240px;
    width: 65%;
  }

  .case-title {
    font-size: 2.4em;
    margin-top: -140px;
  }

  .case-subtitle {
    font-size: 1.6em;
  }

  .case-text {
    font-size: 1.25em;
  }

  .case-banner {
    font-size: 1.4em;
    padding: 30px 40px;
  }
}

/* ============================================
   Case Management Section (Mobile - phones)
   ============================================ */
@media (max-width: 767px) {
  .case-curve {
    top: -165px;
    height: 230px;
    width: 85%;
  }
  .case-title {
    font-size: 1.6em;
    padding-top: 20px;
  }
  .case-subtitle {
    font-size: 1.2em;
  }
  .case-text {
    font-size: 1.1em;
  }
  .case-banner {
    font-size: 1.2em;
    padding: 26px 26px;
  }

  .case-section {
    padding-bottom: 18px;
  }
}

/* ============================================
   Get Involved Section
   ============================================ */
.involved-section {
  position: relative;
  background: #efedef; /* light gray like screenshot */
  padding: 110px 0 90px;
  overflow: hidden;
}

/* subtle top curve */
.involved-top-curve {
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 120px;
  pointer-events: none;
}
.involved-top-curve svg {
  width: 100%;
  height: 100%;
  display: block;
}

.involved-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 7vw;
  text-align: center;
}

.involved-title {
  margin: 0;
  font-size: 4.1em;
  font-weight: 500;
  color: var(--theme-purple);
  letter-spacing: -1px;
}

.involved-subtitle {
  margin: 0.25em 0 1.6em;
  font-size: 2.1em;
  font-weight: 500;
  color: #111;
}

/* 3 columns with vertical green dividers */
.involved-grid {
  display: grid;
  grid-template-columns: 1fr 8px 1fr 8px 1fr;
  align-items: center;
  gap: 0;
  margin-top: 36px;
}

.involved-item {
  padding: 10px 4vw;
}

.involved-item h3 {
  margin: 0 0 0.65em;
  font-size: 2.5em;
  font-weight: 800;
  color: #111;
  line-height: 1.05;
}

.involved-item p {
  margin: 0 auto 1.25em;
  font-size: 1.35em;
  line-height: 1.45;
  color: #111;
  max-width: 420px;
}

.involved-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--theme-purple);
  text-decoration: none;
  font-size: 1.35em;
  font-weight: 500;
}
.involved-link:hover {
  text-decoration: underline;
}

/* green vertical separators */
.involved-divider {
  width: 6px;
  height: 280px;
  background: #0f7f69; /* teal/green divider */
  border-radius: 4px;
  justify-self: center;
}

/* Responsive */
@media (max-width: 1100px) {
  .involved-title {
    font-size: 3.2em;
  }
  .involved-subtitle {
    font-size: 1.6em;
  }
  .involved-item h3 {
    font-size: 2em;
  }
  .involved-item p {
    font-size: 1.15em;
  }
  .involved-divider {
    height: 210px;
  }
}

/* ============================================
   Get Involved Section (iPad/Tablet - portrait)
   ============================================ */
@media (max-width: 900px) and (min-width: 768px) {
  .involved-section {
    padding: 90px 0 60px;
  }

  .involved-title {
    font-size: 3em;
  }

  .involved-subtitle {
    font-size: 1.8em;
  }

  .involved-item h3 {
    font-size: 2.2em;
  }

  .involved-item p {
    font-size: 1.25em;
  }

  .involved-link {
    font-size: 1.25em;
  }

  .involved-divider {
    height: 240px;
    width: 5px;
  }
}

/* ============================================
   Get Involved Section (Mobile - phones)
   ============================================ */
@media (max-width: 767px) {
  .involved-section {
    padding: 80px 0 0px;
  }

  .involved-title {
    font-size: 1.7em;
    font-weight: 700;
  }
  .involved-subtitle {
    font-size: 1.3em;
  }
  .involved-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .involved-divider {
    display: block;
    width: 80%;
    height: 3px;
    background: #0f7f69;
    border-radius: 4px;
    justify-self: center;
  }

  .involved-item {
    padding: 0 6vw;
  }
  .involved-item h3 {
    font-size: 1.25em;
  }
  .involved-item p {
    font-size: 0.98em;
    line-height: 1.32;
  }
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
  background: #efedef; /* same as Get Involved */
  padding: 70px 0;
  overflow: visible; /* allow outside elements */
}

.testimonials-wrap {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 4vw;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0px;
  align-items: stretch;
}

/* Left image panel */
.testimonials-image {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  background: #ddd;
  position: relative;
  z-index: 1;
}

.testimonials-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

/* Right carousel panel */
.testimonials-carousel {
  position: relative;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  padding: 80px 80px 70px 320px;
  margin-left: -140px;
  overflow: visible;
  display: flex;
  align-items: center;
  z-index: 0;
}

/* Slides container */
.t-slides {
  position: relative;
  width: 100%;
  min-height: 520px;
  padding-top: 150px;
  overflow: visible;
  display: grid;
  place-items: center;
}

/* Each slide is layered on top of each other */
.t-slide {
  position: absolute;
  inset: 0;
  overflow: visible; /* Important: Allows quote mark to display outside container */
  display: grid;
  place-items: center;
  text-align: center;
  opacity: 0;
  transform: translateX(70px);
  pointer-events: none;
  will-change: transform, opacity;
}

/* Active slide is visible */
.t-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Transition states controlled by JS */
.t-slide.is-entering {
  opacity: 0;
  transform: translateX(90px);
}
.t-slide.is-leaving {
  opacity: 0;
  transform: translateX(-60px);
}

/* Smooth animation */
.t-slide,
.t-slide.is-active,
.t-slide.is-entering,
.t-slide.is-leaving {
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
}

/* Quote mark (absolutely positioned so it never clips) */
.t-quote-mark {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 200px;
  line-height: 1;
  color: rgba(33, 194, 164, 0.25); /* soft teal */
  font-weight: 700;
  pointer-events: none;
}

/* Testimonial text */
.t-text {
  margin: 0 auto;
  max-width: 760px;
  font-size: 1.55em;
  line-height: 1.65;
  color: #111;
  font-weight: 500;
  padding: 90px 10px 0; /* top padding makes room for quote */
}

/* Arrow buttons */
.t-arrow {
  position: absolute;
  top: 50%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 8px solid #fff;
  background: var(--theme-teal);
  color: #111;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
  padding: 0;
  z-index: 5;
  transition: transform 160ms ease, filter 160ms ease;
}

.t-arrow span {
  font-size: 44px;
  line-height: 1;
  transform: translateY(-1px);
}

.t-arrow-left {
  left: 140px;
  transform: translate(0, -50%); /* moved right to avoid being under image */
}

.t-arrow-right {
  right: 0;
  transform: translate(50%, -50%); /* half outside like screenshot */
}

.t-arrow:hover {
  filter: brightness(0.95);
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 1100px) {
  .testimonials-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .testimonials-carousel {
    padding: 60px 7vw 55px;
  }

  .testimonials-image img {
    min-height: 360px;
  }

  /* Keep arrows inside on smaller screens */
  .t-arrow-left {
    left: 18px;
    transform: translate(0, -50%);
  }
  .t-arrow-right {
    right: 18px;
    transform: translate(0, -50%);
  }
}

/* ============================================
   Testimonials Section (iPad/Tablet - portrait)
   ============================================ */
@media (max-width: 900px) and (min-width: 768px) {
  .testimonials-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 4vw;
  }

  .testimonials-carousel {
    padding: 70px 8vw 60px 240px;
    margin-left: -100px;
  }

  .testimonials-image img {
    min-height: 420px;
  }

  .t-slides {
    min-height: 480px;
  }

  .t-text {
    font-size: 1.35em;
  }

  .t-quote-mark {
    font-size: 170px;
  }

  .t-arrow {
    width: 64px;
    height: 64px;
    border-width: 7px;
  }

  .t-arrow span {
    font-size: 38px;
  }

  .t-arrow-left {
    left: 100px;
  }

  .t-arrow-right {
    right: 10px;
    transform: translate(30%, -50%);
  }
}

/* ============================================
   Testimonials Section (Mobile - phones)
   ============================================ */
@media (max-width: 767px) {
  .testimonials-wrap {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0;
    max-width: 100vw;
  }
  .testimonials-image {
    width: 100vw;
    border-radius: 0;
    margin-bottom: 0;
    position: relative;
  }
  .testimonials-image img {
    width: 100vw;
    min-height: 180px;
    max-height: 260px;
    object-fit: cover;
    border-radius: 0;
    display: block;
  }
  .testimonials-carousel {
    width: 90vw;
    border-radius: 0;
    margin-left: 0;
    padding: 18px 0 18px 0;
    box-sizing: border-box;
    left: 5%;
  }
  .t-slides {
    min-height: 420px;
    padding-top: 18px;
    width: 90vw;
    box-sizing: border-box;
  }

  .t-text {
    font-size: 0.98em;
    padding-top: 32px;
    max-width: 75vw;
  }
  .t-quote-mark {
    font-size: 100px;
    top: 6px;
  }

  .t-arrow {
    width: 38px;
    height: 38px;
    border-width: 3px;
    top: 50%;
    padding: 0;
  }
  .t-arrow span {
    font-size: 20px;
  }
  .t-arrow-left {
    left: -15px;
    transform: translate(0, -50%);
    opacity: 0.8;
  }
  .t-arrow-right {
    right: -15px;
    transform: translate(0, -50%);
    opacity: 0.8;
  }
}

/* ============================================
   Sponsors Section
   ============================================ */
.sponsors-section {
  background: #ffffff;
  padding: 85px 0 90px;
  overflow: visible;
}

.sponsors-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 6vw;
  text-align: center;
}

.sponsors-title {
  margin: 0;
  font-size: 4.1em;
  font-weight: 500;
  color: var(--theme-purple);
  letter-spacing: -1px;
}

.sponsors-subtitle {
  margin: 0.28em 0 1.8em;
  font-size: 2.1em;
  font-weight: 500;
  color: #111;
}

.sponsors-carousel {
  position: relative;
  max-width: 1300px;
  margin: 0 auto 55px;
  padding: 0 90px; /* room for arrows */
  overflow: visible;
}

/* Scroll row */
.sponsors-logos {
  display: flex;
  align-items: center;
  gap: 70px;
  padding: 20px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 20px;
  scroll-padding-right: 20px;
  scrollbar-width: none; /* Hide scrollbar */
}
.sponsors-logos::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

/* Each logo card */
.sponsor-item {
  flex: 0 0 auto;
  width: 260px; /* controls how many logos are visible */
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
}

.sponsor-item img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
  display: block;
  filter: saturate(1.02);
}

/* Arrows */
.s-arrow {
  position: absolute;
  top: 50%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 8px solid #fff;
  background: var(--theme-teal);
  color: #111;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
  padding: 0;
  z-index: 5;
  transition: filter 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.s-arrow span {
  font-size: 44px;
  line-height: 1;
  transform: translateY(-1px);
}

.s-arrow-left {
  left: 0;
  transform: translate(-50%, -50%);
}

.s-arrow-right {
  right: 0;
  transform: translate(50%, -50%);
}

.s-arrow:hover {
  filter: brightness(0.96);
  opacity: 0.75;
}

/* CTA Button */
.sponsors-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-purple);
  color: #fff;
  text-decoration: none;
  font-size: 1.35em;
  font-weight: 800;
  border-radius: 999px;
  padding: 18px 65px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  transition: filter 160ms ease, transform 160ms ease;
}

.sponsors-cta:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
  background: #ede2ee;
  color: #7b2b82;
  border: 1px solid #7b2b82;
}

/* Responsive */
@media (max-width: 1100px) {
  .sponsors-title {
    font-size: 3.2em;
  }
  .sponsors-subtitle {
    font-size: 1.6em;
  }

  .sponsors-carousel {
    padding: 0 70px;
  }

  .sponsor-item {
    width: 220px;
    height: 80px;
  }

  .sponsor-item img {
    max-height: 80px;
  }
}

/* ============================================
   Sponsors Section (iPad/Tablet - portrait)
   ============================================ */
@media (max-width: 900px) and (min-width: 768px) {
  .sponsors-title {
    font-size: 3em;
  }

  .sponsors-subtitle {
    font-size: 1.8em;
  }

  .sponsors-carousel {
    padding: 0 75px;
  }

  .sponsors-logos {
    gap: 50px;
  }

  .sponsor-item {
    width: 230px;
    height: 85px;
  }

  .sponsor-item img {
    max-height: 85px;
  }

  .s-arrow {
    width: 60px;
    height: 60px;
    border-width: 6px;
  }

  .s-arrow span {
    font-size: 36px;
  }

  .sponsors-cta {
    font-size: 1.2em;
    padding: 16px 55px;
  }
}

/* ============================================
   Sponsors Section (Mobile - phones)
   ============================================ */
@media (max-width: 767px) {
  .sponsors-title {
    font-size: 1.7em;
    font-weight: 700;
  }

  .sponsors-subtitle {
    font-size: 1.3em;
  }

  .sponsors-carousel {
    padding: 0;
    width: 95vw;
    max-width: 95vw;
  }
  .sponsors-logos {
    gap: 24px;
    max-width: 73vw;
    padding: 10px 0;
    margin: 0 auto;
    justify-content: center;
  }
  .sponsor-item {
    width: 160px;
    height: 80px;
    min-width: 120px;
    max-width: 200px;
  }
  .sponsor-item img {
    max-width: 100%;
    max-height: 80px;
  }
  .s-arrow {
    width: 36px;
    height: 36px;
    border-width: 3px;
    z-index: 10;
  }
  .s-arrow span {
    font-size: 18px;
  }
  .s-arrow-left {
    left: -10px;
    transform: translate(0, -50%);
  }
  .s-arrow-right {
    right: 10px;
    transform: translate(0, -50%);
  }

  .sponsors-cta {
    font-size: 1em;
    padding: 12px 1px;
    border-radius: 999px;
    width: 90vw;
    max-width: 350px;
    margin: 0 auto;
    display: block;
    text-align: center;
  }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  position: relative;
}

.site-footer {
  position: relative;
  background: transparent;
  padding: 110px 0 70px;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  top: 10;
  left: 0;
  width: 100%;
  height: 100%;
  background: #7d3386;
  z-index: 0;
  pointer-events: none;
}

/* top curve */
.footer-top-curve {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 140px; /* adjust curve height */
  pointer-events: none;
  overflow: hidden;
  line-height: 0;
}

.footer-top-curve svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 7vw;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 70px;
  align-items: start;
}

/* Left */
.footer-title {
  margin: 0 0 26px 0;
  font-size: 3.2em;
  font-weight: 700;
  color: #cd85d4;
  letter-spacing: -1px;
  position: relative;
}
.footer-title-line {
  display: block;
  width: 320px;
  height: 2px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 99px;
  margin-top: 14px;
}

.footer-block {
  margin: 26px 0 0;
}
.footer-block-title {
  font-size: 1.55em;
  font-weight: 800;
  color: #f7cdfc;
  letter-spacing: 0.5px;
}
.footer-block p {
  margin: 8px 0 0;
  font-size: 1.12em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  max-width: 520px;
}

/* Right */
.footer-right {
  text-align: center;
  position: relative;
  padding-bottom: 70px; /* space for chat button */
}

.footer-contacts {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}
.footer-contact-title {
  font-size: 1.55em;
  font-weight: 900;
  color: #f7cdfc;
  letter-spacing: 0.6px;
}
.footer-contact-title--mixed {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 800;
}
.footer-contact-value {
  margin-top: 4px;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.95);
}

/* Social icons */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.footer-social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #7d3386;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 140ms ease, filter 140ms ease;
}
.footer-social svg {
  width: 22px;
  height: 22px;
  display: block;
}
.footer-social:hover {
  transform: translateY(-2px);
  filter: brightness(0.98);
}

/* ============================================
   Footer (iPad/Tablet - portrait)
   ============================================ */
@media (max-width: 900px) and (min-width: 768px) {
  .site-footer {
    padding: 90px 0 60px;
  }

  .footer-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    padding: 0 6vw;
  }

  .footer-title {
    font-size: 2.8em;
  }

  .footer-title-line {
    width: 280px;
  }

  .footer-block-title {
    font-size: 1.4em;
  }

  .footer-block p {
    font-size: 1.05em;
  }

  .footer-contact-title {
    font-size: 1.4em;
  }

  .footer-contact-value {
    font-size: 1.05em;
  }

  .footer-social {
    width: 42px;
    height: 42px;
  }

  .footer-social svg {
    width: 20px;
    height: 20px;
  }
}

/* ============================================
   Footer (Mobile - phones)
   ============================================ */
@media (max-width: 767px) {
  .site-footer {
    padding: 70px 0 40px;
    text-align: center;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
    align-items: center;
    max-width: 100vw;
    margin: 0 auto;
  }
  .footer-title,
  .footer-block-title,
  .footer-block p,
  .footer-contact-title,
  .footer-contact-value,
  .footer-socials {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-block,
  .footer-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .footer-title-line {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-socials {
    justify-content: center;
  }
}

/* Chat button (optional, matches screenshot) */
.chat {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 140ms ease, background 140ms ease;
}
.chat:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}
.chat-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #7d3386;
  display: grid;
  place-items: center;
}
.chat-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Responsive */
@media (max-width: 1050px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-right {
    padding-bottom: 0;
  }
  .footer-chat {
    position: static;
    margin: 28px auto 0;
  }
  .footer-title-line {
    margin-left: 0;
    margin-right: auto;
  }
}

/* ============================================
   Donation Page Styles
   ============================================ */

.donation-section {
  padding: 3rem 1.5rem;
  background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
  min-height: 80vh;
}

.donation-container {
  max-width: 1200px;
  margin: 0 auto;
}

.donation-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 2rem;
}

.donation-title {
  font-size: 2.5rem;
  color: var(--theme-purple);
  margin-bottom: 1rem;
  font-weight: 700;
}

.donation-subtitle {
  font-size: 1.2rem;
  color: var(--theme-dark);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.donation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.donation-form-wrapper {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.donation-form h2 {
  color: var(--theme-purple);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--theme-dark);
  font-weight: 600;
}

.required {
  color: var(--theme-red);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--theme-purple);
}

.amount-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.amount-btn {
  padding: 0.75rem 1rem;
  border: 2px solid var(--theme-purple);
  background: white;
  color: var(--theme-purple);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.amount-btn:hover {
  background: var(--theme-purple);
  color: white;
  transform: translateY(-2px);
}

.amount-btn.active {
  background: var(--theme-purple);
  color: white;
}

.custom-amount {
  margin-top: 1rem;
}

.custom-amount label {
  font-size: 0.9rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

.donation-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--theme-purple);
  color: white;
  border: none;
  border-radius: var(--btn-radius);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
}

.donation-submit:hover {
  background: #6a2d71;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(125, 51, 134, 0.3);
}

.form-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--theme-gray);
  margin-top: 1rem;
}

.donation-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
  color: var(--theme-purple);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.info-card ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--theme-teal);
  font-weight: bold;
}

.info-card p {
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.info-card a {
  color: var(--theme-purple);
  text-decoration: none;
  font-weight: 600;
}

.info-card a:hover {
  text-decoration: underline;
}

/* ============================================
   Donation Page (iPad/Tablet - portrait)
   ============================================ */
@media (max-width: 900px) and (min-width: 768px) {
  .donation-title {
    font-size: 2.2rem;
  }

  .donation-subtitle {
    font-size: 1.1rem;
  }

  .donation-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .amount-options {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   Donation Page (Mobile)
   ============================================ */
@media (max-width: 767px) {
  .donation-content {
    grid-template-columns: 1fr;
  }

  .donation-title {
    font-size: 2rem;
  }

  .donation-subtitle {
    font-size: 1rem;
  }

  .amount-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .donation-form-wrapper,
  .info-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .donation-section {
    padding: 2rem 1rem;
  }

  .donation-title {
    font-size: 1.75rem;
  }

  .amount-options {
    grid-template-columns: 1fr;
  }
}
