:root {
  --font-body: "Inter", sans-serif;
  --font-heading: "Poppins", sans-serif;
  --primary-green: #0e9f8d;
  --gradient-end: #6cc4a1;
  --text-main: #111111;
  --text-secondary: #6b7280;
  --border: #e5e7eb;
  --bg-page: #f9fafb;
  --white: #ffffff;
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --radius-btn: 8px;
  --radius-card: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nav-group > a,
.btn-cta,
.btn-outline,
.tabs button,
.head-nav button {
  font-family: var(--font-heading);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.container {
  width: min(1440px, calc(100% - 120px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.topbar {
  background: var(--primary-green);
  color: #e7fffb;
}

.topbar-inner {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang {
  font-weight: 600;
}

.lang.muted {
  opacity: 0.7;
}

.nav-wrap {
  min-height: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: 140px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 16px;
}

.nav-group {
  position: relative;
}

.nav-group > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  font-weight: 500;
  color: #1f2937;
}

.nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
}

.nav-caret svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  min-width: 280px;
  max-width: 360px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 8px;
  z-index: 120;
}

.nav-submenu a {
  display: block;
  padding: 8px;
  border-radius: var(--radius-btn);
  color: #374151;
  font-size: 14px;
  line-height: 1.35;
}

.nav-submenu a:hover {
  background: #f0f9f7;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-link {
  color: var(--text-secondary);
}

.btn-cta,
.btn-outline,
.head-nav button,
.tabs button {
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 14px;
  padding: 8px 16px;
  cursor: pointer;
  background: var(--white);
}

.btn-cta {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--white);
  font-weight: 600;
}

.menu-toggle,
.menu-button {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 650px;
  background: url("images/hero.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 159, 141, 0.88) 0%, rgba(108, 196, 161, 0.65) 52%, rgba(108, 196, 161, 0.24) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding-top: 64px;
}

.eyebrow {
  font-size: 14px;
  margin: 0;
}

.hero h1 {
  margin: 8px 0 8px;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  max-width: 620px;
}

.hero-desc {
  margin: 0 0 24px;
  max-width: 620px;
  color: #ecfffb;
}

.search-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 760px;
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.search-card label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.search-input-wrap {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 16px;
}

.search-input-wrap input {
  width: 100%;
  height: 51px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 16px 0 40px;
  font-family: inherit;
  font-size: 16px;
}

.quick-actions {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.action-card {
  min-width: 120px;
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-content: center;
}

.qa-icon,
.exec-icon {
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--primary-green);
  border-radius: 999px;
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.action-card strong {
  font-size: 16px;
  line-height: 1.3;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.about-grid img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.about h2 {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 600;
}

.about p {
  margin: 0;
  color: var(--text-secondary);
}

.about-links {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  color: var(--primary-green);
  font-weight: 600;
}

.services,
.news {
  background: #f2faf8;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 600;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--text-secondary);
}

.head-nav {
  display: flex;
  gap: 8px;
}

.head-nav button {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.service-card,
.promo-card,
.news-card,
.testimonial-card,
.feedback-wrap,
.site-footer {
  box-shadow: var(--shadow-card);
}

.service-card,
.promo-card,
.news-card,
.testimonial-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
}

.service-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 20px;
}

.service-card h3,
.news-card h3,
.promo-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card p {
  margin: 0;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.promo-card div {
  padding: 16px;
}

.promo-card h3 {
  font-size: 20px;
}

.highlight {
  margin: 0;
  color: var(--primary-green);
  font-weight: 600;
}

.period {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 12px;
}

.executive {
  padding: 0;
}

.executive-banner {
  position: relative;
  height: 695px;
}

.executive-banner img,
.executive-overlay {
  position: absolute;
  inset: 0;
}

.executive-banner img {
  object-fit: cover;
}

.executive-overlay {
  background: linear-gradient(90deg, rgba(14, 159, 141, 0.82) 0%, rgba(108, 196, 161, 0.68) 50%, rgba(17, 17, 17, 0.48) 100%);
}

.executive-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding-top: 88px;
}

.executive-content h2 {
  margin: 0;
  max-width: 640px;
  font-size: 40px;
  font-weight: 600;
}

.executive-content p {
  max-width: 680px;
  margin: 16px 0 24px;
}

.executive-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.executive-points div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  display: grid;
  grid-template-columns: 40% 1fr;
}

.testimonial-card img {
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.testimonial-card div {
  padding: 16px;
}

.testimonial-card blockquote {
  margin: 0 0 12px;
  color: #374151;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tabs button.active {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.news-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-card div {
  padding: 12px;
}

.news-card h3 {
  font-size: 24px;
  margin-bottom: 0;
}

.meta {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.news-head a {
  color: var(--primary-green);
  font-weight: 600;
}

.feedback {
  padding-top: 48px;
}

.feedback-wrap {
  border-radius: var(--radius-lg);
  background: #eaf5f4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.feedback-item {
  min-height: 128px;
  padding: 24px;
  border-right: 1px solid #d1e5e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feedback-item:last-child {
  border-right: 0;
}

.feedback-item strong {
  font-size: 32px;
  line-height: 1.3;
}

.feedback-item p {
  margin: 4px 0 0;
  color: var(--text-secondary);
}

.feedback-item span {
  color: var(--primary-green);
  font-size: 24px;
  font-weight: 700;
}

.site-footer {
  margin-top: 40px;
  background: var(--primary-green);
  color: #eafff8;
}

.footer-top {
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-brand img {
  width: 168px;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-kemenkes-brand {
  display: inline-flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-kemenkes-logo {
  width: min(100%, 340px);
  height: auto;
  object-fit: contain;
}

.footer-top h4 {
  margin: 0 0 12px;
  font-size: 16px;
}

.footer-top a {
  display: block;
  margin-bottom: 8px;
}

.social-row {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.social-row img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: contain;
  background: #ffffff1f;
  padding: 4px;
}

.footer-bottom {
  min-height: 56px;
  border-top: 1px solid #52bdac;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}

@media (max-width: 1080px) {
  .container {
    width: min(1440px, calc(100% - 64px));
  }

  .main-nav {
    gap: 16px;
    font-size: 14px;
  }

  .nav-group > a {
    padding: 4px 2px;
  }

  .nav-submenu {
    min-width: 250px;
  }

  .hero h1,
  .about h2,
  .section-head h2,
  .executive-content h2 {
    font-size: 32px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-grid,
  .about-grid,
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 48px);
  }

  .topbar-inner {
    min-height: 32px;
    font-size: 11px;
  }

  .topbar-right span {
    display: none;
  }

  .nav-wrap {
    min-height: 69px;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    width: 42px;
    height: 42px;
    background: var(--white);
    position: relative;
    cursor: pointer;
  }

  .hamburger-lines {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .hamburger-lines span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #1f2937;
  }

  .main-nav,
  .nav-actions {
    display: none;
  }

  .menu-toggle:checked ~ .main-nav {
    display: flex;
    position: absolute;
    left: 24px;
    right: 24px;
    top: 101px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 16px;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    max-height: calc(100vh - 124px);
    overflow-y: auto;
  }

  .menu-toggle:checked ~ .main-nav .nav-group {
    width: 100%;
  }

  .menu-toggle:checked ~ .main-nav .nav-group > a {
    width: 100%;
    justify-content: space-between;
    padding: 8px 4px;
  }

  .menu-toggle:checked ~ .main-nav .nav-submenu {
    position: static;
    display: none;
    min-width: 100%;
    box-shadow: none;
    border: 1px solid #e8f2f0;
    margin-top: 6px;
    margin-bottom: 8px;
  }

  .menu-toggle:checked ~ .main-nav .nav-group.is-open .nav-submenu {
    display: block;
  }

  .menu-toggle:checked ~ .main-nav .nav-group.is-open > a .nav-caret svg {
    transform: rotate(180deg);
  }

  .menu-toggle:checked ~ .nav-actions {
    display: flex;
    position: absolute;
    right: 24px;
    top: 112px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .quick-actions {
    gap: 12px;
  }

  .action-card {
    width: 64px;
    min-width: 64px;
    height: 64px;
    padding: 8px;
    align-items: center;
  }

  .qa-icon {
    width: 24px;
    height: 24px;
    font-size: 9px;
  }

  .action-card strong {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .about-grid,
  .testimonial-grid,
  .news-grid,
  .footer-top,
  .executive-points,
  .feedback-wrap {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
  }

  .executive-banner {
    height: 650px;
  }

  .feedback-item {
    border-right: 0;
    border-bottom: 1px solid #d1e5e4;
  }

  .feedback-item:last-child {
    border-bottom: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }
}

/* Hotfix: isolate executive section so it cannot overlap hero */
main > section {
  position: relative;
}

#hero {
  z-index: 2;
  isolation: isolate;
}

#poli-eksekutif {
  z-index: 1;
  isolation: isolate;
}

#poli-eksekutif .executive-banner {
  position: relative;
  overflow: hidden;
}

#poli-eksekutif .executive-banner > img,
#poli-eksekutif .executive-banner > .executive-overlay {
  position: absolute;
  inset: 0;
}

#poli-eksekutif .executive-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#poli-eksekutif .executive-content {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 2;
}

/* Hero layout update: search left, quick actions right */
.hero-tools {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.hero-tools .search-card {
  margin: 0;
  max-width: none;
  width: 100%;
}

.hero-tools .quick-actions {
  margin-top: 0;
  padding-bottom: 0;
  overflow-x: visible;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

@media (max-width: 1280px) {
  .hero-tools {
    grid-template-columns: 1fr;
  }

  .hero-tools .quick-actions {
    margin-top: 16px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }
}

@media (max-width: 768px) {
  .hero-tools {
    margin-top: 12px;
  }
}

/* Hero tweak: search box lower than quick action cards (desktop) */
@media (min-width: 1281px) {
  .hero-tools {
    align-items: center;
  }

  .hero-tools .search-card {
    padding: 10px 14px;
    border-radius: 12px;
  }

  .hero-tools .search-card label {
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 1.2;
  }

  .hero-tools .search-input-wrap input {
    height: 40px;
    font-size: 14px;
  }
}

/* Final hero fix: search and quick action equal height + visible quick action text */
.action-card {
  color: var(--text-main);
}

.action-card strong {
  color: var(--text-main);
}

@media (min-width: 1281px) {
  .hero-tools {
    align-items: stretch;
  }

  .hero-tools .search-card {
    height: 120px;
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-tools .search-card label {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.2;
  }

  .hero-tools .search-input-wrap input {
    height: 51px;
    font-size: 16px;
  }
}

/* Hero visual update: yellow accent at top-left like guideline */
.hero-overlay {
  background:
    radial-gradient(circle at 0% 0%, rgba(194, 225, 73, 0.82) 0%, rgba(194, 225, 73, 0.42) 26%, rgba(194, 225, 73, 0) 48%),
    linear-gradient(90deg, rgba(14, 159, 141, 0.86) 0%, rgba(108, 196, 161, 0.64) 52%, rgba(108, 196, 161, 0.22) 100%);
}

/* Final position: place search + quick actions around 75% hero height (desktop) */
@media (min-width: 1281px) {
  .hero-content {
    min-height: 650px;
    position: relative;
  }

  .hero-tools {
    position: absolute;
    left: 0;
    right: 0;
    top: 75%;
    transform: translateY(-50%);
    margin-top: 0;
    z-index: 3;
  }
}

/* Layanan Unggulan layout per guideline: left copy + 3 horizontal cards */
#layanan-unggulan .services-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  align-items: stretch;
}

#layanan-unggulan .services-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#layanan-unggulan .services-intro h2 {
  margin: 0 0 12px;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
}

#layanan-unggulan .services-intro p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 360px;
}

#layanan-unggulan .services-intro .head-nav {
  margin-top: 24px;
}

#layanan-unggulan .service-carousel {
  display: flex;
  gap: 16px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

#layanan-unggulan .service-carousel .service-card {
  position: relative;
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  min-height: 420px;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
}

#layanan-unggulan .service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#layanan-unggulan .service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(14, 159, 141, 0) 44%,
    rgba(86, 210, 194, 0.22) 60%,
    rgba(33, 191, 174, 0.58) 79%,
    rgba(14, 159, 141, 0.82) 100%
  );
}

#layanan-unggulan .service-card > div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  z-index: 2;
  background: transparent;
}

