/* Modern Minimalistic Design - 2026 Standards */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-yellow: #FFD700;
  --primary-yellow-dark: #FFC107;
  --text-black: #000000;
  --bg-translucent: rgba(255, 255, 255, 0.95);
  --bg-translucent-light: rgba(255, 255, 255, 0.85);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 12px 48px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
  --border-radius: 16px;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.98) 100%);
  background-attachment: fixed;
  color: var(--text-black);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Translucent White Background */
section {
  background: var(--bg-translucent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
  z-index: 0;
}

section > * {
  position: relative;
  z-index: 1;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: #1a1a1a !important;
}

h1 {
  font-size: clamp(5rem, 9vw, 7rem);
  font-weight: 800;
  color: #000000 !important;
}

h2 {
  font-size: clamp(4.5rem, 8vw, 6rem);
  font-weight: 700;
  color: #1a1a1a !important;
}

h3 {
  font-size: clamp(4rem, 7vw, 5.5rem);
  font-weight: 600;
  color: #1f1f1f !important;
}

p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.7;
  color: #222222;
}

/* Ensure all text elements have visible colors */
body, .container, .container-fluid {
  color: #1a1a1a;
}

section {
  color: #1a1a1a;
}

section p, section .mbr-text, section span:not(.mbr-iconfont):not(.sign), section li {
  color: #222222 !important;
}

/* Override any white text on light backgrounds */
section:not(.content13):not(.footer7):not(#content13-x):not(#footer7-y) .text-white {
  color: #1a1a1a !important;
}

/* Ensure list items are visible */
ul li, ol li {
  color: #222222 !important;
}

/* Override Display Classes - Increased Sizes */
.display-1 {
  font-size: clamp(5.5rem, 9vw, 7.5rem) !important;
  line-height: 1.2 !important;
  color: #000000 !important;
}

.display-2 {
  font-size: clamp(5rem, 8.5vw, 6.5rem) !important;
  line-height: 1.3 !important;
  color: #1a1a1a !important;
}

.display-4 {
  font-size: clamp(1rem, 1.3vw, 1.15rem) !important;
  line-height: 1.5 !important;
  color: #1f1f1f !important;
}

.display-5 {
  font-size: clamp(4rem, 7vw, 5.5rem) !important;
  line-height: 1.4 !important;
  color: #1a1a1a !important;
}

.display-7 {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem) !important;
  line-height: 1.6 !important;
  color: #222222 !important;
}

