* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  font-family: 'Lucida Grande', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

input, button {
  font-size: 16px;
  font-family: inherit;
}

h1, h2, h4, h5 {
  text-align: center;
}

h1 {
  padding: 8px;
}

h2 {
  color: rgb(0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 5px;
}

h4 {
  font-size: 20px;
  letter-spacing: 3px;
  margin-bottom: 5px;
}

.select-none {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

a {
  text-decoration: none;
}

.header-separator, .navbar-separator {
  max-height: 100%;
}

.header-separator {
  height: 25px;
  border: 1.5px solid #4e4eff;
}

.navbar-separator {
  height: 18px;
  border: 1px solid #ffffffff;
}

.title-separator {
  height: 5px;
  background-color: #407af8;
}

.a52-mkkd-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.header-icons, .navbar-icons, .title-icons, .view-icons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-icons, .title-icons {
  fill: black;
  color: black;
}

.navbar-icons, .view-icons {
  fill: white;
}

.header-icons, .navbar-icons, .title-icons, .sosmed-icons {
  width: 20px;
  height: 20px;
}

.view-icons {
  width: 15px;
  height: 15px;
}

.header-icons:hover {
  text-transform: inherit;
  border-style: dotted;
  border-radius: 3px;
}

.row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.col-25 {
  flex: 25%;
  min-width: 120px;
}

.col-75 {
  flex: 75%;
}

header {
  display: block;
}

.header-wrap {  
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-image: url("../img/background/header.jpg");
  background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  -ms-background-size: cover;
  -moz-background-size: cover;
  background-repeat: no-repeat;
  padding: 20px;
  gap: 15px;
}

.header-wrap > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  background: linear-gradient(-45deg, #173aa1 0%, #407BFF 100%);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease, background 0.3s ease, top 0.3s ease;
  padding: 10px 40px;
  width: 100%;
}

.navbar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.navbar-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}

.navbar-left > span {
  font-size: 15px;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
}

.navbar-left .team-number {
  margin-right: -5px;
}

.navbar-left .team-name {
  margin-left: -5px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 21px;
  cursor: pointer;
  z-index: 10000;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.navbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: white;
  flex: 1;
}

.navbar-right > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: bold;
  color: white;
  border: 2px dotted transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.navbar-right > a:hover {
  color: yellow;
  border-color: rgb(200, 255, 0);
  border-style: dotted;
  border-radius: 15px;
}

.slide-wrapper, .indicator-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 50px 30px 0px 30px;
  padding: 0 35px;
}

.content-slide {
  position: relative;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
}

.mySlides {
  display: none;
  width: 100%;
  position: relative;
}

.mySlides.active {
  display: block;
}

.img-slide {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

.text-slide {
  background: linear-gradient(-45deg, #0a2989 30%, #692add 50%, #3262c9 80%);
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  padding: 14px;
  border-radius: 0 0 15px 15px;
}

.prev, .next {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 42px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), transparent);
  transition: all 0.3s ease;
  z-index: 10;
}

.next {
  right: 0;
  left: auto;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.25), transparent);
}

.prev:hover, .next:hover {
  background: rgba(0, 0, 0, 0.45);
  color: #ffffffff;
}

.indicator-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.slide-indicator {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.slide-indicator.active {
  background-color: #3164ff;
}

.fade {
  animation: fadeEffect 1s;
}

@keyframes fadeEffect {
  from { opacity: 0; }
  to { opacity: 1; }
}

.destination-section {
  margin: 90px 30px 40px 30px;
}

.card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
  padding: 0 35px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 calc(25% - 15px);
  max-width: calc(25% - 15px);
  min-height: 400px;
  border-radius: 15px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  background-color: #fff;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.card-img-top {  
  height: 180px;  
  width: 100%;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  filter: blur(1px);
  transition: filter 0.3s ease;
}

.card-img-top:hover {    
  filter: none;
}