#layanan-unggulan .service-card h3,
#layanan-unggulan .service-card p {
  color: #ffffff;
}

#layanan-unggulan .service-card p {
  margin: 8px 0 0;
}

@media (max-width: 1280px) {
  #layanan-unggulan .services-layout {
    grid-template-columns: 1fr;
  }

  #layanan-unggulan .services-intro p {
    max-width: none;
  }

  #layanan-unggulan .service-carousel {
    overflow-x: auto;
  }

  #layanan-unggulan .service-carousel .service-card {
    flex: 0 0 260px;
  }
}


/* Final visual update requested: hero and executive overlays + icon glyphs + executive carousel */
.qa-icon,
.exec-icon {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1abaaa;
  background: transparent;
  flex: 0 0 auto;
}

.qa-icon svg,
.exec-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qa-icon svg path[fill],
.exec-icon svg path[fill] {
  fill: currentColor;
  stroke: none;
}

#hero .hero-overlay {
  background:
    radial-gradient(circle at 0% 0%, rgba(194, 225, 73, 0.72) 0%, rgba(194, 225, 73, 0.34) 19%, rgba(194, 225, 73, 0) 40%),
    linear-gradient(90deg, rgba(14, 159, 141, 0.84) 0%, rgba(14, 159, 141, 0.58) 35%, rgba(14, 159, 141, 0.18) 50%, rgba(14, 159, 141, 0) 52%),
    linear-gradient(0deg, rgba(14, 159, 141, 0.60) 0%, rgba(14, 159, 141, 0.32) 10%, rgba(14, 159, 141, 0.00) 20%);
}

