body {
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.section-title {
  font-weight: bold;
  margin-bottom: 2rem;
}
.hero {
  position: relative;
  height: 100vh;
  background: url("hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(250, 249, 249, 0.6),
    rgba(243, 243, 243, 0.7)
  );
  z-index: 1;
}

.hero .container {
  z-index: 2;
}

.hero h1,
.hero p {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.stat-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
}

buttons.btn {
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.btns-primary {
  background-color: #2e3192;
  border-color: #2e3192;
  color: white;
}

.btns-primary:hover {
  background-color: #1d226b;
  border-color: #1d226b;
}
.navbar {
  background-color: rgba(156, 4, 4, 0.781) !important;
  transition: background-color 0.3s ease;
}

.navbar .nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar .nav-link:hover {
  color: #ffc107 !important;
}

#tentang h2 {
  font-weight: 700;
}

#tentang .shadow-sm {
  transition: transform 0.3s ease;
}

#tentang .shadow-sm:hover {
  transform: translateY(-5px);
}

#berita .card {
  transition: transform 0.3s ease;
}

#berita .card:hover {
  transform: scale(1.02);
}

#kegiatan .card img {
  transition: transform 0.3s ease;
}

#kegiatan .card img:hover {
  transform: scale(1.03);
}

footer {
  background-color: rgba(179, 1, 1, 0.781);
  color: #f8f9fa; /* Warna teks terang */
  text-align: center;
  padding: 40px 0;
  margin-top: auto; /* Agar dorong ke bawah otomatis */
}

footer ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

footer a {
  color: #f8f9fa;
  text-decoration: none;
}

section:last-of-type {
  padding-bottom: 100px; /* ruang antara section dan footer */
}
footer a:hover {
  color: #ffc107 !important;
  text-decoration: underline;
}

footer ul li {
  margin-bottom: 8px;
}

