@import url("https://fonts.googleapis.com/css2?family=Vampiro+One&display=swap");

body {
  background: linear-gradient(#040071 0%, #015eff 40%, #040071 100%);
  font-family: "Poppins", sans-serif;
}

.bg-light {
  background: #00000000 !important;
  /* backdrop-filter: blur(3px);
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.589); */
  transition: all 0.5s;
}

.bg-light.scrolled {
  background: #ffffff !important;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.589);
  transition: all 0.5s;
}

.logo {
  margin: 0 auto;
}

.logo img {
  width: 350px;
}

.nav a {
  color: #ffffff;
}

.nav a:hover {
  color: rgb(192, 191, 191);
}

.nav.scrolled a {
  color: rgb(0, 0, 0)
}

.nav.scrolled a:hover {
  color: rgb(91, 91, 91)
}

.buttonToggle {
  display: none;
}

.initial {
  font-family: "Agbalumo";
  font-size: 30px;
  margin: -10px;
}

.all-body-cover {
  margin-top: 200px;
}

.opening {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.nama {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
}

.pict-list {
  width: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

.core-card {
  margin: 0 auto;
}

.core-card img {
  width: 220px;
  border-radius: 50%;
  border-style: solid;
}

.name-card {
  margin: 0 auto;
}

.name-card img {
  width: 120px;
  border-radius: 50%;
  border-style: solid;
}

.dev-card {
  margin: 0 auto;
}

.dev-card img {
  width: 250px;
  border-radius: 50%;
  border-style: solid;
}

#videoDivisi {
  width: 290px;
  border-radius: 10%;
}

#vid1 {
  width: 1000px;
}

.waves {
  margin-top: -100px;
  margin-bottom: 70px;
}

.firstContainer {
  background: linear-gradient(#ffffff 0%,
      #ffffff 50%,
      #ffffffde 70%,
      #ffffffb6 75%,
      #ffffff7e 80%,
      #ffffff49 85%,
      #ffffff1f 90%,
      #ffffff00 100%);
  margin-top: -80px;
  margin-bottom: 50px;
}

.content {
  padding-bottom: 400px;
}

.lastContent {
  padding-bottom: 50px;
}

.nameHeading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.subNameHeading {
  display: none;
}

.content .row {
  padding-bottom: 40px;
}

.education {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.itemEdu {
  padding: 10px;
}

.startEnd {
  margin-bottom: -1px;
}

.achive {
  margin-top: -200px;
  margin-bottom: 30px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wavesss {
  margin-bottom: -30px; /* Stronger negative margin to overlap */
  display: block; 
}

.thirdContainer {
  background-color: #fff;
  margin-top: 20px;
}

.projects {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
}

.article-container-firstRow {
  width: 1100px;
  height: 250px;
  overflow: hidden;
  position: relative;
  font-family: "Sofia Sans Semi Condensed", sans-serif;
  text-align: center;
  box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.589);
  border-radius: 10px;
}

.article-container-secondRow {
  width: 340px;
  height: 200px;
  overflow: hidden;
  position: relative;
  font-family: "Sofia Sans Semi Condensed", sans-serif;
  text-align: center;
}

.article-container-thirdRow {
  width: 530px;
  height: 200px;
  overflow: hidden;
  position: relative;
  font-family: "Sofia Sans Semi Condensed", sans-serif;
  text-align: center;
}

.categoryy .container .col {
  margin-bottom: 20px;
}

.article-img-holder-firstRow {
  width: 100%;
  height: 100%;
  background: url("../UAS/thumb.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 0.7s;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 40px;
}

.article-img-holder-secondRow {
  width: 100%;
  height: 100%;
  transition: all 0.7s;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 35px;
}

.article-img-holder-thirdRow {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 0.7s;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 40px;
}

.article-img-holder-firstRow:hover {
  transform: scale(1.2);
  filter: saturate(0%);
}

.article-img-holder-secondRow:hover {
  transform: scale(1.2);
  filter: saturate(0%);
}

.article-img-holder-thirdRow:hover {
  transform: scale(1.2);
  filter: saturate(0%);
}

.article-img2-holder-firstRow {
  width: 100%;
  height: 100%;
  background: url("../UTS/thumb.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 0.7s;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 40px;
}

.article-img2-holder-secondRow {
  width: 100%;
  height: 100%;
  transition: all 0.7s;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 35px;
}

.article-img2-holder-thirdRow {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 0.7s;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 40px;
}

.article-img2-holder-firstRow:hover {
  transform: scale(1.2);
  filter: saturate(0%);
}

.article-img2-holder-secondRow:hover {
  transform: scale(1.2);
  filter: saturate(0%);
}

.article-img2-holder-thirdRow:hover {
  transform: scale(1.2);
  filter: saturate(0%);
}

.fourthContainer {
  margin-top: 200px;
}

.fivethContainer {
  margin-top: -150px;
  background-color: #fff;
}

.linkSosmed {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.itemSosmed {
  padding: 10px;
  color: black;
  text-decoration: none;
}

.contactMe {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -90px;
}

/* Organization Chart Tree Container */
.org-tree-container {
  position: relative;
  width: 100%;
  padding: 20px 0;
  overflow: hidden;
  margin-bottom: 50px;
}

/* Organizational Chart Tree Layout */
.org-tree {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: auto;
  padding: 20px 20px 40px;
  position: relative;
  z-index: 5;
}

.org-tree ul {
  padding-top: 20px;
  position: relative;
  transition: all 0.5s;
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin-bottom: 0;
}

.org-tree li {
  float: left;
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 25px 8px 0 8px;
  transition: all 0.5s;
}

.org-tree li::before,
.org-tree li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 3px solid #015eff;
  width: 50%;
  height: 25px;
}

.org-tree li::after {
  right: auto;
  left: 50%;
  border-left: 3px solid #015eff;
}

.org-tree li:only-child::after,
.org-tree li:only-child::before {
  display: none;
}

.org-tree li:only-child {
  padding-top: 0;
}

.org-tree li:first-child::before,
.org-tree li:last-child::after {
  border: 0 none;
}

.org-tree li:last-child::before {
  border-right: 3px solid #015eff;
  border-radius: 0 5px 0 0;
}

.org-tree li:first-child::after {
  border-radius: 5px 0 0 0;
}

.org-tree ul ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 3px solid #015eff;
  width: 0;
  height: 20px;
  transform: translateX(-50%);
}

.org-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: inline-block;
  min-width: 160px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  z-index: 2;
}

.org-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(1, 94, 255, 0.3);
  background: rgba(255, 255, 255, 0.75);
}

.org-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #015eff;
  margin: 10px 0 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}

.org-card:hover img {
  transform: scale(1.05);
}

.org-title {
  font-size: 13px;
  font-weight: 700;
  color: black;
  text-transform: uppercase;
  margin-bottom: 0;
  letter-spacing: 0.5px;
}

.org-name {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 0;
}

.org-tree::-webkit-scrollbar {
  height: 8px;
}

.org-tree::-webkit-scrollbar-track {
  background: rgba(1, 94, 255, 0.1);
  border-radius: 4px;
}

.org-tree::-webkit-scrollbar-thumb {
  background: rgba(1, 94, 255, 0.5);
  border-radius: 4px;
}

.org-tree::-webkit-scrollbar-thumb:hover {
  background: rgba(1, 94, 255, 0.8);
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
  .org-tree {
    justify-content: flex-start;
    padding: 10px;
  }

  .org-card {
    min-width: 110px;
    padding: 12px;
  }

  .org-card img {
    width: 60px;
    height: 60px;
    margin: 8px 0;
    border-width: 3px;
  }

  .org-title {
    font-size: 10px;
  }

  .org-name {
    font-size: 14px;
  }

  .org-tree li {
    padding: 20px 4px 0 4px;
  }

  .blob-1 {
    width: 200px;
    height: 200px;
    left: -20px;
  }

  .blob-2 {
    width: 180px;
    height: 180px;
    right: -20px;
  }
}

/* Custom Modal Redesign */
.custom-modal-content {
  background: rgba(4, 0, 113, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.custom-modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  justify-content: center;
  position: relative;
}

.custom-modal-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.custom-btn-close {
  position: absolute;
  right: 20px;
  background-color: white;
  opacity: 0.8;
  border-radius: 50%;
  padding: 8px;
}
.custom-btn-close:hover {
  opacity: 1;
}

.divisi-members-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
}

.divisi-member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 15px;
  width: 140px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.divisi-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(1, 94, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
}

.divisi-member-card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #015eff;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.divisi-member-name {
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-align: center;
  margin-bottom: 0px;
}

