/* ==========================================================================
   PT Mahakaam Jaya Sejahtera - Modern EPCC Industrial UI/UX Layer
   Builds on BizPage base styles with cohesive brand tokens & subtle motion
   ========================================================================== */

:root {
  --mk-accent: #d23818;
  --mk-accent-dark: #a9280e;
  --mk-accent-glow: rgba(210, 56, 24, 0.22);
  --mk-navy: #0b1626;
  --mk-navy-mid: #13233b;
  --mk-amber: #f59e0b;
  --mk-text: #475569;
  --mk-heading: #0f172a;
  --mk-surface: #ffffff;
  --mk-surface-alt: #f8fafc;
  --mk-border: rgba(15, 23, 42, 0.08);
  --mk-shadow-sm: 0 6px 20px rgba(11, 22, 38, 0.06);
  --mk-shadow-md: 0 16px 38px rgba(11, 22, 38, 0.12);
  --mk-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--mk-text);
  font-family: "Plus Jakarta Sans", "Open Sans", sans-serif;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", "Plus Jakarta Sans", sans-serif;
  color: var(--mk-heading);
}

a {
  color: var(--mk-accent);
  transition: color 0.25s var(--mk-ease), transform 0.25s var(--mk-ease);
}

a:hover, a:focus {
  color: var(--mk-accent-dark);
}

/* ---------- Top Scroll Progress Indicator ---------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--mk-accent), var(--mk-amber));
  z-index: 9999;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ---------- Glassmorphic Header & Navbar ---------- */
/* Apply backdrop-filter on ::before so #header never traps position:fixed .navbar-mobile */
#header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s var(--mk-ease);
}

#header .logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin-right: 16px;
}

#header .logo img {
  width: auto;
  height: 40px;
  max-height: 40px;
  max-width: none;
}

@media (min-width: 992px) and (max-width: 1399px) {
  .navbar a, .navbar a:focus {
    padding: 10px 0 10px 18px;
    font-size: 12px;
  }
  .navbar > ul > li > a::after {
    left: 18px;
  }
}

#header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(11, 22, 38, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s var(--mk-ease);
}

#header.header-transparent {
  border-bottom-color: transparent;
}

#header.header-transparent::before {
  background: linear-gradient(180deg, rgba(11, 22, 38, 0.72) 0%, rgba(11, 22, 38, 0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#header.header-scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

#header.header-scrolled::before {
  background: rgba(11, 22, 38, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navbar a, .navbar a:focus {
  position: relative;
  letter-spacing: 0.4px;
}

.navbar > ul > li > a::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--mk-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--mk-ease);
}

.navbar > ul > li > a:hover::after,
.navbar > ul > li > a.active::after {
  transform: scaleX(1);
}

@media (max-width: 991px) {
  .navbar > ul > li > a::after {
    display: none;
  }
}

/* ---------- Hero Section + Ken Burns + Scroll Cue ---------- */
#hero {
  background: var(--mk-navy);
}

@media (max-height: 500px) {
  #hero {
    height: 100vh;
    min-height: 460px;
  }
}

#hero .carousel-item {
  overflow: hidden;
  transition: opacity 0.9s ease-in-out;
}

#hero .carousel-item::before {
  background: linear-gradient(135deg, rgba(11, 22, 38, 0.84) 0%, rgba(11, 22, 38, 0.58) 55%, rgba(210, 56, 24, 0.26) 100%);
  z-index: 1;
}

#hero .carousel-item.active {
  animation: heroKenBurns 12s ease-out forwards;
}

@keyframes heroKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

#hero .carousel-container {
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero-eyebrow .dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mk-amber);
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

#hero h2 {
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

#hero .btn-get-started {
  border-radius: 999px;
  padding: 11px 34px;
  font-weight: 600;
  box-shadow: 0 10px 26px var(--mk-accent-glow);
  transition: transform 0.3s var(--mk-ease), box-shadow 0.3s var(--mk-ease), background 0.3s ease, color 0.3s ease;
}

