
.pagefooter {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,249,250,0.95));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(37, 211, 102, 0.2);
  padding-top: 10px;
  padding-bottom: 5px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

/* Add subtle gradient overlay */
.pagefooter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #C5221F, #25D366, #2463EB);
  opacity: 0.6;
}

/* Footer logo enhancement */
.pagefooter .logo {
  filter: grayscale(1) contrast(1.2) brightness(0.8);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.pagefooter .logo:hover {
  filter: grayscale(0);
  transform: scale(1.05);
}

/* Footer text styling */
.pagefooter .text-main-content {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Footer headings */
.pagefooter h4 {
  color: #2c3e50;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.pagefooter h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #25D366;
}

/* Footer links */
.pagefooter .gjs-link {
  color: #666;
  text-decoration: none;
  display: block;
  padding: 1px 0;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.pagefooter .gjs-link:hover {
  color: #25D366;
  transform: translateX(5px);
}

.pagefooter .gjs-link::before {

  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.pagefooter .gjs-link:hover::before {
  opacity: 1;
  left: -10px;
}

/* Badge/certification images enhancement */
.pagefooter .scale-effect {
  filter: grayscale(0.5);
  transition: all 0.3s ease;
  margin: 5px;
}

.pagefooter .scale-effect:hover {
  filter: grayscale(0);
  transform: scale(1.15);
}

/* Social icons */
.pagefooter .fa-brands {
  background: #f0f0f0;
  padding: 10px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.pagefooter .fa-brands:hover {
  background: #25D366;
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Footer copyright text */
.pagefooter .text-main-content a {
  color: #25D366;
  text-decoration: none;
  font-weight: 600;
}

.pagefooter .text-main-content a:hover {
  text-decoration: underline;
}


.pagefooter #iv3be5 {
    padding: 20px 0px;
}

/* Footer responsive grid */
@media (min-width: 768px) {
  .pagefooter .gjs-grid-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .pagefooter {
    padding: 30px 20px;
    text-align: center;
  }
  
  .pagefooter h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .pagefooter .gjs-link::before {
    display: none;
  }
  
  .pagefooter .gjs-grid-column {
    margin-bottom: 30px;
  }
}

/* Optional: Add newsletter signup section to footer */
.footer-newsletter {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-top: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.footer-newsletter h5 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.footer-newsletter .input-group {
  max-width: 400px;
}

.footer-newsletter input {
  border: 1px solid #e0e0e0;
  padding: 10px 15px;
  border-radius: 8px 0 0 8px;
}

.footer-newsletter button {
  background: #25D366;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 0 8px 8px 0;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-newsletter button:hover {
  background: #1fa352;
}