/* ==========================================================
   Pharma theme – Biostatistics Workshop 2026 home page
   Loaded after style.css / responsive.css; all rules are
   scoped with the "ph-" prefix so the template stays intact.
   ========================================================== */

:root {
  --ph-teal-900: #053b3f;
  --ph-teal-800: #07504f;
  --ph-teal-700: #0a6b6e;
  --ph-teal-500: #0f9a94;
  --ph-green: #22b573;
  --ph-green-soft: #d9f3e7;
  --ph-mint: #eef8f5;
  --ph-navy: #0b2f4e;
  --ph-accent: #f28c28;
  --ph-accent-dark: #d9731a;
  --ph-ink: #12313a;
  --ph-muted: #5b7479;
  --ph-line: #d6e7e3;
  --ph-radius: 16px;
  --ph-shadow: 0 18px 40px -18px rgba(5, 59, 63, 0.35);
  --ph-font: 'Plus Jakarta Sans', 'Roboto', sans-serif;
  --ph-hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.2'/%3E%3C/svg%3E");
}

.ph-page,
.ph-page p,
.ph-page h1,
.ph-page h2,
.ph-page h3,
.ph-page h4 {
  font-family: var(--ph-font);
}

/* ---------- Header ---------- */
.ph-header.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
}
.ph-header.header.sticky {
  position: fixed;
  padding: 10px 0;
  background: rgba(5, 59, 63, 0.96);
  border-bottom-color: transparent;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.45);
}
.ph-header .ph-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ph-header .ph-logo {
  min-width: 0;
}
.ph-header .ph-logo img {
  max-height: 58px;
  width: auto;
  max-width: 100%;
}
.ph-header.sticky .ph-logo img {
  max-height: 46px;
}

/* ---------- Buttons ---------- */
.ph-btn {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--ph-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
  text-transform: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ph-btn:hover,
.ph-btn:focus {
  text-decoration: none;
  transform: translateY(-2px);
}
.ph-btn-accent {
  color: #fff;
  background: var(--ph-accent);
  box-shadow: 0 12px 24px -10px rgba(242, 140, 40, 0.7);
}
.ph-btn-accent:hover,
.ph-btn-accent:focus {
  color: #fff;
  background: var(--ph-accent-dark);
}
.ph-btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.ph-btn-ghost:hover,
.ph-btn-ghost:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
.ph-btn-sm {
  height: 42px;
  padding: 0 22px;
  font-size: 14px;
}

/* ---------- Hero ---------- */
.ph-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: var(--ph-teal-900);
  background-size: cover;
  background-position: center right;
  padding: 140px 0 130px;
}
.ph-hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(5, 59, 63, 0.97) 0%, rgba(7, 80, 79, 0.92) 42%, rgba(10, 107, 110, 0.7) 68%, rgba(11, 47, 78, 0.25) 100%);
}
.ph-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--ph-hex);
  background-size: 56px 100px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 80%);
  mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 80%);
}
.ph-hero .container {
  position: relative;
  z-index: 2;
}

.ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(34, 181, 115, 0.18);
  border: 1px solid rgba(34, 181, 115, 0.55);
}
.ph-badge i {
  color: var(--ph-green);
}

