/* ============================================
   BSP91 Custom Styles
   Shared across all pages
   ============================================ */

/* Webflow badge hide */
.w-webflow-badge { display: none !important; }

/* Services accordion — click-based toggle
   Nuclear approach: strip IX2 attrs in HTML + JS, override everything with !important */
.services-details-grid .services-details-single {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  display: block !important;
}

/* Title bar: flex row with icon+title on left, number+chevron on right */
.services-details-grid .services-card-title-inner {
  display: flex !important;
  align-items: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
}

/* Number badge: right-aligned, before chevron */
.services-details-grid .service-card-number {
  margin-left: auto;
  flex-shrink: 0;
}

/* Panel: collapsed by default */
.services-details-grid .services-card-main-wrap {
  overflow: hidden !important;
  max-height: 0px !important;
  opacity: 0 !important;
  transition: max-height 0.4s ease, opacity 0.3s ease !important;
  visibility: visible !important;
  display: block !important;
  height: auto !important;
}

/* Panel: expanded when toggled */
.services-details-grid .services-card-main-wrap.is-open {
  max-height: 1200px !important;
  opacity: 1 !important;
}

/* Chevron icon: right arrow by default, rotates 90° when open */
.services-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 12px;
  color: #171717;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.services-chevron.is-open {
  transform: rotate(90deg);
}

/* About Us: equal-height ticker boxes */
.about-ticker-wrap {
  align-items: stretch !important;
}
.about-ticker-wrap .about-ticker-box {
  flex: 1 1 0 !important;
}

/* Footer: 2 office cards layout */
.footer-contact-wrap {
  flex-direction: column !important;
  align-items: center !important;
  gap: 20px !important;
}

.footer-contact-email {
  display: flex;
  justify-content: center;
}

.footer-offices {
  display: flex;
  gap: 16px;
  width: 100%;
}

.footer-office-card {
  flex: 1 1 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-office-label {
  font-family: var(--_font-famly---font-famaly--primary-font, sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

@media (max-width: 767px) {
  .footer-offices {
    flex-direction: column;
  }
}

/* Hero title: responsive font size for longer CMS text */
.hero-title {
  font-size: clamp(32px, 4vw, 48px) !important;
  max-width: 480px !important;
  line-height: 1.15 !important;
}





/* Header logo override — desktop only
   Mobile sizes come from styles.css: 40px (991px), 36px (767px), 28px (479px) */
@media (min-width: 992px) {
  .header-logo {
    margin-left: 20px;
    width: auto;
    height: 50px;
    max-height: none;
  }
}

/* ============================================
   Login Button in Navbar
   ============================================ */
.login-btn-wrap {
  margin-left: 8px;
}

.login-mobile-wrap {
  margin-top: 8px;
}

/* Hamburger icon CSS fallback — background SVG shows when Lottie JSON fails to load.
   When Lottie succeeds, its injected SVG covers this background. */
.hamburger-menu-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='16' viewBox='0 0 22 16'%3E%3Cline x1='0' y1='1' x2='22' y2='1' stroke='%23171717' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='0' y1='8' x2='22' y2='8' stroke='%23171717' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='0' y1='15' x2='22' y2='15' stroke='%23171717' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 16px;
  width: 100%;
  height: 100%;
}

/* Mobile navbar button — proper centering & touch target */
@media (max-width: 991px) {
  .menu-button.w-nav-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #e7e7e7;
    cursor: pointer;
  }

  .menu-button.w-nav-button.w--open {
    background-color: #f5f5f5;
  }

  /* Mobile nav menu panel — clean look */
  .nav-menu.w-nav-menu {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    padding: 16px;
    margin-top: 8px;
  }

  /* Nav links in mobile menu */
  .header-navigation {
    flex-direction: column;
  }

  .nav-item-wrapper {
    border-bottom: 1px solid #f0f0f0;
    padding: 4px 0;
  }

  .nav-item-wrapper:last-child {
    border-bottom: none;
  }

  /* Dropdown toggle — make full width and tappable */
  .dropdown.w-dropdown {
    width: 100%;
  }

  .dropdown-toggle.w-dropdown-toggle {
    padding: 8px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Dropdown list — clean reveal */
  .dropdown-list-wrapper.w-dropdown-list {
    background: transparent;
    box-shadow: none;
    padding: 0 0 0 12px;
  }

  .dropdown-list-inner {
    border: none !important;
    border-left: 2px solid #e74c3c !important;
    padding-left: 8px;
  }

  .vertical-menu-item {
    padding: 6px 0;
  }
}

/* ============================================
   Team Members: CSS hover for dynamically synced cards
   (Webflow IX2 only binds to hardcoded DOM elements)
   ============================================ */
.our-team-members-list.team-synced .socal-icon-link-flex {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.our-team-members-list.team-synced:hover .socal-icon-link-flex {
  opacity: 1;
}

/* Placeholder background when no photo uploaded yet */
.our-team-members-list.team-synced .our-team-members-img-link:not(:has(img)) {
  background-color: #e8e8e8;
  min-height: 500px;
}

/* Portfolio cards: CSS hover for dynamically synced cards */
.portfolio-synced .card-hover-main-link {
  transition: opacity 0.35s ease;
}

.portfolio-synced:hover .card-hover-main-link {
  opacity: 1 !important;
}

/* Portfolio: YouTube video thumbnail + play button */
.portfolio-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.portfolio-video-wrap .projects-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}

.portfolio-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.15);
  opacity: 1;
}