#hero .btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 255, 255, 0.25);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: rgba(255, 255, 255, 0.78);
  font-size: 24px;
  animation: floatBounce 2.2s infinite ease-in-out;
}

.hero-scroll-cue:hover {
  color: #fff;
}

@keyframes floatBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

/* ---------- Section Headings + Interactive Text Hover ---------- */
.section-header h3,
.section-header h2.section-title {
  font-size: 32px;
  color: #111;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  width: fit-content;
  margin: 0 auto 20px;
  padding-left: 10px;
  padding-right: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  cursor: default;
  transition: color 0.35s var(--mk-ease), transform 0.35s var(--mk-ease), letter-spacing 0.35s var(--mk-ease), text-shadow 0.35s var(--mk-ease);
}

.section-header h3::before,
.section-header h2.section-title::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
  transition: width 0.35s var(--mk-ease), left 0.35s var(--mk-ease), opacity 0.35s ease;
}

.section-header h3::after,
.section-header h2.section-title::after {
  content: "";
  position: absolute;
  display: block;
  background: linear-gradient(90deg, var(--mk-accent), var(--mk-amber));
  width: 48px;
  height: 3px;
  bottom: 0;
  left: calc(50% - 24px);
  border-radius: 3px;
  transition: width 0.38s var(--mk-ease), left 0.38s var(--mk-ease), box-shadow 0.38s var(--mk-ease);
}

.section-header h3:hover,
.section-header h2.section-title:hover {
  color: var(--mk-accent);
  transform: translateY(-3px);
  letter-spacing: 1.8px;
  text-shadow: 0 6px 18px var(--mk-accent-glow);
}

.section-header h3:hover::before,
.section-header h2.section-title:hover::before {
  width: 100%;
  left: 0;
}

.section-header h3:hover::after,
.section-header h2.section-title:hover::after {
  width: 100%;
  left: 0;
  box-shadow: 0 2px 14px var(--mk-accent-glow);
}

#about .section-header h1,
.breadcrumbs h1,
.breadcrumbs h2 {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  cursor: default;
  transition: color 0.3s var(--mk-ease), transform 0.3s var(--mk-ease), letter-spacing 0.3s var(--mk-ease);
}

.breadcrumbs h1,
.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 600;
  margin-left: 0;
  margin-right: 0;
}

#about .section-header h1:hover,
.breadcrumbs h1:hover,
.breadcrumbs h2:hover {
  color: var(--mk-accent);
  transform: translateY(-2px);
  letter-spacing: 0.6px;
}

/* ---------- Featured Services ---------- */
#featured-services {
  background: var(--mk-navy);
}

#featured-services .box-bg {
  background-image: linear-gradient(180deg, var(--mk-navy) 0%, var(--mk-navy-mid) 50%, var(--mk-navy) 100%);
}

#featured-services .box {
  transition: transform 0.35s var(--mk-ease), background-color 0.35s ease;
  border-bottom: 2px solid transparent;
}

#featured-services .box:hover {
  transform: translateY(-4px);
  border-bottom-color: var(--mk-accent);
}

#featured-services h3 {
  font-weight: 400;
  margin: 15px 0;
  font-size: 18px;
}

#featured-services h3 a {
  color: #fff;
}

#featured-services h3 a:hover {
  color: #ff8a6b;
}

/* ---------- About Us Cards ---------- */
#about .about-col {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--mk-border);
  box-shadow: var(--mk-shadow-sm);
  transition: transform 0.35s var(--mk-ease), box-shadow 0.35s var(--mk-ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}

#about .about-col:hover {
  transform: translateY(-6px);
  box-shadow: var(--mk-shadow-md);
}

#about .about-col .img img,
#about .about-col .img iframe {
  transition: transform 0.6s var(--mk-ease);
}

#about .about-col:hover .img img {
  transform: scale(1.04);
}

#about .about-col p {
  flex-grow: 1;
}