#poli-eksekutif .executive-overlay {
  background:
    radial-gradient(circle at 0% 0%, rgba(194, 225, 73, 0.62) 0%, rgba(194, 225, 73, 0.28) 20%, rgba(194, 225, 73, 0) 42%),
    linear-gradient(90deg, rgba(14, 159, 141, 0.82) 0%, rgba(14, 159, 141, 0.56) 34%, rgba(14, 159, 141, 0.18) 50%, rgba(14, 159, 141, 0) 52%);
}

#poli-eksekutif .executive-content h2 {
  max-width: 700px;
}

#poli-eksekutif .executive-content p {
  max-width: 700px;
}

#poli-eksekutif .executive-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 20px;
  max-width: 820px;
}

#poli-eksekutif .executive-points div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#poli-eksekutif .executive-points strong {
  font-size: 16px;
  line-height: 1.35;
}

#poli-eksekutif .executive-carousel {
  position: relative;
  min-height: 68px;
  max-width: 900px;
  margin-top: 8px;
}

#poli-eksekutif .exec-slide {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  color: #e9fffc;
  font-size: 26px;
  line-height: 1.45;
  font-weight: 500;
}

#poli-eksekutif .exec-slide span {
  color: #ffffff;
  font-weight: 700;
}

#poli-eksekutif .exec-slide.is-active {
  opacity: 1;
  transform: translateY(0);
}