/* Active video: iframe fills the card */
.portfolio-video-active {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  cursor: default;
}

.portfolio-video-active iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

/* ============================================
   Shiny Sweep Animation (red light on titles)
   ============================================ */
.shiny-title {
  background-image: linear-gradient(120deg, #171717 0%, #171717 35%, #E07070 50%, #171717 65%, #171717 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shiny-sweep 3s linear infinite;
}

.shiny-title .color-rad {
  -webkit-text-fill-color: transparent;
}

@keyframes shiny-sweep {
  0% { background-position: 150% center; }
  100% { background-position: -50% center; }
}

/* ============================================
   BlurText Animation (fade-in per word)
   ============================================ */
.blur-text-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.blur-text-word {
  display: inline-block;
  filter: blur(10px);
  opacity: 0;
  transform: translateY(-40px);
  transition: filter 0.4s ease-out, opacity 0.4s ease-out, transform 0.4s ease-out;
  margin-right: 0.3em;
  will-change: transform, filter, opacity;
}

.blur-text-word.animate {
  filter: blur(0px);
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Inner Page Title Centering (blogs, works)
   ============================================ */
.inner-page-title-box.works {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.inner-page-title-box.works .inner-page-title-wrap {
  max-width: 100%;
}

.inner-page-title-box.works .inner-page-detils-wrap {
  max-width: 644px;
}

.inner-page-title-box.works .inner-page-details.blur-text-container {
  justify-content: center;
}

/* ============================================
   Responsive Fixes
   ============================================ */

/* --- Tablet (≤991px) --- */
@media (max-width: 991px) {
  /* Force ALL inline-hidden elements visible on tablet/mobile
     Webflow IX2 + scroll-float + tabs all set inline opacity:0 on elements.
     Without scroll-trigger working on tablet, these stay invisible. */
  [style*="opacity: 0"],
  [style*="opacity:0"] {
    opacity: 1 !important;
  }

  /* Keep card hover overlays hidden (shown on hover via CSS) */
  .card-hover-main-link {
    opacity: 0 !important;
  }

  /* Show our-value tab content panels (Webflow tabs set them to opacity:0) */
  .our-value-tab-conten-inner {
    opacity: 1 !important;
  }

  /* Scroll-float characters: disable animation, show immediately */
  .scroll-float .char {
    opacity: 1 !important;
  }

  /* Scroll-reveal words: disable blur animation, show immediately */
  .scroll-reveal-text .word {
    opacity: 1 !important;
    filter: none !important;
  }

  .hero-img-inner {
    visibility: visible !important;
  }

  html.w-mod-js:not(.w-mod-ix3) :is(.hero-img-inner.one, .hero-img-inner.two, .hero-img-inner.three, .hero-img-inner.four, .hero-img-inner.five) {
    visibility: visible !important;
  }

  /* Hero: reset negative margin that causes overlap */
  .hero-mane-img-wrap {
    margin-top: 0 !important;
    width: 100%;
  }

  .hero-title {
    max-width: 100% !important;
  }

  .hero-title-wrap {
    overflow: visible !important;
  }

  /* Tentang Kami: fix tiny vw font and center on tablet */
  .scroll-reveal-text {
    font-size: 20px !important;
    text-align: center;
  }

  .section-titli-box-wrap {
    text-align: center;
  }

  .section-botum-wrap {
    display: flex;
    justify-content: center;
  }

  /* Fix horizontal overflow from 100vw */
  .projects-card-img {
    max-width: 100%;
  }

  /* Section titles: allow wrapping, use original 36px (not var(--h2) which is 44px at tablet) */
  .section-title.left-align,
  .section-title-wrap.projects .section-title,
  .section-title-wrap.process .section-title,
  .section-title-wrap.testimonial .section-title,
  .section-title-wrap.our-blogs .section-title,
  .section-title-wrap.services .section-title,
  .section-title-wrap.technology .section-title,
  .section-title-wrap.why-us .section-title,
  .section-title-wrap.faq .section-title {
    white-space: normal !important;
    font-size: 36px !important;
  }

  /* Section title max-width — prevent clipping */
  .section-title {
    max-width: 100% !important;
  }
}

/* --- Mobile (≤767px) --- */
@media (max-width: 767px) {
  /* Force ALL inline-hidden elements visible on mobile */
  [style*="opacity: 0"],
  [style*="opacity:0"] {
    opacity: 1 !important;
  }

  /* Keep card hover overlays hidden */
  .card-hover-main-link {
    opacity: 0 !important;
  }

  .our-value-tab-conten-inner {
    opacity: 1 !important;
  }

  .scroll-float .char {
    opacity: 1 !important;
  }

  .hero-img-inner {
    visibility: visible !important;
  }

  /* Override high-specificity inline style that hides hero images */
  html.w-mod-js:not(.w-mod-ix3) :is(.hero-img-inner.one, .hero-img-inner.two, .hero-img-inner.three, .hero-img-inner.four, .hero-img-inner.five) {
    visibility: visible !important;
  }

  /* Hero: reset negative margin that causes overlap */
  .hero-mane-img-wrap {
    margin-top: 0 !important;
    width: 100%;
  }

  /* Hero: allow title to use full width, centered */
  .hero-title {
    max-width: 100% !important;
    text-align: center;
  }

  /* Tabs (Visi/Misi): limit image height for better layout */
  .tab-img {
    height: auto !important;
    max-height: 300px;
    width: 100%;
    transform: none !important;
  }

  /* Tab accordion: active tab styling */
  .tab-menu-link.w--current {
    border-color: #e74c3c;
  }

  /* Tab accordion: inactive tab — make title look clickable */
  .tab-menu-link:not(.w--current) .about-tab-menu-box {
    cursor: pointer;
  }

  .tab-menu-link:not(.w--current) .about-tab-title-flex::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: #999;
    margin-left: auto;
    padding-left: 12px;
  }

  .tab-menu-link.w--current .about-tab-title-flex::after {
    content: '\2212';
    font-size: 20px;
    font-weight: 300;
    color: #e74c3c;
    margin-left: auto;
    padding-left: 12px;
  }

  /* Section titles: smaller size for mobile, allow wrapping */
  .section-title.left-align,
  .section-title-wrap.projects .section-title,
  .section-title-wrap.process .section-title,
  .section-title-wrap.testimonial .section-title,
  .section-title-wrap.our-blogs .section-title,
  .section-title-wrap.services .section-title,
  .section-title-wrap.technology .section-title,
  .section-title-wrap.why-us .section-title,
  .section-title-wrap.faq .section-title {
    white-space: normal !important;
    font-size: 28px !important;
  }

  /* General section title: cap size and allow full width */
  .section-title {
    max-width: 100% !important;
    font-size: 28px;
  }

  /* Hero title wrap: allow overflow to show full text */
  .hero-title-wrap {
    overflow: visible !important;
  }

  /* Reduce excessive section padding on mobile */
  .section.projects,
  .section.process,
  .section.testimonial,
  .section.our-blogs {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* Tighten spacing between section title and content */
  .section-title-wrap {
    margin-bottom: 24px;
  }

  /* Contact form: force single column */
  .contact-left-wraper {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-flow: column;
    gap: 16px;
  }
}

/* ============================================
   Services Page – Section Header Layout Fix
   All section titles: single line, 36px like index.html
   ============================================ */

/* All four section title wraps on services.html: no max-width, no wrap */
.section.services .section-title-wrap.services,
.section-title-wrap.technology,
.section.why-us .section-title-wrap.why-us,
.section.faq .section-title-wrap.faq {
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

.section.services .section-title-wrap.services .section-title,
.section-title-wrap.technology .section-title,
.section.why-us .section-title-wrap.why-us .section-title,
.section.faq .section-title-wrap.faq .section-title {
  white-space: nowrap;
  font-size: 36px;
}

/* Why-Us: description below badge+title row */
.section.why-us .section-title-wrapper.why-us {
  flex-wrap: wrap;
}

.section.why-us .section-title-wrapper.why-us > .section-title-inner {
  flex: 0 0 100%;
}

.section.why-us .section-title-wrapper.why-us > .section-details-wrapper {
  margin-top: 16px;
}

/* ============================================
   WhatsApp Button
   ============================================ */
.submit-buttons-flex {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.wa-button {
  background-color: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 16px center !important;
  background-size: 18px 18px !important;
  padding-left: 42px !important;
  transition: background-color 0.2s ease;
}

.wa-button:hover {
  background-color: #1DA851 !important;
  border-color: #1DA851 !important;
}

.wa-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================
   Blog List Cards — refined typography
   ============================================ */

/* Title: smaller, tighter, more modern */
.our-blogs-details-title {
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Title link wrapper: reduce left margin */
.our-blogs-detils-title-link {
  margin-left: 0 !important;
  margin-bottom: 8px;
  text-decoration: none !important;
}

.our-blogs-detils-title-link:hover {
  text-decoration: none !important;
}

.our-blogs-detils-title-link:hover .our-blogs-details-title {
  color: var(--rad, #e74c3c);
}

/* Excerpt: smaller, lighter color, controlled lines */
.our-blogs-details {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #777 !important;
  margin-left: 0 !important;
  margin-top: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Category/date badge: smaller, refined */
.our-blogs-date-text-wrap {
  padding: 4px 10px !important;
  gap: 8px !important;
  margin-bottom: 12px;
  border-radius: 6px !important;
}

.our-blogs-date-text {
  font-size: 12px !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Content box: tighter padding */
.our-blogs-details-box {
  padding-top: 14px;
}

/* Card: subtle hover lift */
.our-blogs-singel {
  transition: transform 0.25s ease;
}

.our-blogs-singel:hover {
  transform: translateY(-4px);
}

/* Tablet: keep refined sizes */
@media (max-width: 991px) {
  .our-blogs-details-title {
    font-size: 17px !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .our-blogs-details-title {
    font-size: 16px !important;
  }

  .our-blogs-details,
  .our-blogs-detils-title-link {
    margin-left: 0 !important;
  }
}

/* ============================================
   Blog Detail Page
   ============================================ */

/* Hero with cover image */
.blog-detail-hero {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  background: #1a1a1a;
}

.blog-detail-hero-overlay {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}

.blog-detail-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.blog-detail-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 60px 0 48px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
}

.blog-detail-back-link {
  display: inline-block;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.2s ease;
}

.blog-detail-back-link:hover {
  color: #fff;
}

.blog-detail-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

.blog-detail-hero-category {
  background: #e74c3c;
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.blog-detail-hero-separator {
  color: rgba(255,255,255,0.4);
}

.blog-detail-hero-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  max-width: 800px;
  margin: 0;
}

/* Hero without image */
.blog-detail-hero.no-image {
  min-height: auto;
  background: #f8f8f8;
}

.blog-detail-hero.no-image .blog-detail-hero-overlay {
  min-height: auto;
}

.blog-detail-hero.no-image .blog-detail-hero-img {
  display: none;
}

.blog-detail-hero.no-image .blog-detail-hero-content {
  background: none;
  padding: 120px 0 40px;
}

.blog-detail-hero.no-image .blog-detail-back-link {
  color: #666;
}

.blog-detail-hero.no-image .blog-detail-back-link:hover {
  color: #e74c3c;
}

.blog-detail-hero.no-image .blog-detail-hero-meta {
  color: #666;
}

.blog-detail-hero.no-image .blog-detail-hero-separator {
  color: #ccc;
}

.blog-detail-hero.no-image .blog-detail-hero-title {
  color: #171717;
}

/* Article body */
.blog-detail-body {
  padding: 60px 0 80px;
}

.blog-article-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}

.blog-article-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: #171717;
  margin: 48px 0 16px;
  line-height: 1.3;
}

.blog-article-content h3 {
  font-size: 21px;
  font-weight: 600;
  color: #171717;
  margin: 36px 0 12px;
  line-height: 1.35;
}

.blog-article-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #171717;
  margin: 28px 0 10px;
}

.blog-article-content p {
  margin: 0 0 20px;
}

.blog-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 24px 0;
}

.blog-article-content ul,
.blog-article-content ol {
  margin: 0 0 20px;
  padding-left: 28px;
}

.blog-article-content li {
  margin-bottom: 8px;
}

.blog-article-content blockquote {
  border-left: 4px solid #e74c3c;
  padding: 16px 24px;
  margin: 24px 0;
  background: #fafafa;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
}

.blog-article-content a {
  color: #e74c3c;
  text-decoration: underline;
}

.blog-article-content a:hover {
  color: #c0392b;
}

.blog-article-content pre {
  background: #1a1a1a;
  color: #f0f0f0;
  padding: 20px 24px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.6;
}

.blog-article-content code {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.blog-article-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}

.blog-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.blog-article-content th,
.blog-article-content td {
  border: 1px solid #e0e0e0;
  padding: 10px 14px;
  text-align: left;
}

.blog-article-content th {
  background: #f5f5f5;
  font-weight: 600;
}

/* Back button at bottom */
.blog-detail-footer-nav {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.blog-detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e74c3c;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

.blog-detail-back-btn:hover {
  color: #c0392b;
}

/* Responsive */
@media (max-width: 991px) {
  .blog-detail-hero {
    min-height: 320px;
  }

  .blog-detail-hero-overlay {
    min-height: 320px;
  }

  .blog-detail-hero-title {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .blog-detail-hero {
    min-height: 280px;
  }

  .blog-detail-hero-overlay {
    min-height: 280px;
  }

  .blog-detail-hero-title {
    font-size: 26px;
  }

  .blog-detail-hero-content {
    padding: 40px 0 32px;
  }

  .blog-detail-body {
    padding: 40px 0 60px;
  }

  .blog-article-content {
    font-size: 16px;
  }

  .blog-article-content h2 {
    font-size: 22px;
    margin-top: 36px;
  }

  .blog-article-content h3 {
    font-size: 19px;
    margin-top: 28px;
  }
}

@media (max-width: 479px) {
  .blog-detail-hero {
    min-height: 240px;
  }

  .blog-detail-hero-overlay {
    min-height: 240px;
  }

  .blog-detail-hero-title {
    font-size: 22px;
  }

  .blog-article-content {
    font-size: 15px;
  }
}

/* --- Small Mobile (≤479px) --- */
@media (max-width: 479px) {
  /* Hide decorative hero card images */
  .hero-img-wrapper {
    display: none;
  }

  /* Hero title full width, centered */
  .hero-title {
    max-width: 100% !important;
    text-align: center;
  }

  /* Tentang Kami: readable size + centered on small mobile */
  .scroll-reveal-text {
    font-size: 16px !important;
    text-align: center;
  }

  .section-titli-box-wrap {
    text-align: center;
  }

  .section-botum-wrap {
    display: flex;
    justify-content: center;
  }

  /* Tabs: single column, smaller images */
  .tab-img {
    max-height: 200px;
    border-radius: 14px !important;
    object-position: center center !important;
  }

  .about-tab-menu-box {
    border-radius: 14px !important;
    padding: 12px !important;
  }

  /* Section titles: compact on small mobile */
  .section-title.left-align,
  .section-title-wrap.projects .section-title,
  .section-title-wrap.process .section-title,
  .section-title-wrap.testimonial .section-title,
  .section-title-wrap.our-blogs .section-title,
  .section-title-wrap.services .section-title,
  .section-title-wrap.technology .section-title,
  .section-title-wrap.why-us .section-title,
  .section-title-wrap.faq .section-title {
    white-space: normal !important;
    font-size: 24px !important;
  }

  .section-title {
    max-width: 100% !important;
    font-size: 24px;
  }

  /* Hero title wrap: allow overflow */
  .hero-title-wrap {
    overflow: visible !important;
  }

  /* Reduce section padding further */
  .section.projects,
  .section.process,
  .section.testimonial,
  .section.our-blogs {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  /* Prevent footer text overflow */
  .footer-main-taxt,
  .footer-main-taxt.two,
  .footer-main-taxt.three,
  .footer-main-taxt.four,
  .footer-main-taxt.five {
    font-size: 42px !important;
  }
}
