/* ============================================================
   PPK MSF — Color Override untuk Template TraveLand
   Mengganti warna kuning (#EEC41E) dengan Biru (#1B6EC2)
   dan Merah (#C0392B) sesuai identitas PPK MSF
   ============================================================ */

/* ---- Preloader spinner color ---- */
.preloader .loader .ytp-spinner-circle {
  border-color: #1B6EC2 #1B6EC2 #F9FAFB;
}

/* ---- Global link color ---- */
a { color: #1B6EC2; }
a:hover, a:focus { color: #1558A8; }

/* ---- Main Button ---- */
.main-btn {
  background-color: #1B6EC2;
}
.main-btn:hover {
  background-color: #1558A8;
  box-shadow: 0px 3px 22px 0px rgba(27, 110, 194, 0.35);
}
.main-btn.main-btn-2 {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.main-btn.main-btn-2:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

/* ---- Section Title Span ---- */
.section_title .title span {
  color: #1B6EC2;
}

/* ---- Navbar brand layout ---- */
.navbar-brand {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.navbar-brand img {
  height: 54px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* ---- Navbar site name text (muncul saat logo Strapi aktif) ---- */
.navbar-site-name {
  display: none;
  flex-direction: column;
  line-height: 1.25;
}
.navbar-site-name .ns-main {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}
.navbar-site-name .ns-sub {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.8px;
}
/* Warna teks saat sticky (background putih) */
.sticky .navbar-site-name .ns-main {
  color: #1A3A6B;
}
.sticky .navbar-site-name .ns-sub {
  color: #1B6EC2;
}


/* ---- Navbar hover underline & sticky active ---- */
.navbar-nav .nav-item a::before {
  background-color: #1B6EC2;
}
.sticky .navbar-nav .nav-item.active > a,
.sticky .navbar-nav .nav-item:hover > a {
  color: #1B6EC2;
}

/* ---- Hero slider span ---- */
.slider_content .slider_title span {
  color: #93c5fd; /* light blue for readability on dark hero */
}

/* ---- About section ---- */
.about_area {
  background-color: #fff;
}

/* ---- Counter boxes ---- */
.single_counter.counter_1 {
  border-top: 3px solid #1B6EC2;
}
.single_counter.counter_2 {
  border-top: 3px solid #C0392B;
}
.single_counter span {
  color: #1A3A6B;
}

/* ---- Services icon ---- */
.single_service .services_icon i {
  border-color: #1B6EC2;
  color: #1B6EC2;
}
.single_service:hover .services_icon i {
  background-color: #1B6EC2;
  color: #fff;
}
/* CTA service card */
.service-cta {
  background: linear-gradient(135deg, #1A3A6B, #1B6EC2) !important;
}
.service-cta .services_icon i {
  border-color: rgba(255,255,255,0.6) !important;
  color: #fff !important;
}
.service-cta:hover .services_icon i {
  background-color: rgba(255,255,255,0.2) !important;
}
.service-cta .services_content .title,
.service-cta .services_content p {
  color: #fff !important;
}
.service-cta .main-btn {
  background-color: #C0392B;
}
.service-cta .main-btn:hover {
  background-color: #a93226;
}

/* ---- Blog cards ---- */
.single_blog .blog_content .blog_title a:hover {
  color: #1B6EC2;
}
.single_blog .blog_content .more {
  color: #1B6EC2;
}

/* ---- Skeleton loading ---- */
.skeleton-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
.skeleton-img-sm {
  width: 120px;
  min-width: 120px;
  height: 100px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
.skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 8px;
}
.skeleton-line.w-50 { width: 50%; }
.skeleton-line.w-75 { width: 75%; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-90 { width: 90%; }
.skeleton-line.w-100 { width: 100%; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Native select styling (mengganti nice-select) ---- */
.single_form select {
  width: 100%;
  height: 60px;
  padding: 0 50px 0 25px;
  border: 2px solid #DBDBDB;
  border-radius: 50px;
  background-color: #fff;
  color: #747E88;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Panah custom */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23999' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  cursor: pointer;
  transition: border-color 0.3s ease;
  display: block;
}
.single_form select:focus {
  outline: none;
  border-color: #1B6EC2;
}
.single_form select option[value=""][disabled] {
  color: #DBDBDB;
}

/* ---- Contact section ---- */
.contact_area {
  background-color: #F9FAFB;
}
.single_form input:focus,
.single_form textarea:focus,
.single_form .nice-select:focus {
  border-color: #1B6EC2;
}

/* Contact Info Box */
.contact-info-box {
  padding: 10px 0;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-item h6 {
  font-size: 15px;
  font-weight: 600;
  color: #38424D;
  margin-bottom: 4px;
}
.contact-info-item p,
.contact-info-item p a {
  font-size: 14px;
  color: #747E88;
  margin: 0;
}
.contact-info-item p a:hover { color: #1B6EC2; }
.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 8px;
  background-color: #1B6EC2;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.contact-info-icon.icon-green { background-color: #25D366; }
.contact-info-icon.icon-red   { background-color: #C0392B; }

.contact-social .social { margin-top: 0; padding: 0; }
.contact-social .social li { display: inline-block; margin-right: 10px; }
.contact-social .social li a {
  width: 35px; height: 35px; line-height: 35px;
  text-align: center; font-size: 18px;
  color: #fff; border-radius: 5px;
  display: inline-block;
}
.contact-social .social li a.social_1 { background-color: #4977D9; }
.contact-social .social li a.social_2 { background-color: #55ACEE; }
.contact-social .social li a.social_3 { background-color: #E4405F; }
.contact-social .social li a.social_yt { background-color: #FF0000; }

/* Form success message */
.form-success-msg {
  margin-top: 16px;
  padding: 12px 20px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
/* Form error message */
.form-error-msg {
  margin-top: 16px;
  padding: 12px 20px;
  background: #fee2e2;
  color: #991b1b;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

/* ---- Footer ---- */
.footer_area {
  background-color: #1A3A6B;
}
.footer_about p,
.footer_subscribe p {
  color: rgba(255,255,255,0.7);
}
.footer_link .link li a {
  color: rgba(255,255,255,0.7);
}
.footer_link .link li a:hover {
  color: #93c5fd;
}
.footer_about .social li a.social_yt {
  background-color: #FF0000;
}
.footer_subscribe .subscribe_form button {
  background-color: #1B6EC2;
}
.footer-hours {
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  padding: 16px;
}
.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-hours-row:last-child { border-bottom: none; }

/* ---- Blog category tag ---- */
.blog-cat-tag {
  background-color: #1B6EC2;
  color: #fff;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.single_blog .blog_content .blog_meta ul li + li { margin-left: 15px; }

/* ---- Back to top ---- */
.back-to-top {
  background-color: #C0392B;
}
.back-to-top:hover {
  background-color: #a93226;
  color: #fff;
}

/* ---- Services equal-height cards ---- */
#services .row {
  align-items: stretch;
}
#services .col-lg-4,
#services .col-sm-6 {
  display: flex;
  flex-direction: column;
}
.single_service {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
.single_service .services_content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.single_service .services_content p {
  flex: 1;
}

/* ---- Tim section ---- */
.team_area {
  background-color: #fff;
}
.team-category-group {
  margin-bottom: 50px;
}
.team-category-group:last-child {
  margin-bottom: 0;
}
.team-category-title-wrap {
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8edf3;
}
.team-category-title {
  font-size: 20px;
  font-weight: 700;
  color: #1A3A6B;
  margin: 0;
  display: inline-block;
}
.team-category-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: #1B6EC2;
  margin-top: 6px;
  border-radius: 2px;
}

/* Team card */
.single_team {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8edf3;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  height: 100%;
}
.single_team:hover {
  box-shadow: 0 8px 30px rgba(27, 110, 194, 0.12);
  transform: translateY(-4px);
}
.team_photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f1f5fb;
}
.team_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
/* Override template overlay effect — .team_content di bawah foto, bukan di atas */
#team .single_team .team_content {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  transform: none;
  padding: 18px 16px 20px;
}
/* Reset opacity & transform yang di-hide oleh template (hover-reveal) */
#team .single_team .team_content .team_name,
#team .single_team .team_content p {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.team_name {
  font-size: 16px;
  font-weight: 700;
  color: #1A3A6B;
  margin: 0 0 4px;
}
.team_role {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background-color: #1B6EC2;
  border-radius: 20px;
  padding: 2px 12px;
  margin-bottom: 10px;
}
.team_bio {
  font-size: 13px;
  color: #747E88;
  line-height: 1.5;
  margin: 8px 0 0;
}

/* Team skeleton loading */
.skeleton-team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.skeleton-team-text {
  padding: 16px;
}

/* Equal-height tim cards in a row */
#team .row {
  align-items: stretch;
}
#team .col-lg-3,
#team .col-md-4,
#team .col-sm-6 {
  display: flex;
  flex-direction: column;
}
