/* ==========================================================
   BudgetWise – responsive.css
   Tablet & Mobile Breakpoint Styles | Media Queries Only
   ========================================================== */

/* ----------------------------------------------------------
   BREAKPOINT: 1199px and below (Large Tablet / Small Laptop)
   ---------------------------------------------------------- */
@media (max-width: 1199px) {

  /* Hero */
  .hero-left {
    padding-right: var(--space-md);
  }

  .hero-headline {
    font-size: clamp(2.2rem, 4vw, 3rem);
  }

  /* Features: 2 columns */
  .feature-card {
    flex: 1 1 calc(50% - 1.25rem);
  }

  /* Dashboard sidebar */
  .db-sidebar {
    width: 170px;
  }

  .process-card {
    border-radius: 14px;
    padding: 20px 10px;

  }

  .process-benefit-box {
    padding: 7px 5px;
    gap: 7px;
    font-size: 10px;
  }

  .process-card-header {

    margin-bottom: 17px;

  }

  .process-card-body {
    margin-bottom: 20px;
  }

  .process-card-desc {
    line-height: 1.5;
  }

  .intro-stat-item {
    padding: 15px;
  }
}

/* ----------------------------------------------------------
   BREAKPOINT: 991px and below (Tablet)
   ---------------------------------------------------------- */
