/* Custom Navbar */
a {
  text-decoration: none;
}
.aos-init {
    opacity: 0; /* Hidden before the scroll triggers */
}
.custom-navbar {
  background-color: white;
  padding: 10px;
  position: -webkit-sticky; /* Untuk dukungan Safari */
  position: sticky;
  top: 0;
  z-index: 1030; /* Agar navbar berada di atas elemen lain */
}

.navbar-brand .logo-img {
  height: 70px;
  width: auto;
}

.navbar-nav .nav-link {
  font-size: 1rem;
  margin: 0 15px;
  color: #000;
  transition: color 0.3s ease;
  padding: 10px; /* Padding di sekitar link navbar */
}

.navbar-nav .nav-link:hover {
  color: #042e6d;
}

.social-icons a {
  font-size: 1.2rem;
  color: #000;
  margin-left: 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #042e6d;
}

.navbar-toggler {
  border-color: transparent;
}

/* Dropdown Styles */
.dropdown-menu {
  width: 400px; /* Atur lebar dropdown */
  cursor: pointer;
}

.dropdown-item {
  display: flex;
  align-items: center;
}

.dropdown-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

.dropdown-item div {
  white-space: normal;
  word-wrap: break-word;
  flex: 1;
}

.dropdown-item strong {
  font-size: 1rem;
}

.dropdown-item div p {
  font-size: 0.875rem;
  margin: 0;
  color: #666; /* Warna teks sekunder */
}

/* Section Header */
.header-section {
  position: relative;
  height: 110vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.parallax-bg {
  background: url("img/bgpoara.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  /* pointer-events: none; */
}

.header-content {
  text-align: center;
}

.candidate-img {
  width: 85%;
  height: 100%;
  object-fit: contain;
  margin-top: 70px;
  margin-bottom: -110px;
}

/* Typography */
h1.title {
  font-size: 7.7rem;
  letter-spacing: 6.5px;
  font-family: "Anton", sans-serif;
  color: #043277;
  margin-bottom: 5px;
}

h1.candidate-name {
  font-size: 1.8rem;
  color: #043277;
}

h2.position {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #043277;
}

.slogan {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 2px;
  color: #161616;
}

.tagline {
  font-size: 2.6em;
  min-height: 70px;
}

/* Color Classes */
.c1 {
  color: #043277 !important;
}

.c2 {
  color: #dc4503 !important;
}

.c3 {
  color: #05744a !important;
}

.bg-primary {
  background-color: #043277 !important;
}
.bg-sc {
  background-color: #05744a !important;
}

/* Scroll Down Button */
.scroll-down {
  width: 50px;
  height: 50px;
  background-color: #dc4503;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin: 0 auto;
  animation: bounce 2s infinite;
  z-index: 3;
  color: white;
  position: relative;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(10px);
  }
  60% {
    transform: translateY(5px);
  }
}

.hero-section {
  padding: 5px 50px;
  background: url("img/sechero1.jpg");
  border-radius: 180px;
  text-align: center;
  margin: 100px;
}
.hero-section2 {
  padding: 5px 50px;
  background: url("img/sechero2.jpg");
  border-radius: 180px;
  text-align: center;
  margin: 100px;
}

.hero-title {
  font-size: 48px;
  /* font-weight: 600; */
  margin: 0;
  color: #fff;
  font-family: "Anton", sans-serif;
}

.hero-subtitle {
  font-size: 20px;
  /* font-weight: 400; */
  color: #fff;
}

.achievement-title {
  font-size: 40px;
  margin-top: 0px;
  /* font-weight: 600; */
  text-align: left;
  color: #fff;
  margin-bottom: 0px;
  /* letter-spacing: 6.5px; */
  font-family: "Anton", sans-serif;
}

.achive {
  color: #fff;
  text-align: left;
  margin: 0px;
}

.achievements {
  margin-top: 0px;
  text-align: left;
}

.achievement {
  display: flex;
  align-items: baseline; //Agar nomor dan teks sejajar di garis bawah
  margin-bottom: 20px;
  font-size: 18px;
  border-bottom: 1px solid #fff;
}

.achievement p {
  display: flex;
  color: #fff;
  padding: 10px 5px 5px 5px;
  /* align-items:baseline; */
}

.achievement span {
  /* font-weight: 600; */
  font-size: 35px;
  margin-right: 15px;
  font-family: "Anton", sans-serif;
  flex-shrink: 0; /* Nomor tidak ikut menyusut ketika layar diperkecil */
}

.image-wrapper {
  position: relative;
}

.main-image {
  width: 100%;
  max-width: 90%;
  height: auto;
}

.btn-light {
  color: #161616;
  border: 2px solid white;
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 15px;
  font-weight: 600;
}
.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
  width: 75px;
  height: 75px;
  margin-top: 25px;
  background: #043277;
  color: white;
  border-radius: 50%;
  margin-bottom: 40px;
  font-size: 50px;
}
.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover {
  width: 75px;
  height: 75px;
  margin-top: 25px;
  background: #dc4503;
  transition: 0.2s;
  color: white;
  border-radius: 50%;
  font-size: 50px;
}
.card-container {
  perspective: 1000px; /* Menambahkan perspektif untuk menciptakan efek 3D */
  width: 100%;
  max-width: 350px; /* Sesuaikan dengan kebutuhan */
  margin: 50px auto;
  
}