.custom-modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  justify-content: center;
}

.custom-modal-footer .btn {
  background: rgba(4, 0, 113, 0.9);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 6px 20px;
  transition: all 0.3s ease;
}

.custom-modal-footer .btn:hover {
  background: #015eff;
  box-shadow: 0 5px 15px rgba(1, 94, 255, 0.5);
  color: white;
}

/* Mobile Responsiveness for Modal Team Members */
@media screen and (max-width: 576px) {
  .divisi-member-card {
    width: calc(50% - 15px);
    padding: 10px;
  }
  .divisi-member-card img {
    width: 70px;
    height: 70px;
  }
  .divisi-member-name {
    font-size: 13px;
  }
}

/* Custom Gif Video Cards */
.custom-cards-section {
  padding-bottom: 50px;
}

.custom-container-cards {
  padding: 0 15px;
}

.custom-row-cards {
  justify-content: center;
  align-items: stretch;
}

.custom-col-card {
  margin-bottom: 30px;
  display: flex;
}

.custom-video-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  color: #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  overflow: hidden;
}

.custom-video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.75);
}

.custom-card-header {
  padding: 15px;
  text-align: center;
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.3);
  color: #040071;
}

.custom-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.custom-video-element {
  width: 100%;
  max-width: 200px;
  border-radius: 15px;
  border: 3px solid rgba(1, 94, 255, 0.6);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.custom-video-card:hover .custom-video-element {
  transform: scale(1.05);
  border-color: #015eff;
}

.custom-card-text {
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
  color: #222;
  flex-grow: 1;
}

  @media screen and (max-width: 768px) {
  .custom-col-card {
    margin-bottom: 20px;
  }
}

/* Custom Project Showcase Cards (UAS / UTS) */
.thirdContainer {
  background-color: #fff;
  margin-top: 20px;
  padding-bottom: 60px;
}

.custom-projects-container {
  padding-top: 20px;
}

.layout-projects {
  gap: 30px;
}

.custom-project-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.custom-project-card {
  width: 100%;
  max-width: 600px;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-project-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(1, 94, 255, 0.6);
}

.custom-project-img {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 40px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.7s ease;
}

/* Specific styling reusing their background images */
.article-img-holder-firstRow.custom-project-img {
  background: url("../UAS/thumb.jpg") center/cover no-repeat;
}

.article-img2-holder-firstRow.custom-project-img {
  background: url("../UTS/thumb.jpg") center/cover no-repeat;
}

/* Hover effects for project images */
.custom-project-card:hover .custom-project-img {
  transform: scale(1.15);
  filter: saturate(1.2) brightness(0.8);
}

.custom-project-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.5s ease;
  z-index: -1;
}

