:root {
  /* Font Family */
  --font-family-primary: "DM Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* WhatsApp Brand Colors */
  --color-primary: #25d366; /* WhatsApp green */
  --color-primary-dark: #128c7e; /* Darker WhatsApp green */
  --color-primary-light: #dcf8c6; /* Light WhatsApp green */
  --color-secondary: #198754; /* Dark teal */
  --color-accent: #198754; /* Light blue */

  /* Additional Colors */
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-danger: #dc3545;
  --color-info: #17a2b8;

  /* Shadows and Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;

  /* Background Gradients */
  --bg-gradient-light: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.05) 0%,
    rgba(18, 140, 126, 0.05) 50%,
    rgba(52, 183, 241, 0.05) 100%
  );
}

/* ===============================================
   Global Font Family
   =============================================== */
/* html {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
} */

/* Hide scrollbar on html to prevent double scrollbar */
html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: var(--font-family-primary);
  color: #000;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* 
*,
*::before,
*::after {
  box-sizing: border-box;
} */

strong {
  color: var(--color-primary);
  font-weight: 600;
}
.btn-primary:focus,
.btn-primary:active,
.btn:first-child:active {
  outline: none !important;
  background: var(--color-accent);
}

.btn-primary {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
}
.btn-chatforbiz-outline {
  background-color: #fff;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
  background-color: var(--color-accent);
}

button:active,
button:focus {
  box-shadow: none !important;
}
.btn-primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-chatforbiz-outline:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.text-primary {
  color: var(--color-primary) !important;
}

.bg-primary {
  background-color: var(--color-primary) !important;
}

.border-primary {
  border-color: var(--color-primary) !important;
}

/* Override navbar brand color */
.navbar-brand {
  color: var(--color-primary) !important;
}

/* ===============================================
   Mobile Offcanvas Menu Styles
   =============================================== */
.offcanvas {
  width: 320px !important;
}