@media (max-width: 991px) {

  /* -------- Spacing -------- */
  :root {
    --space-xl: 3rem;
    --space-2xl: 4.5rem;
  }

  /* -------- Top Announcement Bar -------- */
  .header-top-bar {
    padding: 7px 10px;
    font-size: 12px;
  }

  .top-bar-badge {
    font-size: 10px;
    padding: 2px 6px;
  }

  /* -------- Navbar Offcanvas Drawer -------- */
  .bw-navbar-inner {
    flex-wrap: nowrap;
  }

  .bw-offcanvas.offcanvas-end {
    width: 300px;
    max-width: 85vw;
    z-index: 1060;
    box-shadow: -8px 0 32px rgba(7, 85, 109, 0.18);
  }

  .bw-offcanvas .offcanvas-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem 1.25rem !important;
  }

  .bw-offcanvas .navbar-nav {
    flex-direction: column;
    gap: 0.5rem;
    margin-right: 0px !important;
    margin-left: 0px !important;
  }

  .bw-offcanvas .navbar-nav .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: var(--color-text-main);
    transition: all 0.2s ease;
  }

  .bw-offcanvas .navbar-nav .nav-link:hover,
  .bw-offcanvas .navbar-nav .nav-link.active {
    background-color: rgba(14, 139, 178, 0.08);
    color: var(--color-primary);
  }

  .bw-offcanvas .nav-cta-group {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .bw-offcanvas .btn-signin {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .bw-offcanvas .btn-bw-primary {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }

  /* -------- Hero -------- */
  .hero-section {
    /* Tighter padding on tablet — same philosophy as desktop */
    padding: 50px 0px 0px;
  }

  .hero-section::before {
    display: none;
  }

  .hero-left {
    padding-right: 0;
    margin-bottom: 2.5rem;
    text-align: center;
    align-items: center;
  }

  .hero-paragraph {
    max-width: 100%;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-benefits {
    align-items: flex-start;
    justify-content: center;
  }

  .hero-right {
    justify-content: center;
    align-items: center;
  }

  /* Hero couple image — constrain width on tablet */
  .hero-image-wrap {
    max-width: 440px;
  }

  /* Floating cards — scale down slightly and pull inside the image wrap */
  .hero-floating-card {
    width: 149px;
    padding: 10px 12px;
    height: 100px;
  }

  .hfc-value {
    font-size: 1.2rem;
  }

  /* Reposition so cards don't spill beyond viewport */
  .hero-card-savings {
    top: 6%;
    right: 0;
  }

  .hero-card-progress {
    bottom: 20%;
    right: 0;
  }

  .hero-card-spending {
    bottom: 16%;
    left: 0;
  }

  /* -------- About BudgetWise Section -------- */
  .about-budgetwise-section {
    padding: 70px 0;
  }

  .about-budgetwise-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }

  .about-budgetwise-description {
    max-width: 100%;
  }

  /* About BudgetWise visual padding adjustment for tablet */
  .about-budgetwise-visual {
    margin-top: 1.5rem;
    padding: 20px 10px;
  }

  .about-bg-glow {
    width: 360px;
    height: 360px;
  }

  .about-bg-shape {
    width: 300px;
    height: 300px;
  }

  .about-budgetwise-img {
    max-height: 480px;
  }

  /* Keep cards fully within the visual wrapper on tablet */
  .ab-card-savings-month {
    top: 3%;
    left: 0;
    width: 175px;
    padding: 10px 12px;
  }

  .ab-card-budget-progress {
    bottom: 3%;
    right: 0;
    width: 220px;
    padding: 10px 12px;
  }

  /* -------- Benefits Section (Tablet 768px - 991px) -------- */
  .intro-section {
    padding: 65px 0;
  }

  /* Row 1: Heading (left) + CTA (right) */
  .intro-section .row:first-child {
    align-items: center;
    margin-bottom: 2rem;
  }

  .intro-section .benefit_content_heading_wrap {
    padding-right: 0.75rem;
  }

  .intro-section .benefits-heading {
    font-size: clamp(1.85rem, 3.2vw, 2.25rem);
    line-height: 1.22;
    margin-bottom: 0;
  }

  .intro-section .about-budgetwise-cta-wrap {
    text-align: right;
  }

  .intro-section .btn-about-budgetwise-cta {
    font-size: 0.95rem;
    padding: 0.75rem 1.35rem;
    white-space: nowrap;
  }

  /* Row 2: 2x2 Grid (left 55%) + Image (right 45%) */
  .intro-section .row.align-items-center {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .intro-section .col-lg-7 {
    width: 55%;
    flex: 0 0 55%;
    max-width: 55%;
    order: 1;
  }

  .intro-section .col-lg-5 {
    width: 45%;
    flex: 0 0 45%;
    max-width: 45%;
    order: 2;
  }

  .intro-section .benefits-content-wrap {
    padding-right: 0.5rem;
    padding-left: 0;
  }

  .intro-section .benefits-grid {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.75rem;
    margin-top: 0;
  }

  .intro-section .benefits-grid .col-sm-6 {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .intro-section .benefit-item {
    padding: 0;
  }

  .intro-section .benefit-icon {
    margin-bottom: 0.75rem;
  }

  .intro-section .benefit-icon i,
  .intro-section .benefit-icon .bi {
    font-size: 42px;
  }

  .intro-section .benefit-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
  }

  .intro-section .benefit-desc {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .intro-section .benefits-image-wrap {
    width: 100%;
    margin-bottom: 0;
    max-height: none !important;
    border-radius: 24px;
    overflow: hidden;
  }

  .intro-section .benefits-main-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
  }

  /* -------- Features Section -------- */
  .features-section {
    padding: 75px 0;
  }

  .features-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  }

  .features-description {
    font-size: 15px;
    max-width: 100%;
  }

  .feature-rows-list {
    max-width: 100%;
  }

  .features-mockup-wrapper {
    margin-top: 1.5rem;
  }

  .features-mockup-img {
    max-width: 500px;
  }

  /* -------- Steps -------- */
  .steps-row {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .steps-row::before {
    display: none;
  }

  .step-item {
    flex-direction: row;
    text-align: left;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 0;
    max-width: 500px;
    width: 100%;
  }

  .step-number {
    width: 52px;
    height: 52px;
    font-size: 1rem;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  /* -------- Process section -------- */
  .how-section {
    padding: 75px 0;
  }

  .process-cards-wrap {
    margin-top: 36px;
  }

  /* -------- Dashboard preview -------- */
  .dashboard-body {
    flex-direction: column;
    min-height: auto;
  }

  .db-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem;
  }

  .db-sidebar-brand {
    margin-bottom: 0.75rem;
  }

  .db-sidebar .db-nav-item {
    display: inline-flex;
    width: auto;
    margin-right: 0.375rem;
    margin-bottom: 0;
    font-size: 0.75rem;
    padding: 0.375rem 0.625rem;
  }

  .db-sidebar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
  }

  .db-sidebar-brand {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .db-kpi-row-v2 {
    flex-wrap: wrap;
  }

  .db-kpi-card-v2 {
    flex: 1 1 calc(50% - 0.5rem);
  }

  .db-bar-wrap {
    width: 44px;
  }

  /* -------- Benefits -------- */
  .benefits-content {
    padding-left: 0;
    margin-top: 2.5rem;
  }

  /* -------- Pricing Section -------- */
  .pricing-section {
    padding: 70px 0;
  }

  .pricing-card {
    padding: 28px 22px;
  }

  /* -------- FAQ Section -------- */
  .faq-section {
    padding-top: 60px;
  }

  .faq-left-col {
    padding-right: 0;
    margin-bottom: 2.5rem;
  }

  .faq-description {
    max-width: 100%;
  }

  .faq-right-col {
    padding-left: 0;
  }

  /* -------- CTA Section -------- */
  .cta-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .cta-inner {
    padding: 50px 28px;
    border-radius: 20px;
  }

  .cta-benefits-row {
    gap: 18px;
  }

  /* -------- Footer -------- */
  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

/* ----------------------------------------------------------
   BREAKPOINT: 767px and below (Small Tablet / Large Mobile)
   ---------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
  }

  /* -------- Typography -------- */
  h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  /* -------- Hero -------- */
  .hero-headline {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn-bw-primary,
  .hero-cta-group .btn-bw-outline {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  /* Hero couple image — comfortable width on small tablet, centred */
  .hero-image-wrap {
    max-width: 380px;
    margin: 0 auto;
  }

  /* Floating cards — further reduced, reposition inside the wrap */
  .hero-floating-card {
    width: 136px;
    padding: 9px 11px;
  }

  .hfc-value {
    font-size: 1.1rem;
  }

  /* Keep savings card top-right, hide spending to avoid crowding */
  .hero-card-savings {
    top: 5%;
    right: 0;
    left: auto;
  }

  /* Progress card bottom-right */
  .hero-card-progress {
    bottom: 20%;
    right: 0;
    left: auto;
  }

  /* Spending card repositioned bottom-left, smaller offset */
  .hero-card-spending {
    bottom: 16%;
    left: 0;
    right: auto;
  }

  /* -------- Intro stats -------- */
  .intro-stat-item {
    flex: 1 1 100%;
  }

  /* -------- Intro / Benefits Section (Mobile Stack) -------- */
  .intro-section {
    padding: 50px 0;
    overflow-x: hidden;
  }

  /* Row 1: Single column vertical stack - Heading first, then CTA */
  .intro-section .row:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.75rem;
  }

  .intro-section .row:first-child>[class*="col-"] {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .intro-section .benefit_content_heading_wrap {
    padding-right: 0;
  }

  .intro-section .section-eyebrow {
    margin-bottom: 0.85rem;
  }

  .intro-section .benefits-heading {
    font-size: clamp(1.75rem, 6.5vw, 2.15rem);
    line-height: 1.22;
    margin-bottom: 0.5rem;
    word-break: break-word;
  }

  .intro-section .about-budgetwise-cta-wrap {
    text-align: left !important;
    margin-top: 1rem;
    width: 100%;
  }

  .intro-section .btn-about-budgetwise-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    white-space: normal;
  }

  /* Row 2: Single column vertical stack - Benefits list first, Image below */
  .intro-section .row.align-items-center {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
  }

  .intro-section .col-lg-7 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    order: 1;
    /* Content first */
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
  }

  .intro-section .col-lg-5 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    order: 2;
    /* Image moves below benefit content */
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
  }

  .intro-section .benefits-content-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  /* Benefit items become a single-column list */
  .intro-section .benefits-grid {
    margin-top: 0;
    --bs-gutter-y: 1.75rem;
  }

  .intro-section .benefits-grid>div,
  .intro-section .benefits-grid .col-sm-6,
  .intro-section .benefits-grid .col-12 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .intro-section .benefit-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 0;
  }

  .intro-section .benefit-icon {
    margin-bottom: 0.65rem;
  }

  .intro-section .benefit-icon i,
  .intro-section .benefit-icon .bi {
    font-size: 38px;
  }

  .intro-section .benefit-title {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
  }

  .intro-section .benefit-desc {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  /* Image below benefit content, centered, natural aspect ratio, no squeezing */
  .intro-section .benefits-image-wrap {
    width: 100%;
    max-width: 480px;
    margin: 2.25rem auto 0 auto;
    border-radius: 20px;
    max-height: none !important;
    overflow: hidden;
    display: block;
  }

  .intro-section .benefits-main-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
  }

  /* -------- Features -------- */
  .feature-card {
    flex: 1 1 100%;
  }

  /* -------- Dashboard preview -------- */
  .db-kpi-card {
    flex: 1 1 calc(50% - 0.5rem);
  }

  /* -------- Benefits visual -------- */
  .benefits-visual-inner {
    max-width: 340px;
  }

  .bv-circle-chart {
    width: 120px;
    height: 120px;
  }

  .bv-circle-inner {
    width: 76px;
    height: 76px;
  }

  /* -------- Footer columns -------- */
  .footer-col-title {
    margin-top: 1.5rem;
  }
}