.custom-project-card:hover .custom-project-img::after {
  background: rgba(4, 0, 113, 0.5);
}

/* Custom About Section */
.custom-about-container {
  padding: 20px 15px;
}

.custom-about-row {
  max-width: 1100px;
  margin: 0 auto;
}

.custom-about-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.custom-about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.custom-about-header {
  background: rgba(4, 0, 113, 0.85); /* Dark blue from main theme */
  color: white;
  padding: 15px 25px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-about-body {
  padding: 25px;
  flex-grow: 1;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
}

.custom-about-body p {
  margin-bottom: 0.5rem;
}

.custom-about-body p:last-child {
  margin-bottom: 0;
}

.custom-scroll-body {
  max-height: 300px;
  overflow-y: auto;
}

/* Scrollbar for custom scroll body */
.custom-scroll-body::-webkit-scrollbar {
  width: 6px;
}
.custom-scroll-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}
.custom-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(4, 0, 113, 0.4);
  border-radius: 10px;
}
.custom-scroll-body::-webkit-scrollbar-thumb:hover {
  background: rgba(4, 0, 113, 0.6);
}

.custom-about-card-featured {
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(1, 94, 255, 0.4);
}

.custom-about-card-featured:hover {
  box-shadow: 0 15px 40px rgba(1, 94, 255, 0.2);
  border-color: rgba(1, 94, 255, 0.6);
}

.custom-btn-primary {
  background: rgba(4, 0, 113, 0.9);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(4, 0, 113, 0.4);
}

.custom-btn-primary:hover {
  background: #015eff;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(1, 94, 255, 0.5);
}

/* Custom Finance Section */
.custom-finance-section {
  padding-top: 50px;
}

.custom-finance-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.custom-finance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.summary-card {
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.income-card {
  border-bottom: 4px solid #198754;
}

.expense-card {
  border-bottom: 4px solid #dc3545;
}

.balance-card {
  border-bottom: 4px solid #015eff;
}

.finance-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.finance-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
}

.finance-amount {
  font-size: 1.8rem;
  font-weight: 700;
}

.detail-card {
  display: flex;
  flex-direction: column;
}

.finance-detail-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.finance-detail-header h5 {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.finance-detail-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.finance-custom-scroll {
  max-height: 250px;
  overflow-y: auto;
  padding-right: 10px;
}

.finance-custom-scroll::-webkit-scrollbar {
  width: 5px;
}
.finance-custom-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}
.finance-custom-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}
.finance-custom-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.finance-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.finance-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.finance-list li:last-child {
  border-bottom: none;
}

.finance-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 15px 0;
}