#poli-eksekutif .exec-indicators {
  margin-top: 78px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
}

#poli-eksekutif .exec-indicators span {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

#poli-eksekutif .exec-indicators span.is-active {
  background: #ffffff;
}

@media (max-width: 1024px) {
  #poli-eksekutif .executive-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    gap: 14px;
  }

  #poli-eksekutif .exec-slide {
    position: static;
    opacity: 1;
    transform: none;
    font-size: 18px;
    margin-bottom: 10px;
  }

  #poli-eksekutif .exec-slide:not(.is-active) {
    display: none;
  }

  #poli-eksekutif .exec-indicators {
    margin-top: 16px;
    max-width: none;
  }
}

/* Fix visibility: executive icons white */
#poli-eksekutif .exec-icon {
  color: #ffffff;
}

#poli-eksekutif .exec-icon svg {
  stroke: #ffffff;
}


/* Executive cards mode: text stays static, only photo rotates every 5s */
#poli-eksekutif #executive-main-image {
  animation: none;
}

#poli-eksekutif #executive-main-image.is-switching {
  animation: executiveImageShift 0.65s ease;
}

@keyframes executiveImageShift {
  0% {
    transform: translateX(6%);
    opacity: 0.82;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

#poli-eksekutif .executive-cards {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1100px;
}

#poli-eksekutif .exec-info-card {
  position: relative;
  padding: 0 0 12px;
  min-height: 130px;
}

