:root {
  --red: #ff3838;
  --blue: #1494a9;
  --black: #000000;
  --white: #ffffff;
  --green: #11b76b;
  --gray-1: #fafcff;
  --gray-2: #f5f5f5;
  --gray-3: #ececec;
  --purple: #b12fad;
  --orange: #e86121;
  --yellow: #ffb100;
  --indigo: #6610f2;
  --body: #f8f7f6;
  --line: #E6E6E6;
  --border: #E3E2E1;
  --primary: #FA5E01;
  --secondary: #0C1028;
  --text-black: #41403F;
  --text-slate: #ECECEC;
  --primary-slate: #FFF9F5;
  --facebook: #3b5998;
  --linkedin: #0e76a8;
  --twitter: #00acee;
  --google: #E60023;
  --instagram: #F77737;
  --whatsapp: #25D366;
  --pinterest: #f0002a;
  --youtube: #FF0000;
}

.max-w-1140 {
  max-width: 1140px;
}

.demo-header {
  text-align: center;
  padding-block: 40px;
}

.demo-card {
  margin-bottom: 40px;
}
.demo-card:hover .demo-overlay {
  opacity: 1;
  visibility: visible;
}
.demo-card:hover .demo-button {
  margin-top: 0px;
}

.demo-section .row {
  --bs-gutter-x: 2.5rem;
}

.demo-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-template-rows: auto;
  grid-gap: 40px;
}

.demo-figure {
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  margin-bottom: 16px;
  -webkit-box-shadow: 0px 8px 16px rgba(23, 31, 70, 0.08);
          box-shadow: 0px 8px 16px rgba(23, 31, 70, 0.08);
}

.demo-image {
  width: 100%;
}

.demo-overlay {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-transition: all linear 0.4s;
  transition: all linear 0.4s;
}

.demo-button {
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
  margin-top: -20px;
  padding: 10px 20px;
  border-radius: 30px;
  color: var(--white);
  background-color: var(--primary);
  -webkit-transition: all linear 0.4s;
  transition: all linear 0.4s;
}

.demo-title {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-transform: capitalize;
}

.demo-footer {
  text-align: center;
  padding-block: 20px;
  padding-inline: 10px;
  background-color: var(--black);
}
.demo-footer p {
  font-size: 14px;
  color: var(--white);
}