/* ================= FOOTER GLOBAL ================= */
.footer-wrapper{
  font-family:"Segoe UI", sans-serif;
  color:#fff;
}

/* ================= TOP GRADIENT BAR ================= */
.footer-top{
  background:linear-gradient(90deg,#b400ff,#3f6df6);
  border-radius:16px;
  margin:-16px auto 0;
  max-width:1200px;
  padding:22px 30px;
  position:relative;
  z-index:2;
}

.footer-top-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.footer-top-text h3{
  font-size:22px;
  margin-bottom:6px;
}

.footer-top-text p{
  margin:0;
  font-size:15px;
}

.contact-btn{
  background:#fff;
  color:#000;
  padding:12px 24px;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:8px;
}

/* ================= MAIN FOOTER ================= */
.footer-main{
  background:#3871fc;
  padding:57px 40px 40px;
}

.footer-columns{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:40px;
  max-width:1200px;
  margin:auto;
}

.footer-col{
  position:relative;
}

.footer-col h4{
  font-size:20px;
  margin-bottom:18px;
}

.footer-col p,
.footer-col li{
  font-size:16px;
  line-height:26px;
}

.footer-col ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-col li{
  margin-bottom:10px;
}

.footer-col i{
  margin-right:10px;
  color:#fff;
}

/* ================= DOTTED VERTICAL DIVIDER (DESKTOP) ================= */
.footer-col:nth-child(1)::after,
.footer-col:nth-child(2)::after{
  content:"";
  position:absolute;
  top:10px;
  right:-20px;
  width:1px;
  height:calc(100% - 20px);
  background-image:repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.6),
    rgba(255,255,255,0.6) 4px,
    transparent 4px,
    transparent 8px
  );
}

/* ================= HR LINE ================= */
.footer-line{
  border:none;
  height:1px;
  background-color:rgba(255,255,255,0.6);
  margin:0;
  padding:0;
}

/* ================= FOOTER BOTTOM ================= */
.footer-bottom{
  background:#3871fc;
  text-align:center;
  padding:14px;
  font-size:14px;
}

/* ================= SCROLL TO TOP ================= */
#scrollTopBtn{
  position:fixed;
  right:25px;
  bottom:30px;
  width:48px;
  height:48px;
  background:#0d6efd;
  color:#fff;
  border-radius:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transition:0.3s ease;
  z-index:9999;
}

#scrollTopBtn.show{
  opacity:1;
  visibility:visible;
}

#scrollTopBtn:hover{
  background:#084298;
}

/* ================================================= */
/* ================= RESPONSIVE ==================== */
/* ================================================= */
/* ================= MOBILE FOOTER STACK VIEW ================= */
@media (max-width: 768px){

  /* main footer padding */
  .footer-main{
    padding: 35px 20px 25px;
  }
   .footer-top{
    display: none;
  }

  /* columns -> single stack */
  .footer-columns{
    display: block;
  }

  /* each section spacing */
  .footer-col{
    margin-bottom: 28px;
    padding: 0;
    text-align: left;
  }

  /* headings */
  .footer-col h4{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px;
  }

  /* paragraph text */
  .footer-col p{
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 10px;
    display: block;
    text-align: left;
  }

  /* services list */
  .footer-col ul{
    padding-left: 0;
    margin-top: 10px;
  }

  .footer-col li{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 10px;
  }

  /* icons alignment */
  .footer-col i{
    margin-top: 4px;
    min-width: 18px;
  }

  /* remove dotted dividers */
  .footer-col::after{
    display: none !important;
  }

  /* hr line spacing */
  .footer-line{
    margin: 20px 0;
  }

  /* footer bottom */
  .footer-bottom{
    text-align: center;
    font-size: 13px;
    line-height: 20px;
    padding: 12px 10px;
  }

}