/* Eye-Catching Yellow Buttons */
.btn, .btn-primary, a.btn {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
  color: var(--text-black) !important;
  border: none;
  border-radius: var(--border-radius);
  padding: 12px 28px;
  font-size: 0.95rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-decoration: none;
  transform: translateY(0);
  line-height: 1.5 !important;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  background: linear-gradient(135deg, #FFE135 0%, #FFD700 100%);
}

.btn:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-black-outline {
  background: transparent;
  border: 3px solid var(--text-black);
  color: var(--text-black) !important;
}

.btn-black-outline:hover {
  background: var(--text-black);
  color: #fff !important;
  transform: translateY(-4px);
}

/* Modern Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
  opacity: 0;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse 2s ease-in-out infinite;
}

/* Staggered Animation Delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Modern Card Design */
.card, .item-wrapper, .card-box {
  background: var(--bg-translucent-light);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.card:hover, .item-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

/* Modern Navigation */
.navbar {
  background: var(--bg-translucent) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 0 !important;
  transition: var(--transition-smooth);
  min-height: auto !important;
}

/* Ensure hamburger button is visible on all devices */
.navbar-toggler {
  display: none;
}

@media (max-width: 991px) {
  .navbar-toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

.navbar-brand {
  padding: 0.25rem 0 !important;
}

.navbar-brand img {
  transition: var(--transition-smooth);
  height: 2.5rem !important;
  max-height: 2.5rem !important;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  color: var(--text-black) !important;
  transition: var(--transition-smooth);
  position: relative;
  font-size: 0.95rem !important;
  padding: 0.5rem 1rem !important;
  line-height: 1.5 !important;
}

.navbar-nav .nav-link {
  font-size: 0.95rem !important;
}

.navbar-buttons .btn {
  font-size: 0.9rem !important;
  padding: 10px 20px !important;
  margin-left: 0.5rem;
}

/* Enhanced Mobile Hamburger Menu */
.navbar-toggler {
  padding: 0.5rem 0.75rem !important;
  font-size: 1rem !important;
  border: 2px solid var(--text-black) !important;
  border-radius: 8px !important;
  background: transparent !important;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 1000;
  position: relative;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  background: rgba(255, 215, 0, 0.1) !important;
  border-color: var(--primary-yellow) !important;
  outline: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-toggler:active {
  transform: scale(0.95);
}

/* Hamburger Icon Styling */
.hamburger {
  width: 30px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-black);
  border-radius: 3px;
  transition: var(--transition-smooth);
  transform-origin: center;
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(4) {
  opacity: 0;
}

/* Mobile Menu Collapse */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--bg-translucent) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-top: 1rem;
    padding: 1.5rem !important;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .navbar-collapse.show {
    animation: slideDown 0.3s ease-out;
  }
  
  .navbar-nav {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0 !important;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: block;
    width: 100%;
    text-align: left;
  }
  
  .nav-link:hover {
    background: rgba(255, 215, 0, 0.15) !important;
    transform: translateX(5px);
  }
  
  .navbar-buttons {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .navbar-buttons .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  /* Make hamburger more visible on mobile */
  .navbar-toggler {
    display: block !important;
    margin-left: auto;
  }
  
  .hamburger span {
    background-color: var(--text-black);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure navbar stays on top on mobile */
@media (max-width: 991px) {
  .navbar {
    position: relative;
    z-index: 1000;
  }
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-yellow);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Limited Time Popup - Right Side */
.limited-time-popup {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  color: #fff;
  padding: 1.25rem !important;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-strong);
  z-index: 10000;
  max-width: 280px;
  animation: slideInRight 0.8s ease-out, pulse 2s ease-in-out infinite 1s;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.limited-time-popup::before {
  content: '⚡';
  position: absolute;
  top: -15px;
  right: 20px;
  font-size: 2rem;
  animation: pulse 1.5s ease-in-out infinite;
}

.limited-time-popup h3 {
  color: #fff;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem) !important;
  margin-bottom: 0.75rem;
  text-align: center;
}

.limited-time-popup p {
  font-size: clamp(0.85rem, 1vw, 0.95rem) !important;
}

.limited-time-popup .timer {
  font-size: clamp(1.5rem, 2vw, 1.75rem) !important;
  font-weight: 800;
  text-align: center;
  margin: 0.75rem 0;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.limited-time-popup .btn {
  width: 100%;
  margin-top: 0.75rem;
  background: var(--primary-yellow);
  color: var(--text-black);
  font-weight: 800;
  padding: 12px;
  font-size: 0.9rem !important;
}

.limited-time-popup .close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  font-weight: bold;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.limited-time-popup .close-popup:hover {
  opacity: 1;
}

/* Image Animations */
img {
  transition: var(--transition-smooth);
  border-radius: 12px;
}

.image-wrapper img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

/* Review Cards */
.team2 .item-wrapper {
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.team2 .item-wrapper:hover {
  transform: translateX(10px);
}

/* Pricing Gallery */
.gallery1 .item-wrapper {
  overflow: hidden;
  border-radius: var(--border-radius);
}

.gallery1 img {
  transition: var(--transition-smooth);
}

.gallery1 .item-wrapper:hover img {
  transform: scale(1.1);
}

/* Features Section */
.features3 .item-wrapper {
  text-align: center;
  padding: 1.5rem !important;
}

.features3 .item-img {
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

.features3 .item-img:nth-child(2) {
  animation-delay: 0.5s;
}

.features3 .item-img:nth-child(3) {
  animation-delay: 1s;
}

.features3 .item-img:nth-child(4) {
  animation-delay: 1.5s;
}

/* FAQ Accordion */
.accordion .card {
  border: none;
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion .card-header {
  background: var(--bg-translucent-light);
  border: none;
  padding: 1rem 1.25rem !important;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.accordion .panel-body {
  padding: 1rem 1.25rem !important;
}

.accordion .card-header:hover {
  background: rgba(255, 215, 0, 0.1);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem 0 !important;
  font-size: clamp(0.85rem, 1vw, 0.95rem) !important;
}

/* Footer sections - ensure proper contrast */
.content13, #content13-x, .cid-uXC6kZm0dP {
  background-color: #1a1a1a !important;
  background: #1a1a1a !important;
  color: #ffffff !important;
}

.footer7, #footer7-y, .cid-uXC6zpsZPD {
  background-color: #232323 !important;
  background: #232323 !important;
  color: #ffffff !important;
}

.content13 a, .footer7 a, 
#content13-x a, #footer7-y a,
.content13 .text-white, .footer7 .text-white,
.content13 strong, .footer7 strong,
.content13 .mbr-text, .footer7 .mbr-text,
.content13 p, .footer7 p {
  color: #ffffff !important;
}

.content13 .list a, .footer7 .list a,
.content13 .list, .footer7 .list,
.content13 .list li, .footer7 .list li {
  color: #ffffff !important;
}

.mbr-white, .media-container-row.mbr-white {
  color: #ffffff !important;
}

.mbr-white p, .mbr-white a, .mbr-white .mbr-text,
.mbr-white .display-4, .mbr-white .display-7,
.mbr-white strong, .mbr-white span {
  color: #ffffff !important;
}

/* Ensure dark background for footer sections */
.content13 .container, .footer7 .container,
#content13-x .container, #footer7-y .container {
  background: transparent;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .limited-time-popup {
    right: 10px;
    max-width: 280px;
    padding: 1.5rem;
  }
  
  section {
    padding: 40px 0;
  }
  
  .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  
  .navbar {
    padding: 0.5rem 0 !important;
  }
  
  .navbar-brand img {
    height: 2rem !important;
    max-height: 2rem !important;
  }
  
  .nav-link {
    font-size: 0.9rem !important;
    padding: 0.4rem 0.8rem !important;
  }
  
  /* Ensure hamburger is visible */
  .navbar-toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  
  .hamburger {
    width: 28px;
    height: 20px;
  }
  
  .hamburger span {
    height: 2.5px;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Purchase Proof Notification */
#purchase-proof {
  background: var(--bg-translucent) !important;
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Sticky Order Button */
.njs-sticky-side {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%) !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-strong) !important;
  animation: pulse 2s ease-in-out infinite;
}

.njs-sticky-side a {
  color: var(--text-black) !important;
  font-weight: 700 !important;
}

/* Container Improvements */
.container, .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Reduce card padding */
.card, .item-wrapper, .card-box {
  padding: 1.5rem !important;
}

/* Text Improvements */
.mbr-text {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
  line-height: 1.7 !important;
  color: #222222 !important;
}

/* Ensure text visibility - override any white text on light backgrounds */
.text-wrapper, .card-wrapper, .item-wrapper, .card-box, .item-content {
  color: #222222 !important;
}

.text-wrapper p, .text-wrapper .mbr-text,
.card-wrapper p, .card-wrapper .mbr-text,
.item-wrapper p, .item-wrapper .mbr-text,
.card-box p, .card-box .mbr-text,
.item-content p, .item-content .mbr-text {
  color: #222222 !important;
}

/* Ensure all headings and text in sections are visible */
section h1, section h2, section h3, section h4, section h5, section h6 {
  color: #1a1a1a !important;
}

section .display-1, section .display-2, section .display-4, 
section .display-5, section .display-7 {
  color: inherit !important;
}

/* Make sure links are visible */
a:not(.btn):not(.nav-link):not(.text-white) {
  color: #1a4a7a !important;
}

a:not(.btn):not(.nav-link):not(.text-white):hover {
  color: #0d3a5e !important;
  text-decoration: underline;
}

.mbr-section-title {
  font-size: clamp(5rem, 8.5vw, 6.5rem) !important;
  line-height: 1.3 !important;
  margin-bottom: 1.5rem !important;
  color: #1a1a1a !important;
}

.mbr-section-subtitle {
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
  line-height: 1.4 !important;
  color: #1f1f1f !important;
}

/* Card and Item Titles */
.card-title, .item-title {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important;
  line-height: 1.4 !important;
  margin-bottom: 0.75rem !important;
  color: #1a1a1a !important;
}

.icon-title {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem) !important;
  line-height: 1.4 !important;
  color: #1f1f1f !important;
}

.card-subtitle {
  font-size: clamp(0.9rem, 1.1vw, 1rem) !important;
  line-height: 1.5 !important;
  color: #333333 !important;
}

/* Step Numbers */
.step-number {
  font-size: clamp(1.5rem, 2vw, 2rem) !important;
  line-height: 1 !important;
}

/* List Items */
ul, ol, li {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
  line-height: 1.7 !important;
}

.list {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
  line-height: 1.7 !important;
}

.list li {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
  margin-bottom: 0.5rem;
}

/* Panel and Accordion Text */
.panel-text, .panel-title-edit {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
  line-height: 1.7 !important;
  color: #222222 !important;
}

.accordion .card-header h3 {
  font-size: clamp(4rem, 7vw, 5.5rem) !important;
  line-height: 1.4 !important;
  color: #1a1a1a !important;
}

.accordion .card-header h6 {
  font-size: clamp(1.15rem, 1.6vw, 1.3rem) !important;
  line-height: 1.4 !important;
  color: #1a1a1a !important;
}

/* Footer Text */
footer, footer p, footer a, footer .mbr-text {
  font-size: clamp(0.85rem, 1vw, 0.95rem) !important;
  line-height: 1.6 !important;
}

footer .display-4 {
  font-size: clamp(0.85rem, 1vw, 0.95rem) !important;
}

/* Rating and Review Text */
.ratings, .r-lnk {
  font-size: clamp(0.9rem, 1.1vw, 1rem) !important;
  line-height: 1.5 !important;
  color: #222222 !important;
}

/* All h4, h5, h6 elements */
h4 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important;
  line-height: 1.4 !important;
  color: #1f1f1f !important;
}

h5 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem) !important;
  line-height: 1.4 !important;
  color: #222222 !important;
}

h6 {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem) !important;
  line-height: 1.5 !important;
  color: #252525 !important;
}

/* Strong and Bold Text */
strong, b {
  font-weight: 700 !important;
  font-size: inherit !important;
}

/* Links */
a:not(.btn):not(.nav-link) {
  font-size: inherit !important;
}

/* Sticky Side Button */
.njs-sticky-side a {
  font-size: 0.9rem !important;
}

/* Purchase Proof Text */
#purchase-proof, #proof-text {
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
}

/* Text Wrapper */
.text-wrapper {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
  color: #222222 !important;
}

.text-wrapper h1, .text-wrapper h2, .text-wrapper h3 {
  font-size: inherit !important;
  color: #1a1a1a !important;
}

/* Counter Container */
.counter-container {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
  color: #222222 !important;
}

.counter-container h4, .counter-container ul, .counter-container li {
  color: #222222 !important;
}

/* Media Container */
.media-container-row {
  font-size: clamp(0.85rem, 1vw, 0.95rem) !important;
}

/* Image Wrapper Text */
.image-wrapper + .text-wrapper {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
}

/* Card Box */
.card-box {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
}

/* Item Content */
.item-content {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
}

/* Text Box */
.text-box {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
}

/* Ensure all text elements respect base font size */
span:not(.mbr-iconfont):not(.sign):not(.step-number) {
  font-size: inherit !important;
}

/* Small text elements */
small {
  font-size: 0.85em !important;
}

/* Strike through text */
strike, s {
  font-size: inherit !important;
}

/* Ensure proper sizing for all mbr-fonts-style elements */
.mbr-fonts-style {
  font-size: inherit !important;
}

/* Override any large font sizes in specific contexts */
.mbr-section-btn {
  font-size: inherit !important;
}

.mbr-section-btn .btn {
  font-size: 0.95rem !important;
}

/* Section Spacing */
section + section {
  margin-top: 0;
}

/* Remove old styles */
.mbr-section-title {
  margin-bottom: 2rem;
}

/* Modern Grid */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

[class*="col-"] {
  padding: 0 15px;
}