/* YouTube Click-to-Play Facade */
#about .about-col .img .yt-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 680 / 398;
  background: linear-gradient(135deg, rgba(11, 22, 38, 0.72) 0%, rgba(21, 41, 69, 0.85) 100%), url("../img/about-bg.webp") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  color: #fff;
  text-align: center;
  padding: 16px;
}

#about .about-col .img .yt-facade:focus-visible {
  outline: 3px solid var(--mk-amber);
  outline-offset: -3px;
}

.yt-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(210, 56, 24, 0.94);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 28px rgba(210, 56, 24, 0.45);
  transition: transform 0.25s var(--mk-ease), background-color 0.25s ease;
}

.yt-facade:hover .yt-play-btn {
  transform: scale(1.08);
  background: var(--mk-accent-hover);
}

.yt-facade-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #f1f5f9;
  background: rgba(11, 22, 38, 0.7);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Interactive Holding & Milestone Timeline ---------- */
#milestone {
  padding: 72px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--mk-surface-alt) 100%);
}

.mk-timeline {
  position: relative;
  max-width: 1040px;
  margin: 30px auto 32px;
  padding: 10px 0;
}

.mk-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--mk-accent), var(--mk-navy-mid));
  transform: translateX(-50%);
  border-radius: 3px;
}

.mk-timeline-item {
  position: relative;
  width: 50%;
  padding: 12px 36px;
}

.mk-timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.mk-timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.mk-timeline-dot {
  position: absolute;
  top: 26px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mk-accent);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px rgba(210, 56, 24, 0.22);
  z-index: 2;
  transition: transform 0.3s var(--mk-ease);
}

.mk-timeline-item:nth-child(odd) .mk-timeline-dot {
  right: -9px;
}

.mk-timeline-item:nth-child(even) .mk-timeline-dot {
  left: -9px;
}

.mk-timeline-item:hover .mk-timeline-dot {
  transform: scale(1.25);
}

.mk-timeline-card {
  background: #fff;
  border: 1px solid var(--mk-border);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: var(--mk-shadow-sm);
  transition: transform 0.35s var(--mk-ease), box-shadow 0.35s var(--mk-ease), border-color 0.35s ease;
}

.mk-timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mk-shadow-md);
  border-color: rgba(210, 56, 24, 0.3);
}

.mk-timeline-year {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(210, 56, 24, 0.1);
  color: var(--mk-accent);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.mk-timeline-card h4,
.mk-timeline-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--mk-heading);
}

.mk-timeline-card p {
  margin: 0;
  font-size: 14px;
  color: var(--mk-text);
}

@media (max-width: 767px) {
  .mk-timeline::before {
    left: 20px;
  }
  .mk-timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding: 10px 10px 10px 48px;
  }
  .mk-timeline-item .mk-timeline-dot {
    left: 11px !important;
    right: auto !important;
  }
}

.mk-milestone-infographic-btn {
  border: 1px solid var(--mk-navy-mid);
  color: var(--mk-navy-mid);
  background: #fff;
  border-radius: 999px;
  padding: 9px 22px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--mk-ease);
}

.mk-milestone-infographic-btn:hover {
  background: var(--mk-navy-mid);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Services Section ---------- */
#services .box {
  padding: 24px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--mk-ease), box-shadow 0.35s var(--mk-ease), border-color 0.35s ease, background-color 0.35s ease;
}

#services .box:hover {
  background: #fff;
  border-color: var(--mk-border);
  box-shadow: var(--mk-shadow-sm);
  transform: translateY(-4px);
}

#services .icon i {
  transition: transform 0.35s var(--mk-ease);
}

#services .box:hover .icon i {
  transform: scale(1.15);
}

/* ---------- Call to Action & Facts ---------- */
#call-to-action .cta-btn {
  border-radius: 999px;
  transition: all 0.3s var(--mk-ease);
}

#call-to-action .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--mk-accent-glow);
}

#facts .counters span {
  color: var(--mk-accent);
}

