/* ============================================================
   PINK UMBRELLA — RESPONSIVE CSS
   Production-ready | All sections | All breakpoints
   ============================================================ */

/* ============================================================
   1400px+ LARGE DESKTOP
   ============================================================ */
@media (min-width: 1400px) {

  .manifesto-section,
  .cards-section {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   1200px – 1399px DESKTOP
   ============================================================ */
@media (max-width: 1399px) {
  .manifesto-section {
    width: auto;
  }

  .cards-section {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .content h1 {
    font-size: 58px;
    line-height: 64px;
  }

  .content h1.w-50 {
    width: 70% !important;
  }

  .manifesto-title {
    font-size: clamp(52px, 5.5vw, 110px);
  }

  .story-title {
    font-size: 62px;
  }
}

/* ============================================================
   992px – 1199px LAPTOP
   ============================================================ */
@media (max-width: 1199px) {

  /* --- HEADER --- */
  .navbar {
    padding: 14px 24px;
  }

  /* --- HERO --- */
  .content {
    padding-left: 40px;
  }

  .content h1 {
    font-size: 52px;
    line-height: 58px;
  }

  .content p {
    font-size: 18px;
    max-width: 55%;
  }

  /* --- MANIFESTO --- */
  .manifesto-section {
    width: auto;
    padding: 70px 0px 36px;
  }

  .manifesto-title {
    font-size: clamp(48px, 7vw, 96px);
  }

  .manifesto-right {
    width: 360px;
  }

  /* --- CARDS SECTION --- */
  .cards-section {
    padding: 60px 16px;
  }

  .feature-card {
    min-height: 480px;
    padding: 26px 20px 22px;
  }

  .card-heading {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  /* --- APP SHOWCASE --- */
  .app-showcase h2 {
    font-size: 44px;
  }

  .modern-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* --- ASSESSMENT --- */
  .quiz-card {
    max-width: 88%;
  }

  /* --- STORIES --- */
  .story-title {
    font-size: 56px;
  }

  .story-card {
    width: 280px;
  }

  .active-card {
    width: 360px;
  }

  /* --- PU SECTION --- */
  .pu-card {
    padding: 50px 44px;
  }

  .pu-content h2 {
    font-size: 44px;
  }

  /* --- CONTACT --- */
  .contact-info-panel {
    padding: 40px 30px;
  }

  .contact-info-panel h2 {
    font-size: 44px;
  }

  .contact-form-card {
    margin-left: -30px;
    padding: 36px;
  }

  /* --- FOOTER --- */
  .footer-modern .container {
    padding: 15px 30px;
  }
}

/* ============================================================
   768px – 991px TABLET LANDSCAPE
   ============================================================ */
@media (max-width: 991px) {

  /* --- GLOBAL --- */
  body {
    padding: 0;
  }

  /* --- HEADER --- */
  .navbar {
    padding: 12px 20px;
  }

  .wrap-header {
    flex-wrap: nowrap;
  }

  nav#navMenu {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  nav#navMenu.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: absolute;
    top: 130%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 24px 30px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 45px 45px rgba(0, 0, 0, .25);
  }

  nav#navMenu.active a {
    color: var(--blue);
    width: 100%;
  }

  nav#navMenu.active .btn-reach-us {
    width: fit-content;
  }

  /* --- HERO --- */
  .content {
    padding-left: 30px;
    padding-right: 30px;
  }

  .content h1 {
    font-size: 44px;
    line-height: 52px;
    max-width: 100%;
  }

  .content h1.w-50 {
    width: 70% !important;
  }

  .content h1 span {
    line-height: 80px;
  }

  .content p {
    font-size: 16px;
    max-width: 100%;
  }

  .library-bento {
    height: auto;
    flex-direction: row;
  }

  .plans-hero-right {
    flex: 0 0 0;
  }

  .join-btn {
    flex-wrap: wrap;
    gap: 10px;
  }

  .join-btn .btn {
    margin-right: 0;
  }

  /* --- MANIFESTO --- */
  .manifesto-section {
    width: auto;
    padding: 60px 0px 30px;
  }

  .manifesto-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .manifesto-right {
    width: 100%;
  }

  .manifesto-title {
    font-size: clamp(44px, 8vw, 80px);
  }

  /* --- CARDS SECTION --- */
  .cards-section {
    padding: 50px 12px;
  }

  .cards-row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
  }

  .feature-card {
    min-height: 440px;
    padding: 24px 18px 20px;
  }

  .card-number {
    font-size: 46px;
  }

  .card-heading {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .card-text {
    font-size: 13px;
  }

  /* --- APP SHOWCASE --- */
  .app-showcase {
    padding: 60px 0;
  }

  .app-showcase h2 {
    font-size: 42px;
    letter-spacing: -1.5px;
  }

  .lead-text {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .modern-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 28px;
  }

  .visual-wrap {
    min-height: 500px;
  }

  .app-img-frame {
    width: 240px;
    min-height: 520px;
  }

  .deco-ring-1 {
    width: 280px;
    height: 280px;
  }

  .deco-ring-2 {
    width: 420px;
    height: 420px;
  }

  /* --- ASSESSMENT --- */


  .quiz-card {
    max-width: 92%;
    padding: 32px;
  }

  #optionsBox {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .plan-card {
    max-width: 90%;
  }

  .plan-card ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-section h2 {
    font-size: 40px;
  }

  /* --- CARE STORIES --- */
  .care-stories {
    padding: 80px 0;
  }

  .story-title {
    font-size: 48px;
    letter-spacing: -2px;
  }

  .story-slider {
    min-height: 520px;
  }

  .story-card {
    width: 260px;
  }

  .active-card {
    width: 340px;
  }

  /* --- EXPLORE LIBRARY --- */
  .library-section {
    padding: 80px 0;
  }

  .library-title {
    font-size: 44px;
    letter-spacing: -2px;
  }

  .library-article-card {
    min-height: 380px;
  }

  /* --- PU MATES --- */
  .pu-section {
    padding: 60px 0;
  }

  .pu-card {
    padding: 40px 32px;
    border-radius: 32px;
  }

  .pu-content h2 {
    font-size: 40px;
    letter-spacing: -2px;
  }

  .pu-content h4 {
    font-size: 22px;
  }

  .image-wrapper {
    min-height: 360px;
    margin-top: 40px;
  }

  .main-image {
    height: 360px;
  }

  .floating-img {
    width: 175px;
    height: 125px;
  }

  /* --- CONTACT --- */
  .contact-modern {
    padding: 60px 0;
  }

  .contact-shell {
    padding: 28px;
    border-radius: 32px;
  }

  .contact-info-panel {
    padding: 28px 18px 32px;
  }

  .contact-info-panel h2 {
    font-size: 40px;
    letter-spacing: -1.5px;
  }

  .contact-form-card {
    margin-left: 0;
    padding: 32px;
    border-radius: 28px;
  }

  /* --- FOOTER --- */
  .footer-modern {
    padding: 50px 0 0;
  }

  .logo-footer {
    max-width: 140px;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }
}

