:root {
  --primary: #0b3c6f;
  --accent: #1261a0;
  --soft: #f3f6fb;
  --text: #1f2937;
  --muted: #6b7280;
}

/* Page Base */
.hm-page {
  background: #f7f9fc;
  min-height: 100vh;
  padding-bottom: 60px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

/* Modern Hero */
.hm-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 15px;
  color: #fff;
  /* background: url("<?= (base_url) ?>assets/image/childrenscorner.jpg")
    center/cover no-repeat; */
}

.hm-hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  margin-bottom: 18px;
}

.hm-hero-title {
  font-size: 54px;
  font-weight: 950;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.hm-hero-underline {
  width: 120px;
  height: 5px;
  border-radius: 10px;
  margin: 18px auto 18px auto;
  /* Modern underline effect */
  background: linear-gradient(to right, #dba01c, rgb(179 59 59));
}

.hm-hero-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.95;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgb(0 0 0 / 56%), rgb(0 0 0 / 92%));
}

.hm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hm-hero h1 {
  font-size: 52px;
  font-weight: 900;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hm-hero p {
  margin-top: 14px;
  font-size: 18px;
  opacity: 0.95;
  line-height: 1.7;
}

/* Main Container */
.hm-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

/* Glass Card */
.hm-glass-card {
  margin-top: -85px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

/* Layout */
.hm-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
}

/* Left Profile Section */
.hm-profile {
  padding: 40px 35px;
  background: linear-gradient(160deg, #ffffff, #f0f7ff);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.hm-profile-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.hm-photo {
  width: 100%;
  height: 360px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.hm-name {
  margin: 18px 0 6px 0;
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
}

.hm-role {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

.hm-degree {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Quick Info */
.hm-info {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.hm-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px;
  border-radius: 14px;
  background: #f7fbff;
  border: 1px solid rgba(18, 97, 160, 0.12);
}

.hm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 5px;
  background: var(--accent);
  flex: 0 0 auto;
}

.hm-info-item span {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  font-weight: 600;
}

/* Right Message */
.hm-message {
  padding: 50px 55px;
  background: #ffffff;
}

.hm-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(18, 97, 160, 0.1);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hm-title {
  margin-top: 14px;
  font-size: 34px;
  font-weight: 950;
  color: var(--text);
  line-height: 1.2;
}

.hm-subtitle {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 750px;
}

.hm-divider {
  margin: 22px 0 30px 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(
    to right,
    rgba(18, 97, 160, 0.35),
    rgba(0, 0, 0, 0.05)
  );
}

.hm-text p {
  font-size: 16px;
  line-height: 1.95;
  color: #374151;
  margin-bottom: 18px;
  text-align: justify;
}

/* Modern Quote Box */
.hm-quote {
  margin: 26px 0;
  padding: 22px 22px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(18, 97, 160, 0.08),
    rgba(11, 60, 111, 0.05)
  );
  border: 1px solid rgba(18, 97, 160, 0.18);
  position: relative;
}

.hm-quote::before {
  content: "“";
  position: absolute;
  top: -25px;
  left: 18px;
  font-size: 70px;
  font-weight: 900;
  color: rgba(18, 97, 160, 0.25);
}

.hm-quote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: #1f2937;
  font-weight: 700;
}

/* Signature */
.hm-signature {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hm-signature strong {
  font-size: 17px;
  color: #111827;
}

.hm-signature span {
  font-size: 14px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1000px) {
  .hm-grid {
    grid-template-columns: 1fr;
  }

  .hm-profile {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .hm-message {
    padding: 35px 22px;
  }

  .hm-hero h1 {
    font-size: 34px;
  }

  .hm-title {
    font-size: 26px;
  }

  .hm-photo {
    height: 320px;
  }
}

/* Smooth global transitions */
.hm-page * {
  transition: all 0.25s ease;
}

/* HERO Content Animation */
.hm-hero-content {
  animation: heroFadeUp 1.1s ease forwards;
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* Badge Pop */
.hm-hero-badge {
  animation: badgePop 1.2s ease forwards;
}

@keyframes badgePop {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Underline Slide */
.hm-hero-underline {
  overflow: hidden;
  position: relative;
}

.hm-hero-underline::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  height: 100%;
  width: 100%;
  background: inherit;
  animation: underlineSlide 1.2s ease forwards;
}

@keyframes underlineSlide {
  0% {
    left: -100%;
  }
  100% {
    left: 0%;
  }
}

/* Glass Card Entrance */
.hm-glass-card {
  animation: cardPop 1.1s ease forwards;
}

@keyframes cardPop {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }
}

/* Left Profile Slide */
.hm-profile {
  animation: slideLeft 1.2s ease forwards;
}

@keyframes slideLeft {
  0% {
    opacity: 0;
    transform: translateX(-35px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

/* Right Message Slide */
.hm-message {
  animation: slideRight 1.2s ease forwards;
}

@keyframes slideRight {
  0% {
    opacity: 0;
    transform: translateX(35px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

/* Profile Image Hover */
.hm-photo {
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.hm-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

/* Info items hover */
.hm-info-item {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.hm-info-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

/* Quote subtle animation */
.hm-quote {
  animation: quoteFade 1.8s ease forwards;
}

@keyframes quoteFade {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* Signature Fade */
.hm-signature {
  animation: fadeIn 2s ease forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