.ph-hero-kicker {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
.ph-hero-title {
  margin: 0 0 26px;
  font-size: 50px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}
.ph-hero-title span {
  display: block;
  color: #8fe3bd;
}

.ph-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.ph-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.ph-meta li i {
  color: var(--ph-accent);
}

.ph-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.ph-org {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 720px;
}
.ph-org-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--ph-green);
}
.ph-org-item i {
  flex: 0 0 auto;
  margin-top: 3px;
  font-size: 20px;
  color: var(--ph-green);
}
.ph-org-item small {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.ph-org-item strong {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  color: #fff;
}

/* floating capsules */
.ph-capsule {
  position: absolute;
  z-index: 1;
  width: 110px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  opacity: 0.9;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5);
  animation: ph-float 7s ease-in-out infinite;
}
.ph-capsule:before,
.ph-capsule:after {
  content: '';
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
}
.ph-capsule:before {
  left: 0;
  background: linear-gradient(180deg, #ffffff 0%, #d7ece8 100%);
}
.ph-capsule:after {
  right: 0;
  background: linear-gradient(180deg, var(--ph-accent) 0%, #c9661a 100%);
}
.ph-capsule-1 {
  top: 22%;
  right: 34%;
  transform: rotate(-32deg);
}
.ph-capsule-2 {
  bottom: 24%;
  right: 30%;
  width: 70px;
  height: 26px;
  transform: rotate(24deg);
  animation-delay: -3s;
  opacity: 0.7;
}
.ph-capsule-2:after {
  background: linear-gradient(180deg, var(--ph-green) 0%, #178a57 100%);
}
@keyframes ph-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

/* ---------- Info strip ---------- */
.ph-info {
  position: relative;
  z-index: 5;
  margin-top: -70px;
  padding: 0;
  background: linear-gradient(180deg, transparent 0 70px, var(--ph-mint) 70px);
}
.ph-info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 22px 18px;
  border-radius: var(--ph-radius);
  background: #fff;
  box-shadow: var(--ph-shadow);
  border-top: 4px solid var(--ph-teal-500);
}
.ph-info .col-6:nth-child(2) .ph-info-card { border-top-color: var(--ph-green); }
.ph-info .col-6:nth-child(3) .ph-info-card { border-top-color: var(--ph-navy); }
.ph-info .col-6:nth-child(4) .ph-info-card { border-top-color: var(--ph-accent); }
.ph-info-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--ph-teal-700);
  background: var(--ph-mint);
}
.ph-info-card small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ph-muted);
}
.ph-info-card strong {
  display: block;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--ph-ink);
}
.ph-info-card strong sup {
  font-size: 60%;
}

/* ---------- Registration ---------- */
.ph-register {
  position: relative;
  padding: 48px 0 40px;
  background: var(--ph-mint);
  color: var(--ph-ink);
}
.ph-section-head {
  margin-bottom: 32px;
}
.ph-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ph-teal-500);
}
.ph-section-title {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--ph-teal-900);
}
.ph-pill-divider {
  display: inline-block;
  width: 64px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ph-teal-500) 0 50%, var(--ph-accent) 50% 100%);
}

.ph-summary {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 34px 30px;
  border-radius: var(--ph-radius);
  color: #fff;
  background: linear-gradient(160deg, var(--ph-teal-700) 0%, var(--ph-teal-900) 100%);
  box-shadow: var(--ph-shadow);
}
.ph-summary:after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--ph-hex);
  background-size: 56px 100px;
  pointer-events: none;
}
.ph-summary > * {
  position: relative;
  z-index: 1;
}
.ph-fee-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.ph-fee {
  margin: 4px 0 2px;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
}
.ph-fee-note {
  display: inline-block;
  margin-bottom: 26px;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ph-teal-900);
  background: var(--ph-green-soft);
}
.ph-summary ul {
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
}
.ph-summary li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.ph-summary li:last-child {
  margin-bottom: 0;
}
.ph-summary li i {
  flex: 0 0 18px;
  margin-top: 4px;
  color: var(--ph-green);
}