.offcanvas-header {
  background: #fff;
  padding: 1.5rem;
  border-bottom: 3px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.offcanvas-logo {
  width: 160px;
  height: auto;
}

.offcanvas-title {
  margin: 0;
}

.offcanvas .btn-close {
  background-color: rgba(37, 211, 102, 0.1);
  border-radius: 50%;
  opacity: 1;
  width: 32px;
  height: 32px;
  background-size: 14px;
  transition: all 0.3s ease;
}

.offcanvas .btn-close:hover {
  background-color: var(--color-primary);
  opacity: 1;
  transform: rotate(90deg);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.mobile-nav {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #f8f9fa;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  overflow-y: auto;
}

.mobile-menu-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: #212529;
  background-color: #fff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-menu-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
  background-color: #f8f9fa;
  padding-left: 2rem;
}

.mobile-menu-link:hover::before {
  transform: scaleY(1);
}

.menu-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  border-radius: 12px;
  margin-right: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.mobile-menu-link:hover .menu-icon {
  transform: scale(1.1) rotate(5deg);
}

.menu-icon i {
  font-size: 1.25rem;
  color: #fff;
}

.menu-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.menu-title {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
  display: block;
}

.menu-desc {
  font-size: 0.75rem;
  color: #6c757d;
  display: block;
}

.menu-arrow {
  font-size: 1.25rem;
  color: #6c757d;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.mobile-menu-link:hover .menu-arrow {
  transform: translateX(5px);
  opacity: 1;
  color: var(--color-primary);
}

.mobile-menu-footer {
  padding: 1.5rem;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.mobile-menu-footer .btn {
  font-weight: 600;
  border-radius: 12px;
  padding: 0.875rem 1.5rem;
  transition: all 0.3s ease;
}

.mobile-menu-footer .btn-primary {
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.mobile-menu-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.mobile-menu-footer .btn-outline-primary {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
}

.mobile-menu-footer .btn-outline-primary:hover {
  transform: translateY(-2px);
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* Hamburger Button Styling */
.navbar-toggler {
  border: 2px solid var(--color-primary);
  padding: 4px 7px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  background-color: var(--color-primary);
  transform: scale(1.05);
}

.navbar-toggler:hover .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(37, 211, 102, 0.25);
}

.navbar-toggler-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2837, 211, 102, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Desktop Menu Styling */
.desktop-menu {
  margin-left: auto;
}

.desktop-menu .navbar-nav {
  flex-direction: row;
  gap: 0.5rem;
}

.desktop-menu .nav-link {
  position: relative;
  font-weight: 600;
  color: #111;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.desktop-menu .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.25rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.desktop-menu .nav-link:hover::after {
  transform: scaleX(1);
}

.desktop-menu .nav-link:hover {
  color: var(--color-primary);
}

.desktop-menu .btn-primary {
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

.desktop-menu .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Desktop - Hide hamburger, show inline menu */
@media (min-width: 992px) {
  .navbar-toggler {
    display: none !important;
  }
}

/* ===============================================
   Header / Navbar Enhancements
   =============================================== */
header[role="banner"] {
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
}

.navbar.container .container-fluid {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: padding var(--transition-fast), box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

/* Compact style when scrolled */
.navbar-scrolled .container-fluid {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

/* Subtle elevation when scrolled */
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

/* Nav links: improved spacing and hover underline */
.navbar .nav-link {
  position: relative;
  font-weight: 600;
  color: #111 !important;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
}

/* CTA button polish */
.navbar .btn.btn-primary {
  /* box-shadow: 0 8px 10px rgba(37, 211, 102, 0.25); */
  padding-inline: 1rem;
}

.navbar .btn.btn-primary:hover {
  box-shadow: 0 5px 10px rgba(37, 211, 102, 0.25);
}

/* Brand logo: smooth scale on hover */
.navbar-brand .logo {
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.navbar-brand:hover .logo {
  transform: scale(1.03);
  filter: saturate(1.1);
}

/* ===============================================
   Custom Utility Classes
   =============================================== */

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 0.5rem;
  z-index: 1070;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 6px;
}

/* Custom shadow utilities */
.shadow-custom {
  box-shadow: var(--shadow-lg);
}

.shadow-custom-lg {
  box-shadow: var(--shadow-xl);
}

/* Custom hover effects */
.hover-lift {
  transition: transform var(--transition-fast);
}

.hover-lift:hover {
  transform: translateY(-4px);
}

/* Custom gradient backgrounds */
.bg-gradient-whatsapp {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
}

.bg-gradient-light {
  background: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.05) 0%,
    rgba(18, 140, 126, 0.05) 50%,
    rgba(52, 183, 241, 0.05) 100%
  );
}

/* ===============================================
   Hero Section Enhancements
   =============================================== */
.hero {
  background: var(--bg-gradient-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-gradient-light);
  z-index: -1;
}

/* Enhanced Hero Title */
.hero-title-container {
  position: relative;
}

.hero-title {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    #3ede7a 50%,
    var(--color-accent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  line-height: 1.2;
}

.hero-title .title-line {
  display: block;
  animation: slideInFromLeft 1s ease-out;
}

.hero-title .title-line:nth-child(2) {
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

/* Rotating Headlines */
.rotating-headlines {
  position: relative;
  height: 60px;
  margin-top: 1rem;
  overflow: hidden;
}

.rotating-headline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 1.5rem;
  font-weight: 600;
  color: #000;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-in-out;
}

.rotating-headline.active {
  opacity: 1;
  transform: translateY(0);
}

.rotating-headline.fade-out {
  opacity: 0;
  transform: translateY(-30px);
}

/* Hero Banner Image Styling */
.hero-illustration img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  transition: transform var(--transition-slow);
}

.hero-illustration img:hover {
  transform: scale(1.02);
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===============================================
   WhatsApp Business Benefits Section
   =============================================== */
.whatsapp-benefits {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: visible;
  padding: 70px 0;
}

.whatsapp-benefits .row {
  height: auto;
  min-height: auto;
}

.whatsapp-benefits::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(
    45deg,
    rgba(37, 211, 102, 0.1),
    rgba(52, 183, 241, 0.1)
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float 6s ease-in-out infinite;
}

.whatsapp-benefits::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(
    45deg,
    rgba(18, 140, 126, 0.1),
    rgba(37, 211, 102, 0.1)
  );
  border-radius: 50%;
  transform: translate(50%, 50%);
  animation: float 8s ease-in-out infinite reverse;
}

.benefit-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(37, 211, 102, 0.1);
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 211, 102, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.benefit-card:hover::before {
  left: 100%;
}

.benefit-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.2);
  border-color: var(--color-primary);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--color-accent),
    var(--color-primary)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.benefit-icon i {
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.benefit-card:hover .benefit-icon i {
  transform: scale(1.1);
}

.benefit-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.benefit-title i {
  transition: all 0.3s ease;
  opacity: 0.7;
}

.benefit-card:hover .benefit-title {
  color: var(--color-accent);
}

.benefit-card:hover .benefit-title i {
  transform: translateX(5px);
  opacity: 1;
}

.benefit-description {
  color: #000;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-description {
  color: #495057;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .benefit-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
  }

  .benefit-icon i {
    font-size: 1.5rem;
  }

  .benefit-title {
    font-size: 1.1rem;
  }
}

/* ===============================================
   Card Enhancements
   =============================================== */
.card {
  transition: all var(--transition-fast);
  border: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Feature cards with custom styling */
.feature-card {
  border: none;
  transition: all var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Hide icon bubbles in Powerful Features cards */
#features .card-body .rounded-circle {
  display: none !important;
}

/* Feature cards: placeholder screenshot-style header */
.feature-thumb {
  width: 100%;
  background: #e9f7ef;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animated WhatsApp background for pricing CTA */
.whatsapp-animated-bg {
  position: relative;
  overflow: hidden;
}
.whatsapp-animated-bg .wa-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.whatsapp-animated-bg .wa-bubble {
  position: absolute;
  color: rgba(255, 255, 255, 0.25);
  animation-name: waFloatUp;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  transform: translateY(0);
  font-size: 28px;
}
/* Modifier: bubbles that start near the top and float down */
.whatsapp-animated-bg .wa-bubble.down {
  animation-name: waFloatDown;
}
@keyframes waFloatUp {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-140%) translateX(20px) rotate(15deg);
    opacity: 0;
  }
}

@keyframes waFloatDown {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(140%) translateX(-20px) rotate(-15deg);
    opacity: 0;
  }
}

/* Randomized placement, size, speed using nth-child */
.whatsapp-animated-bg .wa-bubble:nth-child(1) {
  left: 5%;
  bottom: 42%;
  font-size: 24px;
  animation-duration: 4s;
  animation-delay: 0s;
}
.whatsapp-animated-bg .wa-bubble:nth-child(2) {
  left: 18%;
  bottom: 15%;
  font-size: 32px;
  animation-duration: 2s;
  animation-delay: 0.4s;
}
.whatsapp-animated-bg .wa-bubble:nth-child(3) {
  left: 31%;
  bottom: -10%;
  font-size: 26px;
  animation-duration: 3s;
  animation-delay: 0.8s;
}
.whatsapp-animated-bg .wa-bubble:nth-child(4) {
  left: 44%;
  bottom: 8%;
  font-size: 40px;
  animation-duration: 4s;
  animation-delay: 0.2s;
}
.whatsapp-animated-bg .wa-bubble:nth-child(5) {
  left: 58%;
  bottom: 0%;
  font-size: 24px;
  animation-duration: 2s;
  animation-delay: 1s;
}
.whatsapp-animated-bg .wa-bubble:nth-child(6) {
  left: 71%;
  bottom: 40%;
  font-size: 34px;
  animation-duration: 4s;
  animation-delay: 0.6s;
}
.whatsapp-animated-bg .wa-bubble:nth-child(7) {
  left: 86%;
  bottom: -12%;
  font-size: 28px;
  animation-duration: 3s;
  animation-delay: 1.2s;
}

/* Top-origin bubbles (down) */
.whatsapp-animated-bg .wa-bubble.down:nth-child(8) {
  left: 12%;
  top: -12%;
  font-size: 26px;
  animation-duration: 5s;
  animation-delay: 0.3s;
}
.whatsapp-animated-bg .wa-bubble.down:nth-child(9) {
  left: 53%;
  top: 0%;
  font-size: 30px;
  animation-duration: 3s;
  animation-delay: 0.7s;
}
.whatsapp-animated-bg .wa-bubble.down:nth-child(10) {
  left: 82%;
  top: -15%;
  font-size: 22px;
  animation-duration: 2s;
  animation-delay: 1.1s;
}

/* ===============================================
   Form Enhancements
   =============================================== */
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--color-primary);
  box-shadow: none !important;
}