#poli-eksekutif .exec-info-card h3 {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

#poli-eksekutif .exec-info-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: #ecfffb;
}

#poli-eksekutif .exec-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

#poli-eksekutif .exec-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: #ffffff;
  border-radius: inherit;
}

#poli-eksekutif .exec-info-card.is-active .exec-progress-fill {
  animation: execCardProgress 5s linear forwards;
}

@keyframes execCardProgress {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@media (max-width: 1280px) {
  #poli-eksekutif .executive-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #poli-eksekutif .executive-banner {
    height: auto;
    min-height: 780px;
  }

  #poli-eksekutif .executive-content {
    padding-top: 52px;
    padding-bottom: 28px;
  }

  #poli-eksekutif .executive-content h2 {
    font-size: 32px;
    line-height: 1.2;
    max-width: 96%;
  }

  #poli-eksekutif .executive-content p {
    font-size: 16px;
    line-height: 1.45;
    margin: 14px 0 16px;
    max-width: 96%;
  }

  #poli-eksekutif .executive-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
  }

  #poli-eksekutif .executive-points div {
    padding: 10px 0;
  }

  #poli-eksekutif .executive-points strong {
    font-size: 11px;
    line-height: 1.25;
  }

  #poli-eksekutif .exec-icon {
    width: 26px;
    height: 26px;
  }

  #poli-eksekutif .exec-icon svg {
    width: 13px;
    height: 13px;
  }

  #poli-eksekutif .executive-cards {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  #poli-eksekutif .exec-info-card {
    min-height: 0;
    padding-bottom: 10px;
  }

  #poli-eksekutif .exec-info-card h3 {
    font-size: 11px;
  }

  #poli-eksekutif .exec-info-card p {
    font-size: 13px;
  }

  #poli-eksekutif .exec-progress {
    height: 3px;
  }
}


/* Executive icon polish */
#poli-eksekutif .executive-points div {
  padding: 20px 0;
}

#poli-eksekutif .exec-icon {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: #ffffff;
}

#poli-eksekutif .exec-icon svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
}

#poli-eksekutif .executive-points strong {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}
/* End executive icon polish */


/* Header searchbox instead of text link */
.nav-search {
  position: relative;
  width: 170px;
}

.nav-search input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 40px 0 14px;
  font-family: inherit;
  font-size: 14px;
  color: #4b5563;
  background: var(--white);
}

.nav-search input:focus {
  outline: none;
  border-color: #9adbd2;
  box-shadow: 0 0 0 3px rgba(14, 159, 141, 0.12);
}

.nav-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  display: inline-flex;
}

.nav-search-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hero searchbox: remove old left icon gap */
.hero .search-input-wrap input {
  padding-left: 16px;
}

/* Layanan Unggulan arrow buttons */
.service-nav {
  gap: 10px;
}

.service-nav .arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--primary-green);
  background: var(--primary-green);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.service-nav .arrow-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Promo period icon */
.period {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.period-icon {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary-green);
  display: inline-block;
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .nav-search {
    width: 126px;
  }

  .nav-search input {
    height: 34px;
    font-size: 12px;
  }
}

/* Reusable circular arrow buttons (Promo + Testimonial) */
.head-nav .arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--primary-green);
  background: var(--primary-green);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.head-nav .arrow-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Testimonial carousel + quote marker */
#testimoni .testimonial-carousel {
  overflow: hidden;
}

#testimoni .testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

#testimoni .testimonial-track::-webkit-scrollbar {
  display: none;
}

#testimoni .testimonial-track .testimonial-card {
  flex: 0 0 calc((100% - 24px) / 2);
  min-width: 0;
}

#testimoni .testimonial-card div {
  display: flex;
  flex-direction: column;
}

#testimoni .quote-mark {
  display: inline-block;
  width: 42px;
  height: 30px;
  margin: 0 0 10px;
}

#testimoni .quote-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: #1dcab2;
}

@media (max-width: 768px) {
  #testimoni .testimonial-track .testimonial-card {
    flex-basis: 100%;
  }
}

/* ===== Final refinement (2026-05-06) ===== */

/* 1) Footer logo reduced by ~20% from previous size */
.footer-kemenkes-logo {
  width: min(100%, 408px) !important;
}

