/* footer section starts from here  */
.footer-section {
  position: relative;
  background: linear-gradient(135deg, #1d428b 0%, #16356f 100%);
  color: #fff;
  padding: 30px 0 25px;
  overflow: hidden;
}

/* Decorative Shapes */
.footer-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(232, 187, 10, 0.08);
}

.footer-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

/* footer- about section  */
.footer-about {
  position: relative;
  z-index: 2;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  transition: 0.35s;
}

.footer-logo:hover img {
  transform: rotate(5deg) scale(1.05);
}

.footer-about h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
  line-height: 1.4;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  margin-bottom: 28px;
  font-size: 15px;
}

/* footer heading  */
.footer-heading {
  position: relative;
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55px;
  height: 3px;
  border-radius: 30px;
  background: var(--secondary);
}

/* Quick LInks  */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 15px;
  transition: 0.35s;
  display: inline-flex;
  align-items: center;
}

.footer-links a::before {
  content: "›";
  color: var(--secondary);
  margin-right: 10px;
  transition: 0.35s;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(6px);
}

/* contact  */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-contact li:last-child {
  margin-bottom: 0;
}

.footer-contact i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  font-size: 15px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: 0.3s;
}

.footer-contact a:hover {
  color: var(--secondary);
}

/* social icons  */
.footer-social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-decoration: none;
  transition: 0.35s;
  font-size: 18px;
}

.footer-social a:hover {
  transform: translateY(-6px);
}

.footer-social a:nth-child(1):hover {
  background: #1877f2;
}

.footer-social a:nth-child(2):hover {
  background: #e1306c;
}

.footer-social a:nth-child(3):hover {
  background: #ff0000;
}

.footer-social a:nth-child(4):hover {
  background: #0077b5;
}

/* responsiveness  */
@media (max-width: 991px) {
  .footer-section {
    padding: 70px 0 25px;
    text-align: center;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-contact li {
    justify-content: center;
    text-align: left;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-logo img {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 576px) {
  .footer-section {
    padding: 60px 0 20px;
  }

  .footer-about h4 {
    font-size: 20px;
  }

  .footer-heading {
    font-size: 18px;
  }

  .footer-about p,
  .footer-links a,
  .footer-contact span,
  .footer-contact a {
    font-size: 14px;
  }

  .footer-contact i {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}

/* footer bottom section  */
.footer-bottom {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

.footer-bottom strong {
  color: #fff;
  font-weight: 600;
}

.footer-bottom a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.footer-bottom a:hover {
  color: #fff;
}

/* floating button  */
.floating-buttons {
  position: fixed;
  right: 22px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

/* Common */
.call-btn,
.whatsapp-btn,
.back-top {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.35s;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  position: relative;
}

/* call  */
.call-btn {
  background: #1d428b;
}

.call-btn:hover {
  background: #16356f;
  transform: translateY(-5px);
}

.call-btn::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(29, 66, 139, 0.4);
  animation: callPulse 2s infinite;
}

@keyframes callPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* whatsapp  */
.whatsapp-btn {
  background: #25d366;
}

.whatsapp-btn:hover {
  background: #20b857;
  transform: translateY(-5px);
}

.whatsapp-btn::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: whatsPulse 2s infinite;
}

@keyframes whatsPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* back-to-top  */
.back-top {
  background: #d62828;
  opacity: 0;
  visibility: hidden;
  transform: translateY(25px);
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: #bb1d1d;
  transform: translateY(-5px);
}

/* icons  */
.call-btn i,
.whatsapp-btn i,
.back-top i {
  font-size: 20px;
}

/* tooltip  */
.call-btn span,
.whatsapp-btn span,
.back-top span {
  position: absolute;
  right: 70px;
  background: #111;
  color: #fff;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  white-space: nowrap;
}

.call-btn:hover span,
.whatsapp-btn:hover span,
.back-top:hover span {
  opacity: 1;
}

/* mobile responsiveness  */
@media (max-width: 768px) {
  .floating-buttons {
    right: 15px;
    bottom: 18px;
    gap: 12px;
  }

  .call-btn,
  .whatsapp-btn,
  .back-top {
    width: 52px;
    height: 52px;
  }

  .call-btn i,
  .whatsapp-btn i,
  .back-top i {
    font-size: 18px;
  }

  .call-btn span,
  .whatsapp-btn span,
  .back-top span {
    display: none;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .text-lg-end {
    margin-top: 10px;
    text-align: center !important;
  }
}