/* =======================
   Template Name: Linkify - Digital Gateway HTML5 Buttons
   Description: Linkify - Digital Gateway HTML5 Buttons
   Version: 1.0.0
   Author: CreationByUsman
   Author URL: https://codecanyon.net/user/creationbyusman
======================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Be Vietnam Pro", sans-serif;
}

.hero-banner {
  position: relative;
  padding: 220px 45px;
  background-color: #2b2d42;
  background-size: cover;
  background-position: center;
  text-align: center;
  background: linear-gradient(125deg, #ffffff 0%, #000000 100%),
    linear-gradient(
      200deg,
      #ffd9e8 0%,
      #ffd9e8 50%,
      #de95ba calc(50% + 1px),
      #de95ba 60%,
      #7f4a88 calc(60% + 1px),
      #7f4a88 75%,
      #4a266a calc(75% + 1px),
      #4a266a 100%
    ),
    linear-gradient(
      113deg,
      #ffd9e8 0%,
      #ffd9e8 40%,
      #de95ba calc(40% + 1px),
      #de95ba 50%,
      #7f4a88 calc(50% + 1px),
      #7f4a88 70%,
      #4a266a calc(70% + 1px),
      #4a266a 100%
    );
  background-blend-mode: overlay, overlay, normal;
  background-blend-mode: overlay, overlay, normal;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-banner .hero-content {
  position: relative;
  max-width: 920px;
  text-align: center;
  z-index: 1;
}

.hero-banner h1 {
  margin-bottom: 20px;
  color: #0d004d;
  font-size: 60px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: capitalize;
}

.hero-banner p {
  width: 76%;
  margin: 0 auto;
  color: #0d004d;
  font-size: 16px;
  letter-spacing: 1px;
}

.hero-banner a.explore-link {
  display: inline-block;
  position: relative;
  margin-top: 40px;
  padding: 16px 40px;
  min-width: 95px;
  background-color: #0d004d;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
  text-decoration: none;
  text-align: center;
  border: 2px solid #0d004d;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  -webkit-transition: 0.2s all ease-in-out;
  transition: 0.2s all ease-in-out;
}

.hero-banner a:hover {
  color: #0d004d;
  background-color: #ffffff;
}

section {
  width: 100%;
  padding: 40px;
  padding: 80px 20px 100px;
}

.title {
  position: relative;
  font-size: 42px;
  line-height: normal;
  color: #000000;
  padding-bottom: 20px;
  margin-bottom: 45px;
  text-align: center;
  font-weight: 600;
}

.title:before {
  content: "";
  position: absolute;
  bottom: 0;
  height: 3px;
  width: 40px;
  left: 50%;
  background-color: #000000;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.container {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
}

section .container .row {
  width: 100%;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: 300px;
  gap: 40px;
}

section .container .row .col {
  border: 1px solid rgb(0 0 0 / 18%);
  background-color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  margin-bottom: 40px;
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.1));
}

.copy-to-clipboard {
  position: absolute;
  bottom: 0px;
  right: 0;
  font-size: 13px;
  font-family: inherit;
  padding: 6px 13px;
  background-color: #2b2d42;
  color: #ffffff;
  border-radius: 5px 0 5px 0;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.copy-to-clipboard:hover {
  background-color: #202231;
}

.ribbon {
  position: absolute;
  left: -5px;
  top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px;
  height: 75px;
  text-align: right;
}

.ribbon span {
  font-size: 11px;
  font-weight: 400;
  color: #fff;
  text-transform: capitalize;
  text-align: center;
  line-height: 20px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  width: 100px;
  display: block;
  background: #77a618;
  background: linear-gradient(
    90deg,
    #4c5e07 0%,
    #77a618 11%,
    #659712 17%,
    #437205 30%,
    #659612 70%,
    #4c5d07 100%
  );
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 19px;
  left: -21px;
}

.ribbon span::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid #437205;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #437205;
}

.ribbon span::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #437205;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #437205;
}

#rolldownBtns .ribbon span {
  background: #0a6dba;
  background: linear-gradient(
    90deg,
    #238bbe 0%,
    #2fafde 11%,
    #248fc3 17%,
    #0a6dba 30%,
    #238ec2 70%,
    #034e8d 100%
  );
}

#rolldownBtns .ribbon span::before {
  border-left: 3px solid #0a6dba;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #0a6dba;
}

#rolldownBtns .ribbon span::after {
  border-left: 3px solid transparent;
  border-right: 3px solid #0a6dba;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #0a6dba;
}

#borderBtns .ribbon span {
  background: #b10000;
  background: linear-gradient(
    90deg,
    #b10000 0%,
    #f3440c 11%,
    #e52c0c 17%,
    #b10000 30%,
    #e52c0c 70%,
    #b10000 100%
  );
}

#borderBtns .ribbon span::before {
  border-left: 3px solid #b10000;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #b10000;
}

#borderBtns .ribbon span::after {
  border-left: 3px solid transparent;
  border-right: 3px solid #b10000;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #b10000;
}

#solidBtns .ribbon span {
  background: #b18500;
  background: linear-gradient(
    90deg,
    #b8860b 0%,
    #e69901 11%,
    #d89e0d 17%,
    #b8860b 30%,
    #d89e0d 70%,
    #b8860b 100%
  );
}

#solidBtns .ribbon span::before {
  border-left: 3px solid #b18500;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #b18500;
}

#solidBtns .ribbon span::after {
  border-left: 3px solid transparent;
  border-right: 3px solid #b18500;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #b18500;
}

#scrollToTopBtn {
  display: none;
  align-items: center;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #0d004d;
  border: 2px solid #0d004d;
  color: #ffffff;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  gap: 5px;
  transition: all 0.2s;
}

#scrollToTopBtn:hover {
  background-color: #ffffff;
  border: 2px solid #0d004d;
}

#scrollToTopBtn:hover svg {
  fill: #0d004d;
}

footer {
  width: 100%;
  padding: 50px 20px;
  color: #ffffff;
  background-color: #202231;
  text-align: center;
}

footer p {
  font-size: 18px;
  font-weight: 400;
}

footer p a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

footer p a:hover {
  text-decoration: underline;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  z-index: 9998;
}

.custom-alert {
  width: auto;
  max-width: 650px;
  background: #ffffff;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 31px -3px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  z-index: 9999;
}

.content {
  padding: 50px 73px 35px;
}

.custom-alert h2 {
  margin-bottom: 24px;
  font-size: 25px;
  color: #0d004d;
}

.custom-alert p {
  margin-bottom: 10px;
  line-height: 1.5;
  color: #495057;
}

.custom-alert button,
.custom-alert a {
  padding: 13px 28px;
  font-family: inherit;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  outline: none;
  text-decoration: none;
  background: transparent;
}

.custom-alert a {
  background-color: #0d004d;
  color: #ffffff;
  transition: all 0.3s;
}
.custom-alert a:hover {
  background-color: #14007a;
}

.buttons-wrap {
  gap: 10px;
  display: flex;
  background-color: #eff0f5;
  width: 100%;
  padding: 20px 30px;
  justify-content: flex-end;
}
