:root {
  /* Color Scheme */
  --brand-light-green: #9fdd6f;
  --brand-mid-green-1: #71ba52;
  --brand-mid-green-2: #229938;
  --brand-dark-green-1: #115b1f;
  --brand-darkest-green: #0c3d14;
  --brand-logo-green: #02ac51;
  --brand-accent-orange: #ff8864;
  --brand-accent-yellow: #f6e266;
  --brand-gray-light: #e4e4e2;
  --brand-gray-dark: #3b3b3b;

  --bg-base: var(--brand-gray-dark);
  --text-main: var(--brand-gray-light);

  --bg-blackish: #383f38;
  --bg-white: #fff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}

/* Universally prevent horizontal scrolling */
body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Navbar Styling */
.navbar-custom {
  background-color: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 228, 226, 0.05);
  padding: 10px 0 !important;
}

@media (max-width: 991px) {
  .navbar-custom {
    padding-top: 25px !important;
    padding-bottom: 20px !important;
  }
}

.navbar-custom .nav-link {
  color: var(--brand-gray-light);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--brand-logo-green);
  opacity: 1;
}

/* Scrollytelling Mechanics */
.story-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  padding-bottom: 60px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .story-section {
    height: auto;
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 100vh;
  }
}

/* Animation Base Classes */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-delay-1 {
  transition-delay: 0.15s;
}
.anim-delay-2 {
  transition-delay: 0.3s;
}
.anim-delay-3 {
  transition-delay: 0.45s;
}
.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Typography */
.display-massive {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--brand-gray-light);
  margin-bottom: 1rem !important;
}

.display-massive-md {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--brand-gray-light);
  margin-bottom: 1rem !important;
}

.display-emp {
  font-size: clamp(1.5rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--brand-gray-light);
}

.story-text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 1.5rem !important;
}

.story-text-sm {
  font-size: clamp(1.1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 1.5rem !important;
}

.highlight-green {
  color: var(--brand-logo-green);
}
.highlight-orange {
  color: var(--brand-accent-orange);
}

/* Dynamic Background Glows */
.bg-glow-green {
  position: absolute;
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(
    circle,
    rgba(2, 172, 81, 0.15) 0%,
    rgba(5, 5, 5, 0) 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

/* Hero Specific Styles */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.3) 0%,
    rgba(5, 5, 5, 1) 100%
  );
  z-index: 0;
}
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/assets/moola-site.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  opacity: 0.4;
  z-index: -1;
}

/* Buttons */
.btn-moola {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  color: var(--brand-gray-light);
  background-color: var(--brand-logo-green);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--brand-logo-green);
  box-shadow: 0 10px 20px rgba(128, 244, 128, 0.2);
}
.btn-moola:hover {
  background-color: transparent;
  color: var(--brand-logo-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(2, 172, 81, 0.2);
}

.btn-outline-moola {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  color: var(--brand-gray-light);
  background-color: transparent;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(228, 228, 226, 0.3);
}
.btn-outline-moola:hover {
  border-color: var(--brand-logo-green);
  color: var(--brand-logo-green);
  transform: translateY(-3px);
}

/* Routing Cards */
.route-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
}
.route-card:hover {
  background: rgba(2, 172, 81, 0.05);
  border-color: var(--brand-logo-green);
  transform: translateY(-10px);
}
.route-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  stroke: var(--brand-logo-green);
}
.route-card-arrow {
  align-self: flex-end;
  stroke: var(--brand-gray-light);
  opacity: 0.5;
  transition: all 0.3s;
}
.route-card:hover .route-card-arrow {
  stroke: var(--brand-logo-green);
  opacity: 1;
  transform: translateX(5px);
}

/* Arrow Animation */
.scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0.8;
  transition: opacity 0.3s;
  z-index: 10;
}
.scroll-arrow:hover {
  opacity: 1;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}

/* pulseate animation */
.pulse-img {
  animation: pulseScale 1s infinite ease-in-out;
}
@keyframes pulseScale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.01);
  }
  100% {
    transform: scale(1);
  }
}

.pulse-img-home {
  animation: pulseScaleHome 1s infinite ease-in-out;
}
@keyframes pulseScaleHome {
  0% {
    transform: scale(1.5);
  }
  50% {
    transform: scale(1.52);
  }
  100% {
    transform: scale(1.5);
  }
}

