html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

.custom-navbar {
    background: linear-gradient(90deg, rgba(45, 56, 140, 1) 0%, rgba(75, 55, 119, 1) 57%, rgba(244, 53, 0, 1) 100%);
 /*   padding: 16px 80px;*/
    /* Padding: top, right, bottom, left */
    padding: 16px 10px 16px 10px;
}

.navbar-nav {
  justify-content: center;
  flex: 1;
}

.navbar-brand span {
  line-height: 1;
  font-size: 16px;
}

.nav-link {
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 600;
}

.navbar-nav .nav-link {
  padding: 8px 16px;
  border-radius: 999px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background-color: #ffffff;
  color: #000 !important;
}

.btn-custom {
  background-color: #F4C700;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  color: #000;
}

.btn-custom:hover {
  background-color: #ffe100;
  color: #000;
}

.navbar .btn-upload {
  margin-left: auto;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
  font-family: 'Poppins', sans-serif;
}


/* tagline styling */
/* ensure the three spans wrap nicely on narrow screens */
h1.display-4 {
  font-size: 30px;
  font-weight: 600;
}

.text-primary { color: #2A4B9D !important; }   /* blue */
.text-warning { color: #F4C700 !important; }   /* gold/yellow */
.text-danger  { color: #EA252B !important; }   /* red */

/* tagline styling */
.tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3em;
  line-height: 1.4;
}

/* date text spacing */
.date-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
/*
.tentang{
  text-align: justify;
  text-align-last: left;
}*/

.separator {
  border: none;
  border-top: 2px solid #ccc;
  margin: 60px auto;
  width: 100%;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.info-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-item > div {
  text-align: justify;
}

.info-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.info-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.step-badge {
    display: inline-block;
    background-color: #000;
    color: #fff;
    width: 36px;
    height: 41px;
    border-radius: 8px;
    font-weight: bold;
    line-height: 32px;
    font-size: 1rem;
    padding: 6px 12px;
    margin: 1rem 0 0 1rem;
}


.cta-box {
  width: 433px;
  height: 183px;
  background-color: #fff;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.date-badge {
  background-color: #EB3737;
  color: #fff;
  padding: 6px 16px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 17px;
  display: inline-block;
  width: 330px;
}

.photo-card {
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.photo-text {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  padding: 16px;
  width: 100%;
  font-size: 14px;
  text-align: left;
}

.text-red {
  color: #EA252B;
}

.accordion-button {
  border-radius: 0.75rem;
  font-weight: 600;
  box-shadow: none !important;
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.accordion-body {
  text-align: justify;
  text-align-last: left;
}

.faq-contact-box {
  margin: 0 auto;
}

.bg-light-red {
  background-color: #fff5f5;
  border-radius: 15px;
}

.bg-light-blue {
  background-color: #f5faff;
  border-radius: 15px;
}

.bg-warning-light {
  background-color: #fff9e6;
  border-radius: 15px;
}

.term-card i {
  flex-shrink: 0;
  border-radius: 15px;
}

.mb-0-term{
  text-align: justify;
}

.agree-card{
  border-radius: 15px;
}

footer a:hover {
  text-decoration: underline;
}

footer .btn-light {
  color: #000;
  font-weight: 600;
}

.gradient-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff0000, #3f51b5, #00c853, #ffd600);
  font-size: 20px;
  text-align: center;
}

.collab-scroll-container {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  scroll-padding-inline: 41%;
}

.collab-scroll-container::-webkit-scrollbar {
  display: none;
  justify-content: flex-start;
}

.fixed-width-collab-card {
  background-color: #eceaea;
  border-radius: 16px;
  flex: 0 0 18%;           
  scroll-snap-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.fixed-width-collab-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.collab-logo {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 12px;
}


.photo-scroll-container {
  display: flex;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-left: 0px; 
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;   /* enable smooth scrollBy/scrollTo */
  cursor: grab;               /* show grab cursor on desktop */
  user-select: none;          /* prevent text selection while dragging */
  gap: 1rem;
  padding-bottom: 1rem;
}

.photo-scroll-container:active {
  cursor: grabbing;
}

.photo-scroll-container::-webkit-scrollbar {
  display: none;
}

/* Card layout */
.fixed-width-cardnew {
  flex: 0 0 18%;
  scroll-snap-align: start;
}


.photo-cardnew {
  height: 280px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* actual image */
.photo-img {
  position: absolute;
  top: 50%; left: 50%;
  width: auto; height: 100%;
  min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
}


.logo-Malaysiaku {
  width: 180px;
  height: auto;
}

/* View Card Slider */
@media (max-width: 991.98px) {
  .fixed-width-cardnew {
    flex: 0 0 25%;
  }
  .photo-cardnew {
    height: 320px;
    width: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 767.98px) {
  .fixed-width-cardnew {
    flex: 0 0 33.33%;
  }
  .photo-cardnew {
    height: 320px;
    width: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 575.98px) {
  .fixed-width-cardnew {
    flex: 0 0 50%;
  }
  .photo-cardnew {
    height: 320px;
    width: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 479.98px) {
  .text-primary { font-size: 28px; }   /* blue */
  .text-warning { font-size: 28px; }   /* gold/yellow */
  .text-danger  { font-size: 28px; } 
  .fixed-width-cardnew {
    flex: 0 0 50%;
  }
  .photo-cardnew {
    height: 320px;
    width: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
}

@media (min-width: 992px) {
  .collab-scroll-container {
    justify-content: center !important;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;     
  }
  .photo-cardnew {
    height: 320px;
    width: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
}