/* Mobile (up to 425px included) */
@media (max-width: 426px) {
  .bee-illustration img {
    height: 128px;
    width: 155px;
    z-index: -1;
  }
  .hero-header {
    margin-bottom: 20px;
  }
  .hero-subtitle {
    margin-bottom: 24px;
    max-width: 17rem;
  }

  .header {
    backdrop-filter: blur(24px);
    background: linear-gradient(
      90deg,
      rgba(25, 0, 87, 0.7) 0%,
      rgba(64, 40, 121, 0.7) 50.48%,
      rgba(25, 0, 87, 0.7) 100%
    );
    border: 1px solid #7d68b3;
    border-radius: 72px;
    box-shadow: 0 0 20px 0 rgba(125, 104, 179, 0.2);
    height: 60px;
    margin: 0 8px;
    padding: 0 28px;
    width: 96%;
    z-index: 1100; /* Header stays above mobile-menu */
  }

  .logo img {
    height: 40px;
    width: 32px;
  }

  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-menu {
    backdrop-filter: blur(24px);
    background: linear-gradient(
      90deg,
      rgba(25, 0, 87, 0.96) 0%,
      rgba(64, 40, 121, 0.96) 50.48%,
      rgba(25, 0, 87, 0.96) 100%
    );
    border: 1px solid #7d68b3;
    border-radius: 32px;
    box-shadow: 0 0 20px 0 rgba(125, 104, 179, 0.2);
    display: none;
    left: 50%;
    padding-top: 50px;
    position: fixed;
    top: 40px; /* slightly below the header (adjust if header height changes) */
    transform: translateX(-50%);
    width: 96%;
    z-index: 999; /* Above the sticky header */
  }

  .mobile-menu a {
    align-items: center;
    color: #fff;
    display: flex;
    font-weight: 600;
    height: 60px;
    padding: 0 20px;
    text-decoration: none;
  }

  .divider {
    background: #7d68b3;
    flex-shrink: 0;
    height: 2px;
    width: 100%;
  }

  .mobile-menu.active {
    display: flex !important;
    flex-direction: column;
  }
}

/* Tablet (up to 768px included) */
@media (min-width: 425px) and (max-width: 768px) {
  .header {
    backdrop-filter: blur(12px);
    background: linear-gradient(
      90deg,
      rgba(25, 0, 87, 0.7) 0%,
      rgba(64, 40, 121, 0.7) 50.48%,
      rgba(25, 0, 87, 0.7) 100%
    );
    border: 1px solid #7d68b3;
    border-radius: 72px;
    box-shadow: 0 0 20px 0 rgba(125, 104, 179, 0.2);
    height: 64px;
    margin: 0 auto;
    padding: 0 28px;
    width: 374px;
    z-index: 1100; /* Header stays above mobile-menu */
  }

  .logo img {
    height: 40px;
    width: 32px;
  }

  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-menu {
    backdrop-filter: blur(24px);
    background: linear-gradient(
      90deg,
      rgba(25, 0, 87, 0.96) 0%,
      rgba(64, 40, 121, 0.96) 50.48%,
      rgba(25, 0, 87, 0.96) 100%
    );
    border: 1px solid #7d68b3;
    border-radius: 32px;
    box-shadow: 0 0 20px 0 rgba(125, 104, 179, 0.2);
    display: none;
    left: 50%;
    padding-top: 50px;
    position: fixed;
    top: 40px; /* slightly below the header (adjust if header height changes) */
    transform: translateX(-50%);
    width: 374px;
    z-index: 999; /* Above the sticky header */
  }

  .mobile-menu a {
    align-items: center;
    color: #fff;
    display: flex;
    font-weight: 600;
    height: 60px;
    padding: 0 20px;
    text-decoration: none;
  }

  .divider {
    background: #7d68b3;
    flex-shrink: 0;
    height: 2px;
    width: 100%;
  }

  .mobile-menu.active {
    display: flex !important;
    flex-direction: column;
  }
}

