:root {
  --purple-dark: #2e1152;
  --purple-mid: #5b2a9d;
  --lavender: #f6f3fb;
  --text: #2b2438;
  --muted: #665e77;
  --gold: #d9b26b;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', Arial, sans-serif; }
html { scroll-behavior: smooth; }
body { color: var(--text); background: var(--lavender); }

/* NAVBAR */
#navbar {
  position: sticky; top: 16px; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1150px; margin: 16px auto 0;
  padding: 10px 14px 10px 22px;
  background: white; border-radius: 50px;
  box-shadow: 0 8px 24px rgba(46, 17, 82, 0.12);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 38px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 13px; color: var(--purple-dark); }
.logo-text small { font-size: 11px; color: var(--muted); }
.menu { display: flex; gap: 28px; }
.menu a { text-decoration: none; color: var(--text); font-size: 14px; font-weight: 500; transition: color .2s; }
.menu a:hover { color: var(--purple-mid); }
.btn-nav {
  background: var(--purple-mid); color: white; text-decoration: none;
  padding: 10px 22px; border-radius: 50px; font-size: 13px; font-weight: 500;
  transition: background .2s;
}
.btn-nav:hover { background: var(--purple-dark); }

/* HERO */
.hero {
  max-width: 1150px; margin: 24px auto 0;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-mid) 70%, #7a48bb);
  border-radius: 36px; padding: 70px 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; overflow: hidden;
}
.hero-text { flex: 1; min-width: 280px; max-width: 520px; }
.hero-label { color: var(--gold); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.hero h1 { color: white; font-size: clamp(28px, 4.5vw, 46px); line-height: 1.2; margin: 14px 0; font-weight: 700; }
.hero p { color: #d8c8ef; font-size: 15px; line-height: 1.8; font-weight: 300; margin-bottom: 28px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-main, .btn-outline { text-decoration: none; padding: 12px 26px; border-radius: 50px; font-size: 14px; font-weight: 500; transition: all .2s; }
.btn-main { background: var(--gold); color: var(--purple-dark); }
.btn-main:hover { transform: translateY(-2px); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.5); color: white; }
.btn-outline:hover { background: rgba(255,255,255,.12); }

.hero-visual { position: relative; width: 340px; height: 300px; flex-shrink: 0; }
.big-circle {
  position: absolute; inset: 20px 40px;
  border-radius: 50%; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
}
.badge {
  position: absolute; background: white; color: var(--purple-dark);
  padding: 10px 18px; border-radius: 50px; font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 24px rgba(0,0,0,.2); white-space: nowrap;
}
.badge i { color: var(--purple-mid); margin-right: 6px; }
.b1 { top: 20px; left: 0; }
.b2 { top: 125px; right: 0; }
.b3 { bottom: 20px; left: 30px; }

/* SECTION UMUM */
.profil, .keunggulan { max-width: 1150px; margin: 0 auto; padding: 80px 20px 30px; }
.section-label {
  display: block; text-align: center; color: var(--purple-mid);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.profil h2, .keunggulan h2 {
  text-align: center; color: var(--purple-dark);
  font-size: 30px; margin: 8px 0 40px;
}

/* PROFIL */
.profil-grid { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.tag {
  display: inline-block; background: rgba(255,255,255,.18); color: white;
  font-size: 12px; font-weight: 600; padding: 5px 16px; border-radius: 50px;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px;
}
.tag-dark { background: var(--purple-mid); }

.visi-card {
  flex: 1; min-width: 260px;
  background: linear-gradient(160deg, var(--purple-mid), var(--purple-dark));
  border-radius: 28px; padding: 36px;
  position: sticky; top: 100px;
}
.visi-card p { color: #eee6fb; line-height: 1.9; font-size: 15px; }

.misi-card {
  flex: 2; min-width: 300px; background: white;
  border-radius: 28px; padding: 34px 36px;
  box-shadow: 0 8px 24px rgba(46, 17, 82, 0.07);
}
.misi-card ul { list-style: none; }
.misi-card li {
  position: relative; padding-left: 28px; margin-bottom: 14px;
  color: var(--muted); font-size: 14.5px; line-height: 1.75;
}
.misi-card li::before {
  content: '\2713'; position: absolute; left: 0; top: 0;
  color: var(--purple-mid); font-weight: 700;
}
.misi-card li:last-child { margin-bottom: 0; }

/* KEUNGGULAN */
.card-container { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.card {
  flex: 1; min-width: 250px; max-width: 350px;
  background: white; border-radius: 28px; padding: 34px 30px;
  box-shadow: 0 8px 24px rgba(46, 17, 82, 0.07);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 16px 34px rgba(91, 42, 157, .18); }
.card-icon {
  width: 54px; height: 54px; border-radius: 18px;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-dark));
  color: white; font-size: 20px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card h3 { color: var(--purple-dark); font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* FOOTER */
#footer {
  position: relative;
  margin-top: 80px;
  text-align: center;
  color: white;
  background:
    linear-gradient(rgba(46, 17, 82, 0.86), rgba(26, 9, 48, 0.94)),
    url('images/footer-polmed.jpg') center / cover no-repeat,
    #2e1152;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px 30px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-socials a {
  color: white;
  font-size: 24px;
  text-decoration: none;
  transition: color .2s, transform .2s;
}

.footer-socials a:hover {
  color: var(--gold);
  transform: translateY(-3px);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0 0 26px;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.footer-logo { height: 60px; width: auto; }

.footer-brand-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-size: 19px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.footer-address {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  color: #f0e8fa;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
  margin-bottom: 26px;
  padding: 6px 14px;
  border-radius: 12px;
  transition: background .2s, color .2s;
}

.footer-address i { color: var(--gold); margin-top: 8px; }

.footer-address:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.footer-contact { color: #f0e8fa; font-size: 14.5px; margin-bottom: 26px; }

.footer-contact a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.footer-contact a:hover { color: var(--gold); text-decoration: underline; }

.footer-contact .sep { margin: 0 10px; color: rgba(255, 255, 255, 0.5); }

.copy {
  font-size: 12.5px;
  color: #cbb9e6;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

/* HP */
@media (max-width: 800px) {
  .menu, .btn-nav { display: none; }
  #navbar { margin: 12px; border-radius: 24px; }
  .hero { margin: 16px 12px 0; padding: 50px 28px; }
  .hero-visual { display: none; }
  .visi-card { position: static; }
}