/* Card yang bisa diputar (flip) */
.card-container {
  width: 100%;
  max-width: 350px; /* Sesuaikan dengan kebutuhan */
  margin: 50px auto;
  position: relative;
}

/* Card utama */
.custom-card {
  position: relative;
  width: 100%;
  height: 550px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sisi depan card (gambar dan konten utama) */
.card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-front .custom-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  color: white;
  padding: 20px;
}

.card-front .custom-card-content h3 {
  font-size: 40px;
  font-family: "Anton", sans-serif;
  margin-bottom: 0px;
}

.card-front .custom-card-content p {
  font-size: 15px;
}

/* Sisi belakang card (penjelasan singkat) */
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgb(3, 48, 117);
  background: linear-gradient(
    90deg,
    rgba(3, 48, 117, 1) 0%,
    rgba(2, 27, 65, 1) 100%
  );
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transform: scale(0.8); /* Membuat tampilan awal lebih kecil */
  transition: opacity 0.4s cubic, transform 0.4s ease;
}

/* Efek saat hover */
.card-container:hover .card-front {
  opacity: 0; /* Gambar memudar */
  transform: scale(1.1); /* Sedikit perbesar card saat hover */
}

.card-container:hover .card-back {
  opacity: 1; /* Munculkan sisi belakang */
  transform: scale(1); /* Kembalikan ukuran normal */
}

.owl-theme .owl-nav [class*="owl-"] {
  color: #fff;
  font-size: 25px;
  margin: 5px;
  padding: 4px 7px;
  background: #d6a2e8;
  display: inline-block;
  cursor: pointer;
  border-radius: 3px;
}

.regular-content-section {
    background: #f2f4f7;
    padding: 100px 0;
    width: 100%;
}

.tit-sec h2 {
  font-family: "Anton", sans-serif;
  font-size: 90px;
  margin-bottom: 0;
  color: #043277;
}

.tit-sec p {
  margin-top: -10px;
  font-family: "Anton", sans-serif;
  font-size: 20px;
  color: #dc4503;
}

.quote h3 {
  font-family: "Anton", sans-serif;
  font-size: 45px;
}

.app-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 0;
}

.app-section .content {
  max-width: 50%;
}

.app-section .content h1 {
  font-size: 5rem;
  font-weight: bold;
  color: #043277;
  font-family: "ANTON";
}

.app-section .content p {
  color: #666;
  margin-bottom: 20px;
}

.app-section .stats {
  display: flex;
  gap: 20px;
}

.app-section .stats div {
  text-align: center;
}

.app-section .stats div h3 {
  font-size: 2rem;
  color: #333;
}

.app-section .stats div p {
  color: #888;
}

.app-section .btn {
  background: #043277;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
}

.app-section .images {
  max-width: 40%;
}

.app-section .images img {
  width: 100%;
}
.footer {
  padding: 50px 0;
  color: #333;
  background-image: url("img/vis.jpg");
  background-repeat: no-repeat;
  background-size: 110%;
  border-top: 3px solid #f8f9fa;
}