/* Laptop (up to 1440px included, including 1024px) */
@media (min-width: 769px) and (max-width: 1440px) {
  .header {
    backdrop-filter: blur(20px);
    background: linear-gradient(
      90deg,
      rgba(25, 0, 87, 0.7) 0%,
      rgba(64, 40, 121, 0.7) 50.48%,
      rgba(25, 0, 87, 0.7) 100%
    );
    border: 1px solid #7d68b3;
    border-radius: 90px;
    box-shadow: 0 0 40px 0 rgba(125, 104, 179, 0.2);
    height: 110px;
    margin: 0 auto 30px auto;
    padding: 0 50px;
    width: 90%;
  }

  .logo img {
    height: 60px;
  }

  .nav {
    display: flex;
    gap: 40px;
  }

  .nav a {
    font-size: 22px;
  }

  .burger {
    display: none;
  }

  /* Adjust for 1024px within laptop range */
  @media (min-width: 769px) and (max-width: 1023px) {
    .header {
      height: 100px;
      padding: 0 40px;
    }

    .logo img {
      height: 50px;
    }

    .nav {
      gap: 36px;
    }

    .nav a {
      font-size: 20px;
    }
  }
}

/* Everything else (above 1440px) */
@media (min-width: 1441px) {
  .header {
    backdrop-filter: blur(20px);
    background: linear-gradient(
      90deg,
      rgba(25, 0, 87, 0.7) 0%,
      rgba(64, 40, 121, 0.7) 50.48%,
      rgba(25, 0, 87, 0.7) 100%
    );
    border: 1px solid #7d68b3;
    border-radius: 90px;
    box-shadow: 0 0 40px 0 rgba(125, 104, 179, 0.2);
    height: 116px;
    margin: 32px auto;
    max-width: 1320px;
    padding: 0 60px;
  }

  .logo img {
    height: 64px;
  }

  .nav {
    display: flex;
    gap: 48px;
  }

  .nav a {
    font-size: 24px;
  }

  .burger {
    display: none;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 0 20px; /* smaller gutters */
  }
}

@media (max-width: 425px) {
  .content-wrapper {
    padding: 0 15px;
  }
}

@media (min-width: 1024px) {
  .bee-illustration {
    right: auto;
    top: auto;
  }
}

@media (min-width: 320px) {
  .bee-illustration {
    right: -1rem;
    top: 3.5rem;
  }
}

/* 600px+ */
@media (min-width: 600px) {
  .bee-illustration {
    right: 4rem;
    top: 1rem;
  }
}
@media (min-width: 600px) {
  .cta-buttons {
    gap: 1.5rem;
  }

  .btn {
    max-width: 16rem;
    padding: 1rem 2rem; /* ~16px 32px */
  }
}

@media (min-width: 1024px) {
  .cta-buttons {
    gap: 2.5rem;
  }

  .btn {
    flex: 0 1 auto;
    max-width: none;
    padding: 1.25rem 2.5rem; /* 20px 40px */
  }
}

@media (max-width: 479px) {
  .about {
    gap: 24px;
    margin-top: 0;
    padding: 0 8px; /* left/right offset 8px */
  }

  .avoid .bee-image {
    right: 0;
  }

  .hero-header-row {
    padding: 2rem 0 0.75rem 0;
  }

  .trusted {
    margin-top: 58px;
  }
  .about-header {
    align-items: center;
    flex-direction: row;
    gap: 16px;
    justify-content: space-between;
    width: 100%;
  }

  .about-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .services-btn {
    align-self: flex-start;
    border-radius: 6px;
    font-size: 16px;
    padding: 10px 16px;
  }

  .about-wrapper {
    flex-direction: column;
    width: 100%;
  }

  .about-hero-bg {
    height: 100%;
    min-height: 384px;
    width: calc(100% - 16px);
  }

  .about-hero-box {
    font-size: 14px;
    line-height: 24px;
    padding: 24px 16px;
    position: relative;
    width: calc(100% - 16px); /* 8px offset both sides */
  }

  .about-hero-box p:first-child {
    font-weight: 600;
    margin-bottom: 24px;
  }

  .about-hero-pink {
    filter: blur(28px);
    height: 100px;
    right: 0;
    top: -40px;
    width: 100px;
  }
}