/* ============================================================
   576px – 767px TABLET PORTRAIT
   ============================================================ */
@media (max-width: 767px) {

  /* --- GLOBAL --- */
  body {
    padding: 0;
    overflow-x: hidden;
  }

  /* --- HEADER --- */
  .navbar {
    padding: 10px 16px;
  }

  .logo img,
  .logo-footer {
    max-width: 140px;
  }

  /* --- HERO --- */
  .video-section {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .hero-video-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    order: 1;
  }

  .hero-video-wrap:after {
    display: none;
  }

  .hero-video-wrap video {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .content {
    position: relative;
    order: 2;
    height: auto;
    padding-top: 30px;
    padding-bottom: 40px;
    background: var(--blue, #2d3576);
    padding-left: 20px;
    padding-right: 20px;
  }

  .content h1 {
    font-size: 38px;
    line-height: 46px;
  }

  .content h1 span {
    line-height: 72px;
  }

  .content p {
    font-size: 15px;
    max-width: 95%;
    margin-top: 14px;
  }

  .join-btn {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .join-btn .btn {
    width: fit-content;
    font-size: 14px;
    padding: 12px 24px;
  }

  /* --- MANIFESTO --- */
  .manifesto-section {
    padding: 50px 0px 24px;
  }

  .manifesto-title {
    font-size: clamp(38px, 9vw, 64px);
  }

  .manifesto-content h4 {
    font-size: 19px;
  }

  .manifesto-content p {
    font-size: 15px;
  }

  .manifesto-divider {
    margin-top: 36px;
  }

  /* --- CARDS --- */
  .cards-section {
    padding: 40px 10px;
  }

  .row.row-cols-2.row-cols-lg-4 {
    flex-direction: column;
    padding-inline: 15px;
  }

  .row-cols-2>* {
    width: 100%;
  }

  .cstrip {
    padding: 20px;
    flex-direction: row;
    border-radius: 15px;
  }

  .cstrip-btn {
    padding: 8px 20px;
  }

  .cstrip-title {
    text-align: left;
    font-size: 20px;
  }

  .cards-row {
    --bs-gutter-x: 8px;
    --bs-gutter-y: 8px;
  }

  .feature-card {
    min-height: 380px;
    padding: 20px 16px 18px;
  }

  #comparisonSection.assessment-section {
    margin-top: 60px;
  }

  .plans-hero {
    margin-bottom: 10px;
  }

  .detail-feature-card::before {
    font-size: 36px;
  }

  .card-number {
    font-size: 40px;
  }

  .card-heading {
    font-size: 1.1rem;
    line-height: 1.5rem;
  }

  .card-text {
    font-size: 12.5px;
    line-height: 1.6;
  }

  .card-icon-box {
    width: 38px;
    height: 38px;
  }

  .card-arrow-btn {
    width: 38px;
    height: 38px;
    margin-top: 18px;
  }

  /* --- APP SHOWCASE --- */
  .app-showcase {
    padding: 50px 0;
  }

  .app-showcase h2 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .lead-text {
    font-size: 15px;
  }

  .modern-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .modern-card {
    padding: 16px;
  }

  .modern-card h5 {
    font-size: 13px;
  }

  .modern-card p {
    font-size: 12px;
  }

  .gradient-btn {
    padding: 8px 20px;
    font-size: 14px;
  }

  .assessment-section {
    padding-bottom: 40px;
  }

  .visual-wrap {
    min-height: 450px;
  }

  .app-img-frame {
    width: 210px;
    min-height: 460px;
  }

  .float-card {
    display: none;
  }

  /* --- ASSESSMENT --- */
  .compare-tab-btn {
    padding: 8px 20px;
  }

  .main-title {
    font-size: 32px;
    letter-spacing: -1.5px;
    margin: 14px 0;
  }

  .quiz-card {
    max-width: 95%;
    padding: 24px 20px;
    border-radius: 24px;
  }

  .quiz-head h3 {
    font-size: 20px;
  }

  .quiz-head {
    padding-bottom: 18px;
    margin-bottom: 20px;
  }

  .question {
    font-size: 16px;
    margin-bottom: 16px;
  }

  #optionsBox {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .option {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .next-btn {
    padding: 10px 22px;
    font-size: 14px;
    margin-top: 14px;
  }


  .plan-card {
    max-width: 95%;
    padding: 22px;
    border-radius: 28px;
  }

  .plan-thumb {
    height: 200px;
    border-radius: 20px;
    margin-bottom: 22px;
  }

  .plan-card h3 {
    font-size: 22px;
  }

  .price {
    font-size: 20px;
    margin: 14px 0;
  }

  .plan-card ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .select-plan,
  .compare-btn,
  .retake-btn {
    display: inline-block;
    margin: 5px 4px;
  }

  .comparison-section {
    margin-top: 50px;
  }

  .comparison-section h2 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .compare-text {
    font-size: 14px;
  }

  /* --- CARE STORIES --- */
  .care-stories {
    padding: 60px 0;
  }

  .story-title {
    font-size: 40px;
    letter-spacing: -1.5px;
  }

  .story-text {
    font-size: 15px;
  }

  .story-slider {
    min-height: 480px;
    margin-top: 40px;
  }

  .story-card {
    width: 240px;
  }

  .active-card {
    width: 300px;
    transform: scale(1.04);
  }

  /* --- EXPLORE LIBRARY --- */
  .library-row {
    text-align: center;
  }

  .library-title {
    font-size: 36px;
    letter-spacing: -1.5px;
  }

  .library-text {
    margin: 0 auto 28px;
  }

  .library-article-card {
    min-height: 320px;
  }

  .story-body h4 {
    font-size: 17px;
    min-height: 75px;
  }

  .slider-controls {
    margin-top: -30px;
  }

  .slider-btn {
    width: 48px;
    height: 48px;
    font-size: 28px;
  }

  /* --- PU MATES --- */
  .pu-section {
    padding: 50px 0 0 !important;
  }

  section,
  .container {
    overflow: visible !important;
    background-color: transparent !important;
  }

  .pu-card {
    padding: 30px 24px;
    border-radius: 28px;
  }

  .pu-content span {
    font-size: 13px;
  }

  .pu-content h2 {
    font-size: 36px;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
  }

  .pu-content h4 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .pu-content p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .theme-btn {
    font-size: 13px;
    padding: 8px 20px;
  }

  .btn {
    padding: 8px 20px !important;
  }

  .pink-btn,
  .retake-pill,
  .view-details-btn,
  .pu-story-read-btn,
  .btn-reach-us,
  .compare-btn,
  .retake-btn {
    font-size: 13px;
    padding: 8px 20px;
  }

  .image-wrapper {
    min-height: 300px;
    margin-top: 0px;
  }

  .main-image {
    height: 300px;
    border-radius: 28px;
  }

  .floating-img {
    width: 150px;
    height: 110px;
    border-width: 5px;
  }

  .app-img-frame img {
    border-radius: 16px;
  }

  .floating-top {
    top: -18px;
    right: -8px;
  }

  .floating-bottom {
    bottom: -22px;
    left: -8px;
  }

  /* --- CONTACT --- */
  .contact-modern {
    padding: 50px 0;
  }

  .contact-shell {
    padding: 18px;
    border-radius: 26px;
  }

  .contact-info-panel {
    padding: 20px 12px 24px;
  }

  .contact-info-panel h2 {
    font-size: 34px;
    letter-spacing: -1.2px;
  }

  .contact-info-panel p {
    font-size: 14px;
  }

  .info-item {
    padding: 14px;
    border-radius: 18px;
  }

  .info-item i {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .contact-form-card {
    margin-left: 0;
    padding: 24px 20px;
    border-radius: 24px;
  }

  .contact-form-card h3 {
    font-size: 26px;
  }

  .form-control,
  .form-select {
    height: 52px;
    border-radius: 14px;
  }

  textarea.form-control {
    height: 90px;
  }

  .submit-btn {
    height: 52px;
    border-radius: 14px;
    font-size: 14px;
  }

  /* --- MODAL --- */
  .custom-modal {
    padding: 10px;
    border-radius: 22px;
  }

  .modal-heading {
    font-size: 20px;
  }

  .custom-input {
    height: 50px;
    border-radius: 12px;
  }

  /* --- FOOTER --- */
  .footer-modern {
    padding: 40px 0 0;
  }

  .footer-modern .container {
    padding: 15px 20px;
  }

  .logo-footer {
    max-width: 130px;
    margin-bottom: 14px;
  }

  .footer-modern p,
  .footer-modern li,
  .footer-modern a {
    font-size: 13px;
  }

  .footer-modern h5 {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .footer-social a {
    width: 34px;
    height: 34px;
  }

  .footer-bottom {
    margin-top: 30px;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

/* ============================================================
   480px – 575px MOBILE LARGE
   ============================================================ */
@media (max-width: 575px) {

  /* --- HERO --- */
  .content h1 {
    font-size: 34px;
    line-height: 42px;
  }

  .content h1 span {
    line-height: 64px;
    padding: 2px 12px;
    font-size: 30px;
  }

  .content p {
    font-size: 14px;
    max-width: 100%;
  }

  /* --- MANIFESTO --- */
  .manifesto-section {
    padding: 44px 0px 20px;
  }

  .manifesto-title {
    font-size: clamp(32px, 10vw, 52px);
  }


  /* --- CARDS --- */
  .cards-section {
    padding: 32px 8px;
  }

  .cards-row {
    --bs-gutter-x: 6px;
    --bs-gutter-y: 6px;
  }

  .feature-card {
    min-height: 340px;
    padding: 16px 14px 14px;
    border-radius: 16px;
  }

  .card-number {
    font-size: 36px;
  }

  .card-heading {
    font-size: 0.95rem;
    line-height: 1.3rem;
    margin-bottom: 10px;
  }

  .card-text {
    font-size: 11.5px;
  }

  .card-divider {
    margin-bottom: 14px;
  }

  .card-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .card-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .card-arrow-btn {
    width: 34px;
    height: 34px;
    margin-top: 14px;
  }

  .card-arrow-btn svg {
    width: 15px;
    height: 15px;
  }

  /* --- APP SHOWCASE --- */
  .app-showcase {
    padding: 40px 0;
  }

  .app-showcase h2 {
    font-size: 30px;
  }

  .lead-text {
    font-size: 14px;
    margin: 12px 0 20px;
  }

  .lead-text.mb-0,
  .lead-pink-strong {
    line-height: 20px;
  }

  .modern-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 24px;
  }

  .modern-card {
    padding: 14px;
    border-radius: 14px;
  }

  .modern-card span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    margin-bottom: 10px;
  }

  .modern-card span i {
    font-size: 15px;
  }

  .modern-card h5 {
    font-size: 12px;
  }

  .modern-card p {
    font-size: 11px;
  }

  .visual-wrap {
    min-height: 400px;
  }

  .app-img-frame {
    width: 190px;
    min-height: 420px;
    border-radius: 32px;
  }

  .deco-ring-1 {
    width: 240px;
    height: 240px;
  }

  .deco-ring-2 {
    width: 360px;
    height: 360px;
  }

  /* --- ASSESSMENT --- */
  .main-title {
    font-size: 26px;
    letter-spacing: -1px;
    margin: 10px 0;
  }


  .quiz-card {
    max-width: 98%;
    padding: 20px 16px;
    border-radius: 20px;
  }

  .quiz-head {
    align-items: flex-start;
    padding-bottom: 14px;
    margin-bottom: 16px;
  }

  .library-video-card {
    min-height: 180px;
  }

  .quiz-head h3 {
    font-size: 18px;
  }

  .question {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .option {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
  }

  .option span {
    font-size: 13px;
  }

  .plan-card {
    max-width: 98%;
    padding: 18px;
    border-radius: 22px;
  }

  .plan-thumb {
    height: 180px;
    border-radius: 18px;
  }

  .play-btn {
    width: 48px;
    height: 48px;
  }


  .plan-card h3 {
    font-size: 20px;
  }

  .price {
    font-size: 18px;
  }

  .select-plan,
  .compare-btn,
  .retake-btn {
    width: 100%;
    display: block;
    margin: 5px 0;
    padding: 8px 20px;
    font-size: 13px;
  }

  .comparison-section {
    margin-top: 40px;
  }

  .comparison-section h2 {
    font-size: 28px;
  }

  .compare-card {
    border-radius: 22px;
    padding: 12px;
  }

  .compare-card h4 {
    font-size: 18px;
  }

  .compare-card h3 {
    font-size: 28px;
    margin: 16px 0;
  }

  .compare-card>span {
    font-size: 10px;
    padding: 4px 15px;
  }

  .compare-card li {
    font-size: 13px;
  }

  .compare-card .plan-btn {
    padding: 12px;
    font-size: 13px;
  }

  /* --- STORIES --- */
  .care-stories {
    padding: 50px 0;
  }

  .story-title {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .story-text {
    font-size: 14px;
  }

  .story-slider {
    min-height: 440px;
    margin-top: 32px;
  }

  .story-card {
    display: none;
  }

  .active-card {
    display: block;
    width: 90%;
    max-width: 360px;
    transform: none;
  }

  .story-card img {
    height: 210px;
  }

  .active-card img {
    height: 230px;
  }

  .story-body {
    padding: 18px 8px 6px;
  }

  .story-body h4 {
    font-size: 15px;
    min-height: auto;
  }

  .slider-controls {
    margin-top: -10px;
    gap: 12px;
  }

  .slider-btn {
    width: 44px;
    height: 44px;
    font-size: 26px;
  }

  /* --- EXPLORE LIBRARY --- */
  .library-section {
    padding: 60px 0;
  }

  .verified,
  .compare-card>div>span {
    padding: 5px 15px;
  }

  .library-title {
    font-size: 30px;
  }

  .library-article-card {
    min-height: 280px;
    padding: 24px;
  }

  .library-article-card h4 {
    font-size: 20px;
  }

  .library-gallery-thumbs img {
    width: 44px;
    height: 44px;
  }


  /* --- PU MATES --- */
  .pu-card {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .pu-content h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .pu-content h4 {
    font-size: 18px;
  }

  .pu-content p {
    font-size: 14px;
  }

  .main-image {
    height: 280px;
    border-radius: 22px;
  }

  .floating-img {
    width: 130px;
    height: 96px;
    border-width: 4px;
  }

  .floating-top {
    top: -14px;
    right: -4px;
  }

  .app-phones-row {
    padding: 0;
  }

  .floating-bottom {
    bottom: -16px;
    left: -4px;
  }

  .detail-lead {
    margin-bottom: 0;
  }

  /* --- CONTACT --- */
  .contact-info-panel {
    padding: 16px 8px 20px;
  }

  .contact-info-panel h2 {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .info-list {
    gap: 12px;
  }

  .info-item b {
    font-size: 13px;
  }

  .contact-form-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .contact-form-card h3 {
    font-size: 22px;
  }

  .contact-form-card p {
    font-size: 13px;
    margin-bottom: 20px;
  }

  #contactForm {
    gap: 14px;
  }

  .form-control,
  .form-select {
    height: 48px;
    border-radius: 12px;
    font-size: 13px;
  }

  textarea.form-control {
    height: 84px;
  }

  .submit-btn {
    height: 48px;
    border-radius: 12px;
    font-size: 14px;
  }

  /* --- MODAL --- */
  .modal-dialog {
    margin: 12px;
  }

  .custom-modal {
    padding: 8px;
    border-radius: 20px;
  }

  .modal-heading {
    font-size: 18px;
  }

  .custom-input {
    height: 48px;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .custom-textarea {
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
  }

  /* --- FOOTER --- */
  .footer-modern {
    padding: 36px 0 0;
  }

  .footer-modern .row {
    gap: 24px;
  }

  .footer-social {
    gap: 8px;
    margin-top: 16px;
  }
}

/* ============================================================
   390px – 479px MOBILE MEDIUM
   ============================================================ */
@media (max-width: 479px) {

  /* --- HERO --- */
  .content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mobile {
    position: relative;
  }

  .mobile .logo-icon {
    display: none;
  }

  .mobile .logo-sticky {
    display: inline-block;
  }

  .mobile .menu-icon {
    color: var(--blue);
  }

  .mobile.scrolled {
    position: fixed !important;
  }

  .content h1 {
    font-size: 30px;
    line-height: 38px;
  }

  .content h1 span {
    font-size: 20px;
    line-height: 58px;
    padding: 2px 10px;
  }

  .content p {
    font-size: 13.5px;
  }

  .join-btn .btn {
    font-size: 13px;
    padding: 11px 20px;
  }

  /* --- MANIFESTO --- */
  .manifesto-section {
    padding: 36px 0px 18px;
  }

  .manifesto-title {
    font-size: clamp(28px, 9vw, 44px);
  }

  .manifesto-content h4 {
    font-size: 17px;
  }

  .manifesto-content p {
    font-size: 14px;
  }

  /* --- CARDS --- */
  .cards-section {
    padding: 28px 6px;
  }

  .row.row-cols-2.row-cols-lg-4 {
    --bs-columns: 1;
  }

  .feature-card {
    min-height: 310px;
    padding: 14px 12px 12px;
    border-radius: 14px;
  }

  .card-number {
    font-size: 36px;
  }

  .card-heading {
    font-size: 0.85rem;
    line-height: 1.2rem;
  }

  .card-text {
    font-size: 11px;
    line-height: 1.55;
  }

  .card-icon-box {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }

  .card-icon-box svg {
    width: 15px;
    height: 15px;
  }

  .card-arrow-btn {
    width: 30px;
    height: 30px;
    margin-top: 10px;
  }

  .card-arrow-btn svg {
    width: 13px;
    height: 13px;
  }

  /* --- APP SHOWCASE --- */
  .app-showcase h2 {
    font-size: 26px;
    letter-spacing: -0.5px;
  }

  .modern-features {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .modern-card {
    padding: 12px;
    border-radius: 12px;
  }

  .visual-wrap {
    min-height: 360px;
  }

  .app-img-frame {
    width: 170px;
    min-height: 380px;
    border-radius: 28px;
  }

  .deco-ring-1 {
    width: 210px;
    height: 210px;
  }

  .deco-ring-2 {
    width: 320px;
    height: 320px;
  }

  /* --- ASSESSMENT --- */
  .main-title {
    font-size: 54px;
  }

  .assessment-sub-head {
    font-size: 14px;
    padding-top: 10px;
  }

  .quiz-card {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .quiz-head h3 {
    font-size: 17px;
  }



  .option {
    padding: 11px 12px;
  }

  .option span {
    font-size: 12px;
  }

  .plan-card {
    padding: 16px;
  }

  .plan-thumb {
    height: 160px;
  }

  .comparison-section h2 {
    font-size: 24px;
  }

  /* --- STORIES --- */
  .story-title {
    font-size: 30px;
  }

  .active-card {
    width: 95%;
  }

  .story-slider {
    min-height: 400px;
  }

  .story-body h4 {
    font-size: 15px;
  }

  /* --- PU MATES --- */
  .pu-content h2 {
    font-size: 26px;
  }

  .pu-content h4 {
    font-size: 16px;
  }

  .main-image {
    height: 250px;
  }

  .floating-img {
    width: 115px;
    height: 86px;
    border-width: 4px;
    border-radius: 18px;
  }

  /* --- CONTACT --- */
  .contact-info-panel h2 {
    font-size: 26px;
  }

  .info-item {
    padding: 12px;
    border-radius: 14px;
    gap: 12px;
  }

  .info-item i {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .info-item span {
    font-size: 10px;
  }

  .info-item b {
    font-size: 12px;
  }

  .contact-form-card h3 {
    font-size: 20px;
  }

  .menu-icon {
    font-size: 22px;
  }
}

/* ============================================================
   320px – 389px MOBILE SMALL
   ============================================================ */
@media (max-width: 390px) {

  /* --- GLOBAL --- */
  .container {
    padding: 15px 14px;
  }

  /* --- HERO --- */
  .content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .content h1 {
    font-size: 26px;
    line-height: 34px;
  }

  .content h1 span {
    font-size: 22px;
    line-height: 52px;
    padding: 2px 8px;
  }

  .content p {
    font-size: 12.5px;
    margin-top: 10px;
  }

  .join-btn .btn {
    font-size: 12px;
    padding: 10px 18px;
  }

  /* --- MANIFESTO --- */
  .manifesto-section {
    padding: 30px 0px 16px;
  }

  .manifesto-title {
    font-size: clamp(24px, 8vw, 36px);
  }


  .manifesto-content h4 {
    font-size: 15px;
  }

  .manifesto-content p {
    font-size: 13px;
  }

  /* --- CARDS --- */
  .cards-section {
    padding: 24px 4px;
  }

  .cards-row {
    --bs-gutter-x: 4px;
    --bs-gutter-y: 4px;
  }

  .feature-card {
    min-height: 280px;
    padding: 12px 10px 10px;
    border-radius: 12px;
  }

  .card-number {
    font-size: 28px;
  }

  .card-heading {
    font-size: 0.78rem;
    line-height: 1.1rem;
    margin-bottom: 8px;
  }

  .card-text {
    font-size: 10.5px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .card-divider {
    margin-bottom: 10px;
    width: 22px;
  }

  .card-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }

  .card-icon-box svg {
    width: 13px;
    height: 13px;
  }

  .card-arrow-btn {
    width: 28px;
    height: 28px;
    margin-top: 8px;
  }

  /* --- APP SHOWCASE --- */
  .app-showcase {
    padding: 32px 0;
  }

  .app-showcase h2 {
    font-size: 26px;
  }

  .detail-title {
    margin-bottom: 10px;
  }



  .lead-text {
    font-size: 13px;
    margin: 10px 0 16px;
  }

  .modern-features {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-bottom: 18px;
  }

  .modern-card {
    padding: 10px;
    border-radius: 10px;
  }

  .modern-card span {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    margin-bottom: 8px;
  }

  .modern-card span i {
    font-size: 13px;
  }

  .modern-card h5 {
    font-size: 11px;
  }

  .modern-card p {
    font-size: 10.5px;
  }

  .gradient-btn {
    padding: 11px 20px;
    font-size: 13px;
  }

  .visual-wrap {
    min-height: 320px;
  }

  .app-img-frame {
    width: 170px;
    min-height: 340px;
    border-radius: 24px;
  }

  .deco-ring-1 {
    width: 180px;
    height: 180px;
  }

  .deco-ring-2 {
    width: 280px;
    height: 280px;
  }



  .main-title {
    font-size: 42px;
    letter-spacing: -0.5px;
  }


  .quiz-card {
    max-width: 100%;
    padding: 16px 12px;
    border-radius: 16px;
  }

  .quiz-head h3 {
    font-size: 16px;
  }

  .step-count {
    font-size: 10px;
    padding: 6px 10px;
  }

  .question {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .option {
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 6px;
  }

  .option span {
    font-size: 11.5px;
  }

  .circle {
    width: 15px;
    height: 15px;
  }

  .next-btn {
    padding: 9px 18px;
    font-size: 13px;
  }

  .plan-card {
    padding: 14px;
    border-radius: 18px;
  }

  .plan-thumb {
    height: 140px;
    border-radius: 14px;
  }

  .play-btn {
    width: 40px;
    height: 40px;
  }

  .play-btn i {
    font-size: 16px;
  }

  .thumb-content h4 {
    font-size: 15px;
  }


  .plan-card h3 {
    font-size: 18px;
  }

  .price {
    font-size: 16px;
    margin: 10px 0;
  }

  .plan-card p {
    font-size: 12px;
  }

  .plan-card li {
    font-size: 12px;
  }

  .comparison-section {
    margin-top: 32px;
  }

  .comparison-section h2 {
    font-size: 22px;
  }

  .compare-text {
    font-size: 13px;
  }

  .compare-card {
    border-radius: 18px;
    padding: 10px;
  }

  .compare-card h4 {
    font-size: 16px;
  }

  .compare-card h3 {
    font-size: 24px;
    margin: 12px 0;
  }

  .compare-card li {
    font-size: 12px;
    padding: 4px 0;
  }

  .compare-card .plan-btn {
    padding: 10px;
    font-size: 12px;
    border-radius: 30px;
  }

  .card-thumb {
    border-radius: 12px;
  }

  .card-play-btn {
    width: 36px;
    height: 36px;
  }

  .card-play-btn i {
    font-size: 13px;
  }

  /* --- CARE STORIES --- */
  .care-stories {
    padding: 40px 0;
  }

  .story-title {
    font-size: 26px;
    letter-spacing: -0.5px;
  }

  .story-text {
    font-size: 13px;
  }

  .story-slider {
    min-height: 360px;
    margin-top: 24px;
  }

  .active-card {
    width: 98%;
  }

  .story-card img {
    height: 180px;
  }

  .active-card img {
    height: 200px;
  }

  .story-body {
    padding: 14px 6px 4px;
  }

  .story-body h4 {
    font-size: 14px;
    min-height: auto;
  }

  .meta span {
    font-size: 11px;
  }

  .rating {
    font-size: 16px;
    margin-top: 16px;
    padding-top: 14px;
  }

  .slider-controls {
    margin-top: -6px;
    gap: 10px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  /* --- PU MATES --- */
  .pu-section {
    padding: 36px 0;
  }

  .pu-card {
    padding: 20px 14px;
    border-radius: 20px;
  }

  .pu-content h2 {
    font-size: 22px;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }

  .pu-content-sub {
    font-size: 20px;
    margin-top: 10px;
  }

  .pu-content h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .pu-content p {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .pu-content span {
    font-size: 11px;
    padding: 8px 14px;
    margin-bottom: 16px;
  }

  .theme-btn {
    font-size: 12px;
    padding: 9px 16px;
  }

  .image-wrapper {
    min-height: 220px;
    margin-top: 28px;
  }

  .main-image {
    height: 220px;
    border-radius: 18px;
  }

  .floating-img {
    width: 100px;
    height: 76px;
    border-width: 3px;
    border-radius: 14px;
  }

  .floating-top {
    top: -10px;
    right: -2px;
  }

  .floating-bottom {
    bottom: -12px;
    left: -2px;
  }

  /* --- CONTACT --- */
  .contact-modern {
    padding: 36px 0;
  }

  .contact-shell {
    padding: 12px;
    border-radius: 20px;
  }

  .contact-info-panel {
    padding: 14px 8px 18px;
  }

  .contact-info-panel h2 {
    font-size: 22px;
    letter-spacing: -0.5px;
  }

  .contact-info-panel p {
    font-size: 12.5px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .info-list {
    gap: 10px;
  }

  .info-item {
    padding: 10px;
    gap: 10px;
    border-radius: 12px;
  }

  .info-item i {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .info-item span {
    font-size: 11px;
    margin-bottom: 0;
  }

  .info-item b {
    font-size: 14px;
  }



  .contact-form-card {
    padding: 16px 12px;
    border-radius: 18px;
  }

  .contact-form-card h3 {
    font-size: 18px;
  }

  .contact-form-card p {
    font-size: 12px;
    margin-bottom: 16px;
  }

  #contactForm {
    gap: 10px;
  }

  .form-control,
  .form-select {
    height: 44px;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
  }

  textarea.form-control {
    height: 76px;
  }

  .submit-btn {
    height: 44px;
    border-radius: 10px;
    font-size: 13px;
  }

  /* --- MODAL --- */
  .modal-dialog {
    margin: 8px;
  }

  .custom-modal {
    padding: 6px;
    border-radius: 18px;
  }

  .modal-heading {
    font-size: 17px;
  }

  .modal-subtitle {
    font-size: 12.5px;
  }

  .form-label {
    font-size: 12px;
    margin-bottom: 7px;
  }

  .custom-input {
    height: 44px;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .custom-textarea {
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12px;
  }

  /* --- FOOTER --- */
  .footer-modern {
    padding: 30px 0 0;
  }

  .footer-modern .container {
    padding: 15px 14px;
  }

  .logo-footer {
    max-width: 120px;
    margin-bottom: 12px;
  }

  .footer-modern p,
  .footer-modern li,
  .footer-modern a {
    font-size: 12px;
  }

  .footer-modern h5 {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .footer-social {
    gap: 6px;
  }

  .footer-social a {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .footer-bottom {
    margin-top: 24px;
  }

  .footer-bottom .container {
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 6px;
  }
}

/* ============================================================
   UNIVERSAL OVERFLOW GUARD
   Prevents horizontal scroll at all widths
   ============================================================ */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* Fix Bootstrap container overflow on small screens */
@media (max-width: 767px) {
  .container {
    max-width: 100%;
    overflow-x: hidden;
  }

  .row {
    --bs-gutter-x: 16px;
  }
}

/* Prevent modal from overflowing on small screens */
@media (max-width: 389px) {
  .modal-body {
    padding: 10px;
  }
}

/* ============================================================
   CARD DETAIL PAGES
   ============================================================ */
@media (max-width: 1199px) {
  .detail-title {
    font-size: 52px;
  }

  .detail-hero-img {
    height: 400px;
  }

  .detail-section-head h2 {
    font-size: 38px;
  }

  .detail-cta {
    padding: 60px 40px;
  }

  .detail-cta h2 {
    font-size: 36px;
  }
}

@media (max-width: 991px) {
  .detail-hero {
    padding: 80px 0 0;
  }

  .detail-title {
    font-size: 44px;
    letter-spacing: -2px;
  }

  .detail-lead {
    max-width: 100%;
  }

  .detail-hero-img {
    height: 340px;
  }

  .store-badges {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .detail-title {
    font-size: 36px;
  }

  .detail-hero-img {
    height: 280px;
  }

  .detail-section-head h2 {
    font-size: 30px;
  }

  .detail-quote {
    font-size: 18px;
    padding-left: 20px;
  }

  .detail-cta {
    padding: 50px 24px;
    border-radius: 28px;
  }

  .detail-cta h2 {
    font-size: 28px;
  }
}

@media (max-width: 575px) {
  .detail-hero {
    padding: 80px 0 0px;
  }

  p {
    font-size: 16px !important;
  }

  .badge-pill {
    font-size: 10px;
    padding: 4px 15px;
    margin-bottom: 20px;
  }

  .compare-page {
    padding: 60px 0;
  }

  .cmp-title {
    line-height: 1.2;
  }

  .detail-hero {
    padding: 60px 0;
  }

  .ghost-btn {
    padding: 8px 20px;
  }

  .detail-title {
    font-size: 30px;
  }

  .detail-hero-img {
    height: 240px;
  }

  .detail-section-tight {
    margin: 0 0 40px;
  }

  .detail-hero-actions {
    align-items: stretch;
    width: 100%;
  }

  .pu-hero-quote {
    width: 80%;
  }

  .detail-hero-actions .btn,
  .detail-hero-actions .theme-btn {
    text-align: center;
    justify-content: center;
  }

  .pu-hero-quote p,
  .pu-floating-info p {
    font-size: 13px !important;
  }

  .footer-bottom p {
    font-size: 12px !important;
  }

  .pu-content span {
    font-size: 10px;
    padding: 4px 15px;
  }
}

@media (max-width: 389px) {
  .detail-hero-img {
    height: 200px;
  }

  .app-phones-row {
    gap: 6px;
  }

  .phone-mock.side {
    width: 76px;
    height: 160px;
  }

  .phone-mock.center {
    width: 92px;
    height: 195px;
  }

  .detail-title {
    font-size: 26px;
    margin-top: 0;
  }

  .pu-career-box {
    font-size: 13px;
    padding: 16px;
  }

  .apply-info-panel,
  .apply-form-panel {
    padding: 22px 14px;
  }
}

/* ============================================================
   PU MATE / PU APP DETAIL PAGES
   ============================================================ */
@media (max-width: 1199px) {
  .phone-mock {
    width: 180px;
    height: 380px;
  }

  .phone-mock.center {
    width: 210px;
    height: 440px;
  }

  .apply-info-panel,
  .apply-form-panel {
    padding: 40px 32px;
  }

  .apply-info-panel h2 {
    font-size: 34px;
  }
}

@media (max-width: 991px) {
  .pu-floating-info {
    position: absolute;
    margin: -40px 20px 0 auto;
    max-width: 280px;
  }

  .pu-hero-quote {
    position: absolute;
    margin: -30px 20px 0 auto;
    max-width: 280px;
    padding: 20px;
  }

  .pu-hero-quote p {
    font-size: 16px;
  }

  .app-phones-row {
    flex-wrap: wrap;
    gap: 30px 16px;
  }

  .phone-mock.side,
  .phone-mock.center {
    transform: translateY(0);
  }


}

@media (max-width: 767px) {
  .pu-stats-row {
    gap: 30px;
  }

  .pu-stat-item h4 {
    font-size: 24px;
  }

  .pu-career-box {
    padding: 24px 22px;
    font-size: 16px;
  }

  .apply-info-panel,
  .apply-form-panel {
    padding: 32px 24px;
  }

  .apply-info-panel h2 {
    font-size: 30px;
  }

  .apply-checklist {
    gap: 12px;
  }

  .phone-mock {
    width: 150px;
    height: 320px;
  }

  .phone-mock.center {
    width: 175px;
    height: 370px;
  }

  .pu-hero-quote {
    margin: -24px 16px 0 auto;
    max-width: 240px;
    padding: 16px;
  }

  .pu-hero-quote p {
    font-size: 14px;
  }

  .pu-img-wrap {
    margin-bottom: 16px;
  }

  .detail-feature-card {
    padding: 24px;
  }

  .detail-feature-card h5 {
    font-size: 16px;
  }

  .detail-feature-icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
    margin-bottom: 16px;
  }
}

@media (max-width: 575px) {
  .pu-stats-row {
    flex-direction: column;
    gap: 16px;
  }

  .store-badges {
    flex-direction: column;
  }

  .store-badge {
    justify-content: left;
    gap: 15px;
  }

  .app-phones-row {
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .phone-mock {
    border-width: 5px;
    border-radius: 20px;
  }

  .phone-mock::before {
    width: 40px;
    height: 10px;
    border-radius: 0 0 8px 8px;
  }

  .phone-mock.side {
    width: 90px;
    height: 190px;
  }

  .phone-mock.center {
    width: 110px;
    height: 230px;
  }

  .pu-floating-info {
    margin-right: 0;
    max-width: 100%;
  }

  .pu-hero-quote {
    margin: -20px 0 0;
    max-width: 100%;
    padding: 14px 16px;
  }

  .apply-info-panel,
  .apply-form-panel {
    padding: 26px 18px;
  }

  .apply-info-panel h2 {
    font-size: 26px;
  }

  .apply-checklist li {
    font-size: 13px;
  }

  .pu-career-box {
    padding: 20px 18px;
    font-size: 14px;
  }

  .detail-feature-card {
    padding: 20px;
  }
}

/* ============================================================
   RESOURCE CENTER SECTION
   ============================================================ */
@media (max-width: 1199px) {
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .resource-section {
    padding: 80px 0;
  }

  .resource-head {
    margin-bottom: 30px;
  }

  .resource-tabs {
    width: 100%;
  }

  .resource-featured {
    flex-direction: column;
  }

  .resource-featured-img {
    flex: none;
    height: 240px;
  }

  .resource-featured-body {
    padding: 32px;
  }
}

@media (max-width: 767px) {
  .resource-section {
    padding: 60px 0;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-card.media-only {
    min-height: 220px;
  }

  .resource-tab {
    padding: 12px 18px;
    font-size: 12px;
  }

  .resource-featured-body {
    padding: 28px;
  }

  .resource-featured-body h3 {
    font-size: 22px;
  }
}

@media (max-width: 575px) {

  .resource-tab {
    justify-content: center;
    width: max-content;
    padding: 6px 15px;
    font-size: 10px;
  }

  .resource-featured-img {
    height: 180px;
  }


  .resource-card-body p {
    font-size: 13px !important;
  }
}

/* ============================================================
   OUR PHILOSOPHY PAGE: CTA STRIP PADDING
   ============================================================ */
@media (max-width: 1199px) {
  .detail-section-cta-pad {
    padding: 0 60px 60px;
  }

  .manifesto-section-pushed {
    padding-top: 140px;
  }
}

@media (max-width: 767px) {
  .detail-section-cta-pad {
    padding: 0 20px 50px;
  }

  .manifesto-section-pushed {
    padding-top: 60px;
  }

  .detail-section {
    padding: 20px 0 0;
  }

  .cstrip {
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .detail-section-cta-pad {
    padding: 0 12px 40px;
  }

  .hero-ctrl-btn {
    font-size: 12px;
    height: 30px;
    width: 30px;
  }

  .hero-video-controls {
    flex-direction: row;
    right: 10px;
    top: 90%;
    background: rgb(77 31 59 / 10%);
    backdrop-filter: blur(5px);
  }

  .care-type-options {
    grid-template-columns: 1fr;
  }

  .option.active {
    transform: translateX(0);
  }
}

/* ============================================================
   CARE STORIES TITLE — FIXED-WIDTH OVERFLOW FIX
   .story-title has a fixed px width in style.css that doesn't
   shrink with font-size, causing clipped text under ~480px.
   ============================================================ */
@media (max-width: 575px) {
  .story-title {
    width: 100%;
    max-width: 320px;
    line-height: 1.15;
  }

  .content {
    height: auto;
  }

  .content p {
    font-size: 13px !important;
  }


  .join-btn .btn {
    padding: 8px 18px;
  }
}

@media (max-width: 389px) {
  .story-title {
    max-width: 260px;
  }
}

/* ============================================================
   RECOMMENDED PACKAGES — HERO COMPARISON STRIP
   Avoids cramped row layout on tablets/small laptops and fixes
   flex-basis carrying over as a forced height once the row
   collapses to a column on mobile.
   ============================================================ */
@media (max-width: 991px) {
  .plans-hero {
    flex-direction: column;
    gap: 24px;
  }

  .plans-hero-right {
    flex-basis: auto;
    max-width: 100%;
  }

  .plans-hero-title {
    font-size: clamp(2.4rem, 7vw, 4rem);
  }
}

@media (max-width: 575px) {
  .plans-hero-right .compare-text {
    padding-left: 20px;
  }

  .retake-pill {
    margin-left: 0;
  }
}

/* ============================================================
   PU MATE PAGE — FLOATING INFO CARD OVERFLOW
   Negative inset offsets on .pu-floating-info push it past the
   viewport edge on narrow phones; pull it back in and shrink it.
   ============================================================ */
@media (max-width: 575px) {
  .pu-floating-info {
    right: 0;
    bottom: -16px;
    max-width: 220px;
    padding: 14px 16px;
    gap: 10px;
  }

  .library-video-caption {
    left: 0;
  }

  .story-page-hero {
    padding-top: 60px;
  }

  .story-page-body {
    padding: 0px 0 25px;
  }

  .pink-btn {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .pink-btn .arrow {
    transform: rotate(0deg);
  }

  .pink-btn:hover {
    transform: translateY(0);
  }

  .detail-title {
    margin-top: 0;
  }
}

@media (max-width: 390px) {
  .pu-floating-info {
    max-width: 190px;
    padding: 12px 14px;
  }

  .pu-floating-info p {
    font-size: 12px;
  }

  .library-bento {
    flex-direction: column;
  }

  .hero-video-controls {
    top: 85%;
    gap: 10px;
  }

  .hero-ctrl-btn {
    font-size: 12px;
    height: 25px;
    width: 25px;
  }

  .cstrip {
    flex-direction: column;
    gap: 10px;
  }

  .cstrip-title br {
    display: none;
  }

  .cstrip-btn {
    padding: 5px 15px;
    font-size: 11px;
  }

  .compare-tab-btn,
  .tab-btn,
  .pcta {
    padding: 5px 15px;
    font-size: 11px;
  }

  .app-phones-row {
    padding: 0;
  }

  .pu-floating-info {
    max-width: 80%;
  }

  .pu-hero-quote {
    right: 0;
  }

  .manifesto-content,
  .plans-hero-right .compare-text {
    padding-left: 10px;
  }

  .compare-page {
    padding-bottom: 0;
  }

  .content h1.w-50 {
    width: 100% !important;
  }

  .detail-section-head h2 {
    margin-top: 0;
  }

  .content .badge-pill {
    font-size: 8px;
    padding: 4px 12px;
  }

  .main-title {
    margin-top: 0;
  }

  .mb-40 {
    margin-bottom: 0;
  }

  .gradient-btn,
  .next-btn,
  .skip-btn,
  .retake-pill {
    padding: 8px 20px !important;
  }

  .detail-hero-actions .btn {
    display: flex;
    align-items: center;
  }

  .arrow {
    transform: rotate(0deg);
  }
}

@media (max-width: 575px) {

  .plan-carousel-nav {
    width: 34px;
    height: 34px;
  }

  .plan-carousel-prev {
    left: -30px;
  }

  .plan-carousel-next {
    right: -30px;
  }

  .compare-card{
    transform: scale(1);
  }
}

@media (max-width: 375px) {

  .plan-carousel-prev {
    left: -20px;
  }

  .plan-carousel-next {
    right: -20px;
  }
}

@media (max-width: 420px) {
  .reco-ribbon {
    font-size: 9px;
    padding: 5px 10px;
  }
}