/* ----------------------------------------------------------
   BREAKPOINT: 575px and below (Mobile)
   ---------------------------------------------------------- */
@media (max-width: 575px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 2.25rem;
    --space-2xl: 3.5rem;
  }

  /* -------- Body -------- */
  body {
    font-size: 0.9375rem;
  }

  /* -------- Navbar -------- */
  .bw-navbar .brand-name {
    font-size: 1.2rem;
  }

  /* -------- Hero -------- */
  .hero-section {
    /* Tighter bottom padding on mobile — image stacks below text */
    padding: 50px 0px 0px;
  }

  .hero-image-wrap {
    max-width: 320px;
    margin: 0 auto;
  }

  /* On mobile, hide the two bottom cards to keep it clean.
     Only the savings card (top) remains visible above the couple. */
  .hero-card-progress,
  .hero-card-spending {
    display: none;
  }

  /* Savings card — sits top-right within the image wrap */
  .hero-card-savings {
    width: 148px;
    top: 4%;
    right: 0;
    left: auto;
    padding: 9px 11px;
  }

  .hero-headline {
    font-size: clamp(1.875rem, 8vw, 2.5rem);
    letter-spacing: -0.015em;
  }

  .hero-paragraph {
    font-size: 0.9375rem;
  }

  .hero-cta-group {
    gap: 0.75rem;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    padding: 0.3rem 0.75rem;
  }

  /* -------- Section eyebrow -------- */
  .section-eyebrow {
    font-size: 0.68rem;
    padding: 0.3rem 0.75rem;
  }

  /* -------- Hero Marquee -------- */
  .hero-marquee-section {
    padding: 0.7rem 0;
  }

  .marquee-item {
    font-size: 0.75rem;
  }

  /* -------- About BudgetWise Section -------- */
  .about-budgetwise-section {
    padding: 50px 0;
  }

  .about-budgetwise-title {
    font-size: 1.85rem;
  }

  .about-budgetwise-description {
    font-size: 15px;
    margin-bottom: 1.5rem;
  }

  .about-budgetwise-points {
    gap: 1.25rem;
  }

  .about-budgetwise-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .about-budgetwise-point-title {
    font-size: 1.05rem;
  }

  .about-budgetwise-point-text {
    font-size: 14px;
  }

  /* Mobile: cards become normal-flow elements stacked below the image.
     No absolute positioning — avoids any overflow or face-covering issues. */
  .about-budgetwise-visual {
    margin-top: 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .about-bg-glow {
    width: 280px;
    height: 280px;
  }

  .about-bg-shape {
    width: 240px;
    height: 240px;
  }

  .about-budgetwise-card {
    position: static;
    width: 100%;
    animation: none;
    transform: none !important;
    border-radius: 12px;
  }

  .ab-card-savings-month {
    order: 2;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .about-budgetwise-image-wrap {
    order: 1;
  }

  .ab-card-budget-progress {
    order: 3;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }



  /* -------- Benefits Section Mobile (<=575px) -------- */
  .intro-section {
    padding: 42px 0;
  }

  .intro-section .row:first-child {
    margin-bottom: 1.5rem;
  }

  .intro-section .section-eyebrow {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .intro-section .benefits-heading {
    font-size: clamp(1.6rem, 6.8vw, 1.85rem);
    line-height: 1.24;
    margin-bottom: 0.5rem;
  }

  .intro-section .about-budgetwise-cta-wrap {
    margin-top: 0.75rem;
    width: 100%;
  }

  .intro-section .btn-about-budgetwise-cta {
    width: 200px;
    justify-content: center;
    font-size: 0.925rem;
    padding: 0.75rem 1rem;
    text-align: center;
  }

  .intro-section .benefits-grid {
    --bs-gutter-y: 1.5rem;
  }

  .intro-section .benefit-icon {
    margin-bottom: 0.5rem;
  }

  .intro-section .benefit-icon i,
  .intro-section .benefit-icon .bi {
    font-size: 34px;
  }

  .intro-section .benefit-title {
    font-size: 1.025rem;
    margin-bottom: 0.25rem;
  }

  .intro-section .benefit-desc {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .intro-section .benefits-image-wrap {
    margin: 1.75rem auto 0 auto;
    border-radius: 16px;
    max-width: 100%;
  }

  .intro-section .benefits-main-img {
    border-radius: 16px;
  }

  /* -------- Steps -------- */
  .step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step-number {
    margin-bottom: 0.75rem;
  }

  /* -------- Dashboard Preview -------- */
  .db-sidebar {
    display: none;
  }

  .db-kpi-card-v2 {
    flex: 1 1 100%;
    padding: 0.85rem;
  }

  .db-bar-wrap {
    width: 28px;
  }

  .db-tab-btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.25rem;
  }

  /* -------- Pricing Section Mobile -------- */
  .pricing-section {
    padding: 50px 0;
  }

  .price-amount {
    font-size: 38px;
  }

  .plan-desc {
    min-height: auto;
    margin-bottom: 12px;
  }

  .btn-pricing-primary,
  .btn-pricing-outline {
    height: 46px;
    font-size: 14.5px;
  }

  /* -------- FAQ Section Mobile -------- */
  .faq-section {
    padding-top: 50px;
  }

  .faq-heading {
    font-size: 1.875rem;
  }

  .faq-description {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .faq-cta-wrap {
    margin-top: 20px;
  }

  .faq-accordion .accordion-button {
    font-size: 15px;
    padding: 1rem 1.15rem;
  }

  .faq-accordion .accordion-body {
    font-size: 14px;
    padding: 0 1.15rem 1.15rem 1.15rem;
  }

  /* -------- CTA Section Mobile -------- */
  .cta-inner {
    padding: 40px 20px;
    border-radius: 16px;
  }

  .cta-heading {
    font-size: 1.65rem;
    margin-bottom: 12px;
  }

  .cta-paragraph {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .btn-bw-cta-white {
    width: 100%;
    max-width: 290px;
    justify-content: center;
    font-size: 15px;
    padding: 0.8rem 1.5rem;
  }

  .cta-benefits-row {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .cta-benefit-item {
    font-size: 13.5px;
  }

  /* -------- Footer -------- */
  .footer-col-title {
    margin-top: 1.25rem;
  }

  .footer-bottom-links {
    gap: 0.875rem;
  }

  .intro-stat-item {

    padding: 25px;

  }

  .process-card {
    padding: 25px;
  }

  .process-benefit-box {

    border-radius: 14px;
    padding: 10px 14px;
    gap: 10px;
    font-size: 14px;


  }

  .hero-couple-img {
    padding-top: 20px;
  }

  .top-bar-content {

    gap: 6px;

  }
}

/* ----------------------------------------------------------
   BREAKPOINT: 425px and below (Small Mobile)
   ---------------------------------------------------------- */
@media (max-width: 425px) {

  /* -------- Hero -------- */
  .hero-headline {
    font-size: clamp(1.75rem, 9vw, 2.25rem);
  }

  .hero-benefits {
    gap: 0.375rem;
  }

  .hero-benefit-item {
    font-size: 0.8125rem;
  }

  /* Hide all floating cards on small mobile — cleaner layout */
  .hero-floating-card {
    display: none;
  }

  /* -------- Buttons -------- */
  .btn-bw-primary,
  .btn-bw-outline,
  .btn-bw-accent {
    font-size: 0.875rem;
    padding: 0.6875rem 1.375rem;
  }

  /* -------- Intro stats -------- */
  .intro-stat-item {
    padding: 1.25rem;
  }

  /* -------- Feature cards -------- */
  .feature-card {
    padding: 1.25rem;
  }

  /* -------- Dashboard KPIs -------- */
  .db-kpi-card {
    flex: 1 1 100%;
  }

  /* -------- Section headings -------- */
  .section-heading h2 {
    font-size: clamp(1.5rem, 7vw, 1.875rem);
  }

  .section-heading p {
    font-size: 0.9rem;
  }
}

/* ----------------------------------------------------------
   BREAKPOINT: 375px (Minimum supported width)
   ---------------------------------------------------------- */
@media (max-width: 375px) {

  /* -------- Benefits Section (<=375px) -------- */
  .intro-section {
    padding: 35px 0;
  }

  .intro-section .benefits-heading {
    font-size: 1.55rem;
  }

  .intro-section .btn-about-budgetwise-cta {
    font-size: 0.875rem;
    padding: 0.7rem 0.85rem;
  }

  .intro-section .benefit-icon i,
  .intro-section .benefit-icon .bi {
    font-size: 30px;
  }

  .intro-section .benefit-title {
    font-size: 0.975rem;
  }

  .intro-section .benefit-desc {
    font-size: 0.825rem;
  }

  /* Ensure nothing overflows */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header-logo-img {
    height: 50px;
  }

  .hero-headline {
    font-size: 1.75rem;
  }

  .hero-cta-group .btn-bw-primary,
  .hero-cta-group .btn-bw-outline {
    max-width: 100%;
    font-size: 0.875rem;
  }

  .faq-accordion .accordion-button {
    font-size: 0.84rem;
    padding: 0.875rem;
  }

  .faq-eyebrow {
    font-size: 11px;
    padding: 0.3rem 0.7rem;
  }

  .faq-heading {
    font-size: 1.65rem;
  }

  .cta-inner {
    padding: 34px 14px;
  }

  .cta-heading {
    font-size: 1.45rem;
  }

  .cta-paragraph {
    font-size: 13.5px;
  }

  .btn-bw-cta-white {
    max-width: 100%;
    font-size: 14px;
    padding: 0.75rem 1.25rem;
  }

  .cta-benefit-item {
    font-size: 12.5px;
  }

  .pricing-card {
    padding: 24px 16px;
  }

  .price-amount {
    font-size: 34px;
  }

  .bw-footer .col-12 {
    padding-left: 0;
  }

  .footer-links {
    gap: 0.4rem;
  }

  /* Prevent any horizontal overflow */
  img,
  .hero-dashboard,
  .benefits-visual-inner {
    max-width: 100%;
  }

  .db-bottom-row {
    overflow: hidden;
  }

  .top-bar-content {
    font-size: 11px;
  }
}