@media (max-width: 374px) {
  .about-hero-box {
    padding: 1rem; /* tighter padding */
  }

  .about-hero-box p {
    font-size: 0.85rem; /* ~14px */
    line-height: 1.6;
  }

  .about-title {
    font-size: 1.25rem; /* ~20px */
  }

  .services-btn svg {
    height: 20px;
    width: 20px;
  }

  /* Ensure background hugs text */
  .about-hero-bg {
    min-height: 420px; /* no forced height */
  }
}

@media (min-width: 426px) and (max-width: 768px) {
  .about {
    gap: 32px;
    margin-top: 80px;
    padding: 0 16px; /* a bit more breathing room than mobile */
  }

  .about-header {
    align-items: center;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
  }

  .about-title {
    font-size: 32px;
    line-height: 1.25;
  }

  .services-btn {
    border-radius: 8px;
    font-size: 18px;
    padding: 12px 20px;
  }

  .about-wrapper {
    flex-direction: column;
    width: 100%;
  }

  .about-hero-bg {
    width: calc(100% - 32px);
  }

  .about-hero-box {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem); /* scales 14px → 17px */
    line-height: 2;
    padding: 16px;
    width: calc(100% - 32px);
  }

  .about-hero-box p:first-child {
    font-weight: 600;
    margin-bottom: 28px;
  }

  .about-hero-pink {
    filter: blur(32px);
    height: 120px;
    right: -28px;
    top: -50px;
    width: 120px;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .about {
    gap: 24px;
    margin-top: 100px;
    padding: 0 20px;
  }

  .about-header {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .about-wrapper {
    align-items: stretch;
    display: flex;
    flex-direction: row;
    gap: 24px;
    max-width: 90%; /* ✅ wrapper adapts, not fixed px */
  }

  .about-hero-bg,
  .about-hero-box {
    flex: 1 1 0; /* ✅ each takes 50% automatically */
    max-width: 100%; /* ✅ prevent one from stretching too much */
  }

  .about-hero-box {
    font-size: 16px;
    line-height: 2;
    padding: 28px 20px;
  }

  .about-title {
    font-size: 34px;
  }

  .services-btn {
    font-size: 18px;
    padding: 14px 24px;
  }

  .about-hero-pink {
    filter: blur(36px);
    height: 140px;
    right: -60px;
    top: -60px;
    width: 140px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .about-wrapper {
    align-items: stretch;
    flex-direction: row;
    gap: 40px;
    margin: 0 auto; /* center horizontally */
    max-width: 950px; /* ✅ constrain overall width */
  }

  .about-hero-bg,
  .about-hero-box {
    flex: 1 1 50%;
    height: auto;
    max-width: 80%;
  }

  .about-hero-box {
    font-size: 20px;
    line-height: 1.7;
    padding: 32px 24px;
  }

  .about-title {
    font-size: 36px;
  }

  .services-btn {
    padding: 14px 24px;
  }
  .about-hero-pink {
    right: 140px;
    top: -80px;
  }
}

@media (min-width: 425px) and (max-width: 497px) {
  .about-hero-box {
    font-size: 14px; /* force smaller size */
    line-height: 1.6; /* tighter line height */
  }
}

/* 📱 Mobile adjustments  - TRUSTED US (up to 425px) */
@media (max-width: 426px) {
  .trusted {
    padding: 0 20px; /* narrower gutters */
  }

  .trusted-title {
    font-size: 1.5rem; /* smaller header */
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .trusted-subtitle {
    font-size: 16px; /* smaller subtitle */
    font-weight: 300;
    line-height: 1.4; /* allow two lines to breathe */
    margin-bottom: 20px;
  }

  .trusted-logos {
    height: 7.8125rem; /* ~125px (your target height) */
  }

  .logos-inner {
    gap: 1.5rem; /* reduced gap */
  }

  .logo-square {
    height: 7.8125rem; /* ~125px */
    width: 8.8125rem; /* ~141px */
  }

  .logo-square img {
    max-height: 80%;
    max-width: 80%; /* scale down logos inside */
  }
}

@media (min-width: 426px) and (max-width: 720px) {
  .trusted {
    padding: 0 24px; /* a bit more breathing room */
  }

  .trusted-title {
    font-size: 1.75rem; /* ~28px, bigger than mobile, smaller than desktop */
    line-height: 1.3;
    margin-bottom: 14px;
  }

  .trusted-subtitle {
    font-size: 18px; /* between 16px and 24px */
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .trusted-logos {
    height: 9rem; /* ~144px, mid-size */
  }

  .logos-inner {
    gap: 1.75rem; /* slightly wider spacing */
  }

  .logo-square {
    height: 9rem; /* ~144px */
    width: 10rem; /* ~160px */
  }

  .logo-square img {
    max-height: 85%;
    max-width: 85%;
  }
}
/* ---------------------- */

/* 💻 Desktop (min 1025px) */
@media (min-width: 1200px) {
  .avoid-cards {
    align-items: stretch;
    display: flex;
    flex-wrap: nowrap; /* keep all 4 in one row */
    gap: 1.5rem;
    justify-content: space-between;
  }

  .avoid-card {
    height: 23.5rem; /* 320–380px */
    width: 19.625rem; /* 240px */
  }
}

/* 📲 Tablet (769px → 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .avoid-cards {
    display: flex;
    gap: 2rem; /* spacing between cards */
    /*grid-template-columns: repeat(2, 1fr);*/
    justify-items: center;
    flex-wrap: wrap;
  }

  .avoid-card {
    max-width: 300px;
    width: 100%;
  }
}

/* 📱 Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .avoid {
    padding: 12px 16px; /* prevent hitting edges */
  }

  .avoid-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .avoid-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .avoid-cards {
    display: flex;
    gap: 1.5rem; /* ~14px */
    /*grid-template-columns: repeat(2, 1fr); /* ✅ 2 cards per row */
    justify-items: center;
    flex-wrap: wrap;
  }

  .avoid-card {
    padding: 1rem;
  }

  .avoid-icon {
    height: 5.5rem;
    margin-bottom: 1rem;
    width: 5.5rem;
  }

  .avoid-text {
    font-size: 0.875rem;
    width: 172px;
  }

  .avoid-line {
    background-color: rgba(25, 0, 87, 0.5);
    height: 1px;
    margin: 1rem 0;
    width: 123%;
  }
}

