body {
  overflow-x: hidden;
  font-family: "Inter", codec-pros;
}

/* 

*/


.pricing-section {
  padding: 20px 0 50px; /* Reduced top padding, kept bottom padding generous */
  background-color: #fff;
}
.pricing-title {
  text-align: center;
  font-size: 2rem !important; /* Force larger size */
  /* font-weight: bold !important; */
  padding-top: 10px;
  /* padding-bottom: 60px; */
  color: #2c76f9 !important; /* Force blue color */
  margin: 0;
}
.pricing-card {
  /* border: 2px solid #2c76f9; */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  background-color: #fff; /* White card background */
  max-width: 260px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.pricing-header {
  background-color: #e8effa;
  padding-top: 20px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}
.pricing-header h3 {
  color: #2c76f9;
  margin-bottom: 0;
}
.pricing-price {
  font-size: 2rem;
  font-weight: bold;
  color: #2c76f9;
  margin: 20px 0;
}
.pricing-box {
  border-radius: 8px;
}

.price-text {
  border-radius: 8px;
}

.pricing-body {
  padding: 20px;
}
.btn-primary {
  background-color: #2c76f9;
  border-color: #2c76f9;
}
.btn-primary:hover {
  background-color: #1f5fd6;
  border-color: #1f5fd6;
}

/*  */

.container {
  width: 100%;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  position: fixed;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 80px;
}

.icon-link > .bi {
  width: 0.75em;
  height: 0.75em;
}

/* Media queries */

@media screen and (max-width: 950px) {
  .home-image {
    display: none;
  }
}
.home-image {
  flex: 1;
  max-width: 320px;   /* reduce from 400px → 320px */
  width: 100%;
  height: auto;
  object-fit: contain;
}

.text-container h1 {
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.text-container h2 {
  color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.text-container h3 {
  color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.35);
}


.tick::before {
  content: "✓";
  color: #22c55e;
  font-weight: bold;
  margin-right: 8px;
}
.cross::before {
  content: "✗";
  color: #ef4444;
  font-weight: bold;
  margin-right: 8px;
}
.pricing-card {
  min-height: 300px;
  padding-bottom: 30px;
}
.cta-button {
  border: 2px solid #000;
  background: transparent;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}
.cta-button:hover {
  background: #000;
  color: #fff;
}

.text-primary {
  color: #fff !important;
}

.bg-primary {
  background-color: #2c76f9 !important;
}

.site-header {
  background-color: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.site-header a {
  color: #8e8e8e;
  transition: color 0.15s ease-in-out;
}
.site-header a:hover {
  color: #fff;
  text-decoration: none;
}

/* Navbar */
.nav-link-text {
  font-size: 24px;
  color: #0b29ef;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  display: flex;
  gap: 2.5rem;
  text-decoration: none;
}

.nav-link {
  font-size: 24px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  display: flex;
  gap: 2.5rem;
}

.nav-link:hover {
  font-size: 22px;
  color: #fff;
  font-weight: 800;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
}

.nav-link:focus {
  font-size: 22px;
  color: #fff;
  font-weight: 800;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
}

/* .nav-link-login {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
} */

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  /* Increased padding */
}

.button-get-started {
  background-color: #2C76F9;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  height: 46px;
}

.button-get-started-nav {
  background-color: #2C76F9;
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
  width: 300px;
  height: 50px;
}

.button-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 134, 255, 0.4);
  background-color: #0b29ef;
  width: 100%;
  height: 50px;
  color: #fff;
  /* Slightly darker on hover */
}

.button-get-started-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 134, 255, 0.4);
  background-color: #0b29ef;
  width: 260px;
  height: 50px;
  color: #fff;
  /* Slightly darker on hover */
}

.button-get-started:active {
  background-color: #0b29ef;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  font-size: 22px;
  width: 260px;
  height: 50px;
  color: #fff;
}

.navbar {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  height: 70px;
}