.card-title {        
  background: linear-gradient(-45deg, #0a2989ff 20%, #692addff 50%, #3262c9ff 100%);
  padding: 8px 10px;
  color: white;
  letter-spacing: 3px;
  margin-top: -35px;
  align-self: flex-end;
  border-radius: 5px 0 0 5px;
  z-index: 2;
  position: relative;
}

.card-body {
  flex-grow: 1;
  text-align: center;
  padding: 15px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-body .card-text {
  font-size: 14px;
  color: rgb(97, 97, 97);    
  margin-top: 10px;
}

.card-footer {
  background: linear-gradient(-45deg, #0a2989ff 20%, #692addff 50%, #3262c9ff 100%);
  text-align: center;
  padding: 15px;
  border-radius: 0 0 15px 15px;
  margin-top: auto;
  color: white;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.card-footer p {
  margin: 0;
}

.card-footer:hover {
  color: yellow;
}

.contact-section {
  margin: 90px 30px 40px 30px;
}

.contact-wrapper {
  display: flex;
  flex-direction: row;
  padding: 0 35px;
}

.contact-left {
  flex: 50%;
  margin: 40px 25px 40px 0;
  padding-right: 100px;
  line-height: 30px;
  font-size: 15px;
  text-align: justify;
}

.sosmed {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sosmed-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-info {
  margin-left: 2px;
}

.facebook-info {
  margin-left: 3px;
}

.instagram-info {
  margin-left: 2px;
}

.youtube-info {
  margin-left: 15px;
}

.contact-right {
  flex: 50%;
  margin-top: 40px;
  z-index: 999;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
  font-weight: bold;
}

.button-row {
  justify-content: flex-end;
  display: flex;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(-45deg, #0a2989ff 20%, #692addff 50%, #3262c9ff 100%);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-submit:hover {
  background: rgb(9, 76, 131);
}

.btn-submit svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.toast {
  visibility: hidden;
  min-width: 300px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  padding: 15px;
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s, bottom 0.5s;
  font-size: 15px;
  line-height: 1.4;
}

.toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 50px;
}

.footer-wave {
  position: relative;
  width: 100%;
  margin-top: -150px;
  margin-bottom: -5px;
  line-height: 0;
}

.footer-wave svg {
  display: block;
  width: 90%;
  height: 380px;
  transform: rotate(180deg) scaleX(-1);
  z-index: 0;
}

.footer-wave svg path {
  fill: url(#waveGradient);
}

footer {
  background: linear-gradient(to right, #7b2ff7, #3a38ff);
  color: white;
  text-align: center;
  padding: 25px 40px;
  font-size: 15px;
  position: relative;
  line-height: 1.5;
  z-index: 1;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.footer-left {
  text-align: center;
  flex: 1;
}

.footer-right {
  flex: none;
  margin-left: auto;
}

.scrollup {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  width: 52px;
  height: 52px;
  background: linear-gradient(to right, #00e0ff 0%, #007bff 100%);
  border: none;
  border-radius: 18px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  padding: 10px;
  z-index: 999;
}

.scrollup > svg {
  width: 100%;
  height: 100%;
  fill: white;
  stroke: white;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.scrollup:hover {
  border: 3px dotted rgb(200, 255, 0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transform: scale(1.08);
}

@media (max-width: 1024px) and (min-width: 601px) {
  body {
    font-size: 15px;
  }
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  h4 { font-size: 17px; }

  .navbar {
    padding: 10px 20px;
  }

  .card {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .card-title {        
    padding: 15px 10px;
    font-size: 15px;
    margin-top: -52px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }
  h1 { font-size: 22px; }
  h2 { font-size: 18px; }
  h4 { font-size: 16px; }

  .navbar {
    position: relative;
    flex-wrap: wrap;
    padding: 10px 15px;
    z-index: 999;
  }

  .navbar-left {
    flex: 1;
  }

  .navbar-right {
    display: none;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(30, 60, 140, 0.9), rgba(85, 60, 255, 0.85));
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 4.5rem 2.5rem;
    z-index: 1000;
    transform: translateY(-10px);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: background 0.5s ease, box-shadow 0.5s ease;
    border-radius: 0 0 35px 35px;
  }

  .navbar-right.active {
    display: flex;
    transform: translateY(0);
    background: linear-gradient(180deg, rgba(40, 80, 200, 0.95), rgba(100, 80, 255, 0.95));
    box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.08);
    transition: background 0.5s ease-in-out, transform 0.4s ease;
  }

  .navbar-right a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    margin-bottom: 18px;
    width: fit-content;
    border: none !important;
  }

  .navbar-right a:hover, .navbar-right a:hover svg {
    color: yellow;
    fill: yellow;
  }

  .navbar-right a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 0;
  }

  .navbar-right a:hover::after {
    background: yellow;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
    cursor: pointer;
    z-index: 900;
  }

  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    background: linear-gradient(to right, #ffffff, #d0e7ff);
    transition: all 0.4s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  .slide-wrapper {
    margin: 28px 20px 20px 20px;
    padding: 0 10px;
  }

  .img-slide {
    height: 130px;
    max-height: 100%;
  }

  .prev, .next {
    width: 40px;
    font-size: 22px;
  }

  .indicator-wrap {
    margin-top: 20px;
  }

  .destination-section {
    margin: 40px 10px 20px 10px;
    padding: 0 10px;
  }

  .card-wrapper {
    padding: 0 10px;
  }

  .card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .card-wrapper {
    display: flex;
    gap: 32px;
    margin-top: 30px;
  }

  .card-title {        
    padding: 15px 10px;
    font-size: 15px;
    margin-top: -52px;
  }

  .contact-section {
    margin: 60px 10px 20px 10px;
    padding: 0 10px;
  }
  
  .contact-wrapper {
    padding: 0 10px;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .contact-left, .contact-right {
    flex: 100%;
    padding: 0;
  }

  .contact-left {
    margin: 20px 0;
  }

  .contact-right {
    margin: 20px 0;
  }

  footer {
    font-size: 13px;
    padding: 15px 25px;
  }

  .footer-wave {
    margin-top: -170px;
  }

  .footer-wave svg {
    height: 220px;
  }
}

@media (max-width: 600px) and (min-width: 500px) {
  .slide-wrapper {
    margin: 40px 20px 30px 20px;
    padding: 0 30px;
  }

  .destination-section {
    margin: 40px 20px 30px 20px;
  }

  .contact-section {
    margin: 70px 20px 30px 20px;
  }
  
  .destination-section, .contact-section {
    padding: 0 8px;
  }

  .card-wrapper, .contact-wrapper {
    padding: 0 20px;
  }
}