.band {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;

  display: grid;

  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-gap: 20px;

  @media (min-width: 30em) {
    grid-template-columns: 1fr 1fr;
  }

  @media (min-width: 60em) {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: white;
  text-decoration: none;
  color: #444;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  top: 0;
  transition: all 0.1s ease-in;

  &:hover {
    top: -2px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
  }

  article {
    padding: 20px;
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  h1 {
    font-size: 20px;
    margin: 0;
    color: #333;
  }

  p {
    flex: 1;
    line-height: 1.4;
  }

  span {
    font-size: 12px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 2em 0 0 0;
  }

  .thumb {
    padding-bottom: 60%;
    background-size: cover;
    background-position: center center;
  }
}

.item-1 {
  @media (min-width: 60em) {
    grid-column: 1 / span 2;

    h1 {
      font-size: 24px;
    }
  }
}

.heading-title {
  margin-bottom: 100px;
}
.text-center {
  text-align: center;
}
.heading-title h3 {
  margin-bottom: 0;
  letter-spacing: 2px;
  font-weight: normal;
}
.p-top-30 {
  padding-top: 30px;
}
.half-txt {
  width: 60%;
  margin: 0 auto;
  display: inline-block;
  line-height: 25px;
  color: #7e7e7e;
}
.text-uppercase {
  text-transform: uppercase;
}

.team-member,
.team-member .team-img {
  position: relative;
}
.team-member {
  overflow: hidden;
}
.team-member,
.team-member .team-img {
  position: relative;
}

.team-hover {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: 0;
  border: 20px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.team-member:hover .team-hover .desk {
  top: 35%;
}
.team-member:hover .team-hover,
.team-member:hover .team-hover .desk,
.team-member:hover .team-hover .s-link {
  opacity: 1;
}
.team-hover .desk {
  position: absolute;
  top: 0%;
  width: 100%;
  opacity: 0;
  -webkit-transform: translateY(-55%);
  -ms-transform: translateY(-55%);
  transform: translateY(-55%);
  -webkit-transition: all 0.3s 0.2s;
  transition: all 0.3s 0.2s;
  padding: 0 20px;
}
.desk,
.desk h4,
.team-hover .s-link a {
  text-align: center;
  color: #222;
}
.team-member:hover .team-hover .s-link {
  bottom: 10%;
}
.team-member:hover .team-hover,
.team-member:hover .team-hover .desk,
.team-member:hover .team-hover .s-link {
  opacity: 1;
}
.team-hover .s-link {
  position: absolute;
  bottom: 0;
  width: 100%;
  opacity: 0;
  text-align: center;
  -webkit-transform: translateY(45%);
  -ms-transform: translateY(45%);
  transform: translateY(45%);
  -webkit-transition: all 0.3s 0.2s;
  transition: all 0.3s 0.2s;
  font-size: 35px;
}
.desk,
.desk h4,
.team-hover .s-link a {
  text-align: center;
  color: #222;
}
.team-member .s-link a {
  margin: 0 10px;
  color: #333;
  font-size: 16px;
}
.team-title {
  position: static;
  padding: 20px 0;
  display: inline-block;
  letter-spacing: 2px;
  width: 100%;
}
.team-title h5 {
  margin-bottom: 0px;
  display: block;
  text-transform: uppercase;
}
.team-title span {
  font-size: 12px;
  text-transform: uppercase;
  color: #a5a5a5;
  letter-spacing: 1px;
}

.bg-offset-heros::after {
  position: absolute;
  content: "";
  width: 73%;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: -1;
  background-color: #cc3c3c;
}

.quote_ {
  opacity: 0.1;
}

@media (max-width: 767.98px) {
  .bg-offset-heros::after {
    width: 98%;
  }
}

.banner-wrapper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
  flex-wrap: nowrap;
  flex-shrink: 0;
  justify-content: center;
  .banner-container {
    align-items: center;
    flex-grow: 1;
    flex-direction: column;
    flex-shrink: 1;
    display: flex;
    max-width: 1127px;
    position: relative;
    flex-basis: 0px;
    justify-content: center;
    .banner-img-wrapper {
      border-radius: 8px;
      overflow-y: hidden;
      overflow-x: hidden;
      position: relative;
      width: 100%;
      .banner-padding {
        padding-top: 21.296%;
        @media only screen and (max-width: 768px) {
          padding-top: 25.296%;
        }
        overflow-y: hidden;
        overflow-x: hidden;
        position: relative;
        width: 100%;
        background-color: #ccc;
        .banner-abs {
          padding-left: 0;
          flex-grow: 1;
          flex-direction: column;
          margin-right: 0;
          z-index: 0;
          flex-shrink: 1;
          align-items: stretch;
          margin-left: 0;
          min-width: 0;
          bottom: 0;
          justify-content: space-between;
          display: flex;
          left: 0;
          padding-top: 0;
          top: 0;
          right: 0;
          margin-bottom: 0;
          position: absolute;
          padding-bottom: 0;
          min-height: 0;
          .banner-abs-main {
            left: 50%;
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
            padding-top: 25%;
            @media only screen and (max-width: 768px) {
              padding-top: 25%;
            }
            width: 100%;
            height: 0;
            overflow-y: hidden;
            overflow-x: hidden;
            .banner-inner-wrapper {
              position: absolute;
              padding-left: 0;
              right: 0;
              top: 0;
              left: 0;
              bottom: 0;
              flex-grow: 1;
              flex-direction: column;
              margin-right: 0;
              flex-shrink: 1;
              align-items: stretch;
              justify-content: space-between;
              display: flex;
            }
            .CoverPhoto {
              position: absolute;
              right: 0;
              top: 0;
              left: 0;
              bottom: 0;
              width: 100%;
            }
          }
        }
      }
    }
  }
}

.employees,
.customer,
.design,
.order {
  margin-top: 2px;
  margin-bottom: 10px;
}
.counter-count {
  font-size: 18px;
  background-color: #f13030;
  border-radius: 50%;
  position: relative;
  color: #ffffff;
  text-align: center;
  line-height: 92px;
  width: 92px;
  height: 92px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  display: inline-block;
}

.employee-p,
.customer-p,
.order-p,
.design-p {
  font-size: 20px;
  color: #000000;
  line-height: 20px;
}

/* pdf */

#Iframe-Master-CC-and-Rs {
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}

/* inner wrapper: make responsive */
.responsive-wrapper {
  position: relative;
  height: 0;
}

.responsive-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
}

/* padding-bottom = h/w as % -- sets aspect ratio */
/* YouTube video aspect ratio */
.responsive-wrapper-wxh-572x612 {
  padding-bottom: 107%;
}

/* general styles */
/* ============== */
.set-border {
  border: 5px inset #ddd;
}
.set-box-shadow {
  -webkit-box-shadow: 4px 4px 14px #4f4f4f;
  -moz-box-shadow: 4px 4px 14px #4f4f4f;
  box-shadow: 4px 4px 14px #4f4f4f;
}
.set-padding {
  padding: 10px;
}
.set-margin {
  margin: 30px;
}
.center-block-horiz {
  margin-left: auto !important;
  margin-right: auto !important;
}

.custom-file-upload {
  display: inline-block;
  padding: 8px 12px;
  cursor: pointer;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#fotoUpload {
  display: none;
}

#filename {
  margin-left: 10px;
  font-style: italic;
  color: #555;
}
