/* Modern Animated Footer for SoftDotCom Jobs */
.site-footer {
  background: linear-gradient(135deg, #1b1b1b, #2c2c2c);
  color: #eee;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
  padding: 120px 20px 30px;
}

/* ==== WAVES ==== */
.footer-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
  z-index: 0;
}

.wave {
  position: absolute;
  width: 200%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 80"><path fill="%23ff4c4c" fill-opacity="0.2" d="M0,40 C360,0 1080,80 1440,40 L1440,80 L0,80 Z"/></svg>') repeat-x;
  background-size: 50% 100%;
  bottom: 0;
  animation: moveWave 10s linear infinite;
}

.wave2 {
  opacity: 0.5;
  animation: moveWave 15s linear infinite reverse;
}

.wave3 {
  opacity: 0.3;
  animation: moveWave 20s linear infinite;
}

@keyframes moveWave {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==== CONTENT WRAPPER ==== */
.rj-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

/* ==== ABOUT SECTION ==== */
.footer-about h4 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ff4c4c;
}

.footer-about p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 280px;
  color: #ccc;
}

/* ==== HEADINGS ==== */
.footer-links h5,
.footer-legal h5,
.footer-social h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

/* ==== LISTS ==== */
.footer-links ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-legal a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: #ff4c4c;
}

/* ==== SOCIAL ICONS ==== */
.footer-social .social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 20px;
  color: #ccc;
  transition: color 0.3s, transform 0.3s;
}

.footer-social .social-icons a:hover {
  color: #ff4c4c;
  transform: translateY(-3px);
}

/* ==== BOTTOM TEXT ==== */
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
}
.footer-subscribe {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
  text-align: center;
}

.footer-subscribe h5 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #fff;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subscribe-form input {
  padding: 10px;
  border-radius: 6px;
  border: none;
}

.subscribe-form button {
  padding: 10px;
  background: #2ecc71;
  border: none;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.subscribe-msg {
  background: #27ae60;
  color: #fff;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
}


/* ============================= */
/*       RESPONSIVE MOBILE       */
/* ============================= */
/* ============================= */
/* TRUE CENTERED MOBILE FOOTER   */
/* ============================= */
@media (max-width: 992px) {

  /* Center ALL text on mobile */
  .footer-top,
  .footer-about,
  .footer-links,
  .footer-legal,
  .footer-social {
    text-align: center !important;
    width: 100%;
  }

  /* Center link lists */
  .footer-links ul,
  .footer-legal ul {
    margin: 0 auto;
  }

  /* Center ABOUT section */
  .footer-about p {
    margin: 0 auto;
  }

  /* Center social icons */
  .footer-social .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  /* Reduce spacing */
  .footer-top {
    gap: 25px;
  }

  /* Make entire footer look compact */
  .site-footer {
    padding: 60px 20px 25px;
  }

  .footer-waves {
    height: 55px;
  }
}

/* Extra small phones */
@media (max-width: 480px) {

  .footer-top {
    gap: 20px;
  }

  /* Slightly smaller headings */
  .footer-about h4 {
    font-size: 20px;
  }

  .footer-links h5,
  .footer-legal h5,
  .footer-social h5 {
    font-size: 15px;
  }
}