.form-control.is-invalid {
  border-color: var(--color-danger);
}
/* ===============================================
   Footer Styles - Interactive Design
   =============================================== */

.footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  padding: 80px 0 30px 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-primary),
    transparent
  );
  opacity: 0.3;
}

/* Footer Brand Section */
.footer-brand {
  position: relative;
}

.footer-logo {
  transition: all var(--transition-normal);
  filter: brightness(1.1);
}

.footer-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.3) drop-shadow(0 0 10px rgba(37, 211, 102, 0.3));
}

.footer-description {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
  transition: all var(--transition-normal);
}

.footer-cta {
  margin-top: 2rem;
}

.footer-cta .btn {
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.footer-cta .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left var(--transition-normal);
}

.footer-cta .btn:hover::before {
  left: 100%;
}

.footer-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Newsletter Signup */
.newsletter-signup {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.newsletter-signup:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(37, 211, 102, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  transition: all var(--transition-normal);
}

.newsletter-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(37, 211, 102, 0.25);
  color: white;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn {
  transition: all var(--transition-normal);
}

.newsletter-form .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Footer Sections */
.footer-section {
  position: relative;
  transition: all var(--transition-normal);
}

.footer-section:hover {
  transform: translateY(-3px);
}

.footer-section-title {
  position: relative;
  transition: all var(--transition-normal);
  cursor: default;
}

.footer-section-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width var(--transition-normal);
}