.nav-img {
  max-height: 40px;
}

/* container */

.container-hero {
  background-color: #e8effa;
  min-height: 50vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-size: contain;
  background-position: right;
  background-repeat: no-repeat;
  padding: 60px;
}

.text-container {
  flex: 1;
  text-align: left;
  padding-left: 10%;
}

.image-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 10%;
}

.image-container img {
  max-width: 100%;
  height: 50vh;
}

.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 80px;
}

.inter-tight-header {
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 22px;
}

.inter-tight-subheader {
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
}

/* Features */
.feature-card {
  position: relative;
  transition: all 0.3s ease;
  padding: 20px;
  display: flex;
  justify-content: center;
}

/* .feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
} */

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transition: all 0.3s ease;
}

/* .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 20px;
  transition: all 0.3s ease;
} */

/* .feature-card:hover .feature-image {
  opacity: 0;
  transform: scale(0);
  height: 0;
  margin-bottom: 0;
  margin-top: 0;
} */
/*     
.feature-icon i {
  color: white;
  font-size: 18px;
} */

.feature-title {
  font-size: 18px;
  margin-bottom: 12px;
  color: #333;
  font-weight: 600;
  transition: margin-bottom 0.3s ease;
  font-family: "Montserrat", sans-serif;

  grid-column: 1 / -1; /* makes title span both columns */
}

/* .feature-card:hover .feature-title {
  margin-bottom: 5px;
} */

.feature-body {
  display: grid;
  grid-template-columns: 1fr 200px; /* text takes remaining space, image fixed */
  gap: 20px;
  align-items: center;
}

.feature-summary {
  margin-bottom: 0;
  transition: opacity 0.3s ease;
  flex-grow: 1;
  font-family: "Inter Tight", sans-serif;
  font-size: 14px;
}

/* .feature-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 0;
  flex-grow: 1;
  font-family: "Inter Tight", sans-serif;
  font-size: 14px;
} */

/* .feature-card:hover .feature-summary {
  opacity: 0;
  max-height: 0;
  margin: 0;
  flex-grow: 0;
}
    
.feature-card:hover .feature-details {
  max-height: 160px;
  opacity: 1;
  margin-top: 5px;
} */

/* .cta-button {
  margin-top: 12px;
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #7066f6, #504db0);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}
    
.feature-card:hover .cta-button {
  opacity: 1;
  transform: translateY(0);
}
    
.cta-button:hover {
  background: linear-gradient(135deg, #504db0, #3a3780);
  color: white;
} */
/*

/* container reviews */

.container-reviews {
  min-height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: contain;
  background-position: right;
  background-repeat: no-repeat;
}

.form-container {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.testimonial-section {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  width: 100%;
}

.testimonial-container {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
  width: 100%;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  max-width: 100%;
  word-wrap: break-word;
}

.navigation-buttons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
}