@media (max-width: 1024px) {
  .bee-image {
    height: 265px;
    width: 320px;
  }
}

/* Small Tablet / Large Mobile (<= 768px) */
@media (max-width: 768px) {
  .bee-image {
    height: 182px;
    width: 220px;
  }
}

/* Mobile (<= 500px) */
@media (max-width: 500px) {
  .bee-image {
    height: 131px;
    width: 157px;
  }
}

/* 📱 Tablet Small-Mid (427px → 768px) */
@media (min-width: 427px) and (max-width: 768px) {
  .bee-illustration-stats {
    margin-bottom: 24px;
  }
}

/* 💻 Tablet Large (769px → 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
  .bee-illustration-stats {
    height: 195px;
    width: 230px;
  }
}

/* 🖥️ Desktop (1024px+) — original size */
@media (min-width: 1024px) {
  .bee-illustration-stats {
    height: 240px;
    width: 282px; /* or your original design value */
  }
}

/* ✅ Mobile & Small Tablet (≤768px) */
@media (max-width: 767px) {
  .wrapper {
    align-items: center; /* center horizontally */
    flex-direction: column; /* stack cards */
    gap: 1.25rem; /* ~20px */
    padding-left: 0; /* remove left offset */
  }

  .stat {
    flex: 0 0 auto;
    height: 10.3125rem; /* 165px */
    width: 21.875rem; /* 350px */
  }

  .stat-front .number {
    font-size: 3.5rem; /* ~40px */
    margin-bottom: 10px;
  }

  .stat-front .label {
    font-size: 1.125rem; /* ~18px */
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .wrapper {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    padding-left: 0;
  }

  .stat {
    flex: 0 1 15rem; /* slightly smaller width */
    height: 9.5rem; /* proportionate height */
  }

  .stat-back {
    transform: translate(-6px, -6px);
  }

  .stat-front .label {
    font-size: 1.125rem; /* ~18px instead of 28px */
  }
}

@media (max-width: 767px) {
  .wrapper {
    align-items: center; /* centers the stacked cards */
    flex-direction: column;
    gap: 1.25rem; /* spacing between them */
    justify-content: center;
    padding-left: 0; /* remove leftover desktop padding */
    width: 100%; /* prevent container shrink */
  }

  .stat {
    height: 10.3125rem; /* ~165px */
    margin: 0 auto; /* ensures each stat is centered */
    width: 21.875rem; /* ~350px */
  }

  .stat-front .label {
    font-size: 1.5rem; /* ~18px instead of 28px */
  }
}

/* ===========================
   REVIEWS — full responsive set
   Paste this AFTER your base .rev-section/.rev-card styles
   =========================== */

/* ---- Desktop / large laptop (>=1025px) ----
   - keeps zig-zag: left card left-aligned, right card right-aligned
   - cards slightly smaller than full width, centered wrapper gives visible gutters
*/
@media (min-width: 1025px) {
  .rev-wrapper {
    margin: 40px auto 0;
    position: relative;
  }

  /* card sizing and spacing */
  .rev-card {
    font-size: 1.5rem; /* ~18px */
    line-height: 1.45;
    min-height: 8.25rem; /* ~152px */
    padding: 2rem;
    text-align: left;
    width: 54.75rem; /* ~552px */
    z-index: 1; /* stay above decorative elements */
  }

  /* alternating alignment (left / right) */
  .rev-card-left {
    margin-left: 0;
    margin-right: auto; /* pushes the card to the left producing empty space on right */
    margin-top: 1.5rem;
  }

  .rev-card-right {
    margin-left: auto; /* pushes the card to the right producing empty space on left */
    margin-right: 0;
    margin-top: 2.5rem;
  }

  /* bee + blur (decorative) */
  .rev-bee {
    bottom: -70px;
    height: auto;
    left: -24px;
    pointer-events: none;
    position: absolute;
    transform: scaleX(-1);
    width: 22rem; /* ~352px */
    z-index: 0;
  }

  .rev-blur {
    filter: blur(44px);
    height: 7.5rem;
    position: absolute;
    right: 140px; /* near the top-right of the wrapper */
    top: -60px;
    width: 7.5rem; /* ~120px */
    z-index: 0;
  }

  /* paragraph inside card */
  .rev-card p {
    font-size: 1.5rem; /* 18px */
    font-weight: 500;
    margin: 0;
  }
}

/* ---- Laptop / large tablet (768px – 1024px) ----
   - maintain alternating alignment (zig-zag)
   - reduce card sizes to fit narrower widths
*/
@media (min-width: 768px) and (max-width: 1024px) {
  .rev-section {
    padding: 0 40px;
  }

  .rev-wrapper {
    margin: 32px auto 0;
    max-width: 920px;
    position: relative;
  }

  .rev-card {
    font-size: 1rem; /* 16px */
    line-height: 1.4;
    min-height: 8rem; /* ~128px */
    padding: 1.1rem 1.25rem;
    width: 27rem; /* ~432px */
  }

  .rev-card-left {
    margin-left: 0;
    margin-right: auto;
    margin-top: 1.25rem;
  }
  .rev-card-right {
    margin-left: auto;
    margin-right: 0;
    margin-top: 1.25rem;
  }

  .rev-bee {
    bottom: -60px;
    right: 48px;
    width: 14rem; /* ~224px */
  }

  .rev-blur {
    height: 6.25rem;
    right: 120px;
    top: -40px;
    width: 6.25rem; /* ~100px */
  }

  .rev-card p {
    font-size: 1rem;
  }
}

/* ---- Medium tablet / phablet (426px – 767px) ----
   - stack cards vertically for <768px (user requested)
   - card sizes smaller, bee/blur scaled
*/
@media (min-width: 425px) and (max-width: 767px) {
  .rev-section {
    padding: 0 28px;
  }

  .rev-wrapper {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    position: relative;
  }

  .rev-card {
    font-size: 1rem; /* 16px */
    height: 7rem; /* ~112px */
    line-height: 1.3;
    min-height: unset;
    padding: 0.9rem;
    width: 19rem; /* ~320px */
    margin-top: 20px;
  }

  .rev-bee {
    bottom: -127px;
    left: -6rem;
    width: 10.625rem; /* ~170px */
  }

  .rev-blur {
    filter: blur(32px);
    height: 5.5rem;
    right: 0;
    top: 0;
    width: 5.5rem; /* ~88px */
  }

  .rev-card p {
    font-size: 1rem; /* 16px */
    font-weight: 400; /* as requested */
  }
}

/* ---- Mobile (<=425px) ----
   - stacked; exact sizes you requested
   - texts capped to ~4 lines naturally by width & font-size
*/
@media (max-width: 425px) {
  .rev-section {
    padding: 0 20px;
  }

  .rev-wrapper {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 12px;
    position: relative;
  }

  .rev-card {
    font-size: 1rem; /* 16px */
    height: 6.75rem; /* 108px */
    line-height: 1.25;
    min-height: unset;
    padding: 0.75rem 0.9rem;
    margin-top: 0;
  }

  /* bee and blur sizes requested */
  .rev-bee {
    bottom: -40px;
    height: 8.125rem; /* 130px */
    left: -5rem;
    transform: scaleX(-1);
    width: 9.8125rem; /* 157px */
  }

  .rev-blur {
    filter: blur(28px);
    height: 5rem;
    right: 30px;
    top: -30px;
    width: 5rem; /* 80px */
  }

  .rev-card p {
    color: var(--White, #fff);
    font-family: Inter, sans-serif;
    font-size: 1rem; /* 16px */
    font-weight: 400;
    line-height: 1.25;
    margin: 0;
  }
}

/* ---- Optional tiny smoothing range (320–425) if you want smoother scaling --- */
@media (min-width: 320px) and (max-width: 425px) {
  .rev-card {
    width: 18.8125rem;
  } /* keep locked to mobile size */
}

/* ========================== */
/* Medium screens (768–1024px)*/
/* ========================== */
@media (max-width: 1024px) {
  .services-title {
    font-size: 32px;
  }

  .services-btn {
    font-size: 20px;
    padding: 12px 20px;
  }

  .services-subheader {
    font-size: 20px;
    max-width: 700px;
    width: 100%;
  }

  .services-wrapper {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .service-card,
  .service-bg,
  .service-front {
    height: 260px;
    width: 300px;
  }

  .service-front {
    left: 6px;
    padding: 20px;
    top: 6px;
  }

  .service-front h3 {
    font-size: 20px;
  }

  .service-front li {
    font-size: 18px;
    line-height: 32px;
  }
}

/* ========================= */
/* Tablets and small laptops */
/* ========================= */
@media (max-width: 1439px) and (min-width: 1025px) {
  .service-pink {
    height: 190px;
    right: -25px;
    width: 190px;
  }
  .services {
    box-sizing: border-box;
    max-width: 100%;
    padding: 0 40px; /* add breathing room on both sides */
  }

  .services-wrapper {
    gap: 28px;
    justify-content: space-evenly;
  }

  .service-card,
  .service-bg,
  .service-front {
    height: 280px;
    width: 280px;
  }

  .service-front {
    left: 8px;
    padding: 20px;
    top: 6px;
  }

  .service-front h3 {
    font-size: 22px;
  }

  .service-front li {
    font-size: 18px;
    line-height: 32px;
  }
}

/* ================== */
/* Mobile ≤ 767px     */
/* ================== */
@media (max-width: 769px) {
  .services {
    margin: 40px 0;
  }

  .services-header {
    align-items: flex-start;
    flex-direction: row;
    gap: 12px;
  }

  .services-title {
    font-size: 24px;
    font-weight: 600;
  }

  .services-btn {
    align-items: center;
    display: flex;
    font-size: 16px;
    font-weight: 700;
    gap: 4px;
    justify-content: center;
    padding: 10px 16px;
  }

  .services-btn svg {
    height: 18px;
    width: 18px;
  }

  .services-subheader {
    font-size: 16px;
    font-weight: 300;
    line-height: normal;
    margin: 16px 0 24px;
    max-width: 450px;
    text-align: left;
    width: 100%;
  }

  .services-wrapper {
    align-items: center; /* center cards horizontally */
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .service-card,
  .service-bg,
  .service-front {
    flex-shrink: 0;
    height: 224px;
    width: 350px;
  }

  .service-front {
    gap: 12px;
    padding: 16px;
  }

  .service-front h3 {
    font-size: 24px;
    font-weight: 700;
  }

  .service-front li {
    font-size: 18px;
    line-height: 28px;
  }

  .service-front li::before {
    top: 12px; /* re-center bullet for smaller line height */
  }

  .service-pink {
    filter: blur(50px);
    height: 160px;
    right: 0;
    top: -40px;
    width: 160px;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .service-card,
  .service-bg,
  .service-front {
    flex-shrink: 0;
    height: 224px;
    width: 280px;
  }
}

/* ---------- Tablet (768px → 1023px) ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  /* content stays left but with modest gutter from left edge */
  .create-content {
    margin-left: 32px; /* keeps heading left but not flush to the viewport edge */
    max-width: 700px;
    text-align: left;
  }

  .create-title {
    font-size: 32px;
  }

  .create-subtitle {
    font-size: 20px;
  }

  /* CTA button: left aligned below the subtitle, slightly smaller */
  .create-btn {
    display: inline-flex;
    font-size: 18px;
    margin-top: 20px;
    padding: 14px 20px;
  }

  /* Bee reduced */
  .create-bee {
    bottom: 10px;
    height: 240px;
    right: 40px;
    width: 300px;
    z-index: -1;
  }

  /* Move the up button into the section top-right (absolute so it aligns with the heading) */
  .create-top-btn {
    border-radius: 8px;
    bottom: 8px; /* align with top of the create block area */
    position: fixed;
    right: 16px;
  }
}

/* ---------- Mobile (≤767px) ---------- */
@media (max-width: 767px) {
  .create-top-btn {
    height: 48px;
    width: 48px;
  }

  .create-top-btn img {
    height: 48px;
    width: 48px;
  }
  .create-together {
    margin-top: 48px;
    min-height: 200px;
    padding: 0 16px;
  }

  /* critical: keep content LEFT aligned — matches your screenshot */
  .create-content {
    margin: 0 0 0 16px; /* visual left gutter like other sections */
    max-width: calc(100% - 32px);
    text-align: left;
  }

  .create-title {
    font-size: 24px; /* your requested size */
    line-height: 1.05;
  }

  .create-subtitle {
    font-size: 16px;
    font-weight: 300;
    margin-top: 12px;
    max-width: 420px; /* keep it short, will break into ~2 lines */
  }

  /* button: left aligned under subtitle, compact */
  .create-btn {
    align-items: center;
    display: inline-flex;
    font-size: 16px;
    gap: 10px;
    justify-content: center;
    margin-left: 0;
    margin-top: 20px;
    padding: 12px 16px; /* your requested size */
    width: auto; /* do not center-stretch */
  }

  /* small bee (your requested size) */
  .create-bee {
    bottom: -8px;
    height: 130px;
    right: 8px;
    width: 157px;
    z-index: -1;
  }

  /* Put the up-button near the heading (absolute inside the section)
     so it sits to the right of the heading as in your example */
  .create-top-btn {
    align-items: center;
    border-radius: 8px;
    bottom: 12px;
    display: flex;
    justify-content: center;
    position: fixed; /* absolute relative to .create-together */
    right: 16px;
    z-index: 10;
    /* keep same visuals as desktop but smaller */
  }
}
/* =========================
   FOOTER — Responsive overrides
   (active under 1024px)
   ========================= */

@media (max-width: 1024px) {
  .footer {
    height: auto;
    padding: 24px; /* more bottom padding for text spacing */
  }

  .footer-content {
    display: block;
    margin: 0 auto;
    max-width: 1440px;
    padding: 0;
    position: relative; /* anchor for absolutely positioned icons/text */
  }

  /* LOGO — stays on the left exactly like desktop */
  .footer-left {
    align-items: center;
    display: flex;
    gap: 20px;
    padding-left: 0;
    position: relative;
    z-index: 2;
  }

  .footer-logo img {
    height: auto;
    width: 100px;
  }

  /* ICONS — top right of footer */
  .footer-social {
    display: flex;
    gap: 18px;
    position: absolute;
    right: 24px;
    top: 12px;
    z-index: 2;
  }

  .social-link {
    height: 44px;
    width: 44px;
  }

  .social-link img {
    display: block;
    height: auto;
    width: 100%;
  }

  /* TEXT — bottom right under icons, with a larger gap */
  .footer-text {
    bottom: -10px; /* was 12px — increased gap */
    font-size: 15px;
    margin: 0;
    position: absolute;
    right: 24px;
    text-align: right;
    white-space: nowrap;
    z-index: 2;
  }

  /* Hide bee on smaller screens */
  .create-bee {
    display: none !important;
  }

  /* Yellow stain — flipped and pinned right above footer */
  .yellow-stain {
    bottom: 100%;
    left: unset;
    pointer-events: none;
    position: absolute;
    right: 0;
    transform: scaleX(-1);
    width: 280px;
    z-index: -1;
  }

  .yellow-stain img {
    display: block;
    height: auto;
    width: 100%;
  }

  /* Narrower phones refinement */
  @media (max-width: 600px) {
    .footer {
      padding: 16px;
    }

    .footer-logo img {
      width: 68px;
    }

    .footer-social {
      gap: 16px;
      right: 16px;
      top: 0;
    }
    .footer-social img {
      height: 24px;
      width: 24px;
    }
    .footer-text {
      bottom: -8px; /* keep larger gap */
      font-size: 14px;
      right: 16px;
    }

    .yellow-stain {
      width: 220px;
    }
  }

  /* Tiny screens */
  @media (max-width: 360px) {
    .footer-text {
      font-size: 13px;
      max-width: calc(100% - 140px);
      white-space: normal;
    }

    .footer-social {
      gap: 12px;
    }

    .social-link {
      height: 38px;
      width: 38px;
    }
  }
}

@media (max-width: 768px) {
  .key-stats h2 {
    font-size: 24px;
  }

  .key-stats {
    margin-bottom: 0;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .rev-section {
    margin-top: 32px;
  }

  .rev-header {
    font-size: 24px;
  }
}