.footer-section:hover .footer-section-title::after {
  width: 40px;
}

/* Footer Links */
.footer-links {
  position: relative;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  display: block;
  padding: 0.5rem 0;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.footer-link::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 211, 102, 0.1),
    transparent
  );
  transition: left var(--transition-normal);
}

.footer-link:hover::before {
  left: 100%;
}

.footer-link:hover {
  color: var(--color-primary) !important;
  transform: translateX(10px);
  text-shadow: 0 0 8px rgba(37, 211, 102, 0.4);
}

/* Partners Section */
.partners-section {
  text-align: center;
  padding: 20px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
}

.partners-section:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(37, 211, 102, 0.2);
  transform: translateY(-3px);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.partner-item {
  transition: all var(--transition-normal);
  cursor: pointer;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.partner-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.1),
    rgba(37, 211, 102, 0.05)
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.partner-logo:hover::before {
  opacity: 1;
}

.partner-logo i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  transition: all var(--transition-normal);
  position: relative;
  z-index: 2;
}

.partner-logo span {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 2;
}

.partner-item:hover .partner-logo {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(37, 211, 102, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.partner-item:hover .partner-logo i {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px currentColor);
}

.partner-item:hover .partner-logo span {
  color: var(--color-primary);
}

/* Footer Divider */
.footer-divider {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  margin: 3rem 0;
  position: relative;
}

.footer-divider::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
}

/* Social Links */
.social-links {
  position: relative;
}