.nav-btn {
  background: rgba(106, 79, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.nav-btn:hover {
  background: rgba(106, 79, 255, 0.2);
}

.nav-btn-left {
  position: absolute;
}

.nav-btn-right {
  position: absolute;
  right: 10%;
}

.star-rating {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.star {
  color: #ffc107;
  font-size: 1.5rem;
  margin: 0 2px;
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-purple);
}

.testimonial-company {
  color: #666;
}

.free-trial-cta {
  background-color: var(--primary-purple);
  color: var(--text-light);
  border-radius: 12px;
  width: 100%;
}

.free-trial-btn {
  background-color: white;
  color: var(--primary-purple);
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.free-trial-btn:hover {
  transform: scale(1.05);
}

/* Pricing */
.row-pricing {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pricing-card {
  position: relative;
  height: 30vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #fff;
  width: 50vw;
}

.col-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.pricing-title {
  font-size: 18px;
  margin-bottom: 12px;
  color: #333;
  font-weight: 600;
  transition: margin-bottom 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.price-box {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  border-radius: 12px 0px;
}

.price-text {
  font-size: 26px;
  margin-bottom: 12px;
  color: #333;
  font-weight: 600;
  transition: margin-bottom 0.3s ease;
  font-family: "Inter Tight", sans-serif;
}

.list-text {
  color: #333;
  font-weight: 600;
  transition: margin-bottom 0.3s ease;
  font-family: "Inter Tight", sans-serif;
  list-style: none;
  font-size: 16px;
}



@media (max-width: 1200px) {
  .row-cols-md-3 {
    flex-direction: column;
  }

  /* Adjust the column width for smaller screens */
  .col-3 {
    width: 100%;
    margin-bottom: 20px;
  }

  /* Make the pricing cards full width on mobile */
  .pricing-card {
    width: 90vw;
    height: auto;
    min-height: 50vh;
  }

  /* Center the pricing cards */
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Adjust the row spacing */
  .row {
    gap: 2rem !important;
  }
}

/* footer */

.container-footer {
  max-width: 100vw;
  background-color: #0b29ef;
  background-size: cover;       /* or contain */
  background-position: center right;
  background-repeat: no-repeat;
}

.row-footer {
  display: flex;
  justify-content: space-between;
}

.col-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* popup */
/* Base popup styling */
.popup {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin-top: 30px;
  width: 95%;
  max-width: 500px;
  /* Control maximum width */
  z-index: 1000;
  overflow: hidden;
  /* Prevent content from extending beyond popup */
}

.popup.show {
  opacity: 1;
  visibility: visible;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
}

.container-cta {
  background-color: #e8effa;
  width: 100%;
  padding: 30px 20px;
  /* Reduced padding */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  box-sizing: border-box;
  /* Include padding in width calculation */
}

.con-cta-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.cta-text {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 10px 0;
  text-align: center;
  width: 100%;
  word-wrap: break-word;
  /* Ensure text wraps */
}

.cta-text-2 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 16px;
  margin: 0 0 20px 0;
  text-align: center;
  width: 100%;
  word-wrap: break-word;
}

.home-details {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
}

.input-container {
  position: relative;
  margin-bottom: 15px;
  width: 100%;
}

.input-cont-1 {
  margin-top: 0;
}

.input-container input {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  /* Include padding in width calculation */
}

input::placeholder {
  color: #888;
  opacity: 0.7;
  font-size: 14px;
}

.row-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

/* Position the close button absolutely within row-cta */
.row-cta .close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Media queries for small devices */
@media (max-width: 480px) {
  .popup {
    width: 95%;
    max-width: 350px;
  }

  .container-cta {
    padding: 20px 15px;
  }

  .cta-text {
    font-size: 16px;
  }

  .cta-text-2 {
    font-size: 14px;
  }

  .input-container input {
    padding: 10px;
    font-size: 13px;
  }

  .button-get-started {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Extra small devices */
@media (max-width: 320px) {
  .popup {
    max-width: 300px;
  }

  .container-cta {
    padding: 15px 10px;
  }

  .input-container input {
    padding: 8px;
  }
}

/* * Extra utilities
 */

.flex-equal > * {
  flex: 1;
}
@media (min-width: 768px) {
  .flex-md-equal > * {
    flex: 1;
  }
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

.feature-column {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.feature-column p {
  flex-grow: 1;
}

/* This makes all columns the same minimum height */
.row {
  display: flex;
  flex-wrap: wrap;
}

/* Makes sure the Call to action links align at the bottom */
.icon-link {
  margin-top: auto;
}

.link-secondary {
  color: #ffffff;
}

/* coaching page */

.coaching-table {
  position: relative;
  height: 40vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #fff;
  width: 50vw;
}

/* === Responsive Hero Fix === */
.hero-section {
  width: 100%;
  min-height: 70vh;
  background-image: url("../images/flowformance-background.png");
  background-size: cover;       /* or contain */
  background-position: center right;
  background-repeat: no-repeat;
}

.features-section {
  width: 100%;
  min-height: 70vh;
  background-size: cover;       /* or contain */
  background-position: center right;
  background-repeat: no-repeat;
}

.feature-card ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 15px;
}

.list-text {
    margin-bottom: 8px;
}

.container-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem 3rem;
  width: 100%;
  max-width: 100%; /* removes Bootstrap’s width limit */
  margin: 0;       /* removes auto-centering */
  flex-wrap: nowrap;
  background: transparent; /* optional, just to be safe */
}


.text-container {
  flex: 1 1 50%;
  min-width: 300px;
}

.image-container {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Responsive: stack on smaller screens */
@media (max-width: 992px) {
  .container-hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .home-image {
    max-width: 280px;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}
/* Ensure hero section is responsive */
.hero-section {
  display: flex;
  flex-wrap: wrap; /* allows stacking on mobile */
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Make text and image containers take full width on small screens */
.text-container, .image-container {
  flex: 1 1 90%;
  text-align: center;
  max-width: 90%;
}

/* Adjust image size for mobile */
.image-container img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* On larger screens, restore side-by-side layout */
@media (min-width: 768px) {
  .hero-section {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .text-container {
    flex: 1;
    text-align: left;
    padding-right: 40px;
  }
  .image-container {
    flex: 1;
    text-align: right;
  }
}

.hero h1,
.hero-title,
.main-heading {
  font-size: clamp(2rem, 8vw, 4rem); /* scales smoothly between small & large screens */
  word-wrap: break-word;
  text-align: center; /* centers the text on mobile */
  margin: 0 auto;
  max-width: 90vw; /* ensures it never goes off-screen */
  overflow-wrap: break-word;
}

/* Ensure hero section stays within screen on all devices */
.hero-section {
  overflow-x: hidden;
}

/* Make sure container doesn’t force text off-screen */
.container-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 100%;
  padding: 0 1rem;
}

/* Text side */
.text-container {
  flex: 1 1 500px;
  text-align: center;
}

/* Responsive headline fix */
.text-container h1.display-3 {
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1.1;
  word-wrap: break-word;
  max-width: 100%;
  margin: 0 auto;
}

/* Subtitle styling remains readable */
.text-container h3,
.text-container p {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* Image responsiveness */
.image-container {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  width: 100%;
  max-width: 400px;
  height: auto;
  padding: 40px
}

.text-container {
  flex: 1 1 500px;
  text-align: center;
  padding: 2rem 1rem; /* overall spacing */
}


  .text-container {
    padding: 1.5rem 0.5rem;  /* reduce top/bottom + side padding */
  }

  .text-container h1 {
    margin-bottom: 0.75rem;
  }

  .text-container h3 {
    margin-bottom: 0.5rem;
  }

  .text-container p {
    margin-bottom: 1rem;
  }

.text-container {
  flex: 1 1 500px;
  text-align: center;
  padding: 8rem 0rem 8rem 10rem; /* overall spacing */
}

/* Tighter vertical spacing on smaller screens */
@media (max-width: 767px) {
  .text-container {
    padding: 6rem 0.5rem;  /* reduce top/bottom + side padding */
  }

  .text-container h1 {
    margin-bottom: 0.75rem;
  }

  .text-container h3 {
    margin-bottom: 0.5rem;
  }

  .text-container p {
    margin-bottom: 1rem;
  }
}

@media (max-width: 1000px) {
  .image-container {
    display: none !important;
  }
}

/* Prevent horizontal scrolling on mobile */
html, body {
    overflow-x: hidden;
}

@media (max-width: 768px) {
  .container-reviews {
    min-height: auto;
    align-items: flex-start;
    padding: 1.5rem 1rem;
  }

  .container-reviews .text-container {
    padding: 0;
    margin: 0;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .container-reviews {
    padding: 1rem 0.5rem;
  }
}

.text-container.row > p {
  grid-column: 1 / -1;
}