/* 2) Stronger yellow accents for Hero and Executive overlays */
#hero .hero-overlay {
  background:
    radial-gradient(circle at 0% 0%, rgba(214, 236, 88, 0.95) 0%, rgba(214, 236, 88, 0.62) 20%, rgba(214, 236, 88, 0.16) 36%, rgba(214, 236, 88, 0) 52%),
    linear-gradient(90deg, rgba(14, 159, 141, 0.90) 0%, rgba(14, 159, 141, 0.66) 34%, rgba(14, 159, 141, 0.26) 50%, rgba(14, 159, 141, 0) 54%),
    linear-gradient(0deg, rgba(14, 159, 141, 0.76) 0%, rgba(14, 159, 141, 0.44) 12%, rgba(14, 159, 141, 0.00) 20%);
}

#poli-eksekutif .executive-overlay {
  background:
    radial-gradient(circle at 0% 0%, rgba(214, 236, 88, 0.90) 0%, rgba(214, 236, 88, 0.58) 18%, rgba(214, 236, 88, 0.14) 34%, rgba(214, 236, 88, 0) 50%),
    linear-gradient(90deg, rgba(14, 159, 141, 0.90) 0%, rgba(14, 159, 141, 0.64) 33%, rgba(14, 159, 141, 0.22) 50%, rgba(14, 159, 141, 0) 54%);
}

/* 3) Quick action icons fixed top-left */
.hero .action-card {
  position: relative;
  padding: 42px 14px 12px !important;
  justify-content: flex-end;
  align-items: flex-start;
}

.hero .qa-icon {
  position: absolute;
  top: 10px;
  left: 10px;
}

/* 4) Hero photo carousel (4 slides) + short white indicators */
#hero {
  background: none !important;
  overflow: hidden;
}

#hero .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#hero .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.75s ease;
}

#hero .hero-slide.is-active {
  opacity: 1;
}

#hero .hero-overlay {
  z-index: 1;
}

#hero .hero-content {
  z-index: 2;
}

.hero-search-panel {
  position: relative;
  width: 100%;
}

.hero-carousel-indicators {
  width: min(230px, 30%);
  min-width: 180px;
  position: absolute;
  left: 8px;
  top: -12px;
  margin: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hero-carousel-indicators span {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

.hero-carousel-indicators span i {
  display: block;
  width: 0;
  height: 100%;
  background: #ffffff;
}

.hero-carousel-indicators span.is-active i {
  animation: heroIndicatorFill 5s linear forwards;
}

@keyframes heroIndicatorFill {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* 5) Berita/Artikel tabs as pill buttons */
.news .tabs button {
  border-radius: 999px !important;
  padding: 8px 18px;
}

/* 6) Feedback cards: left icons, thin separators, right green arrow */
.feedback-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feedback-item {
  border-right: 1px solid #d6e5e2 !important;
  border-left: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.feedback-item:last-child {
  border-right: 0 !important;
}

.feedback-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feedback-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.feedback-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feedback-arrow {
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.feedback-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1280px) {
  .hero-carousel-indicators {
    width: min(260px, 55%);
    min-width: 170px;
  }
}

@media (max-width: 768px) {
  .hero-carousel-indicators {
    width: min(220px, 70%);
    left: 4px;
    top: -10px;
  }

  .hero .action-card {
    padding: 34px 8px 8px !important;
  }

  .hero .qa-icon {
    top: 8px;
    left: 8px;
  }
}

/* Executive section title link */
.executive-title-link {
  color: #ffffff;
  text-decoration: none;
}

.executive-title-link:hover,
.executive-title-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile simplification: show only clickable title in executive section */
@media (max-width: 768px) {
  #poli-eksekutif .executive-banner {
    height: 420px !important;
    min-height: 420px !important;
  }

  #poli-eksekutif .executive-content {
    padding-top: 170px !important;
    padding-bottom: 20px !important;
  }

  #poli-eksekutif .executive-content h2 {
    margin: 0 !important;
    max-width: 95%;
  }

  #poli-eksekutif .executive-content > p,
  #poli-eksekutif .executive-points,
  #poli-eksekutif .executive-cards {
    display: none !important;
  }
}