.download-link {
  transition: color 0.3s;
  color: white;
}
.download-link:hover {
  color: var(--brand-logo-green) !important;
}

.bg-darkest-green {
  background-color: var(--brand-darkest-green) !important;
}
.text-light {
  color: var(--brand-gray-light) !important;
}

.logo-svg {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.stat-card {
  background: rgba(228, 228, 226, 0.05);
  border-left: 4px solid var(--brand-logo-green);
  padding: 1rem;
  border-radius: 0 8px 8px 0;
}

/* Compact Form Customization */

form {
  background: #c8dbca;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 0%,
    rgba(200, 219, 202, 1) 100%
  );
  margin-bottom: 30px;
}
.form-control-custom {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  color: #000;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 1.2rem;
  transition: border-color 0.3s ease;
  text-decoration: bold;
}
.form-control-custom:focus {
  background: transparent;
  color: #000;
  box-shadow: none;
  border-color: var(--brand-logo-green);
  border-width: 5px;
}

textarea.form-control-custom::placeholder,
input.form-control-custom::placeholder {
  white-space: pre-wrap;
  color: rgba(0, 0, 0, 0.8) !important;
  opacity: 1;
}

/* Allow FAQ sections to expand beyond 100vh if opened */
.faq-section {
  min-height: 100vh;
  height: auto;
  padding-top: 120px;
  padding-bottom: 100px;
  position: relative;
  overflow-x: hidden;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--brand-light-green);
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

/* Custom Accordion Styling for Dark Theme */
.accordion-custom {
  --bs-accordion-bg: rgba(255, 255, 255, 0.03);
  --bs-accordion-color: var(--brand-gray-light);
  --bs-accordion-border-color: rgba(228, 228, 226, 0.1);
  --bs-accordion-btn-bg: rgba(255, 255, 255, 0.05);
  --bs-accordion-btn-color: var(--brand-gray-light);
  --bs-accordion-active-bg: rgba(2, 172, 81, 0.1);
  --bs-accordion-active-color: var(--brand-light-green);
  --bs-accordion-btn-focus-box-shadow: none;
  border-radius: 12px;
  overflow: hidden;
}
.accordion-button {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.25rem 1.5rem;
}
.accordion-body {
  font-weight: 300;
  line-height: 1.6;
  padding: 1.5rem;
  color: rgba(228, 228, 226, 0.85);
}
.accordion-body ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}
.accordion-body li {
  margin-bottom: 0.5rem;
}

/* interactive icons */
.icon-nav-container {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.interactive-icon-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem 0.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.interactive-icon-btn svg {
  stroke: var(--brand-gray-light);
  opacity: 0.5;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
  width: 32px;
  height: 32px;
}

.icon-placeholder-2 {
  background-color: #9fdd6f;
  border-radius: 50% !important;
  padding: 5px;
  width: 70px;
}

.interactive-icon-btn span {
  font-weight: 600;
  font-size: 0.7rem;
  line-height: 1.2;
  color: var(--brand-gray-light);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.interactive-icon-btn.active {
  border-color: var(--brand-logo-green);
  background: rgba(2, 172, 81, 0.1);
  box-shadow: 0 5px 15px rgba(2, 172, 81, 0.15);
}
.interactive-icon-btn.active svg {
  stroke: var(--brand-logo-green);
  opacity: 1;
  transform: scale(1.1);
}
.interactive-icon-btn.active span {
  color: var(--brand-logo-green);
  opacity: 1;
}

@media (min-width: 992px) {
  .icon-nav-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 0;
  }
  .interactive-icon-btn {
    border-radius: 16px;
    padding: 2rem 1rem;
  }
  .interactive-icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
  }
  .interactive-icon-btn svg {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  .interactive-icon-btn span {
    font-size: 0.95rem;
  }
}

@media (max-width: 400px) {
  .icon-placeholder-2 {
    background-color: #9fdd6f;
    border-radius: 50% !important;
    padding: 5px;
    width: 50px;
  }

  .icon2-text {
    font-size: 3vw;
    word-break: break-all;
  }
}

/* jitter fix */
.panels-container {
  display: grid;
}

.info-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s;
  pointer-events: none;
}

.info-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.panel-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--brand-logo-green);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