.mk-counter-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--mk-border);
  border-radius: 14px;
  padding: 24px 16px;
  box-shadow: var(--mk-shadow-sm);
  height: 100%;
  transition: transform 0.3s var(--mk-ease), box-shadow 0.3s var(--mk-ease);
}

.mk-counter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mk-shadow-md);
}

/* ---------- Portfolio Cards + Detail Action ---------- */
#portfolio .portfolio-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--mk-shadow-sm);
  transition: transform 0.35s var(--mk-ease), box-shadow 0.35s var(--mk-ease);
  background: #fff;
}

#portfolio .portfolio-wrap:hover {
  transform: translateY(-6px);
  box-shadow: var(--mk-shadow-md);
}

#portfolio .portfolio-wrap figure img {
  transition: transform 0.55s var(--mk-ease);
}

#portfolio .portfolio-wrap:hover figure img {
  transform: scale(1.06);
}

#portfolio #portfolio-flters li {
  border-radius: 999px;
  padding: 9px 20px;
  font-weight: 600;
  transition: all 0.25s var(--mk-ease);
}

#portfolio .portfolio-item .portfolio-info {
  height: auto;
  min-height: 98px;
  padding: 20px 18px;
}

#portfolio .portfolio-item .portfolio-info h4,
#portfolio .portfolio-item .portfolio-info h3 {
  line-height: 1.3;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 700;
}

#portfolio .portfolio-item .portfolio-info h3 a {
  color: #333333;
}

#portfolio .portfolio-item .portfolio-info h3 a:hover {
  color: var(--mk-accent);
}

#portfolio .portfolio-item .portfolio-info p {
  font-size: 12.5px;
  color: #64748b;
  letter-spacing: 0.3px;
}

.mk-badge-year {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--mk-navy-mid);
}

/* ---------- Certificate & Competency (#cert) Fix + Hover ---------- */
#cert {
  background: #fff;
  padding: 72px 0;
}

#cert .member {
  text-align: center;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--mk-border);
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--mk-shadow-sm);
  transition: transform 0.35s var(--mk-ease), box-shadow 0.35s var(--mk-ease);
}

#cert .member:hover {
  transform: translateY(-5px);
  box-shadow: var(--mk-shadow-md);
}

#cert .member img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.5s var(--mk-ease), opacity 0.35s ease;
}

#cert .member:hover img {
  transform: scale(1.05);
  opacity: 0.28;
}

#cert .member .member-info {
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 22, 38, 0.72) 0%, rgba(11, 22, 38, 0.94) 100%);
  transition: opacity 0.35s var(--mk-ease);
  padding: 16px;
}

#cert .member .member-info-content {
  transform: translateY(14px);
  transition: transform 0.35s var(--mk-ease);
}

#cert .member:hover .member-info {
  opacity: 1;
}

#cert .member:hover .member-info-content {
  transform: translateY(0);
}

#cert .member h6,
#cert .member h3 {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-bottom: 6px;
}

.cert-sub {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.2px;
}

/* ---------- Contact & Footer Polish ---------- */
#contact .contact-address,
#contact .contact-phone {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 24px 18px;
  height: 100%;
  border: 1px solid var(--mk-border);
  box-shadow: var(--mk-shadow-sm);
}

#contact iframe {
  background: #e2e8f0;
  border-radius: 12px;
  box-shadow: var(--mk-shadow-sm);
}

#contact .row.g-4 {
  padding-bottom: 60px;
}

#call-to-action h2,
#call-to-action h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

#footer {
  background: var(--mk-navy);
}

#footer .footer-top {
  background: #08101c;
}

#footer .footer-top p,
#footer .footer-top .footer-contact p,
#footer .footer-top .footer-newsletter p {
  color: #cbd5e1;
}

#footer .footer-top h3,
#footer .footer-top h4 {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top h3::before,
#footer .footer-top h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
}

#footer .footer-top h3::before {
  right: 0;
  background: #555;
}