.social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.social-icon i {
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  transition: all var(--transition-normal);
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.social-icon:hover i {
  color: white;
  transform: scale(1.2);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.back-to-top:active {
  transform: translateY(-1px) scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
  position: relative;
}

.footer-meta {
  margin-top: 0.5rem;
}

.footer-meta .bi-heart-fill {
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.form-control.is-valid {
  border-color: var(--color-success);
}

/* ===============================================
   Button Enhancements
   =============================================== */
.btn {
  transition: all var(--transition-fast);
  font-weight: 500;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

/* WhatsApp button */
.btn-whatsapp {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.btn-whatsapp:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: white;
}

/* ===============================================
   Animation Classes
   =============================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

.animate-shake {
  animation: shake 0.5s ease-in-out;
}

/* ===============================================
   Icon Enhancements
   =============================================== */
.bi {
  transition: all var(--transition-fast);
}

.card:hover .bi {
  transform: scale(1.1);
}

/* Large display icons */
.bi.display-1,
.bi.display-2,
.bi.display-3,
.bi.display-4 {
  transition: all var(--transition-fast);
}

.bi.display-1:hover,
.bi.display-2:hover,
.bi.display-3:hover,
.bi.display-4:hover {
  transform: scale(1.05);
}

/* ===============================================
   Section Spacing (Unified)
   =============================================== */
.section-block {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.bg-light2 {
  background-color: #25d3662b;
}

@media (min-width: 768px) {
  .section-block {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* ===============================================
   Tooltip Enhancements
   =============================================== */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 120px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.tooltip.show .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ===============================================
   Toast Notifications
   =============================================== */
.toast-custom {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1080;
  max-width: 400px;
  background-color: var(--color-success);
  color: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.toast-custom.show {
  transform: translateX(0);
}

.toast-custom .toast-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  gap: 1rem;
}

.toast-custom .toast-message {
  flex: 1;
  font-weight: 500;
}

.toast-custom .toast-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  transition: background-color var(--transition-fast);
}

.toast-custom .toast-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ===============================================
   Responsive Enhancements
   =============================================== */
@media (max-width: 767.98px) {
  .hero {
    min-height: 80vh;
    padding: 60px 0 40px;
  }
  .lead {
    font-size: 16px;
    font-weight: 300;
  }
  .mb-5 {
    margin-bottom: 2rem !important;
  }
  .hero-illustration {
    margin-top: 2rem;
  }
  .whatsapp-benefits::after {
    display: none;
  }

  /* Mobile padding adjustments */
  .section-block {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero .container,
  .section-block .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Hero title adjustments */
  .hero-title {
    font-size: 2rem !important;
    line-height: 1.2;
    margin-bottom: 1.5rem !important;
  }

  .rotating-headlines {
    height: 50px;
    margin-top: 0.75rem;
  }

  .rotating-headline {
    font-size: 1.25rem;
  }

  .hero .lead {
    font-size: 1rem;
    margin-bottom: 1.5rem !important;
  }

  /* Section headings */
  h1,
  .display-5 {
    font-size: 1.75rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  /* WhatsApp benefits section */
  .whatsapp-benefits {
    padding: 50px 0;
  }

  /* Use cases section */
  .use-cases {
    padding: 50px 0;
  }

  /* Card spacing */
  .card-body {
    padding: 1.5rem !important;
  }

  /* Form spacing */
  .section-contact .card-body {
    padding: 1.5rem 0.5rem !important;
  }
  .section-how-it-works .p-4 {
    padding: 1.5rem 0.5rem !important;
  }

  /* Footer Responsive */
  .footer {
    padding: 60px 0 20px 0;
  }

  .footer-brand {
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .footer-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .newsletter-signup {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .partner-logo {
    padding: 1rem;
  }

  .partner-logo i {
    font-size: 1.5rem;
  }

  .partner-logo span {
    font-size: 0.8rem;
  }

  .social-icons {
    justify-content: center;
    margin-bottom: 1rem;
  }

  .footer-bottom {
    text-align: center;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  /* Button spacing */
  .d-flex.gap-3 {
    gap: 0.75rem !important;
  }

  .btn-lg {
    padding: 0.65rem 1.5rem;
    font-size: 1rem;
  }
}

/* ===============================================
   Print Styles
   =============================================== */
@media print {
  .navbar,
  .btn,
  .modal,
  .toast-custom {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .section-padding {
    padding: 1rem 0;
  }
}

/* ===============================================
   Accessibility Enhancements
   =============================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for better accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  /* outline: 2px solid var(--color-primary); */
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid var(--color-primary-dark);
  }

  .card {
    border: 1px solid #dee2e6;
  }
}

/* ===============================================
   Dark Mode Support (Future Enhancement)
   =============================================== */
@media (prefers-color-scheme: dark) {
  /* Dark mode styles can be added here in the future */
}

/* ===============================================
   Video Modal (Responsive, No Overflow)
   =============================================== */
#videoModal .modal-dialog {
  /* Constrain width by viewport width and height to keep 16:9 visible */
  width: min(90vw, calc(85vh * 16 / 9));
  max-width: none; /* override Bootstrap's fixed max-widths */
  margin-left: auto;
  margin-right: auto;
}

#videoModal .modal-content {
  background-color: #000; /* ensure dark backdrop behind video */
  border: 0;
}

#videoModal .modal-body {
  padding: 0; /* maximize space for the player */
}

#videoModal .ratio {
  /* Maintain 16:9 aspect ratio */
  --bs-aspect-ratio: 56.25%;
}

#videoModal iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fine-tune for very small screens */
@media (max-width: 575.98px) {
  #videoModal .modal-dialog {
    width: 95vw;
  }
}

/* ===============================================
   Custom Utilities
   =============================================== */
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.border-gradient {
  border: 2px solid;
  border-image: linear-gradient(
      135deg,
      var(--color-primary) 0%,
      var(--color-primary-dark) 100%
    )
    1;
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.logo {
  width: 220px;
}

/* ===============================================
   Use Cases Section
   =============================================== */
.usecase-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.usecase-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity var(--transition-normal), transform var(--transition-slow);
  max-width: 300px;
}

.usecase-image.fade-switch {
  opacity: 0.2;
  transform: scale(0.98);
}

.usecase-list .list-group-item {
  padding: 1rem 1rem;
  border: 0;
  cursor: pointer;
  transition: background-color var(--transition-fast),
    color var(--transition-fast);
}

.usecase-list .list-group-item:hover,
.usecase-list .list-group-item:focus {
  background-color: #f8f9fa;
}

.usecase-list .list-group-item.active {
  background-color: var(--color-primary);
  color: #fff;
}

.usecase-item {
  border: 1px solid #eee;
}
.usecase-item + .usecase-item {
  margin-top: 0.25rem;
}
.usecase-item .list-group-item.active i {
  color: #fff !important;
}

.usecase-item .content {
  padding: 0.75rem 2rem;
}

.usecase-item .content > ul {
  padding-left: 0 !important;
}
.use-cases {
  padding: 80px 0;
}

@media (max-width: 767.98px) {
  .usecase-image-wrapper {
    min-height: 260px;
  }
  .usecase-image {
    max-width: 260px;
  }
  .use-cases {
    padding: 3rem 0 3rem 0;
  }
  .logo {
    width: 170px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .usecase-image {
    max-width: 340px;
  }
}

@media (max-width: 991.98px) {
  #use-cases .row.align-items-center > div:nth-child(1) {
    order: 2; /* image column goes second */
  }
  #use-cases .row.align-items-center > div:nth-child(2) {
    order: 1; /* content (accordion) goes first */
  }

  /* Spacing and centering */
  #use-cases #usecase-accordion {
    margin-bottom: 1rem;
  }
  #use-cases .usecase-image-wrapper {
    margin-top: 1rem;
    justify-content: center;
  }
  #use-cases .usecase-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  /* Hide the large preview image column on mobile */
  #use-cases .usecase-image-wrapper {
    display: none;
  }

  /* Ensure heading shows first on mobile */
  .use-cases .text-center {
    order: -1;
  }
}

/* Inline images per usecase-item (mobile-only) */
.usecase-inline-image-wrapper {
  display: none;
}
@media (max-width: 991.98px) {
  /* Show image only when its sibling collapse is open */
  .usecase-item .collapse.show + .usecase-inline-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .usecase-inline-image-wrapper .usecase-image {
    max-width: 180px;
  }
  .hero-illustration {
    margin-top: 35px;
  }
}

/* ===============================================
   Privacy Policy Typography (Heading Spacing)
   =============================================== */
.privacy-policy h1,
.privacy-policy h2,
.privacy-policy h3 {
  line-height: 1.25;
}

.privacy-policy h1 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.privacy-policy h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.privacy-policy h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.privacy-policy p + h2,
.privacy-policy ul + h2,
.privacy-policy ol + h2,
.privacy-policy p + h3,
.privacy-policy ul + h3,
.privacy-policy ol + h3 {
  margin-top: 2rem;
}

.privacy-policy ul,
.privacy-policy ol {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

/* ===============================================
   Why Choose Carousel (Mobile)
   =============================================== */
#whyChooseCarousel {
  max-width: 100%;
  overflow: hidden;
}

#whyChooseCarousel .carousel-inner {
  min-height: 280px;
  display: flex;
  align-items: center;
  max-width: 100%;
}