/* Light mode overrides */
body.light-mode {
  /* Invert background and text */
  --bg-base: #fff;
  --text-main: var(--brand-gray-dark);

  /* Brighten the dark section backgrounds */
  --brand-darkest-green: var(--brand-light-green);
  --brand-dark-green-1: var(--brand-mid-green-1);
  --brand-gray-light: var(--brand-gray-dark);
  --bg-blackish: #9dbe9d;
}

/* Other Adjustments */
body.light-mode .navbar-custom {
  background-color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
body.light-mode .navbar-custom .nav-link,
body.light-mode .navbar-brand .text-white {
  color: var(--brand-gray-dark) !important;
}
body.light-mode .navbar-custom .nav-link:hover {
  color: var(--brand-logo-green) !important;
}

body.light-mode .text-white {
  color: var(--brand-gray-dark) !important;
}
body.light-mode a {
  color: var(--brand-gray-dark) !important;
}

body.light-mode .btn-moola {
  color: #fff !important;
}

body.light-mode .btn-moola:hover {
  background-color: transparent;
  color: var(--brand-logo-green) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(2, 172, 81, 0.2);
}

body.light-mode .btn-outline-moola {
  color: #fff !important;
}

body.light-mode .display-massive,
body.light-mode .section-title,
body.light-mode .accordion-body,
body.light-mode .accordion-button {
  color: var(--brand-gray-dark) !important;
}
body.light-mode .bg-glow-green {
  background: radial-gradient(
    circle,
    rgba(2, 172, 81, 0.2) 0%,
    rgba(5, 5, 5, 0) 100%
  );
}
body.light-mode .route-card,
body.light-mode .stat-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: #02ac51 !important;
}

body.light-mode .stat-card .display-massive {
  color: var(--brand-logo-green) !important;
}

body.light-mode .route-card-arrow {
  stroke: var(--brand-gray-dark) !important;
}

body.light-mode .route-card:hover {
  background: rgba(2, 172, 81, 0.1);
  border-color: var(--brand-logo-green);
}

body.light-mode .route-card:hover .route-card-arrow {
  stroke: var(--brand-logo-green) !important;
}

body.light-mode .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(59, 59, 59, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

body.light-mode .nav-link.active {
  color: var(--brand-logo-green) !important;
}

body.light-mode .faq-section {
  color: #000 !important;
}

/* border effects */

/* Wrapper for the running border effect */
.flashy-border {
  position: relative;
  border-radius: 16px;
  padding: 4px; /* This controls the thickness of the running border */
  overflow: hidden;
  z-index: 1;
  display: inline-block;
}

.flashy-border::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent 70%,
    rgba(246, 226, 102, 0.2) 90%,
    var(--brand-accent-yellow) 100%
  );
  animation: rotate-border 3s linear infinite;
  z-index: -2;
}

.flashy-border::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 12px;
  z-index: -1;
}

/* The actual image */
.flashy-border img {
  position: relative;
  border-radius: 12px; /* Must match the inner ::after radius */
  display: block;
  width: 100%;
  height: auto;
  z-index: 2;
}

@keyframes rotate-border {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Contact Card */
.moola-contact-card {
  position: relative;
  background: rgba(59, 59, 59, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(228, 228, 226, 0.1);
  border-top: 4px solid var(--brand-logo-green);
  border-radius: 16px;
  padding: 2.5rem;
  color: var(--brand-gray-light);
  max-width: 450px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.4s ease,
    border-color 0.4s ease;
  margin-bottom: 30px;
}
body.light-mode .moola-contact-card {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(0, 0, 0, 0.1);
}

.moola-contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 172, 81, 0.3);
  box-shadow: 0 20px 40px rgba(2, 172, 81, 0.15);
}

.card-header-brand {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(228, 228, 226, 0.1);
}

.card-header-brand .company-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-light-green);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.card-header-brand .company-cin {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--brand-gray-light);
  opacity: 0.6;
  text-transform: uppercase;
}

.card-contact-details {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.contact-item .icon-box {
  background: rgba(2, 172, 81, 0.1);
  border: 1px solid rgba(2, 172, 81, 0.2);
  border-radius: 10px;
  padding: 0.6rem;
  margin-right: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-logo-green);
}

.contact-item .icon-box svg {
  width: 20px;
  height: 20px;
}

.contact-item .item-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  text-align: center;
}

.contact-item .item-text strong {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-gray-light);
  opacity: 0.5;
  margin-bottom: 0.2rem;
}