.footer .social-icons a {
  font-size: 20px;
  color: #0047ab;
  margin-right: 0px;
}

.footer .social-icons a:hover {
  color: #007bff;
}

.footer h5,
.footer h6 {
  font-weight: 600;
}

.footer a {
  color: #333;
  text-decoration: none;
}

.footer a:hover {
  color: #007bff;
}

.footer img {
  /* border-radius: 50%; */
  /* border: 2px solid #fff;
        box-sha */
}

.footer p {
  margin: 0;
}

.footer .text-muted {
  color: #6c757d !important;
}

.footer .list-unstyled {
  padding-left: 0;
}

.footer .list-unstyled li {
  margin-bottom: 5px;
}

.footer .list-unstyled li a {
  text-decoration: none;
}

.tonny-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 70px 0;
  height: 67vh;
  background-image: url("img/bgtonny.jpg"); /* Ganti dengan background gambar yang sesuai */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tonny-image {
  width: 25%;
  height: auto;
}

.tonny-name {
  font-size: 5rem;
  font-family: "Anton";
  color: #fff;
  margin-top: -70px;
}

.tonny-subtitle {
  font-size: 2rem;
  color: #fff;
  margin-top: -20px;
}

/* Responsive untuk tablet */
@media (max-width: 768px) {
  .tonny-image {
    width: 150px;
  }

  .tonny-name {
    font-size: 1.8rem;
  }

  .tonny-subtitle {
    font-size: 1rem;
  }
}

/* Responsive untuk mobile */
@media (max-width: 576px) {
  .tonny-image {
    width: 70%;
  }

  .tonny-name {
    font-size: 4rem;
  }

  .tonny-subtitle {
    font-size: 0.9rem;
  }
  .judul_bio{
      text-align:center;
  }
  .sub_bio{
      text-align:center;
  }
}

.marten-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  height: 60vh;
  background-image: url("img/bgmarten.jpg"); /* Ganti dengan background gambar yang sesuai */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.marten-image {
  width: 25%;
  height: auto;
}

.marten-name {
  font-size: 5rem;
  font-family: "Anton";
  color: #fff;
  margin-top: -70px;
}

.marten-subtitle {
  font-size: 2rem;
  color: #fff;
  margin-top: -20px;
}

/* Responsive untuk tablet */
@media (max-width: 768px) {
  .marten-image {
    width: 150px;
  }

  .marten-name {
    font-size: 1.8rem;
  }

  .marten-subtitle {
    font-size: 1rem;
  }
}