#footer .footer-top h3::after {
  background: #d23818;
  width: 60px;
}

#footer .footer-top .footer-contact a,
#footer .footer-top .footer-links ul a {
  color: #f1f5f9;
  transition: color 0.2s ease;
}

#footer .footer-top .footer-contact a:hover,
#footer .footer-top .footer-links ul a:hover {
  color: #ff9e85;
  text-decoration: underline;
}

#footer .footer-top .social-links a {
  background: var(--mk-navy-mid);
  transition: all 0.25s var(--mk-ease);
}

#footer .footer-top .social-links a:hover {
  background: var(--mk-accent);
  transform: translateY(-2px);
}

.back-to-top {
  background: var(--mk-accent);
  box-shadow: 0 6px 18px var(--mk-accent-glow);
}

.back-to-top:hover {
  background: var(--mk-navy-mid);
}

/* ---------- News Hub Toolbar & Cards ---------- */
.news-toolbar {
  background: #fff;
  border: 1px solid var(--mk-border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 32px;
  box-shadow: var(--mk-shadow-sm);
}

.news-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-filter-btn {
  border: 1px solid var(--mk-border);
  background: var(--mk-surface-alt);
  color: var(--mk-heading);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--mk-ease);
}

.news-filter-btn:hover,
.news-filter-btn.active {
  background: var(--mk-accent);
  border-color: var(--mk-accent);
  color: #fff;
}

.blog .entry {
  border-radius: 14px;
  border: 1px solid var(--mk-border);
  transition: transform 0.3s var(--mk-ease), box-shadow 0.3s var(--mk-ease);
}

.blog .entry:hover {
  transform: translateY(-3px);
  box-shadow: var(--mk-shadow-md);
}

.news-cat-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(210, 56, 24, 0.1);
  color: var(--mk-accent);
  margin-bottom: 12px;
}

.blog .entry .entry-content .read-more a {
  border-radius: 999px;
  border: 1px solid var(--mk-accent);
  color: var(--mk-accent);
  font-weight: 600;
}

.blog .entry .entry-content .read-more a:hover {
  background: var(--mk-accent);
  color: #fff;
}

.blog .blog-pagination li a,
.blog .blog-pagination li button {
  border-radius: 8px;
  border: 1px solid var(--mk-border);
  background: #fff;
  color: var(--mk-heading);
  padding: 7px 16px;
  margin: 0 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li.active button,
.blog .blog-pagination li a:hover,
.blog .blog-pagination li button:hover {
  background: var(--mk-accent);
  border-color: var(--mk-accent);
  color: #fff;
}

/* ---------- Mobile Smartphone Responsive Polish ---------- */
@media (max-width: 767px) {
  #hero .container {
    padding-left: 44px;
    padding-right: 44px;
  }
  .hero-eyebrow {
    font-size: 10.5px;
    padding: 5px 12px;
    letter-spacing: 0.7px;
    margin-bottom: 14px;
  }
  #hero h2 {
    font-size: 22px;
    line-height: 1.32;
    margin-bottom: 22px;
  }
  #hero .btn-get-started {
    padding: 10px 26px;
    font-size: 14px;
  }
  #hero .carousel-indicators {
    bottom: 48px;
  }
  .hero-scroll-cue {
    bottom: 12px;
    font-size: 20px;
  }
  .section-header h3,
  .section-header h2.section-title {
    font-size: 25px;
  }
  .section-header h3:hover,
  .section-header h2.section-title:hover {
    letter-spacing: 1px;
  }
  .blog {
    padding: 24px 0 28px;
  }
  .blog .entry {
    padding: 20px;
    margin-bottom: 28px;
  }
  .blog .entry .entry-title {
    font-size: 21px;
  }
  #footer {
    padding-bottom: 58px;
  }
}

/* ---------- Reduced Motion Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #hero .carousel-item.active,
  .hero-scroll-cue,
  .hero-eyebrow .dot-live {
    animation: none !important;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}
