/* Billing Page Specific Styles */
:root {
  --billing-primary: #d2412a;
  --billing-primary-dark: #a51c02;
  --billing-primary-light: #ff6651;
  --billing-primary-gradient: linear-gradient(289.82deg,
      var(--billing-primary-light) -37.16%,
      var(--billing-primary) 41.79%,
      var(--billing-primary-dark) 117.64%);
  --billing-primary-gradient-hover: linear-gradient(289.82deg,
      var(--billing-primary) -37.16%,
      var(--billing-primary-dark) 41.79%,
      #7a1401 117.64%);

  --billing-top-bar-bg: #e95942;
  --billing-hero-bg: #ffece5;

  --billing-box-bg: #b23a25;
  --billing-box-border: #8b2515;
  --billing-divider: #821303;
}

/* Top Bar Overrides */
.billing-top-bar {
  background: var(--billing-top-bar-bg) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.billing-top-bar .contact-info span {
  font-family: "DM Sans";
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0;
  vertical-align: middle;
  margin-right: 30px;
}

.billing-top-bar .contact-info .contact-phone {
  color: white !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}

.billing-top-bar .contact-info .contact-email {
  color: white !important;
  font-weight: 400 !important;
  font-size: 16px !important;
}

.billing-top-bar .social-icons a {
  color: #fff;
  font-size: 14px;
  margin-left: 15px;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.billing-top-bar .social-icons a:hover {
  opacity: 1;
}

/* Billing Header */
html body header.billing-header {
  background: #f9f4f0 !important;
  background-image: none !important;
  background-color: #f9f4f0 !important;
  box-shadow: 0px 0px 25px 0px #0000000f !important;
  padding: 5px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.billing-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.billing-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.billing-icon {
  width: 40px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.brand-name {
  font-family: "Rethink Sans" !important;
  font-weight: 400 !important;
  font-size: 13.07px !important;
  line-height: 10px !important;
  color: #0f172a !important;
}

.product-name {
  font-family: "Rethink Sans" !important;
  font-weight: 700 !important;
  font-size: 26.13px !important;
  color: #0f172a !important;
}

/* Navbar */
.billing-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.billing-nav ul li a {
  text-decoration: none;
  color: #000000 !important;
  font-family: "Rethink Sans" !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 15px !important;
  padding-bottom: 15px;
  position: relative;
  transition: color 0.3s;
}

.billing-nav ul li a:hover,
.billing-nav ul li a.active {
  color: #000000 !important;
}

/* Active Indicator */
.billing-nav ul li a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 0;
  border-bottom: 2px solid;
  border-image-source: linear-gradient(90deg, #ff6651 0%, #d2412a 100%);
  border-image-slice: 1;
  background-color: transparent;
  /* Remove solid color */
}

/* Login Button */
.btn-billing-login {
  background: var(--billing-primary-gradient);
  color: white;
  font-family: "DM Sans";
  font-weight: 500;
  font-size: 15px;
  padding: 10px 25px;
  border-radius: 50px;
  /* Pill shape */
  text-decoration: none;
  transition:
    background 0.3s,
    transform 0.2s;
  display: inline-block;
}

.btn-billing-login:hover {
  background: var(--billing-primary-gradient-hover);
  transform: translateY(-1px);
}

/* Billing Hero Section */
.billing-hero-section {
  position: relative;
  padding: 10px 0 20px;
  background: var(--billing-hero-bg);
  overflow: hidden;
  color: #0f172a;
  text-align: center;
}

/* Background Animation Container */
.hero-bg-animation {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  z-index: 5;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.hero-row {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  display: flex;
  background: #00000045;
}

.hero-row-1 {
  height: 120px;
}

.hero-row-2 {
  height: 250px;
}

/* Marquee Tracks */
.marquee-track-1,
.marquee-track-2 {
  display: flex;
  gap: 5px;
  animation: scroll 60s linear infinite;
  width: max-content;
}

.marquee-track-2 {
  animation-direction: reverse;
}

.hero-row img {
  height: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.3;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center,
      rgba(11, 85, 70, 0.8) 0%,
      rgba(11, 85, 70, 0.95) 100%);
  z-index: 2;
  display: none;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 50px;
  display: block !important;
}

.billing-hero-section h1 {
  font-family: "Rethink Sans";
  font-weight: 800;
  font-size: 53.1px;
  line-height: 58px;
  margin-bottom: 10px;
  letter-spacing: 0%;
  text-align: center;
  color: #0f172a;
}

.hero-subhead {
  font-family: "DM Sans";
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0%;
  text-align: center;
  margin-bottom: 15px;
  color: #4b5563;
  /* dark gray for subhead */
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter";
  font-weight: 500;
  font-size: 16px;
  line-height: 36px;
  letter-spacing: 0%;
}

.icon-wrapper {
  width: 32px;
  height: 32px;
  background: var(--billing-primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.hero-feature-item img {
  width: 20px;
  height: 20px;
  /* Make checkmark white for visibility on red gradient */
  filter: brightness(0) invert(1);
}

/* Buttons */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.btn-billing-white {
  background: var(--billing-primary-gradient);
  color: white;
  font-family: "DM Sans";
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0%;
  text-align: center;
  text-transform: capitalize;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  cursor: pointer;
}

.btn-billing-white:hover {
  background: var(--billing-primary-gradient-hover);
}

.btn-billing-outline {
  position: relative;
  background-image: var(--billing-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  border: 1px solid transparent;
  font-family: "DM Sans";
  font-weight: 500;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 1;
}

.btn-billing-outline::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 1px;
  /* Border thickness */
  background: var(--billing-primary-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  transition: all 0.3s ease;
}

.btn-billing-outline:hover {
  -webkit-text-fill-color: white;
  color: white;
}

.btn-billing-outline:hover::after {
  background: var(--billing-primary-gradient-hover);
  -webkit-mask: none;
  mask: none;
  padding: 0;
}

/* Dashboard Preview */
#hero-dashboard-image {
  /* Force to match laundry's auto height */
  margin: 0 auto !important;
  display: block !important;
  border-radius: 12px 12px 0 0 !important;
  object-fit: cover !important;
  object-position: top center !important;
}

.dashboard-img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
}

/* ========================================
   WHY CHOOSE SECTION
   ======================================== */
.why-choose-billing {
  padding: 30px 20px;
  background-color: #ffffff;
}

.why-choose-billing .section-heading {
  font-family: "Rethink Sans";
  font-size: 40px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 5px;
}

.why-choose-billing .section-subhead {
  font-family: "DM Sans";
  font-size: 16px;
  line-height: 1.5;
  color: #6b7280;
  max-width: 950px;
  margin: 0 auto 20px;
}

.comparison-container {
  max-width: 1300px;
  margin: 0 auto;
  background-color: var(--billing-box-bg);
  /* Red background */
  border: 6px solid var(--billing-box-border);
  /* Darker red border */
  border-radius: 24px;
  padding: 15px 0;
}

.comparison-grid {
  display: flex;
  flex-wrap: wrap;
}

.comparison-col {
  flex: 1;
  min-width: 300px;
  padding: 20px 40px;
}

.problems-col {
  border-right: 1px solid var(--billing-divider);
}

.comparison-col h3 {
  font-family: "Rethink Sans";
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  /* added padding to give space before the line */
  border-bottom: 1px solid var(--billing-divider);
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-list li {
  font-family: "DM Sans";
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  text-align: left;
}

.comparison-list li:last-child {
  margin-bottom: 0;
}

.problems-list li i {
  color: #fc5c5c;
  font-size: 16px;
  margin-top: 3px;
}

.solutions-list li i {
  color: #4ade80;
  font-size: 16px;
  margin-top: 3px;
}

@media (max-width: 768px) {
  .why-choose-billing .section-heading {
    font-size: 32px;
  }

  .problems-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .comparison-col {
    padding: 30px 20px;
  }
}

/* ========================================
   WHO THIS SERVICE IS BEST SUITED FOR SECTION
   ======================================== */

.suited-for-section {
  background-color: #ffffff;
  padding: 10px 10px;
  overflow-x: hidden;
}

/* --- 1. The Proportional Scaling Engine --- */
.scale-wrapper {
  container-type: inline-size;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.semi-circle-stage {
  position: relative;
  width: 100cqi;
  height: 52cqi;
}

/* --- 2. Geometry Backgrounds (Scaled in cqi) --- */
.glow-dome {
  position: absolute;
  bottom: 4.16cqi;
  left: 50%;
  transform: translateX(-50%);
  width: 80cqi;
  height: 40cqi;
  background: radial-gradient(70.74% 74.61% at 50.05% 100%,
      #ffffff 0%,
      var(--billing-hero-bg) 100%);
  border-radius: 80cqi 80cqi 0 0;
  z-index: 1;
  pointer-events: none;
}

.arc-ring {
  position: absolute;
  bottom: 4.16cqi;
  left: 50%;
  transform: translateX(-50%);
  border: max(1px, 0.1cqi) solid rgba(0, 0, 0, 0.1);
  border-bottom: none;
  z-index: 2;
  pointer-events: none;
}

/* The 4 perfectly spaced concentric rings */
.r1 {
  width: 36.66cqi;
  height: 18.33cqi;
  border-radius: 36.66cqi 36.66cqi 0 0;
  border-color: rgba(0, 0, 0, 0.04);
}

.r2 {
  width: 58.33cqi;
  height: 29.16cqi;
  border-radius: 58.33cqi 58.33cqi 0 0;
  border-color: rgba(0, 0, 0, 0.04);
}

.r3 {
  width: 80cqi;
  height: 40cqi;
  border-radius: 80cqi 80cqi 0 0;
}

.r4 {
  width: 95cqi;
  height: 45.5cqi;
  border-radius: 95cqi 95cqi 0 0;
}

.arc-line {
  position: absolute;
  bottom: 4.16cqi;
  left: 50%;
  width: 1px;
  height: 46cqi;
  /* Split color exactly at the dome's edge (40cqi / 46cqi = ~86.9%) */
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.04) 0%,
      rgba(0, 0, 0, 0.04) 86.9%,
      rgba(0, 0, 0, 0.1) 86.9%,
      rgba(0, 0, 0, 0.1) 100%);
  transform-origin: bottom center;
  z-index: 2;
  pointer-events: none;
}

/* --- 3. Exact Typography (Center Text) --- */
.center-text {
  position: absolute;
  bottom: 3.33cqi;
  left: 50%;
  transform: translateX(-50%);
  width: 50cqi;
  text-align: center;
  z-index: 10;
}

.center-text h2 {
  font-family: "Rethink Sans";
  font-weight: 700;
  font-size: 3.5cqi;
  line-height: 4.33cqi;
  letter-spacing: 0%;
  color: #1f2937;
  margin-bottom: 1cqi;
}

.center-text p {
  font-family: "DM Sans";
  font-weight: 500;
  font-size: 1.66cqi;
  line-height: 2.83cqi;
  letter-spacing: 0%;
  color: #6b7280;
  padding-bottom: 3cqi;
}

/* --- 4. Exact Typography (Floating Badges) --- */
.badge {
  position: absolute;
  transform: translate(-50%, 50%);
  background: #ffffff;
  border: max(1px, 0.12cqi) solid #d6442d;
  padding: 0.66cqi 1cqi;
  width: 20cqi;
  justify-content: flex-start;
  border-radius: 5cqi;
  display: flex;
  align-items: center;
  gap: 0.83cqi;
  box-shadow: 0 0.33cqi 1.25cqi rgba(0, 0, 0, 0.03);
  white-space: nowrap;
  z-index: 20;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: default;
  font-family: "Inter";
  font-weight: 600;
  font-size: 1.23cqi;
  line-height: 1.78cqi;
  letter-spacing: 0%;
  color: #374151;
  animation: badgeFloat 4s ease-in-out infinite;
}

@keyframes badgeFloat {

  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -0.5cqi;
  }
}

.badge:hover {
  box-shadow: 0 0.5cqi 1.66cqi rgba(214, 68, 45, 0.12);
  transform: translate(-50%, 50%) translateY(-0.25cqi);
}

.icon {
  width: 1.5cqi;
  height: 1.5cqi;
  min-width: 1.5cqi;
  flex-shrink: 0;
  background: #d6442d;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.83cqi;
  font-weight: bold;
}

.icon img {
  width: 55%;
  height: auto;
  filter: brightness(0) invert(1);
  display: block;
}

/* Left Side Badges */
.b-left-1 {
  bottom: 41cqi;
  left: 28cqi;
  animation-delay: 0s;
}

.b-left-2 {
  bottom: 36cqi;
  left: 22cqi;
  animation-delay: 0.2s;
}

.b-left-3 {
  bottom: 31cqi;
  left: 18cqi;
  animation-delay: 0.4s;
}

.b-left-4 {
  bottom: 26cqi;
  left: 16cqi;
  animation-delay: 0.6s;
}

.b-left-5 {
  bottom: 21cqi;
  left: 13cqi;
  animation-delay: 0.8s;
}

.b-left-6 {
  bottom: 16cqi;
  left: 11cqi;
  animation-delay: 1s;
}

.b-left-7 {
  bottom: 11cqi;
  left: 9cqi;
  animation-delay: 1.2s;
}

.b-left-8 {
  bottom: 6cqi;
  left: 7cqi;
  animation-delay: 1.4s;
}

/* Right Side Badges */
.b-right-1 {
  bottom: 41cqi;
  left: 72cqi;
  animation-delay: 0.1s;
}

.b-right-2 {
  bottom: 36cqi;
  left: 78cqi;
  animation-delay: 0.3s;
}

.b-right-3 {
  bottom: 31cqi;
  left: 82cqi;
  animation-delay: 0.5s;
}

.b-right-4 {
  bottom: 26cqi;
  left: 84cqi;
  animation-delay: 0.7s;
}

.b-right-5 {
  bottom: 21cqi;
  left: 87cqi;
  animation-delay: 0.9s;
}

.b-right-6 {
  bottom: 16cqi;
  left: 89cqi;
  animation-delay: 1.1s;
}

.b-right-7 {
  bottom: 11cqi;
  left: 91cqi;
  animation-delay: 1.3s;
}

.b-right-8 {
  bottom: 6cqi;
  left: 93cqi;
  animation-delay: 1.5s;
}

/* ========================================
   LAUNDRY TABS SECTION/BILLING TABS SECTION
   ======================================== */
.billing-tabs-section {
  padding-bottom: 60px;
  background: var(--billing-hero-bg)
    /* Light greenish tint background */
}

/* Full-Width Sticky Tabs Header Wrapper */
.billing-tabs-section .tabs-header-wrapper {
  position: sticky;
  top: 50px;
  z-index: 999;
  background-color: var(--billing-hero-bg);
  width: 100%;
  box-shadow: 0 6px 15px -3px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  border-top: 1px solid #E5E7EB;
}

.billing-tabs-section .tabs-header-inner {
  padding-top: 5px;
}

/* Tabs Header */
.billing-tabs-section .tabs-header {
  display: flex;
  justify-content: space-between;
  position: relative;
  overflow-x: auto;
  /* Allow scrolling on small screens */
  white-space: nowrap;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.billing-tabs-section .tabs-header::-webkit-scrollbar {
  display: none;
}

.tab-item {
  font-family: "DM Sans";
  font-weight: 500;
  font-size: 16px;
  color: #6b7280;
  padding: 15px 20px;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  isolation: isolate;
}

.tab-item.active {
  color: var(--billing-primary-dark);
  font-weight: 700;
}

/* Tab Indicator */
.tab-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--billing-primary-dark);
  transition: width 0.3s ease;
}

.tab-item.active::after {
  width: 100%;
}

/* Tab Content — starts hidden, slides in when .slide-in is added by JS */
.tab-content {
  display: block !important;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  padding-top: 20px;
  margin-bottom: 80px;
}

.tab-content.slide-in {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-headline {
  text-align: center;
  margin-bottom: 40px;
}

.tab-headline h2 {
  font-family: "Rethink Sans";
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  color: #111827;
}

/* Features Grid - Grid Layout Logic
   Grid Area Matrix:
   [Quick Order] [Quick Order] [Receipt Gen] [Receipt Gen]
   [Tag Print]   [WhatsApp]    [Receipt Gen] [Receipt Gen]
   [Cust Mgmt]   [Mapping]     [Receipt Gen] [Receipt Gen]
*/

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 20px;
}

/* Featured Card Styles */
.feature-card {
  border-radius: 16px;
  padding: 24px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.large-green-card {
  background-color: var(--billing-primary-dark);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.large-green-card-vertical {
  background-color: var(--billing-primary-dark);
  color: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.small-white-card {
  background-color: white;
  border: 1px solid #e5e7eb;
  color: #111827;
}

/* Typography Inside Cards */
.feature-card h3 {
  font-family: "Rethink Sans";
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  font-family: "DM Sans";
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
}

.large-green-card p,
.large-green-card-vertical p {
  color: rgba(255, 255, 255, 0.9);
}

.small-white-card p {
  color: #4b5563;
}

/* Specific Card Placements */

/* Quick Order: Spans 2 columns, Row 1 */
.quick-order {
  grid-column: 1 / 3;
  grid-row: 1;
  min-height: 280px;
  position: relative;
  padding-bottom: 0 !important;
  /* Image sits at bottom */
}

/* Receipt Generation: Spans 2 columns, Spans 2 Rows (Row 1 & 2) -> Actually right side */
/* Based on screenshot: Left side has Quick Order (top), Tag & Whatsapp & Cust (bottom) */
/* Let's adjust grid:
   Col 1-2: Left Side
   Col 3-4: Right Side (Receipt vertical)
*/

.quick-order {
  grid-column: 1 / 3;
  grid-row: 1;
}

.receipt-generation {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
  min-height: 600px;
  /* Tall vertical card */
}

/* Tag Printing: Col 1, Row 2 */
.tag-printing {
  grid-column: 1 / 2;
  grid-row: 2;
}

/* WhatsApp: Col 2, Row 2 */
.whatsapp-notif {
  grid-column: 2 / 3;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Customer Mgmt: Col 1, Row 3 */
.customer-mgmt {
  grid-column: 1 / 2;
  grid-row: 3;
}

/* Service Mapping: Col 2, Row 3 */
/* Actually, wait. The screenshot shows:
   Top Left: Quick Order (Wide)
   Bottom Left Quadrant: Tag, WhatsApp, Cust, Mapping?
   Right Side: Receipt (Tall)

   Let's re-examine visual hierarchy.
   Top Left (Wide): Quick Order
   Right (Tall): Receipt
   
   Items below Quick Order:
   Row 2 Left: Tag
   Row 3 Left: WhatsApp
   
   Row 2 Right (of left side): ??
   
   Let's stick to a 2-column macro layout.
   Left Column (Flex col): Quick Order + Sub-grid of small cards
   Right Column: Receipt + Sub-grid?
   
   Let's try:
   Grid 2x2 for left side?
   
   Final Plan based on visual intuition of "bento box" grids:
   Grid of 4 columns.
   Quick Order: Col 1-3? No, let's say 2.
   
   Let's assume:
   Row 1: Quick Order [1-2], Receipt [3-4] (Receipt spans multiple rows)
   Row 2: Tag [1], WhatsApp [2]
   Row 3: Cust [1], Mapping [2]
   
   This makes Receipt span Row 1, 2, 3? That would make it HUGE.
   
   Let's refine:
   Row 1: Quick Order [Col 1-2] | Receipt [Col 3-4] (Starts here)
   Row 2: Tag [Col 1] | WhatsApp [Col 2] | Receipt (continues)
   Row 3: Cust [Col 1] | Mapping [Col 2] | Receipt (continues - wait, receipt might be shorter)
   
   Let's fix Receipt to span Row 1 and 2.
   And Quick Order Row 1 only?
   
   Actually, let's check the screenshot content again.
   "Quick Order Creation" -> Wide green card.
   "Instant Order Receipt" -> Tall green card.
   
   So:
   Col 1 | Col 2 | Col 3 | Col 4
   [ Quick Order (1-2) ] [ Receipt (3-4) ]
   [ Tag ] [ WhatsApp ]  [ Receipt continued... ]
   [ Cust ] [ Map ]      [ ... ]

   This seems plausible.
*/

.quick-order {
  grid-column: 1 / 3;
  grid-row: 1;
}

.receipt-generation {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
  /* Spans 2 rows of height */
}

.tag-printing {
  grid-column: 1 / 2;
  grid-row: 2;
}

.whatsapp-notif {
  grid-column: 2 / 3;
  grid-row: 2;
}

.customer-mgmt {
  grid-column: 1 / 2;
  grid-row: 3;
}

.service-mapping {
  grid-column: 3 / 5;
  /* This one sits under the receipt card? No, usually side by side */
  grid-row: 3;
}

/* Adjusting for 3 rows on left, 2 rows on right? 
   No, let's treat the bottom independent row.
   Row 1: Quick Order (1-2) | Receipt (3-4)
   Row 2: Tag (1) | WhatsApp (2) | Receipt (3-4)
   Row 3: Cust (1) | Map (3-4) -> Wait, receipt ends? 
   
   Let's genericize.
   .receipt-generation spans 1/3 (2 rows).
   .customer-mgmt (Row 3, Col 1)
   .service-mapping (Row 3, Col 3-4) -> White card under Receipt?
   
   Let's assume the user wants:
   Left: Quick Order, Tag, WhatsApp, Cust
   Right: Receipt, Mapping (maybe)
   
   Actually, let's just use Flex container for the two main columns to be safe layout-wise.
   Left Column (60%), Right Column (40%).
*/

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-col-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.grid-col-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* But wait, HTML structure is flat. Let's use Grid spans. */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-order {
  grid-column: 1 / 3;
  grid-row: 1;
}

.tag-printing {
  grid-column: 1 / 3;
  grid-row: 2;
}

/* Wide small card? Or split? */
/* Let's try splitting the bottom left */
.tag-printing {
  grid-column: 1 / 2;
  grid-row: 2;
}

/* Small */
.whatsapp-notif {
  grid-column: 2 / 3;
  grid-row: 2;
}

/* Small */

.customer-mgmt {
  grid-column: 1 / 2;
  grid-row: 3;
}

.service-mapping {
  grid-column: 2 / 5;
  grid-row: 3;
}

/* Wide bottom right? */

/* Re-reading "two images are added tab-1-1 and tab-1-2" 
   tab-1-1 is Quick Order.
   tab-1-2 is Receipt.
   
   Okay, Receipt typically is a tall card on the right.
   Let's force:
   Receipt -> Col 3 / 5, Row 1 / 3.
*/
.receipt-generation {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
}

.service-mapping {
  grid-column: 3 / 5;
  grid-row: 3;
}

/* So Receipt spans 2 rows, Mapping is under it. */

/* Image styling inside cards */
.card-image-wrapper {
  margin-top: 20px;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
}

.card-image-wrapper img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.whatsapp-notif .icon-content img {
  width: 50px;
  height: 50px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .quick-order,
  .receipt-generation,
  .tag-printing,
  .whatsapp-notif,
  .customer-mgmt,
  .service-mapping {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .receipt-generation {
    min-height: auto;
  }

  .tabs-header {
    justify-content: flex-start;
    padding-bottom: 5px;
  }
}

/* ========================================
   QUICK ORDER CARDS (Migrated from test.html)
   ======================================== */

.billing-tabs-section .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card Base Styles */
.card {
  border-radius: 16px;
  padding: 32px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: none;
  /* Override potential defaults */
}

.card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  font-family: "Rethink Sans";
  /* Ensure font consistency */
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
  font-family: "DM Sans";
  /* Ensure font consistency */
}

/* Theme Colors */
.theme-green {
  background: var(--billing-primary-gradient);
  color: white;
  box-shadow: -10px 0px 19.8px 0px #00000040;
}

.theme-white {
  background-color: #ffffff;
  color: #1f2937;
}

/* Top Full Width Card */
.top-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 20px 0 30px;
}

.top-card .text-content {
  flex: 1;
  max-width: 400px;
  padding-bottom: 5px;
  padding-top: 5px;
}

.top-card h2,
.top-card p {
  color: white;
  /* Ensure text is white on green theme */
}

.top-card .image-content {
  flex: 1.5;
  display: flex;
  justify-content: flex-end;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  overflow: hidden;
}

.top-card .image-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
}

/* Row Layouts */
.row-middle,
.row-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* Middle Row Left Side (Stacked 40/60) */
.left-stacked {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tag-card {
  flex: 2;
  /* 40% height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
}

.whatsapp-card {
  flex: 3;
  /* 60% height */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.whatsapp-card .text-content {
  flex: 1;
}

.whatsapp-card img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

/* Middle Row Right Side (Receipt Card) */
.receipt-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  margin-top: 20px;
  /* Removes bottom padding to let image bleed */
}

.receipt-card h2,
.receipt-card p {
  color: white;
}

.receipt-card img {
  width: calc(100% + 64px);
  margin-left: -40px;
  margin-right: -32px;
  margin-bottom: -25px;
  /* Pull it down into the padding if padding-bottom wasn't 0, or just to be safe */
  margin-top: auto;
  display: block;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

/* Responsive Design Overrides for Cards */
@media (max-width: 900px) {

  .row-middle,
  .row-bottom {
    grid-template-columns: 1fr;
  }

  .top-card {
    flex-direction: column;
    padding: 32px;
    text-align: center;
  }

  .top-card .text-content {
    max-width: 100%;
    padding-bottom: 0;
  }

  .top-card .image-content {
    border-radius: 12px;
    width: 100%;
    margin-top: 20px;
    justify-content: center;
    /* Center image on mobile */
  }

  .top-card .image-content img {
    border-radius: 12px;
  }

  .whatsapp-card {
    flex-direction: column-reverse;
    text-align: center;
  }

  .tag-card,
  .whatsapp-card {
    flex: none;
  }

  .receipt-card {
    padding-bottom: 32px;
  }

  .receipt-card img {
    border-radius: 8px;
  }
}

/* Update gap to 20px */
.billing-tabs-section .container,
.row-middle,
.row-bottom,
.left-stacked,
.whatsapp-card {
  gap: 20px !important;
}

/* ========================================
   COLLECTION POINT TAB (Migrated from test.html)
   ======================================== */

/* Wide Card (Top & Bottom Rows in Col Point Tab) */
.wide-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  padding: 0 32px 0 40px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.wide-card .text-content {
  flex: 1;
  max-width: 400px;
  padding-bottom: 40px;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wide-card h2,
.wide-card p {
  color: white;
}

.wide-card .image-content {
  flex: 1.5;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  /* Pushes the image absolutely to the bottom */
}

.wide-card .image-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

/* Stack Card (Middle Row Left) */
.stack-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Specific overrides for Receipt Card in Collection Tab if different from Order Tab 
   (The test.html defines specific padding for receipt-card, checking if it conflicts)
   In test.html: padding: 32px 32px 0 32px;
   In billing.css (current): padding-bottom: 0; (from .card padding: 32px)
*/
.collection-receipt-card {
  padding: 32px 32px 0 32px !important;
  height: 100%;
}

.collection-receipt-card img {
  max-width: 95%;
  width: auto;
  align-self: flex-start;
  margin-top: auto;
  margin-bottom: -32px;
  /* Pull down to match other bleed logic */
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: block;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

/* Responsive for Collection Tab */
@media (max-width: 900px) {
  .wide-card {
    flex-direction: column;
    padding: 32px 32px 0 32px;
    text-align: center;
  }

  .wide-card .text-content {
    max-width: 100%;
    padding-bottom: 20px;
  }

  .wide-card .image-content {
    width: 100%;
    justify-content: center;
  }

  .wide-card .image-content img {
    width: 100%;
  }
}

/* ========================================
   BILLING TAB 2 CUSTOM GRID 
   ======================================== */
.b-tab2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.b-tab2-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: none;
}

.b-tab2-red-card {
  background-color: #D6442D;
  color: white;
}

.b-tab2-red-card h3 {
  font-family: "Rethink Sans";
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.b-tab2-red-card p {
  font-family: "DM Sans";
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.95;
}

.b-tab2-white-card {
  background-color: #ffffff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.b-tab2-white-card h4 {
  font-family: "Rethink Sans";
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0 0 10px 0;
}

.b-tab2-white-card p {
  font-family: "DM Sans";
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.b-tab2-banner-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: stretch;
  min-height: 240px;
}

.b-tab2-banner-card .text-content {
  flex: 1;
  padding: 20px 20px 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 35%;
}

.b-tab2-banner-card .image-wrapper {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 16px;
  padding: 30px 30px 0 0;
  overflow: hidden;
}

.b-tab2-banner-card .banner-img-1 {
  width: 70%;
  height: auto;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: -10px;
}

.b-tab2-banner-card .banner-img-2 {
  width: 40%;
  height: auto;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: -10px;
}

.b-tab2-tall-card {
  display: flex;
  flex-direction: column;
}

.b-tab2-tall-card .text-content {
  padding: 40px 40px 20px 40px;
}

.b-tab2-tall-card .image-wrapper {
  flex: 1;
  position: relative;
  padding: 0 20px;
}

.b-tab2-tall-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px 8px 0 0;
  margin-bottom: -10px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.b-tab2-right-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.b-tab2-right-stack .b-tab2-white-card {
  flex: 1;
}

@media (max-width: 900px) {
  .b-tab2-grid {
    grid-template-columns: 1fr;
  }

  .b-tab2-banner-card {
    flex-direction: column;
  }

  .b-tab2-banner-card .text-content {
    max-width: 100%;
    padding: 30px;
  }

  .b-tab2-banner-card .image-wrapper {
    min-height: auto;
    padding: 20px;
    align-items: center;
    justify-content: center;
  }

  .b-tab2-banner-card .banner-img-1,
  .b-tab2-banner-card .banner-img-2 {
    border-radius: 8px;
    margin-bottom: 0;
  }
}

@media (max-width: 500px) {
  .b-tab2-banner-card .image-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .b-tab2-banner-card .banner-img-1,
  .b-tab2-banner-card .banner-img-2 {
    width: 100%;
  }
}

/* ========================================
   BILLING TAB 3 CUSTOM GRID 
   ======================================== */
.b-tab3-top-grid {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  align-items: stretch;
}

.b-tab3-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.b-tab3-card {
  border-radius: 12px;
  position: relative;
}

.b-tab3-white-card {
  background-color: #ffffff;
  padding: 35px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.b-tab3-white-card h4 {
  font-family: "Rethink Sans";
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0 0 12px 0;
}

.b-tab3-white-card p {
  font-family: "DM Sans";
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.b-tab3-red-card {
  background-color: #D6442D;
  color: white;
  display: flex;
  overflow: hidden;
}

.b-tab3-tall-card {
  flex-direction: column;
  flex: 1;
}

.b-tab3-tall-card .text-content {
  padding: 40px 40px 20px 40px;
}

.b-tab3-tall-card h3 {
  font-family: "Rethink Sans";
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.b-tab3-tall-card p {
  font-family: "DM Sans";
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.95;
}

.b-tab3-tall-card .image-wrapper {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 0 35px;
}

.b-tab3-tall-card .image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: -2px;
}

.b-tab3-wide-card {
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  min-height: 220px;
}

.b-tab3-wide-card .text-content {
  flex: 0 0 40%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.b-tab3-wide-card h3 {
  font-family: "Rethink Sans";
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.b-tab3-wide-card p {
  font-family: "DM Sans";
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.95;
}

.b-tab3-wide-card .image-wrapper {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 30px;
  padding-left: 20px;
}

.b-tab3-wide-card .image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top left;
  border-top-left-radius: 12px;
  box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.05);
  margin-right: 30px;
}

@media (max-width: 900px) {
  .b-tab3-top-grid {
    flex-direction: column;
  }

  .b-tab3-tall-card {
    flex: none;
  }

  .b-tab3-wide-card {
    flex-direction: column;
  }

  .b-tab3-wide-card .text-content {
    flex: none;
    width: 100%;
    padding-bottom: 20px;
  }

  .b-tab3-wide-card .image-wrapper {
    padding-top: 0;
    padding-left: 20px;
  }

  .b-tab3-wide-card .image-wrapper img {
    border-top-left-radius: 12px;
  }
}

@media (max-width: 500px) {
  .b-tab3-wide-card .image-wrapper {
    padding-left: 0;
  }

  .b-tab3-wide-card .image-wrapper img {
    border-top-left-radius: 0;
  }

  .b-tab3-tall-card .image-wrapper {
    padding: 0 20px;
  }
}

/* ========================================
   BILLING TAB 4 CUSTOM GRID 
   ======================================== */
.b-tab4-top-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  align-items: stretch;
}

.b-tab4-bottom-row {
  display: flex;
  gap: 24px;
}

.b-tab4-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.b-tab4-card {
  border-radius: 12px;
  position: relative;
}

.b-tab4-white-card {
  background-color: #ffffff;
  padding: 35px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.b-tab4-right-stack .b-tab4-white-card {
  flex: 1;
}

.b-tab4-bottom-row .b-tab4-white-card {
  flex: 1;
}

.b-tab4-white-card h4 {
  font-family: "Rethink Sans";
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0 0 12px 0;
}

.b-tab4-white-card p {
  font-family: "DM Sans";
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.b-tab4-red-card {
  background-color: #D6442D;
  color: white;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.b-tab4-red-card .text-content {
  padding: 40px 40px 20px 40px;
}

.b-tab4-red-card h3 {
  font-family: "Rethink Sans";
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.b-tab4-red-card p {
  font-family: "DM Sans";
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.95;
}

.b-tab4-red-card .image-wrapper {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 0 35px;
}

.b-tab4-red-card .image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: -5px;
}

@media (max-width: 900px) {

  .b-tab4-top-row,
  .b-tab4-bottom-row {
    flex-direction: column;
  }

  .b-tab4-red-card {
    flex: none;
  }

  .b-tab4-right-stack .b-tab4-white-card {
    min-height: 140px;
  }
}

@media (max-width: 500px) {
  .b-tab4-red-card .image-wrapper {
    padding: 0 20px;
  }

  .b-tab4-white-card {
    padding: 25px 30px;
  }
}

/* ========================================
   BILLING TAB 5 CUSTOM GRID (Integrations)
   ======================================== */
.b-tab5-integration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.b-tab5-card {
  border-radius: 12px;
  position: relative;
}

.b-tab5-red-card {
  background-color: #D6442D;
  color: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 420px;
}

.b-tab5-red-card .text-content {
  padding: 40px 40px 20px 40px;
}

.b-tab5-red-card h3 {
  font-family: "Rethink Sans";
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.b-tab5-red-card p {
  font-family: "DM Sans";
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
}

.b-tab5-red-card .image-wrapper {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px;
}

.b-tab5-red-card .image-wrapper img {
  max-width: 60%;
  height: auto;
  display: block;
  margin-bottom: -5px;
}

.b-tab5-white-card {
  background-color: #ffffff;
  padding: 35px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  min-height: 160px;
}

.b-tab5-white-card h4 {
  font-family: "Rethink Sans";
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0 0 12px 0;
}

.b-tab5-white-card p {
  font-family: "DM Sans";
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .b-tab5-integration-grid {
    grid-template-columns: 1fr;
  }

  .b-tab5-red-card {
    min-height: auto;
  }

  .b-tab5-red-card .image-wrapper {
    padding-top: 30px;
  }

  .b-tab5-red-card .image-wrapper img {
    max-width: 50%;
  }
}

@media (max-width: 500px) {

  .b-tab5-red-card .text-content,
  .b-tab5-white-card {
    padding: 30px 25px;
  }

  .b-tab5-red-card .image-wrapper img {
    max-width: 70%;
  }
}

/* ========================================
   BILLING TAB 6 CUSTOM GRID (More Features)
   ======================================== */
.b-tab6-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.b-tab6-right-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.b-tab6-card {
  border-radius: 12px;
  position: relative;
}

.b-tab6-red-card {
  background-color: #D6442D;
  color: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.b-tab6-red-card .text-content {
  padding: 40px 40px 0 40px;
  position: relative;
  z-index: 10;
}

.b-tab6-red-card h3 {
  font-family: "Rethink Sans";
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.b-tab6-red-card p {
  font-family: "DM Sans";
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
}

.b-tab6-red-card .image-wrapper {
  position: relative;
  flex: 1;
  min-height: 280px;
  margin-top: 20px;
}

.b-tab6-inv-img {
  position: absolute;
  border-radius: 6px;
  height: auto;
}

.b-tab6-inv-left {
  width: 55%;
  bottom: -15%;
  left: 5%;
  z-index: 1;
}

.b-tab6-inv-center {
  width: 65%;
  bottom: -5%;
  left: 18%;
  z-index: 2;
}

.b-tab6-inv-right {
  width: 35%;
  bottom: -20%;
  right: 5%;
  z-index: 3;
}

.b-tab6-white-card {
  background-color: #ffffff;
  padding: 35px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  flex: 1;
  min-height: 150px;
}

.b-tab6-white-card h4 {
  font-family: "Rethink Sans";
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0 0 12px 0;
}

.b-tab6-white-card p {
  font-family: "DM Sans";
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.b-tab6-barcode-card {
  position: relative;
  overflow: hidden;
  padding-right: 160px;
}

.b-tab6-barcode-img {
  position: absolute;
  right: -10px;
  bottom: 50%;
  transform: translateY(50%);
  width: 160px;
  height: auto;
  pointer-events: none;
}

@media (max-width: 900px) {
  .b-tab6-tools-grid {
    grid-template-columns: 1fr;
  }

  .b-tab6-red-card .image-wrapper {
    min-height: 350px;
  }

  .b-tab6-white-card {
    min-height: auto;
  }
}

@media (max-width: 600px) {

  .b-tab6-red-card .text-content,
  .b-tab6-white-card {
    padding: 30px 25px;
  }

  .b-tab6-red-card .image-wrapper {
    min-height: 250px;
  }

  .b-tab6-inv-left {
    width: 60%;
    left: -5%;
  }

  .b-tab6-inv-center {
    width: 70%;
    left: 15%;
  }

  .b-tab6-inv-right {
    width: 45%;
    right: -5%;
  }

  .b-tab6-barcode-card {
    padding-right: 25px;
    padding-bottom: 120px;
  }

  .b-tab6-barcode-img {
    right: 10px;
    bottom: 10px;
    transform: none;
    width: 120px;
  }
}

/* ========================================
   BILLING TAB 7 CUSTOM GRID (Insights & Reports)
   ======================================== */
.b-tab7-reports-grid {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  align-items: stretch;
}

.b-tab7-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.b-tab7-card {
  border-radius: 12px;
  position: relative;
}

.b-tab7-white-card {
  background-color: #ffffff;
  padding: 30px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  min-height: 120px;
}

.b-tab7-white-card h4 {
  font-family: "Rethink Sans";
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0 0 10px 0;
}

.b-tab7-white-card p {
  font-family: "DM Sans";
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.b-tab7-red-card {
  background-color: #D6442D;
  color: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.b-tab7-tall-card {
  flex: 1;
}

.b-tab7-red-card .text-content {
  padding: 30px 30px 15px 30px;
}

.b-tab7-red-card h3 {
  font-family: "Rethink Sans";
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.b-tab7-red-card p {
  font-family: "DM Sans";
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.95;
}

.b-tab7-image-wrapper {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 0 40px;
  margin-top: 10px;
}

.b-tab7-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: -2px;
}

.b-tab7-profit-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 0 40px;
  margin-top: 10px;
  min-height: 140px;
}

.b-tab7-profit-wrapper .b-tab7-img-back {
  width: 80%;
  height: auto;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-bottom: -2px;
}

.b-tab7-profit-wrapper .b-tab7-img-front {
  position: absolute;
  bottom: -2px;
  right: 30px;
  width: 70%;
  height: auto;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  z-index: 2;
}

@media (max-width: 900px) {
  .b-tab7-reports-grid {
    flex-direction: column;
  }

  .b-tab7-tall-card {
    flex: none;
  }
}

@media (max-width: 500px) {

  .b-tab7-red-card .text-content,
  .b-tab7-white-card {
    padding: 25px 20px;
  }

  .b-tab7-image-wrapper,
  .b-tab7-profit-wrapper {
    padding: 0 20px;
  }

  .b-tab7-profit-wrapper .b-tab7-img-front {
    right: 15px;
    width: 80%;
  }
}

/* ========================================
   BILLING TAB 8 CUSTOM GRID (Simplify Daily Expenses)
   ======================================== */
.b-tab8-card {
  border-radius: 12px;
  position: relative;
}

.b-tab8-red-card {
  background-color: #D6442D;
  color: white;
  overflow: hidden;
  display: flex;
}

.b-tab8-red-card h3 {
  font-family: "Rethink Sans";
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.b-tab8-red-card p {
  font-family: "DM Sans";
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
}

.b-tab8-white-card {
  background-color: #ffffff;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.b-tab8-white-card h4 {
  font-family: "Rethink Sans";
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0 0 10px 0;
}

.b-tab8-white-card p {
  font-family: "DM Sans";
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.b-tab8-wide-banner {
  flex-direction: row;
  align-items: stretch;
  min-height: 260px;
  margin-bottom: 24px;
}

.b-tab8-wide-banner .text-content {
  flex: 0 0 40%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.b-tab8-voucher-wrapper {
  flex: 1;
  position: relative;
  min-height: 260px;
}

.b-tab8-voucher-img {
  position: absolute;
  border-radius: 8px;
  height: auto;
}

.b-tab8-voucher-left {
  width: 45%;
  bottom: -10%;
  left: 5%;
  z-index: 1;
}

.b-tab8-voucher-center {
  width: 45%;
  bottom: -5%;
  left: 30%;
  z-index: 3;
}

.b-tab8-voucher-right {
  width: 40%;
  top: 15%;
  right: -5%;
  z-index: 2;
}

.b-tab8-bottom-grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.b-tab8-mobile-card {
  flex: 1;
  flex-direction: column;
}

.b-tab8-mobile-card .text-content {
  padding: 40px 40px 0 40px;
}

.b-tab8-phone-wrapper {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 30px;
}

.b-tab8-phone-wrapper img {
  width: 55%;
  height: auto;
  display: block;
  margin-bottom: -5px;
}

.b-tab8-right-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.b-tab8-right-stack .b-tab8-white-card {
  flex: 1;
  min-height: 130px;
  border-radius: 12px;
}

/* Recurring Expenses bottom card */
.exp-wide-card {
  background-color: #D6442D;
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  min-height: 340px;
}
.exp-text-content {
  flex: 0 0 35%;
  padding: 50px 40px 50px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}
.exp-text-content h3 {
  font-family: "Rethink Sans";
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 16px 0;
  line-height: 1.3;
}
.exp-text-content p {
  font-family: "DM Sans";
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: #f3f4f6;
  opacity: 0.95;
}
.exp-image-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.exp-img-back {
  position: absolute;
  bottom: -2px;
  left: -50px;
  width: 65%;
  height: auto;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  z-index: 1;
}
.exp-img-front {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 60%;
  height: auto;
  border-top-left-radius: 8px;
  z-index: 2;
}
@media (max-width: 900px) {
  .exp-wide-card { flex-direction: column; min-height: 500px; }
  .exp-text-content { flex: none; padding: 40px 30px 20px 30px; }
  .exp-image-wrapper { min-height: 250px; }
  .exp-img-back { width: 80%; left: 5%; }
  .exp-img-front { width: 70%; right: 0; }
}
@media (max-width: 600px) {
  .exp-wide-card { min-height: 450px; }
  .exp-text-content h3 { font-size: 22px; }
  .exp-img-back { width: 90%; left: 0; border-top-left-radius: 0; }
  .exp-img-front { width: 80%; }
}

@media (max-width: 900px) {
  .b-tab8-wide-banner {
    flex-direction: column;
  }

  .b-tab8-wide-banner .text-content {
    flex: none;
    width: 100%;
    padding-bottom: 20px;
  }

  .b-tab8-voucher-wrapper {
    min-height: 280px;
  }

  .b-tab8-bottom-grid {
    flex-direction: column;
  }

  .b-tab8-right-stack .b-tab8-white-card {
    min-height: auto;
  }
}

@media (max-width: 600px) {

  .b-tab8-wide-banner .text-content,
  .b-tab8-mobile-card .text-content,
  .b-tab8-white-card {
    padding: 30px 25px;
  }

  .b-tab8-voucher-left {
    width: 50%;
    left: -5%;
  }

  .b-tab8-voucher-center {
    width: 55%;
    left: 20%;
  }

  .b-tab8-voucher-right {
    width: 50%;
    right: -10%;
  }

  .b-tab8-phone-wrapper img {
    width: 70%;
  }
}

/* ========================================
   PICKUP & DELIVERY TAB (Migrated from test.html)
   ======================================== */

/* Padding Utilities */
.card.pad-20 {
  padding: 38px;
}

.card.pad-40 {
  padding: 40px;
}

/* Pickup Wide Card (Top Row) */
.pickup-wide-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 30px 0px;
  margin-bottom: 20px;
}

.pickup-wide-card .text-content {
  flex: 1;
  max-width: 450px;
}

.pickup-wide-card h2,
.pickup-wide-card p {
  color: white;
}

.pickup-wide-card .image-content {
  flex: 1.5;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.pickup-wide-card .image-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Two Column Grid */
.pickup-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Columns inside the grid */
.pickup-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Mobile App Cards (Tall Green Cards) */
.mobile-app-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 32px 0 32px;
  /* 0 bottom padding so image bleeds */
}

.mobile-app-card .text-content {
  flex: 1;
  padding-bottom: 32px;
  /* Restores padding for the text area */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-app-card h2,
.mobile-app-card p {
  color: white;
}

.mobile-app-card .image-content {
  flex: 1;
  display: flex;
  align-items: flex-end;
  /* Pushes the image strictly to the bottom edge */
  justify-content: center;
  /* Centers image horizontally in its column space */
}

.mobile-app-card .image-content img {
  width: 100%;
  max-width: 250px;
  /* Keeps the phone mockup proportion accurate */
  height: auto;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive for Pickup Tab */
@media (max-width: 900px) {
  .pickup-split-grid {
    grid-template-columns: 1fr;
  }

  .pickup-wide-card {
    flex-direction: column;
    text-align: center;
    padding: 32px;
  }

  .pickup-wide-card .text-content {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .mobile-app-card {
    flex-direction: column;
    padding: 32px 32px 0 32px;
    text-align: center;
  }

  .mobile-app-card .text-content {
    padding-bottom: 20px;
  }

  .mobile-app-card .image-content img {
    max-width: 200px;
    /* Slightly smaller on mobile to fit nicely */
  }

  .card.pad-40,
  .card.pad-20 {
    padding: 32px;
    /* Reset to standard on mobile for consistency */
  }
}

/* ========================================
   INTEGRATIONS TAB (Migrated from test.html)
   ======================================== */

/* Grid Layout for Top Cards */
.integrations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* Top Green Split Cards */
.integrations-split-card {
  display: flex;
  flex-direction: column;
  padding: 40px 40px 0 40px;
  /* 0 padding on bottom so images bleed */
}

.integrations-split-card .text-content {
  flex: 1;
  /* Pushes the image down to the bottom */
  margin-bottom: 40px;
}

.integrations-split-card h2,
.integrations-split-card p {
  color: white;
}

.integrations-split-card .image-content {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* Ensures it sits on the bottom line */
}

.integrations-split-card .image-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0;
  /* If the images are square PNGs rather than transparent, these border radius rules keep the corners inside the card rounded */
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

/* Bottom Full Width White Card */
.integrations-full-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
}

.integrations-full-card h2 {
  margin-bottom: 12px;
  color: #000;
  /* Darker heading for contrast */
}

/* Responsive for Integrations Tab */
@media (max-width: 900px) {
  .integrations-grid {
    grid-template-columns: 1fr;
  }

  .integrations-split-card {
    padding: 32px 32px 0 32px;
    text-align: center;
  }

  .integrations-split-card .text-content {
    margin-bottom: 32px;
  }

  .integrations-full-card {
    padding: 32px;
    text-align: center;
  }
}

/* ========================================
   REPORTS TAB (Migrated from test.html)
   ======================================== */

/* Top Wide Card for Reports */
.reports-wide-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 20px 0px 30px;
  margin-bottom: 20px;
}

.reports-wide-card .text-content {
  flex: 1;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.reports-wide-card .text-content h2,
.reports-wide-card .text-content p {
  color: white;
}

.reports-wide-card .image-content {
  flex: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
}

.reports-wide-card .image-content img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
}

/* Bottom Split Section for Reports */
.reports-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 20px;
  align-items: stretch;
}

/* Left Column - Stacked Cards */
.reports-left-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reports-left-col .card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  /* Standard padding from test.html .theme-white */
}

/* Right Column - Tall Green Card */
.reports-tall-card {
  display: flex;
  flex-direction: column;
  padding: 40px 40px 0 40px;
}

.reports-tall-card .text-content {
  margin-bottom: 32px;
}

.reports-tall-card .text-content h2,
.reports-tall-card .text-content p {
  color: white;
}

/* Combined Image Wrapper */
.reports-image-group {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  margin-top: auto;
}

/* The large left image */
.reports-image-group .img-left {
  flex: 1.6;
}

.reports-image-group .img-left img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
}

/* The right block containing the two half-images side-by-side */
.reports-image-group .img-right-combined {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  /* FIX: Forces both to stretch to the exact same height */
  gap: 0;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background: white;
}

.reports-image-group .img-right-combined img {
  height: 100%;
  /* Ensures they fill the stretched container */
  object-fit: cover;
  /* Prevents awkward squishing, ensures the whole space is filled */
  display: block;
}

/* Left half (Text labels) */
.reports-image-group .img-right-combined img:first-child {
  width: 60%;
  /* Gives the text labels the extra room they need */
  border-top-left-radius: 8px;
  border-bottom-left-radius: 0;
  object-position: right top;
  /* Keeps it flush with the middle cut */
}

/* Right half (Numbers) */
.reports-image-group .img-right-combined img:last-child {
  width: 40%;
  /* Gives the numbers less room */
  border-top-right-radius: 8px;
  border-bottom-right-radius: 0;
  object-position: left top;
  /* Keeps it flush with the middle cut */
}

/* Responsive Design for Reports Tab */
@media (max-width: 900px) {
  .reports-wide-card {
    flex-direction: column;
    padding: 32px 32px 0 32px;
    text-align: center;
  }

  .reports-wide-card .text-content {
    max-width: 100%;
    padding: 0 0 20px 0;
  }

  .reports-wide-card .image-content {
    width: 100%;
  }

  .reports-wide-card .image-content img {
    border-radius: 12px;
  }

  .reports-split-grid {
    grid-template-columns: 1fr;
  }

  .reports-tall-card {
    padding: 32px 32px 0 32px;
    text-align: center;
  }

  .reports-image-group {
    flex-direction: column;
    align-items: center;
  }

  .reports-image-group .img-left,
  .reports-image-group .img-right-combined {
    width: 100%;
    max-width: 400px;
  }

  .reports-image-group .img-left img,
  .reports-image-group .img-right-combined img:first-child,
  .reports-image-group .img-right-combined img:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
}

/* ========================================
   EXPENSE MANAGEMENT TAB (Migrated from test.html)
   ======================================== */

/* Top Wide Card for Expense */
.expense-wide-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 0 40px !important;
  /* 0 bottom padding ensures card doesn't push content up */
}

.expense-wide-card .text-content {
  flex: 1;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.expense-wide-card .text-content h2,
.expense-wide-card .text-content p {
  color: white;
}

.expense-wide-card .image-content {
  flex: 2;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  /* Absolutely pins the images to the bottom baseline */
  overflow: hidden;
  padding: 32px 0 0 0 !important;
  /* Strict 0 bottom padding */
}

/* Overlapping Image Layout */
.expense-wide-card .image-content img {
  width: 40%;
  height: auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: block;
  position: relative;

  /* Sinks the images below the card boundary by 20px */
  margin-bottom: -20px !important;
}

/* Front Left Image */
.expense-img-overlap-1 {
  z-index: 2;
  margin-right: -18%;
}

/* Middle Image - BROUGHT TO TOP */
.expense-img-overlap-2 {
  z-index: 3;
  width: 45% !important;
  /* Make it slightly wider for focus */
  margin-right: -18%;
}

/* Back Right Image */
.expense-img-overlap-3 {
  z-index: 1;
  width: 45% !important;
  margin-right: 20px;
  /* Gives it a bit of space from the right edge */
}

/* Bottom Split Section */
.expense-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* Left Column - Tall Green Mobile App Card */
.expense-mobile-card {
  display: flex;
  flex-direction: column;
  padding: 40px 40px 0 40px !important;
  margin-top: 20px;
}

.expense-mobile-card .text-content {
  margin-bottom: 40px;
}

.expense-mobile-card .text-content h2,
.expense-mobile-card .text-content p {
  color: white;
}

.expense-mobile-card .image-wrapper {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.expense-mobile-card .image-wrapper img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: -20px !important;
  /* Sinks it flush, matching the top images */
}

/* Right Column - 3 Stacked White Cards */
.expense-right-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.expense-right-stack .card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

/* Responsive Design for Expense Tab */
@media (max-width: 900px) {
  .expense-wide-card {
    flex-direction: column;
    padding: 32px 32px 0 32px !important;
    text-align: center;
  }

  .expense-wide-card .text-content {
    max-width: 100%;
    padding: 0 0 20px 0;
  }

  .expense-wide-card .image-content {
    width: 100%;
    justify-content: center;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
  }

  .expense-split-grid {
    grid-template-columns: 1fr;
  }

  .expense-mobile-card {
    padding: 32px 32px 0 32px !important;
    text-align: center;
  }
}

/* ========================================
   MORE FEATURES TAB (Migrated from test.html)
   ======================================== */

/* -------------------------------------
   Top Card (Price List)
   ------------------------------------- */
.more-wide-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  padding: 0px 20px 0 20px !important;
}

.more-wide-card .text-content {
  flex: 1;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.more-wide-card .text-content h2,
.more-wide-card .text-content p {
  color: white;
}

.more-wide-card .image-content {
  flex: 2;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  overflow: hidden;
  padding: 32px 0 0 0 !important;
}

.more-wide-card .image-content img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 12px;
  margin-bottom: -2px !important;
  box-shadow: none !important;
}

/* -------------------------------------
   Middle Grid Columns
   ------------------------------------- */
.more-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.more-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.more-tall-card {
  display: flex;
  flex-direction: column;
  padding: 40px 40px 0 40px !important;
}

.more-tall-card .text-content h2,
.more-tall-card .text-content p {
  color: white;
}

/* Invoice Card with 50px Top Padding */
.more-invoice-card {
  padding-top: 20px !important;
}

/* Multiple Invoice Templates Overlap */
.more-invoice-stack {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: auto;
  height: 280px;
  position: relative;
}

.more-invoice-stack img {
  display: block;
  position: absolute;
  bottom: 0;
  box-shadow: none !important;
}

.more-invoice-1 {
  width: 42%;
  height: 65%;
  left: 5%;
  z-index: 1;
}

.more-invoice-2 {
  width: 55%;
  height: 100%;
  left: 20%;
  z-index: 2;
}

.more-invoice-3 {
  width: 28%;
  height: 85%;
  right: 5%;
  z-index: 3;
}

/* -------------------------------------
   IMAGE ATTACHMENT CARD (Padding: 30px 0px 30px 30px)
   ------------------------------------- */
.more-attachment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0px 30px 30px !important;
  gap: 20px;
}

.more-attachment-card .text-content {
  flex: 1;
}

.more-attachment-card .text-content h2,
.more-attachment-card .text-content p {
  color: white;
}

.more-attachment-ui-wrapper {
  flex: 1.2;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #333;
}

.more-attachment-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.more-label {
  font-weight: bold;
  color: #666;
}

.more-btn-take {
  background-color: #4a8c74;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.more-gallery-text {
  flex-grow: 1;
  background: white;
  border: 1px solid #ddd;
  padding: 4px 8px;
  border-radius: 4px;
  color: #999;
}

.more-btn-save {
  background-color: #6daae0;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* -------------------------------------
   PERMANENT CLOTH TAGS (Small Image, Left Aligned)
   ------------------------------------- */
.more-tags-card {
  display: flex;
  flex-direction: column;
  padding: 20px 40px 0px !important;
  /* Switch to full padding so image doesn't bleed */
}

.more-tags-card .text-content h2,
.more-tags-card .text-content p {
  color: white;
}

.more-tags-image-wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;
  /* Align Left */
}

.more-tags-image-wrapper img {
  width: 300px;
  /* Much smaller size */
  height: auto;
  border-radius: 8px;
  box-shadow: none !important;
}

/* Order Templates image (Bleeding) */
.more-template-image-wrapper {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.more-template-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  margin-bottom: -2px !important;
  box-shadow: none !important;
}

/* -------------------------------------
   HOTEL ORDERS (Bottom Slim Card)
   ------------------------------------- */
.more-hotel-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  padding: 0px 20px 0 20px !important;
  margin-top: 20px;
}

.more-hotel-card .text-content {
  flex: 1;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Reduced padding to shrink breadth */
  padding: 20px 0;
}

.more-hotel-card .text-content h2,
.more-hotel-card .text-content p {
  color: white;
}

.more-hotel-image-content {
  flex: 2;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
  /* Reduced breadth (height) */
  height: 250px;
  overflow: hidden;
}

.more-hotel-image-content img {
  display: block;
  box-shadow: none !important;
  margin-bottom: -20px !important;
  position: absolute;
  bottom: 0;
}

/* Set image widths to 60% and 40% */
.more-hotel-img-60 {
  width: 60%;
  left: 10%;
  z-index: 1;
}

.more-hotel-img-40 {
  width: 40%;
  right: 0;
  z-index: 2;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .more-split-grid {
    grid-template-columns: 1fr;
  }

  .more-wide-card,
  .more-attachment-card {
    flex-direction: column;
    text-align: center;
    padding: 32px !important;
  }

  .more-tags-image-wrapper {
    justify-content: center;
  }

  .more-hotel-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px 0 20px !important;
  }

  .more-hotel-card .text-content {
    max-width: 100%;
  }

  .more-hotel-image-content {
    height: 180px;
    justify-content: center;
  }

  .more-hotel-img-60 {
    width: 55%;
    left: 5%;
  }

  .more-hotel-img-40 {
    width: 45%;
    right: 5%;
  }
}

/* ========================================
   ACCOUNTING & EXPENSES SECTION
   ======================================== */
/* Base specific overrides */
body.billing-page .unified-section {
  padding: 60px 0;
  margin: 0;
}

/* Fix mobile menu toggle overflow on tiny screens */
@media (max-width: 400px) {
  .billing-logo {
    gap: 8px;
  }

  .billing-logo .product-name {
    font-size: 18px !important;
  }

  .btn-billing-login {
    padding: 8px 15px;
    font-size: 13px;
  }

  .header-actions {
    gap: 10px;
  }
}

.billing-accounting-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.accounting-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.accounting-header h2 {
  font-family: "Rethink Sans";
  font-size: 48px;
  font-weight: 800;
  color: black;
  margin-bottom: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
}

.accounting-header p {
  font-family: "DM Sans";
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  line-height: 26px;
  letter-spacing: 0%;
  vertical-align: middle;
}

.accounting-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.accounting-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  overflow: hidden;
  /* Sticky Stacking Effect */
  position: sticky;
  top: 120px;
  z-index: 10;
  box-shadow:
    0 -4px 20px rgba(0, 0, 0, 0.05),
    0 10px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

/* Theme: Light (Greenish Tint) */
.acc-theme-light {
  background-color: #95eedd;
}

.acc-theme-light .acc-content h3 {
  color: #111827;
}

.acc-theme-light .acc-content p {
  color: #4b5563;
}

.acc-theme-light .acc-feature-list li {
  color: #374151;
}

/* Light (Teal/Cyan) Theme Icons */
.acc-theme-light .icon-wrap {
  background: #d6442d;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 8px;
  /* Reset font size/color as we use image mask/bg */
}

.acc-theme-light .icon-wrap i {
  display: block;
  width: 14px;
  height: 14px;
  background: url("../images/hero-center-logo.svg") no-repeat center/contain;
  /* Make icon white */
  filter: brightness(0) invert(1);
  content: "";
  /* Hide text/font-icon if any */
}

/* Hide ::before content of font awesome */
.acc-theme-light .icon-wrap i::before,
.acc-theme-dark-green .icon-wrap i::before,
.acc-theme-dark-black .icon-wrap i::before {
  display: none;
}

/* Theme: Dark Green */
.acc-theme-dark-green {
  background-color: #1cb394;
  /* Use brand color or similar */
}

.acc-theme-dark-green .acc-content h3,
.acc-theme-dark-green .acc-content p,
.acc-theme-dark-green .acc-feature-list li {
  color: #ffffff;
}

/* Dark Theme Icons (Green/Black) - Hero Style (White Bubble + Green Icon) */
.acc-theme-dark-green .icon-wrap,
.acc-theme-dark-black .icon-wrap {
  background: #ffffff;
  /* White Bubble */
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 8px;
}

.acc-theme-dark-green .icon-wrap i,
.acc-theme-dark-black .icon-wrap i {
  display: block;
  width: 14px;
  height: 14px;
  background-color: #d6442d;
  -webkit-mask: url("../images/hero-center-logo.svg") no-repeat center/contain;
  mask: url("../images/hero-center-logo.svg") no-repeat center/contain;
  content: "";
}

/* Theme: Dark Black/Green */
.acc-theme-dark-black {
  background-color: #08352c;
  /* Dark green/black */
}

.acc-theme-dark-black .acc-content h3,
.acc-theme-dark-black .acc-content p,
.acc-theme-dark-black .acc-feature-list li {
  color: #ffffff;
}

/* Specific overwrite for First Card in Accounting Section */
.accounting-grid .accounting-card:first-child {
  background-color: #edfcf9;
}

/* Alternating Layout - REMOVED for consistent alignment */
/* .accounting-card:nth-child(even) {
    flex-direction: row-reverse;
} */

.acc-content {
  flex: 1;
  padding: 60px;
}

.acc-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.acc-image-wrapper img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  /* Apply a slight shadow if needed? */
}

.acc-content h3 {
  font-family: "Rethink Sans";
  font-size: 31.5px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 40px;
  letter-spacing: 0%;
  vertical-align: middle;
}

.acc-content p {
  font-family: "DM Sans";
  font-size: 15.6px;
  font-weight: 400;
  margin-bottom: 30px;
  line-height: 26px;
  letter-spacing: 0%;
  vertical-align: middle;
}

.acc-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.acc-feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-family: "DM Sans";
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0%;
  vertical-align: middle;
}

/* First 2 cards points color */
.accounting-card:nth-child(1) .acc-feature-list li,
.accounting-card:nth-child(2) .acc-feature-list li {
  color: #08352c;
}

/* Last 2 cards points color */
.accounting-card:nth-child(3) .acc-feature-list li,
.accounting-card:nth-child(4) .acc-feature-list li {
  color: white;
}

/* Responsive */
@media (max-width: 991px) {
  .billing-accounting-section {
    padding: 60px 0;
  }

  .accounting-card,
  .accounting-card:nth-child(even) {
    flex-direction: column-reverse;
    position: relative;
    /* Disable sticky on mobile to prevent content clipping */
    top: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Simpler shadow */
    margin-bottom: 40px;
  }

  .acc-content {
    padding: 30px 20px;
    text-align: left;
  }

  .acc-image-wrapper {
    padding: 30px 20px 0;
  }

  .acc-content h3 {
    font-size: 24px;
  }
}

/* --- Quick Action Section (Item Search) --- */
.quick-action-section {
  padding: 80px 20px;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}

.quick-container {
  max-width: 1100px;
  width: 100%;
}

/* --- Typography --- */
.quick-label {
  font-family: "Rethink Sans";
  font-weight: 600;
  font-size: 16px;
  line-height: 18px;
  text-align: center;
  margin-bottom: 12px;
  display: block;
  color: #d6442d;
}

.quick-main-header {
  font-family: "Rethink Sans";
  font-weight: 700;
  font-size: 42px;
  line-height: 50px;
  color: #333333;
  text-align: center;
  margin: 0 auto 15px auto;
}

.quick-subtext {
  font-family: "DM Sans";
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #888888;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

/* --- Grid Layout --- */
.b-qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.b-qa-left-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* --- Cards --- */
.b-qa-card {
  background-color: #ffece5;
  border-radius: 12px;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.b-qa-full-width {
  grid-column: 1 / -1;
  /* span both columns */
}

/* --- Icons --- */
.eway-icon-circle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: #ff5a35;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.new-wa-feat-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 8px;
  margin-top: 2px;
}

.new-wa-feat-icon::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-color: #d6442d;
  -webkit-mask: url("../images/hero-center-logo.svg") no-repeat center/contain;
  mask: url("../images/hero-center-logo.svg") no-repeat center/contain;
}

.eway-icon-circle img {
  width: 14px;
  height: auto;
  filter: brightness(0) invert(1);
  display: block;
}

.b-qa-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #D6442D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.b-qa-icon img {
  width: 14px;
  height: auto;
  filter: brightness(0) invert(1);
  display: block;
}


/* --- Card Text --- */
.b-qa-card h4 {
  font-family: "Rethink Sans";
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin: 0;
  line-height: 1.3;
}

.b-qa-card p {
  font-family: "DM Sans";
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* --- Right Side Image Box --- */
.b-qa-image-box {
  background-color: #d6442d;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0px;
}

.b-qa-image-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
  .b-qa-grid {
    grid-template-columns: 1fr;
  }

  .b-qa-left-cards {
    grid-template-columns: 1fr;
  }

  .b-qa-full-width {
    grid-column: auto;
  }
}

/* --- Quick Action Carousel --- */
.qa-slider-container {
  position: relative;
  width: 100%;
}

.qa-slider-track {
  width: 100%;
}

.qa-slide {
  display: none;
  width: 100%;
  animation: fadeInSlide 0.5s ease-in-out forwards;
}

.qa-slide.active {
  display: block;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qa-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.qa-dot {
  width: 10px;
  height: 10px;
  background-color: #e2e8f0;
  border-radius: 50%;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.qa-dot.active {
  background-color: #d6442d;
  transform: scale(1.2);
}

/* --- Smart Tag Printing Section (Migrated from test.html) --- */
.tag-printing-section {
  background-color: #f8fafc;
  font-family: "Rethink Sans";
  padding: 60px 20px;
  color: #0f172a;
  /* brand-dark */
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  --tag-brand-green: #006953;
  --tag-brand-dark: #0f172a;
  --tag-brand-gray: #64748b;
  --tag-bg-light: #f8fafc;
  --tag-dimmed-bg: #00000054;
  --tag-line-color: #94a3b8;
}

/* --- Typography --- */
.tag-section-label {
  color: var(--tag-brand-green);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
  display: block;
  text-align: center;
}

.tag-main-header {
  font-family: "Inter";
  font-size: 39.4px;
  font-weight: 700;
  margin: 0 0 15px 0;
  text-align: center;
  line-height: 49px;
  letter-spacing: -1.5px;
  vertical-align: middle;
  color: black;
}

.tag-subtitle {
  font-family: "Inter";
  font-weight: 400;
  font-size: 14.6px;
  color: #575757;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 20px auto;
  line-height: 29px;
  letter-spacing: 0%;
  vertical-align: middle;
}

/* --- Top Feature Pills --- */
.tag-features-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
  max-width: 900px;
}

.tag-feature-pill {
  background: var(--billing-primary-gradient);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  font-family: "DM Sans";
  text-align: center;
}

/* --- Interactive Section Layout --- */
.tag-diagram-container {
  position: relative;
  max-width: 1350px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 100px;
  padding: 0 20px;
}

/* SVG Overlay for Lines */
.tag-svg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  /* Lines sit behind the buttons */
}

/* Interactive strictly straight lines (Orthogonal) */
.tag-connection-line {
  fill: none;
  stroke: var(--tag-line-color);
  stroke-width: 1.2px;
  stroke-linejoin: miter;
  transition:
    stroke 0.3s ease,
    stroke-width 0.3s ease;
  opacity: 0.5;
}

.tag-connection-line.active {
  stroke: var(--tag-brand-green);
  stroke-width: 2.5px;
  opacity: 1;
}

/* The continuous structural semi-circles */
.tag-structural-arc {
  fill: none;
  stroke: var(--tag-brand-green);
  stroke-width: 1.5px;
  opacity: 0.6;
}

/* --- Side Buttons (The Arms) --- */
.tag-side-column {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  z-index: 2;
  /* Buttons sit above the SVG lines */
  width: 250px;
  padding: 10px 0;
}

.tag-left-col {
  align-items: flex-end;
}

.tag-right-col {
  align-items: flex-start;
}

/* BASE BUTTON STYLES */
.tag-arm-btn {
  background: white;
  border: 1px solid var(--tag-brand-green);
  color: var(--tag-brand-dark);
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  overflow: visible;
  box-sizing: border-box;
  width: 170px;
  margin: 0;
}

/* STAGGERING: Push the middle buttons further outward */
.tag-left-col .tag-arm-btn:nth-child(2),
.tag-left-col .tag-arm-btn:nth-child(3) {
  margin-right: 60px;
}

.tag-right-col .tag-arm-btn:nth-child(2),
.tag-right-col .tag-arm-btn:nth-child(3) {
  margin-left: 60px;
}

/* Button Ends & Triangles */
.tag-left-col .tag-arm-btn {
  border-radius: 20px 0 0 20px;
  border-right: none;
}

.tag-right-col .tag-arm-btn {
  border-radius: 0 20px 20px 0;
  border-left: none;
}

.tag-arm-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 19px solid transparent;
  border-bottom: 19px solid transparent;
}

.tag-left-col .tag-arm-btn::before {
  right: -18px;
  border-left: 18px solid white;
  filter: drop-shadow(1px 0 0 var(--tag-brand-green));
}

.tag-right-col .tag-arm-btn::before {
  left: -18px;
  border-right: 18px solid white;
  filter: drop-shadow(-1px 0 0 var(--tag-brand-green));
}

/* Hover & Active States */
.tag-arm-btn:hover,
.tag-arm-btn.active {
  background-color: var(--tag-brand-green);
  color: white;
}

.tag-left-col .tag-arm-btn:hover::before,
.tag-left-col .tag-arm-btn.active::before {
  border-left-color: var(--tag-brand-green);
}

.tag-right-col .tag-arm-btn:hover::before,
.tag-right-col .tag-arm-btn.active::before {
  border-right-color: var(--tag-brand-green);
}

/* --- Center Image Wrapper --- */
.tag-image-wrapper {
  position: relative;
  z-index: 2;
  padding: 0;
  background: white;
  border-radius: 4px;
  border: 2px solid var(--tag-brand-green);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  max-width: 500px;
  width: 100%;
}

.tag-printing-image {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* --- Highlight Zones --- */
.tag-highlight-zone {
  position: absolute;
  background-color: transparent;
  border: 2px solid var(--tag-brand-green);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 4px;
  z-index: 10;
}

.tag-highlight-zone.active {
  opacity: 1;
  box-shadow: 0 0 0 9999vmax var(--tag-dimmed-bg);
}

.tag-highlight-zone.active::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  bottom: -4px;
  left: -4px;
  border: 2px solid var(--tag-brand-green);
  border-radius: 6px;
  opacity: 0;
  animation: tag-pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes tag-pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }

  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

/* --- Zone Positioning --- */
.tag-zone-business-address {
  top: 14%;
  left: 17%;
  width: 65%;
  height: 8%;
}

.tag-zone-license-number {
  top: 20%;
  left: 35%;
  width: 30%;
  height: 7%;
}

.tag-zone-barcode-number {
  top: 57%;
  left: 35%;
  width: 30%;
  height: 8%;
}

.tag-zone-mfg-date {
  top: 69%;
  left: 35%;
  width: 29%;
  height: 16%;
}

.tag-zone-business-name {
  top: 6%;
  left: 35%;
  width: 30%;
  height: 10%;
}

.tag-zone-item-name {
  top: 26%;
  left: 35%;
  width: 30%;
  height: 8%;
}

.tag-zone-mrp-price {
  top: 63%;
  left: 30%;
  width: 40%;
  height: 8%;
}

.tag-zone-description {
  top: 85%;
  left: 20%;
  width: 60%;
  height: 8%;
}

/* Responsive */
@media (max-width: 1024px) {
  .tag-diagram-container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .tag-side-column {
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
    max-width: 600px;
  }

  .tag-image-wrapper {
    order: -1;
    max-width: 400px;
    margin-bottom: 20px;
  }

  .tag-svg-overlay {
    display: none;
  }

  .tag-left-col .tag-arm-btn:nth-child(2),
  .tag-left-col .tag-arm-btn:nth-child(3),
  .tag-right-col .tag-arm-btn:nth-child(2),
  .tag-right-col .tag-arm-btn:nth-child(3) {
    margin: 0;
  }

  .tag-arm-btn {
    width: 180px;
    border-radius: 8px !important;
  }

  .tag-arm-btn::before {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .tag-printing-section {
    padding: 30px 15px;
  }

  .tag-main-header {
    font-size: 32px;
  }

  .tag-side-column {
    flex-direction: column;
    align-items: stretch;
  }

  .tag-arm-btn {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
  }
}

/* --- Customer Dashboard Section (Migrated from test.html) --- */
.billing-dashboard-section {
  background: #ff9f7b;
  /* min-height: 100vh; */
  /* Removed min-height to fit naturally in the page flow */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-top: 80px;
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
}

.billing-dashboard-wrapper {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  padding: 0 20px;
}

.billing-dashboard-title {
  font-family: "Rethink Sans";
  font-weight: 700;
  font-size: 48px;
  line-height: 48px;
  letter-spacing: 0%;
  color: #f9f9f9;
  margin-bottom: 24px;
}

.billing-dashboard-description {
  font-family: "DM Sans";
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: 0%;
  color: var(--billing-hero-bg);
  max-width: 750px;
  margin: 0 auto;
}

.billing-dashboard-image-container {
  width: 100%;
  max-width: 800px;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.billing-dashboard-image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .billing-dashboard-title {
    font-size: 32px;
    line-height: 40px;
  }

  .billing-dashboard-section {
    padding-top: 60px;
  }
}

/* --- Auto-Scrolling Dashboard Cards (New Section) --- */
.dash-scroll-section {
  background: #ffece5;
  padding: 30px 0 50px 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.dash-scroll-track {
  display: flex;
  gap: 30px;
  animation: dash-scroll 40s linear infinite;
  width: max-content;
  padding-left: 20px;
}

.dash-scroll-track:hover {
  animation-play-state: paused;
}

.dash-scroll-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  width: 320px;
  flex-shrink: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: normal;
  transition: transform 0.3s ease;
}

.dash-scroll-card:hover {
  transform: translateY(-5px);
}

.dash-card-icon {
  background: var(--billing-primary-gradient);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.dash-card-icon img {
  width: 20px;
  height: auto;
  display: block;
}

.dash-card-title {
  font-family: "Rethink Sans";
  font-weight: 700;
  font-size: 20px;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.dash-card-desc {
  font-family: "DM Sans";
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

@keyframes dash-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
    /* Move half the width (first set) */
  }
}

/* --- GST Filing & Compliance Section (New) --- */
.gst-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background-color: #ffffff;
}

.gst-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  gap: 5%;
  align-items: stretch;
}

/* Left Content Styles */
.gst-content-left {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}

.gst-subtitle {
  color: var(--billing-primary-light);
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 10px 0;
  font-family: "Inter";
}

.gst-title {
  font-size: 42px;
  color: #2d333a;
  margin: 0 0 20px 0;
  font-weight: 700;
  line-height: 1.2;
  font-family: "Inter";
}

.gst-highlight-wrapper {
  position: relative;
  display: inline-block;
}

.gst-description {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 45px;
  max-width: 95%;
  font-family: "Inter";
}

/* Features Grid Styles */
.gst-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  row-gap: 40px;
}

.gst-feature-item {
  display: flex;
  flex-direction: column;
}

.gst-icon-circle {
  width: 42px;
  height: 42px;
  background: #d6442d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.gst-icon-circle img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.gst-feature-item h3 {
  font-size: 18px;
  color: #111827;
  margin: 0 0 12px 0;
  font-weight: 600;
  line-height: 1.3;
  font-family: "Inter";
}

.gst-feature-item p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  font-family: "Inter";
}

/* Right Content Styles */
.gst-content-right {
  flex: 0 0 45%;
  position: relative;
}

.gst-green-bg {
  background: var(--billing-primary-gradient);
  border-radius: 20px;
  width: 100%;
  height: 100%;
  position: relative;
}

/* --- Mobile App Section (New) --- */
.mobile-app-section {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.mobile-app-subtitle {
  color: #51ad68;
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 10px 0;
  font-family: "Inter";
}

.mobile-app-title {
  font-size: 36px;
  color: #2d333a;
  margin: 0 0 10px 0;
  font-weight: 700;
  font-family: "Inter";
}

.mobile-app-description {
  color: #6b7280;
  font-size: 16px;
  margin: 0 auto 50px auto;
  max-width: 600px;
  line-height: 1.6;
  font-family: "Inter";
}

.mobile-app-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.mobile-app-card {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  padding: 30px 40px 0 30px;
  /* Bottom padding handled by image */
  text-align: left;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.mobile-app-card.driver {
  background-color: #08352c;
  color: white;
}

.mobile-app-card.collection {
  background-color: var(--billing-hero-bg);
  color: #111827;
}

.mobile-app-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.mobile-app-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Inter";
}

.mobile-app-card.driver .mobile-app-name {
  color: #63b984;
}

.mobile-app-card.collection .mobile-app-name {
  color: var(--billing-primary-dark);
}

.app-arrow-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
}

.app-arrow-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-app-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  flex-grow: 1;
}

.mobile-app-feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
  font-family: "Inter";
}

.mobile-feature-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background-color: white;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-app-card.collection .mobile-feature-icon {
  background-color: #2ecc71;
}

.mobile-feature-icon img {
  width: 12px;
  height: 12px;
}

/* Filter for green check in driver card (white bg) */
.mobile-app-card.driver .mobile-feature-icon img {
  filter: brightness(0) saturate(100%) invert(35%) sepia(95%) saturate(500%) hue-rotate(130deg) brightness(95%) contrast(95%);
}

/* Filter for white check in collection card (green bg) */
.mobile-app-card.collection .mobile-feature-icon img {
  filter: brightness(0) invert(1);
}

.mobile-phone-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* or flex-start, depending on how you want it vertically in the remaining space */
  position: relative;
  margin-top: auto;
  gap: 25px;
  /* Spacing between image and button */
  padding-bottom: 30px;
  /* Spacing at the bottom */
}

.mobile-phone-img {
  width: 80%;
  max-width: 300px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
  display: block;
}

.google-play-btn {
  position: relative;
  /* Removed absolute positioning */
  z-index: 10;
  width: 140px;
  height: auto;
  transition: transform 0.2s;
  cursor: pointer;
  /* left/bottom/transform removals are implied by not including them */
}

.google-play-btn:hover {
  transform: scale(1.05);
  /* Removed translateX since it's no longer needed */
}

/* Responsive */
@media (max-width: 900px) {
  .mobile-app-grid {
    flex-direction: column;
    align-items: center;
  }

  .mobile-app-card {
    width: 100%;
    max-width: 600px;
    min-height: auto;
  }
}

/* --- Pricing Section (New) --- */
.pricing-section {
  padding: 40px 20px;
  background-color: #f9fafb;
  text-align: center;
}

.pricing-title-wrapper {
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
}

.pricing-title {
  font-size: 36px;
  color: #2d333a;
  font-weight: 700;
  font-family: "Inter";
  line-height: 1.3;
  max-width: 800px;
  margin: 0 auto;
}

/* Custom underline for "Pricing Plans" */
.pricing-highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.pricing-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  /* Adjust based on font baseline */
  width: 100%;
  height: 8px;
  /* Thickness of the underline */
  background-color: #c1eac5;
  /* Light green underline color */
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
  /* Slight tilt for "hand-drawn" look */
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  align-items: stretch;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  flex: 1;
  min-width: 260px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Most Popular Card Styles */
.pricing-card.popular {
  background-color: #fff2ed;
  border: 1px solid #d6442d;
  transform: scale(1.02);
  z-index: 2;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #d6442d;
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 42px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 5px;
  font-family: "Inter";
}

.plan-period {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 25px;
}

.pricing-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #d6442d;
  color: white;
  font-weight: 600;
  font-size: 12px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  margin-bottom: 25px;
  transition: background-color 0.2s;
  width: 100%;
}

.pricing-btn:hover {
  background-color: #c13b26;
}

/* Feature List */
.features-header {
  font-size: 13px;
  font-weight: 700;
  color: #d6442d;
  text-align: left;
  margin-bottom: 15px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-feature-item {
  font-size: 13px;
  color: #374151;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
  line-height: 1.4;
}

.pricing-feature-item::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  background-color: #feece8;
  color: #d6442d;
  font-size: 9px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.disclaimer {
  font-size: 12px;
  color: #6b7280;
  margin-top: 40px;
  margin-bottom: 40px;
}

.pricing-disclaimer {
  font-family: "Inter";
  color: #333333;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 22px;
  letter-spacing: 0;
  text-align: center;
  margin-top: -40px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 20px;
  padding-left: 20px;
}

/* Add-on Section */
.addon-section {
  background-color: #ffece5;
  border-radius: 16px;
  padding: 30px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  flex-wrap: wrap;
  gap: 30px;
}

.addon-text {
  flex: 1;
  padding-right: 30px;
  border-right: 1px solid #d7d7d7;
}

.addon-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 5px 0;
}

.addon-text p {
  font-size: 14px;
  color: #4b5563;
  margin: 0;
}

.addon-btn {
  background-color: #d6442d;
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.addon-btn:hover {
  background-color: #0d665e;
}

/* Responsive Pricing */
@media (max-width: 768px) {
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 100%;
    max-width: 100%;
  }

  .addon-section {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .addon-text {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 20px;
  }
}

/* Overlapping Image Styles */
.img-gst-1 {
  position: absolute;
  /* Pulled down to be more centered vertically */
  top: 10%;
  left: 0px;
  /* Reduced size */
  width: 420px;
  border-radius: 8px;
  z-index: 1;
}

.img-gst-2 {
  position: absolute;
  top: 47%;
  right: 0;
  width: 420px;
  border-radius: 8px;
  z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .gst-container {
    flex-direction: column;
  }

  .gst-content-left {
    flex: 1 1 100%;
  }

  .gst-content-right {
    flex: 1 1 100%;
    margin-top: 60px;
  }

  .img-gst-1 {
    top: 5%;
    left: 10%;
    width: 45%;
  }

  .img-gst-2 {
    top: 40%;
    right: 10%;
    width: 45%;
  }

  .gst-green-bg {
    height: 500px;
  }
}

@media (max-width: 650px) {
  .gst-features-grid {
    grid-template-columns: 1fr;
  }

  .gst-title {
    font-size: 34px;
  }

  .img-gst-1,
  .img-gst-2 {
    width: 80%;
  }

  .img-gst-1 {
    left: 5%;
    top: 5%;
  }

  .img-gst-2 {
    right: 5%;
    bottom: -10%;
  }

  .gst-green-bg {
    height: 400px;
  }
}

/* --- Main Layout --- */
.quick-grid {
  display: flex;
  /* Flexbox allows heights to align naturally */
  gap: 24px;
  align-items: stretch;
  /* CRITICAL: This forces all columns to be same height */
  justify-content: center;
}

.quick-side-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  /* Takes up 1 part width */
  justify-content: space-between;
  /* Pushes cards to top and bottom */
}

/* --- Feature Card Styling --- */
.quick-card {
  background-color: var(--billing-hero-bg);
  /* Light Green BG */
  padding: 32px 24px;
  border-radius: 20px;
  /* CRITICAL: flex: 1 makes the card expand to fill the available height */
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.quick-icon-box {
  background-color: #16a34a;
  /* Brand Green */
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.quick-icon-box svg {
  width: 18px;
  height: 18px;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
}

.quick-card-text {
  font-family: "Rethink Sans";
  font-weight: 600;
  font-size: 18.08px;
  line-height: 23.5px;
  color: #0f172a;
  /* Main Dark */
}

/* --- Image Section --- */
.quick-image-wrapper {
  flex: 2;
  /* Takes up 2 parts width */
  display: flex;
  flex-direction: column;
  /* The Border */
  border: 12px solid var(--billing-hero-bg);
  /* Light Green BG */
  /* Optional: rounded corners on the border itself */
  border-radius: 20px;
  box-sizing: border-box;
  background: var(--billing-hero-bg);
  /* Light Green BG */
  /* Ensures no gaps */
}

.quick-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Ensures full image is visible, no cropping */
  display: block;
  border-radius: 0;
  /* STRICT: No radius on image */
}

/* --- Responsive View --- */
@media (max-width: 1100px) {
  .quick-grid {
    flex-direction: column;
    align-items: normal;
  }

  .quick-side-col {
    flex-direction: row;
    height: auto;
  }

  .quick-card {
    min-height: 140px;
  }
}

@media (max-width: 600px) {
  .quick-side-col {
    flex-direction: column;
  }

  .quick-main-header {
    font-size: 32px;
    line-height: 40px;
  }
}

/* FAQ Section Overrides for Billing Page */
.billing-page .faq-section {
  background: #fff;
  /* Shorthand clears image */
  background-image: none;
  /* Explicitly clear just in case */
  padding: 80px 0;
}

.billing-page .faq-container {
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.billing-page .faq-left {
  background: transparent;
  padding: 0;
  width: 100%;
}

.billing-page .faq-right {
  display: none;
}

.billing-page .faq-section .section-sub-heading {
  /* Keeping existing style or updating if needed. User didn't specify sub-heading explicitly, focusing on 'faq billing' (title?) */
  color: var(--billing-primary);
  text-align: center;
  margin-bottom: 10px;
  font-weight: 600;
}

.billing-page .faq-section .section-heading {
  font-family: "Rethink Sans";
  font-weight: 600;
  font-size: 40px;
  line-height: 52px;
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 50px;

  background: var(--billing-primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Fallback */

  /* Ensure it behaves like block for alignment */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.billing-page .faq-item {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.billing-page .faq-item.active {
  background: #fff;
  border-color: var(--billing-primary);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(28, 165, 135, 0.1);
}

.billing-page .faq-question h3 {
  font-family: "Rethink Sans";
  font-weight: 600;
  /* font-size: Display 5 -> assuming ~22px based on context or user's likely system */
  font-size: 22px;
  line-height: 135%;
  letter-spacing: 0;
  color: #170f49;
  /* Neutral-800 */
  margin: 0;
  padding-right: 20px;
}

.billing-page .toggle-icon {
  background: #d6442d;
  color: #fff;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.billing-page .faq-answer {
  margin-top: 0;
  padding-top: 0;
  color: #6f6c8f;
  /* Neutral-600 */
  font-family: "DM Sans";
  font-weight: 400;
  /* font-size: 18pt -> 24px? That's huge. I'll use 18px */
  font-size: 18px;
  line-height: 166%;

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.billing-page .faq-item.active .faq-answer {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
  max-height: 200px;
  /* Adjust as needed */
  opacity: 1;
}

.billing-page .faq-answer p {
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   BILLING TAB 1 CUSTOM GRID (Replaced with GST-ready design)
   ======================================== */
.b-tab1-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

/* Large Left Card (Spans 3 rows) */
.b-tab1-card-large {
  grid-column: 1;
  grid-row: 1 / span 3;
  background-color: #D6442D;
  /* Terracotta red */
  border-radius: 16px;
  padding: 40px 40px 0 40px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.b-tab1-card-large h3 {
  font-family: "Rethink Sans";
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.b-tab1-card-large .subtitle {
  font-family: "DM Sans";
  font-weight: 500;
  font-size: 16px;
  margin: 0 0 20px 0;
  color: #fbe6e1;
}

.b-tab1-card-large p {
  font-family: "DM Sans";
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.95;
  margin: 0 0 40px 0;
}

.b-tab1-card-large img {
  width: 90%;
  margin: 0 auto;
  display: block;
  border-radius: 8px 8px 0 0;
  margin-bottom: -5px;
  object-fit: cover;
}

/* Small White Cards */
.b-tab1-card-small {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.b-tab1-card-small .text-content {
  flex: 1;
  padding-right: 20px;
}

.b-tab1-card-small h4 {
  font-family: "Rethink Sans";
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0 0 12px 0;
}

.b-tab1-card-small p {
  font-family: "DM Sans";
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.b-tab1-card-small .icon-img {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Bottom Row Specific Placements */
.b-tab1-card-bottom-left {
  grid-column: 1;
  grid-row: 4;
}

.b-tab1-card-bottom-right {
  grid-column: 2;
  grid-row: 4;
}

.btn-phone {
  background: #d6442d;
}

.btn-email i {
  color: #d6442d;
}

/* Responsive Design for smaller screens */
@media (max-width: 900px) {
  .b-tab1-grid-container {
    grid-template-columns: 1fr;
  }

  .b-tab1-card-large {
    grid-column: 1;
    grid-row: auto;
  }

  .b-tab1-card-bottom-left,
  .b-tab1-card-bottom-right {
    grid-column: 1;
    grid-row: auto;
  }

  /* =========== ACCOUNTING SECTION OVERRIDES =========== */

  /* First two cards (acc-theme-light) logo background */
  #accounting .accounting-card.acc-theme-light .icon-wrap {
    background-color: #d6442d !important;
  }

  /* Second two cards logo text color */
  #accounting .accounting-card.acc-theme-dark-green .icon-wrap i,
  #accounting .accounting-card.acc-theme-dark-black .icon-wrap i {
    color: #d6442d !important;
  }

  /* All cards image border */
  #accounting .accounting-card .acc-image-wrapper img {
    border-radius: 12px;
    box-sizing: border-box;
  }
}

/* Product features banner */
.product-features-banner {
  background: #d6442d !important;
}

/* Trusted By Section Override for Billing Page */
.billing-page .trusted-section {
  background: #d6442d;
}

/* --- Instant E-Way Bill Generation Section --- */
.eway-bill-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.eway-header {
  margin-bottom: 50px;
}

.eway-pill {
  display: inline-block;
  color: #d6442d;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.eway-title {
  font-family: "Rethink Sans";
  font-weight: 700;
  font-size: 42px;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.eway-subtitle {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.eway-content-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  justify-content: space-between;
  gap: 20px;
  align-items: stretch;
  margin: 0 auto;
}

.eway-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.eway-feature-card {
  background: #fff2ee;
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.3s ease;
}

.eway-feature-card:hover {
  transform: translateY(-5px);
}

.eway-icon-circle {
  width: 40px;
  height: 40px;
  background: #d6442d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 16px;
}

.eway-feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  font-family: "Rethink Sans";
}

.eway-feature-card p {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
  margin: 0;
}

.eway-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: #d6442d;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.eway-main-img {
  width: 80%;
  height: auto;
  border-radius: 12px;
  display: block;
  position: relative;
  z-index: 2;
}

.eway-overlay-img {
  position: absolute;
  bottom: -18px;
  right: 20px;
  width: 80%;
  z-index: 3;
  border-radius: 12px;
}

@media (max-width: 1024px) {
  .eway-content-grid {
    grid-template-columns: 1fr;
  }

  .eway-features-grid {
    order: 2;
  }

  .eway-image-frame {
    order: 1;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .eway-features-grid {
    grid-template-columns: 1fr;
  }

  .eway-title {
    font-size: 32px;
  }

  .eway-overlay-img {
    width: 90%;
    bottom: -20px;
    right: 10px;
  }
}

/* ========================================================= */
/* WhatsApp Chatbot Redesign */
/* ========================================================= */

.wa-chatbot-section {
  padding: 80px 20px;
  background-color: #ffffff;
  max-width: 1500px !important;
}

.new-wa-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.new-wa-subtitle {
  color: #d6442d;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}

.new-wa-title {
  font-family: "Rethink Sans";
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 0;
}

.new-wa-mascot-box img {
  height: 120px;
  width: auto;
}

.new-wa-orange-card {
  background-color: #ee6246;
  background-image: url("../images/billing/bot-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.new-wa-owner-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 16px;
}

.new-wa-card-title {
  color: #ffffff;
  font-family: "Rethink Sans";
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 40px;
}

.new-wa-feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.new-wa-feat-item {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.new-wa-feat-icon {
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ee6246;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.new-wa-feat-text h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: "Rethink Sans";
}

.new-wa-feat-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.new-wa-right-col {
  display: flex;
  justify-content: center;
}

/* Force override phone background for right column */
.new-wa-right-col .wa-phone-mockup {
  max-width: 320px;
}

@media (max-width: 1024px) {
  .new-wa-orange-card {
    grid-template-columns: 1fr;
    padding: 40px 30px;
  }

  .new-wa-header-row {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .new-wa-title {
    font-size: 32px;
  }

  .new-wa-card-title {
    font-size: 28px;
  }
}

/* ========================================================= */
/* Expenses App Redesign */
/* ========================================================= */

.mobile-app-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.mobile-app-subtitle {
  color: #ee6246;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

.mobile-app-title {
  font-family: "Rethink Sans";
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 20px;
}

.mobile-app-description {
  text-align: center;
  color: #666666;
  font-size: 16px;
  margin-bottom: 50px;
}

.ex-app-card {
  background-color: #ee6246;
  border-radius: 24px;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ex-center-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.ex-app-label {
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.ex-app-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.ex-arrow-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin: 0 auto;
}

.ex-content-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  width: 100%;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.ex-features-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.ex-center-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.left-features .ex-feature-box,
.right-features .ex-feature-box {
  background: rgba(0, 0, 0, 0.08);
  /* Darker subtle overlay */
  border-radius: 12px;
  padding: 24px;
  border: none;
  box-shadow: none;
}

.ex-icon-circle {
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ex-icon-circle img {
  width: 14px;
  height: 14px;
  filter: brightness(0) saturate(100%) invert(43%) sepia(85%) saturate(2316%) hue-rotate(338deg) brightness(97%) contrast(92%);
  /* Turn checkmark to orange */
}

.ex-feature-box h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: "Rethink Sans";
}

.ex-feature-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.ex-phone-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* Anchor image to bottom */
}

.ex-phone-img {
  max-width: 320px;
  display: block;
  margin-bottom: 0px;
  margin-top: auto;
}

.ex-play-store {
  margin-top: 40px;
  text-align: center;
  z-index: 3;
}

.ex-play-store img {
  height: 44px;
  /* make it a bit prominent */
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .ex-content-grid {
    grid-template-columns: 1fr;
  }

  .ex-phone-col {
    order: 1;
    /* Bring phone to top */
    margin-bottom: 40px;
  }

  .ex-phone-img {
    margin-bottom: 0;
    /* Reset */
  }

  .left-features {
    order: 2;
  }

  .right-features {
    order: 3;
  }

  .ex-app-card {
    padding: 40px;
  }

  .ex-play-store {
    position: relative;
    bottom: 0;
    margin-top: 40px;
  }
}

/* ========================================
   MULTIPLE INVOICE FORMATS SECTION
   ======================================== */
.b-inv-section {
  padding: 80px 20px;
  background: #ffffff;
  /* matching flow */
}

.b-inv-container {
  max-width: 1250px;
  margin: 0 auto;
}

.b-inv-header {
  text-align: center;
  margin-bottom: 50px;
}

.b-inv-badge {
  display: block;
  color: var(--billing-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.b-inv-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px 0;
  line-height: 1.2;
  font-family: "Rethink Sans";
}

.b-inv-header p {
  font-size: 17px;
  color: #6b7280;
  margin: 0 auto;
  max-width: 800px;
  line-height: 1.5;
  font-family: "DM Sans";
}

.b-inv-grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.b-inv-side-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.b-inv-feature-card {
  background-color: #FFF1D2;
  /* Match theme background */
  padding: 20px 28px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.b-inv-icon-circle {
  width: 40px;
  height: 40px;
  background-color: var(--billing-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.b-inv-icon-circle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: white;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.b-inv-feature-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0 0 12px 0;
  line-height: 1.4;
  font-family: "Rethink Sans";
}

.b-inv-feature-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
  font-family: "DM Sans";
}

.b-inv-center-col {
  background-color: var(--billing-primary);
  flex: 1.4;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  min-height: 550px;
}

.b-inv-center-col img {
  position: absolute;
  border-radius: 8px;
}

.b-img-inv-1 {
  top: 2%;
  left: 40%;
  transform: translateX(-50%);
  width: 68%;
  z-index: 1;
}

.b-img-inv-3 {
  bottom: 1px;
  left: -2%;
  width: 75%;
  z-index: 2;
  margin-bottom: -25px;
}

.b-img-inv-4 {
  bottom: -2px;
  right: 1%;
  width: 61%;
  z-index: 3;
  margin-bottom: -25px;
}

.b-img-inv-2 {
  top: 17%;
  right: 10%;
  width: 40%;
  z-index: 2;
}


@media (max-width: 1100px) {
  .b-inv-grid {
    flex-direction: column;
  }

  .b-inv-center-col {
    order: -1;
    min-height: 500px;
    width: 100%;
    margin-bottom: 24px;
  }

  .b-inv-side-col {
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
  }

  .b-inv-feature-card {
    flex: 1 1 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .b-inv-header h2 {
    font-size: 32px;
  }

  .b-inv-side-col {
    flex-direction: column;
  }

  .b-inv-feature-card {
    flex: 1 1 100%;
  }

  .b-inv-center-col {
    min-height: 450px;
  }

  .b-img-inv-1 {
    width: 90%;
    top: 4%;
  }

  .b-img-inv-3 {
    width: 60%;
    left: -5%;
  }

  .b-img-inv-4 {
    width: 60%;
    right: -5%;
  }

  .b-img-inv-2 {
    width: 35%;
    right: 5%;
    top: 30%;
  }
}

@media (max-width: 480px) {
  .b-inv-center-col {
    min-height: 380px;
  }

  .b-img-inv-1 {
    width: 95%;
  }

  .b-img-inv-3 {
    width: 65%;
    left: -8%;
  }

  .b-img-inv-4 {
    width: 65%;
    right: -8%;
  }

  .b-img-inv-2 {
    width: 40%;
    right: 2%;
  }

  .b-inv-feature-card {
    padding: 24px 20px;
  }
}

/* ========================================
   ONBOARDING SECTION
   ======================================== */
.b-ob-section {
  padding: 100px 20px;
  background: var(--billing-primary);
  color: white;
}

.b-ob-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.b-ob-left {
  flex: 0 0 45%;
  position: sticky;
  top: 120px;
  /* offset from navbar */
  padding-bottom: 40px;
}

.b-ob-subtitle {
  font-family: "DM Sans";
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 16px 0;
}

.b-ob-title {
  font-family: "Rethink Sans";
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 24px 0;
}

.b-ob-desc {
  font-family: "DM Sans";
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 90%;
}

.b-ob-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.b-ob-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  color: #111827;
}

.b-ob-card h3 {
  font-family: "Rethink Sans";
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.b-ob-card p {
  font-family: "DM Sans";
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.b-ob-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.b-ob-list li {
  font-family: "DM Sans";
  font-size: 14.5px;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.b-ob-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--billing-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.b-ob-icon svg {
  width: 12px;
  height: 12px;
  stroke: white;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .b-ob-container {
    flex-direction: column;
    gap: 40px;
  }

  .b-ob-left {
    position: static;
    flex: none;
    width: 100%;
  }
}

/* ========================================
   MULTI-USER ACCESS SECTION
   ======================================== */
.b-mu-section {
  padding: 80px 20px;
  background: #ffffff;
}

.b-mu-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
  align-items: start;
}

.b-mu-text-block {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}

.b-mu-image-block {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.b-mu-subtitle {
  color: var(--billing-primary);
  font-family: "DM Sans";
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.b-mu-title {
  font-family: "Rethink Sans";
  font-size: 42px;
  font-weight: 700;
  color: #333333;
  line-height: 1.25;
  margin: 0 0 20px 0;
}

.b-mu-desc {
  font-family: "DM Sans";
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0 0 40px 0;
  max-width: 95%;
}

.b-mu-main-img {
  width: 80%;
  max-width: 550px;
  height: auto;
  display: block;
  padding-top: 50px;
}

.b-mu-feat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.b-mu-icon {
  width: 42px;
  height: 42px;
  background: var(--billing-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.b-mu-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.b-mu-feat-item h3 {
  font-family: "Rethink Sans";
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.b-mu-feat-item p {
  font-family: "DM Sans";
  font-size: 14.5px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .b-mu-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .b-mu-text-block {
    grid-column: span 2;
  }

  .b-mu-image-block {
    grid-column: span 2;
    grid-row: auto;
    justify-content: center;
    margin-top: 40px;
  }
}

@media (max-width: 600px) {
  .b-mu-container {
    grid-template-columns: 1fr;
  }

  .b-mu-text-block,
  .b-mu-image-block {
    grid-column: 1;
  }
}