#whyChooseCarousel .carousel-item {
  transition: transform 0.6s ease-in-out;
  max-width: 100%;
}

#whyChooseCarousel .carousel-indicators {
  margin-bottom: 0;
  left: 0;
  right: 0;
  margin-left: 0;
  margin-right: 0;
}

#whyChooseCarousel .carousel-indicators button {
  background-color: var(--color-primary);
  opacity: 0.5;
}

#whyChooseCarousel .carousel-indicators button.active {
  opacity: 1;
}

/* Ensure carousel items maintain consistent height */
#whyChooseCarousel .carousel-item > div {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
}

/* ===============================================
   Pricing Section Styles
   =============================================== */
.pricing-card {
  transition: all var(--transition-normal);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #eee !important;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.15) !important;
}

.pricing-card.border-primary {
  border-width: 2px !important;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2) !important;
}

.pricing-card.border-primary:hover {
  box-shadow: 0 25px 50px rgba(37, 211, 102, 0.25) !important;
}

.pricing-badge {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  transition: all var(--transition-normal);
  cursor: default;
}

.pricing-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.pricing-card:hover .pricing-title::after {
  width: 60px;
}

.pricing-card:hover .pricing-title {
  transform: translateY(-2px);
  text-shadow: 0 2px 4px rgba(37, 211, 102, 0.2);
}