.ph-form-card {
  height: 100%;
  padding: 32px 34px 28px;
  border-radius: var(--ph-radius);
  background: #fff;
  box-shadow: var(--ph-shadow);
  border: 1px solid var(--ph-line);
}
.ph-form-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ph-teal-900);
}
.ph-form-card .ph-form-sub {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--ph-muted);
}
.ph-form-card label {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ph-ink);
}
.ph-form-card .form-group {
  margin-bottom: 20px;
}
.ph-form-card .form-control {
  height: 50px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--ph-ink);
  background: #f7fbfa;
  border: 1px solid var(--ph-line);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ph-form-card .form-control::placeholder {
  color: #9bb0b3;
}
.ph-form-card .form-control:focus {
  background: #fff;
  border-color: var(--ph-teal-500);
  box-shadow: 0 0 0 4px rgba(15, 154, 148, 0.15);
  outline: none;
}
.ph-form-card form {
  margin: 0;
}
.ph-form-card .text-center br {
  display: none;
}
.ph-form-card .text-center {
  margin-top: 4px;
}
.ph-form-card input[type="submit"].btn {
  width: 100%;
  max-width: 320px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  font-family: var(--ph-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, var(--ph-teal-700) 0%, var(--ph-teal-500) 100%);
  box-shadow: 0 14px 26px -12px rgba(10, 107, 110, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ph-form-card input[type="submit"].btn:hover,
.ph-form-card input[type="submit"].btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -12px rgba(10, 107, 110, 0.9);
}

/* ---------- Footer ---------- */
.ph-footer {
  padding: 26px 0;
  text-align: center;
  background: var(--ph-teal-900);
  border-top: 4px solid var(--ph-teal-500);
}
.ph-footer p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.75);
}

.ph-page .BackTo {
  display: none;
  background: var(--ph-teal-500);
  box-shadow: 0 10px 20px -8px rgba(5, 59, 63, 0.6);
}

/* ---------- Status modals ---------- */
.ph-modal .modal-dialog {
  margin-top: 14vh;
}
.ph-modal .modal-content {
  border: 0;
  border-radius: var(--ph-radius);
  overflow: hidden;
  box-shadow: var(--ph-shadow);
}
.ph-modal .modal-body {
  padding: 36px 30px 30px;
  text-align: center;
}
.ph-modal p {
  color: var(--ph-ink);
  font-size: 16px;
  line-height: 1.6;
}
.ph-modal .ph-modal-link {
  display: inline-block;
  margin-top: 14px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ph-teal-700);
}
.ph-modal .ph-modal-link:hover {
  color: var(--ph-teal-500);
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .ph-hero-title { font-size: 42px; }
  .ph-capsule { display: none; }
}
@media (max-width: 1199px) {
  .ph-info .col-6 { margin-bottom: 16px; }
  .ph-info .row { margin-bottom: -16px; }
}
@media (max-width: 991px) {
  .ph-hero { padding: 130px 0 110px; background-position: 70% center; }
  .ph-hero:before { background: linear-gradient(180deg, rgba(5, 59, 63, 0.95) 0%, rgba(7, 80, 79, 0.9) 100%); }
  .ph-hero-title { font-size: 36px; }
  .ph-summary { margin-bottom: 24px; height: auto; }
}
@media (max-width: 767px) {
  .ph-header .ph-logo img { max-height: 42px; }
  .ph-hero { padding: 110px 0 100px; }
  .ph-hero-title { font-size: 30px; }
  .ph-hero-kicker { font-size: 16px; }
  .ph-org { grid-template-columns: 1fr; }
  .ph-section-title { font-size: 28px; }
  .ph-register { padding: 40px 0 28px; }
  .ph-form-card { padding: 28px 20px; }
  .ph-summary { padding: 28px 22px; }
}
@media (max-width: 575px) {
  .ph-info .col-6 { flex: 0 0 100%; max-width: 100%; }
  .ph-meta li { font-size: 14px; }
  .ph-btn { height: 46px; padding: 0 22px; }
  .ph-btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
}
@media (max-width: 399px) {
  .ph-header .ph-btn-sm { padding: 0 14px; }
  .ph-header .ph-btn-sm i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-capsule { animation: none; }
  .ph-btn, .ph-form-card input[type="submit"].btn { transition: none; }
}

.ph-page sup {
  font-size: 60%;
  top: -0.6em;
}
.ph-meta li span,
.ph-summary li span {
  display: inline;
}