.contact-item .item-text p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--brand-gray-light);
  opacity: 0.9;
}

.contact-link {
  color: var(--brand-gray-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #02ac51 !important;
}

/* footer */
.moola-footer {
  background-color: #081f0b;
  color: var(--brand-gray-light);
  border-top: 1px solid rgba(2, 172, 81, 0.2);
  position: relative;
  z-index: 10;
}

.footer-links a {
  color: var(--brand-gray-light);
  text-decoration: none;
  opacity: 0.75;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--brand-logo-green);
  transform: translateX(5px);
}

.footer-hover-link {
  color: inherit;
  transition: color 0.3s ease;
}

.footer-hover-link:hover {
  color: var(--brand-logo-green) !important;
  opacity: 1 !important;
}
/* --- FOOTER STYLES --- */
.moola-footer {
  background-color: #081f0b; /* A very deep, rich green to anchor the page */
  color: var(--brand-gray-light);
  border-top: 1px solid rgba(2, 172, 81, 0.2);
  position: relative;
  z-index: 10;
}

.footer-links a {
  color: var(--brand-gray-light);
  text-decoration: none;
  opacity: 0.75;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--brand-logo-green);
  transform: translateX(5px);
}

.footer-hover-link {
  color: inherit;
  transition: color 0.3s ease;
}

.footer-hover-link:hover {
  color: var(--brand-logo-green) !important;
  opacity: 1 !important;
}

/* Keep footer dark even in light mode if implemented */
body.light-mode .moola-footer {
  background-color: #0c3d14 !important;
  color: #e4e4e2 !important;
}
body.light-mode .moola-footer .text-white {
  color: #e4e4e2 !important;
}
body.light-mode .footer-links a {
  color: #e4e4e2 !important;
}

body.light-mode .footer-contact a {
  color: #e4e4e2 !important;
}

body.light-mode .footer-links a:hover,
body.light-mode .footer-contact a:hover {
  color: var(--brand-logo-green) !important;
}

/* --- INTERACTIVE APPLICATIONS SECTION --- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .app-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .app-grid {
    grid-template-columns: repeat(4, 1fr); /* 4x2 Grid on Desktop */
  }
}

.app-btn {
  background: rgba(2, 172, 81, 0.1);
  border: 1px solid var(--brand-logo-green);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-shadow: 0 5px 20px rgba(2, 172, 81, 0.15);
}

.app-btn .icon-wrapper {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: center;
  align-items: center;
}

.app-btn img.icon-placeholder {
  width: 32px;
  height: 32px;
  filter: invert(0.1) opacity(1);
  transition: all 0.3s ease;
}

.app-btn span {
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--brand-gray-light);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.app-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

/* surround grid */
.surround-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

/* Desktop: 3 Columns (Text - Image - Text) */
@media (min-width: 992px) {
  .surround-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
  }

  .surround-text-left {
    text-align: right;
    /* align-self: self-start; */
  }

  .surround-text-right {
    text-align: left;
    /* align-self: self-end; */
  }
}

.midgrid-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgb(255, 255, 255);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

body.light-mode .midgrid-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgb(0, 0, 0);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.midgrid-card:last-child {
  margin-bottom: 0;
}

.midgrid-card:hover {
  border-color: var(--brand-logo-green);
  background: rgba(2, 172, 81, 0.05);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(2, 172, 81, 0.1);
}

body.light-mode .midgrid-card:hover {
  border-color: var(--brand-logo-green);
  background: rgba(2, 172, 81, 0.05);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(2, 172, 81, 0.1);
}

.midgrid-card h4 {
  color: var(--brand-accent-orange);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.midgrid-card p {
  color: var(--brand-gray-light);
  opacity: 0.8;
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.interactive-icon-btn-bess {
  flex: 1;
  background: rgba(212, 0, 0, 0.07);
  border: 2px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 1rem 0.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.interactive-icon-btn-bess.active {
  border-color: var(--brand-logo-green);
  background: rgba(2, 172, 81, 0.1);
  box-shadow: 0 5px 15px rgba(2, 172, 81, 0.15);
}

.disclaimer-text {
  text-align: center;
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 7px;
  padding-top: 14px;
  opacity: 70%;
}

.story-text-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.story-text-item img {
  flex-shrink: 0;
  width: 40px;
  height: auto;
}

@media (min-width: 992px) {
  .emsopc {
    width: 80% !important;
  }
}