.pricing-features li {
  transition: all var(--transition-fast);
}

.pricing-features li:hover {
  transform: translateX(5px);
}

.pricing-features .bi-check-circle-fill {
  transition: all var(--transition-fast);
}

.pricing-features li:hover .bi-check-circle-fill {
  transform: scale(1.1);
}

/* Pricing card animations */
.pricing-card[data-aos="fade-up"] {
  animation-delay: calc(var(--aos-delay, 0) * 0.1s);
}

/* Badge positioning for most popular */
.pricing-card .position-absolute {
  z-index: 10;
  top: -12px !important;
}

.pricing-card .badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  border: 2px solid white;
}

/* Responsive pricing adjustments */
@media (max-width: 767.98px) {
  .pricing-card {
    margin-bottom: 1.5rem;
  }

  .pricing-card .card-body {
    padding: 1.5rem !important;
  }

  .pricing-features li {
    font-size: 0.9rem;
  }

  .pricing-card .display-6 {
    font-size: 2rem !important;
  }
}

/* ===============================================
   Responsive Overflow Fixes
   =============================================== */
@media (max-width: 767.98px) {
  /* Prevent horizontal overflow on mobile */
  .container,
  .container-fluid {
    max-width: 100%;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  section {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Fix any elements that might extend beyond viewport */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure padding doesn't cause overflow */
  .px-3,
  .px-4,
  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}
