/* /////////////////////////// footer  section ///////////////////////////////////////// */
footer {
  background-color: #034177;
  color: #f0f0f0;
  padding: 50px 0 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 20px;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 30px;
  height: 2px;
  background-color: #034177;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-section ul li a i {
  margin-right: 5px;
  color: #034177;
}

.social-links {
  margin-bottom: 20px;
}

.social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  /* background-color: #333; */
  color: #fff;
  text-align: center;
  line-height: 35px;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #fff;
  transform: translateY(-3px);
  color: #034177;
}

.newsletter h4 {
  margin-bottom: 15px;
}

.newsletter form {
  display: flex;
}

.newsletter input {
  flex-grow: 1;
  padding: 10px;
  border: none;
  border-radius: 3px 0 0 3px;
  outline: none;
}

.newsletter button {
  background-color: #034177;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter button:hover {
  background-color: #034177;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  /* border-top: 1px solid #333; */
  position: relative;
}

.newsletter form {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 400px;
  /* margin: 0 auto; */
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.newsletter input[type="email"] {
  flex: 1;
  padding: 16px 15px;
  border: none;
  outline: none;
  font-size: 14px;
  margin-bottom: 7px;
  margin-top: 7px;

  /* border-radius: 25px 0 0 25px; */
}

.newsletter button {
  background: #034177;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  margin-right: 6px;

}

.newsletter button:hover {
  background: transparent;
  color: #034177;
  border: 2px solid #034177;
  font-weight: bold;
}

.back-to-top {
  display: none !important;
  position: fixed;
  right: 20px;
  bottom: 60px;
  background-color: #EEF0F6;
  color: #fff;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.back-to-top:hover {
  background-color: #EEF0F6;
  color: #034177;
}


/* Add animation for better UX */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}



/* /////////////////////////// footer  section ///////////////////////////////////////// */
/* /////////////////////////// All media quary ///////////////////////////////////////// */
@media only screen and (max-width: 1024px) {
  .footer-container {
    max-width: 900px !important;
  }
}

@media only screen and (max-width: 768px) {
  .footer-container {
    /* flex-direction: column; */
    max-width: 800px !important;
  }

  .footer-section {
    margin-bottom: 30px;
  }

  .back-to-top {
    right: 10px;
    bottom: 10px;
  }

  .A_justify_content_center {
    justify-content: center !important;
  }
}

@media only screen and (max-width: 425px) {

  .back-to-top {
    right: 10px;
    bottom: 50px;
  }

  .section-padding {
    max-width: 350px !important;
  }

  .sp_policy {
    padding: 80px auto !important;
    max-width: calc(100% - 80px) !important;
  }
}

@media only screen and (max-width: 375px) {

  .back-to-top {
    right: 10px;
    bottom: 80px;
  }

  .section-padding {
    max-width: 320px !important;
  }
}


.sp_policy {
  margin: 80px auto;
  max-width: calc(100% - 200px);
}