:root {
  --bs-tertiary-bg-rgb: 101, 127, 220;
}
.bg-gradient {
  background: linear-gradient(90deg, #007bff, #6610f2);
}

.card {
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensures all cards are the same height */
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-title i {
  margin-right: 10px;
}

.section-heading {
  margin-bottom: 20px;
  color: #007bff;
}

.bi {
  font-size: 1.5rem;
}

.clear-filters {
  align-self: end;
}

.clear-filters-btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

.clear-filters-btn i {
  font-size: 16px; /* Adjust icon size if needed */
}

.banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.pagebanner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner {
  height: 70vh;
  background:
    url('../images/mexvps-home-banner.svg') no-repeat center center/cover;
  display: flex !important;
}

.pagebanner {
  height: 70vh;
  background:
    url('../images/page-banner.svg') no-repeat center center/cover;
  display: flex !important;
  
}


.banner > div {
  position: relative;
  z-index: 2;
}

.pagebanner > div {
  position: relative;
  z-index: 2;
}

/* Stats Section Custom Styling */
.stats-section {
  background-color: #f8f9fa;
}

.stat-box {
  padding: 2rem 1.5rem;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-box:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  font-size: 3rem;
  color: #dc3545;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-text {
  color: #dc3545;
  font-size: 1rem;
  margin: 0;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px; /* Adjusted to avoid overlapping with WhatsApp button */
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
  background-color: #dc3545 !important;
  color: white;
  border: none !important;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s, visibility 0.3s;
}
.scroll-to-top:hover {
  background-color: #bb2d3b !important;
}
.scroll-to-top i {
  font-size: 20px;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #25D366; /* WhatsApp green */
  color: white;
  border-radius: 50%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: transform 0.3s ease;
}
.whatsapp-button:hover {
  transform: scale(1.1);
  background-color: #1DA851;
}
.whatsapp-button i {
  font-size: 30px;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(90deg, #4e8ef5, #644ef5);
  color: #fff;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-button {
  background: #fff;
  color: #4e8ef5;
  padding: 0.75rem 2rem;
  border: none;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}
.cta-button:hover {
  background: #f0f0f0;
}

.company-overview {
  padding: 3rem 2rem;
  background: #f9f9f9;
  text-align: center;
}
.company-overview h2 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.company-overview p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.mission-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 3rem 2rem;
  background: #fff;
}
.content {
  flex: 1 1 45%;
  margin: 1rem;
}
.why-choose-us {
  padding: 4rem 2rem;
  background: #f1f8ff;
  text-align: center;
}
.why-choose-us h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 2rem;
}
.reasons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.reason {
  flex: 1 1 45%;
  margin-bottom: 1.5rem;
}
.reason h3 {
  font-size: 1.5rem;
  color: #4e8ef5;
  margin-bottom: 0.5rem;
}
.reason p {
  color: #555;
  line-height: 1.6;
}
.cta-section {
  padding: 3rem 2rem;
  background: linear-gradient(90deg, #644ef5, #4e8ef5);
  color: #fff;
  text-align: center;
}
.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-button {
  background: #fff;
  color: #4e8ef5;
  padding: 0.75rem 2rem;
  border: none;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}
.cta-button:hover {
  background: #f0f0f0;
}
.testimonials {
  padding: 4rem 2rem;
  background: #f9f9f9;
  text-align: center;
}
.testimonials h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 2rem;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 1200px;
}
.testimonial {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
}
.testimonial p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
  font-style: italic;
}
.testimonial span {
  font-size: 0.9rem;
  color: #777;
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
}


.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.card {
  border: none;
  border-radius: 12px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.card-text {
  font-size: 0.9rem;
}

.footer h5 {
  font-weight: bold;
  color: #f8f9fa;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
  color: #ccc;
}

.footer p {
  color: #ccc;
  font-size: 0.9rem;
}

.footer .btn-primary {
  background-color: #0069d9;
  border: none;
}

.footer .btn-primary:hover {
  background-color: #0056b3;
}

.payment-icons img {
  max-width: 60px;
  margin: 0 10px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.payment-icons img:hover {
  filter: none;
}