/* Responsive untuk mobile */
@media (max-width: 576px) {
  .marten-image {
    width: 70%;
  }

  .marten-name {
    font-size: 4rem;
  }

  .marten-subtitle {
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {
  .footer {
    background-color: #f8f9fa;
    background-image: none;
  }

  .footer .rounded-circle {
    width: 70px;
    height: 70px;
  }

  .footer .row.align-items-start {
    flex-direction: column;
    align-items: center;
  }

  .footer .col-md-4 {
    margin-bottom: 20px;
    text-align: center;
  }
}

@media (max-width: 992px) {
  .app-section {
    flex-direction: column;
    text-align: center;
  }

  .app-section .content,
  .app-section .images {
    max-width: 100%;
  }

  .app-section .images {
    margin-top: 20px;
  }
}
@media (max-width: 768px) {
  .hero-section {
    padding: 30px 10px; /* Adjust padding for smaller screens */
    margin: 0px; /* Reduce margin for smaller screens */
    margin-bottom:20px;
    border-radius: 20px;
    background: rgb(3, 48, 117);
    background: linear-gradient(
      90deg,
      rgba(3, 48, 117, 1) 0%,
      rgba(15, 41, 80, 1) 100%
    );
  }
  .hero-section2{
    padding: 30px 10px; /* Adjust padding for smaller screens */
    margin: 0px; /* Reduce margin for smaller screens */
    border-radius: 20px;
     margin-bottom:20px;
    background: rgb(5,116,74);
background: linear-gradient(90deg, rgba(5,116,74,1) 0%, rgba(4,87,56,1) 100%);
  }

  .hero-title {
    font-size: 90px; /* Reduce font size for title */
  }

  .hero-subtitle {
    font-size: 90px; /* Adjust subtitle font size */
  }

  .achievement-title {
    font-size: 70px; /* Adjust achievement title font size */
    text-align: center; /* Center align text on smaller screens */
  }

  .achive {
    text-align: center !important;
  }
  .achievements {
    text-align: center; /* Center align achievements on smaller screens */
  }

  .achievement p {
    font-size: 16px; /* Adjust font size for achievement text */
  }
  
.achievement span {
  /* font-weight: 600; */
  display:none;
}


  .main-image {
    max-width: 100%; /* Make image fully responsive */
    width: 500px; /* Set max width for smaller screens */
    margin: 0px 0px -90px 0px; /* Center image */
  }
}

/* Responsiveness */
@media (max-width: 768px) {
  h1.title {
    font-size: 4rem;
    margin-top: -110px;
  }

  h1.candidate-name {
    font-size: 2rem;
  }

  h2.position {
    font-size: 1rem;
  }

  .slogan {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.5rem;
  }

  .candidate-img {
    width: 600px;
    height: 600px;
    margin-top: -90px;
  }
}
@media (max-width: 576px) {
  .candidate-img {
    width: 398px;
    height: 650px;
    margin-top: -150px;
  }
}

@media (max-width: 767.98px) {
  .custom-navbar {
    padding: 15px;
  }

  .navbar-nav .nav-link {
    padding: 15px;
    border-bottom: 1px solid #ddd;
  }
}
.custom-card2 {
  display: flex;
  flex-direction: row;
  border-radius: 20px;
  overflow: visible; /* Allow the image to overflow outside the card */
  background-color: white;
  margin: 20px auto;
}
.mwin {
  min-height: 390px;
}

.text-section {
  flex: 2;
  padding: 40px;
  background-color: #f2f4f7;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.text-section h2 {
  font-family: "anton";
  font-size: 28px;
}

.text-section p {
  color: #555;
  font-size: 16px;
}

.image-section {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  padding-right: 20px;
  overflow: visible; /* Allow content to overflow */
}

.person {
  max-height: 110%;
  max-width: 110%;
  position: absolute;
  left: -50px; /* Move the image outside the card */
  bottom: 0;
}

.image-section-thick {
  flex: 1;
}
.image-section-thin {
  flex: 0.6;
}
.tonnylatarbelakang {
  background-image: url("img/bgsection.jpg");
}
.tonnypendidikan {
  background-image: url("img/tonnypendidikan.jpg"); /* Replace with your background image */
}

.tonnypapua {
  background-image: url("img/tonnypapua.jpg"); /* Replace with your background image */
}

.judul_bio {
  font-size: 2.5em;
  color: #043277;
  font-family: "Anton";
}
.sub_bio {
  font-size: 16px;
  /* margin-bottom:200px; */
}
.bsb-timeline-1 .timeline > .timeline-item:before {
  background-color: #dc4503;
  border-radius: 50%;
  content: "";
  height: var(--bsb-tl-circle-size);
  left: calc(var(--bsb-tl-circle-offset) * -1);
  position: absolute;
  top: 0;
  width: var(--bsb-tl-circle-size);
  /* z-index: ; */
}
.bsb-timeline-1 .timeline:after {
  background-color: #dc4503;
  bottom: 0;
  content: "";
  left: 0;
  z-index: -10;
  margin-left: -1px;
  position: absolute;
  top: 0;
  width: 2px;
}
.time_judul {
  /* font-size:30px; */
  font-weight: bold;
  margin-bottom: 0px;
  /* color:#043277; */
}
.bsb-timeline-1 .timeline > .timeline-item .timeline-content {
  padding-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-card2 {
    flex-direction: column;
    max-width: 100%;
  }

  .text-section {
    border-radius: 20px 20px 0 0;
  }

  .image-section {
    border-radius: 0 0 20px 20px;
    padding-right: 0;
  }

  .person {
    position: static; /* Reset position for mobile */
    max-width: 40%;
  }
}
