@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,700;0,800;1,400&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #F26D0F; /* Ruang Peduli Orange */
  --color-primary-contrast: #FFFFFF;
  --color-secondary: #0C2B36; /* Deep blue-charcoal from the poster */
  --color-red-accent: #E52424; /* Red banner color */
  --color-tertiary: #D9EAF7;
  --color-neutral: #FFFFFF;
  --color-surface: rgba(255, 255, 255, 0.95);
  --color-on-surface: #2C313A;
  --color-muted: #667085;
  --color-border: #D7E2EA;
  --color-error: #D92D20;

  --rounded-sm: 4px;
  --rounded-md: 8px;
  --rounded-lg: 16px;
  --rounded-xl: 24px;
  --rounded-full: 9999px;

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 30px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--color-secondary);
  background-image: 
    url('background.jpg'), 
    radial-gradient(circle at 15% 45%, rgba(245, 140, 150, 0.3) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(130, 210, 220, 0.35) 0%, transparent 55%),
    linear-gradient(135deg, #FBFDFF 0%, #EBF5F8 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  line-height: 1.6;
}

header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.logo-img {
  height: 38px;
  object-fit: contain;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Hero row spanning full width */
.hero-text-row {
  text-align: left;
  padding-top: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

/* Two column content layout aligning items to vertical middle */
.content-columns-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--spacing-lg);
  align-items: center; /* Aligns all content to middle vertical */
  padding-bottom: var(--spacing-xl);
}

@media (max-width: 992px) {
  .content-columns-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

.poster-left-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.webinar-batch-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.main-title-wrap {
  margin-bottom: 16px;
}

.main-title-wrap h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-secondary);
  letter-spacing: -0.01em;
}

.title-banner {
  display: inline-block;
  background-color: var(--color-red-accent);
  color: var(--color-neutral);
  padding: 4px 16px;
  margin-top: 6px;
  transform: skewX(-2deg);
}

.title-banner span {
  display: inline-block;
  transform: skewX(2deg);
}

.webinar-quote {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-style: normal;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 0;
}

/* Speaker profiles row */
.speakers-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
  position: relative;
  margin-bottom: var(--spacing-sm);
}

.speaker-profile-card {
  background: var(--color-neutral);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-sm);
  box-shadow: 0 8px 24px rgba(12, 43, 54, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: center;
}

.speaker-img-container {
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--color-tertiary);
  border-radius: var(--rounded-md);
  overflow: hidden;
  margin-bottom: 12px;
}

.speaker-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-left-align {
  object-position: left center;
}

.speaker-right-align {
  object-position: right center;
}

.speaker-info-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.speaker-info-role {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.3;
}

/* Right layout widgets */
.right-panel-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.fasilitas-card {
  background-color: var(--color-surface);
  border-radius: var(--rounded-lg);
  border: 1px solid var(--color-border);
  padding: var(--spacing-md);
  box-shadow: 0 8px 24px rgba(12, 43, 54, 0.05);
}

.fasilitas-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.fasilitas-list {
  list-style: none;
}

.fasilitas-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
}

.fasilitas-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-red-accent);
  font-size: 16px;
}

/* Big CTA Button */
.big-cta-btn {
  background-color: var(--color-red-accent);
  color: var(--color-primary-contrast);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 18px;
  text-align: center;
  border-radius: var(--rounded-full);
  padding: 16px 32px;
  height: 60px;
  box-shadow: 0 8px 24px rgba(229, 36, 36, 0.25);
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease-in-out;
  margin-bottom: var(--spacing-xs);
}

.big-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(229, 36, 36, 0.35);
  background-color: #c41b1b;
}

/* Modal Popup Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(12, 43, 54, 0.7);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: var(--spacing-sm);
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background-color: var(--color-neutral);
  border-radius: var(--rounded-xl);
  max-width: 550px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--spacing-md);
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-muted);
}

.modal-close-btn:hover {
  color: var(--color-secondary);
}

/* Wizard Header Indicators inside modal */
.wizard-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--spacing-sm);
}

.wizard-step-indicator {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-muted);
  position: relative;
}

.wizard-step-indicator.active {
  color: var(--color-primary);
}

.wizard-step-indicator.active::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-primary);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--color-secondary);
}

.form-group .text-muted {
  font-size: 11px;
  color: var(--color-muted);
  margin-bottom: 6px;
  margin-top: -4px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--rounded-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-neutral);
  color: var(--color-secondary);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(242, 109, 15, 0.1);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}

.form-check input[type="radio"],
.form-check input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-primary);
  width: 15px;
  height: 15px;
}

.form-check-label {
  font-size: 13px;
  color: var(--color-secondary);
  line-height: 1.4;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-md);
  gap: var(--spacing-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  gap: 8px;
  border-radius: var(--rounded-md);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-primary-contrast);
  padding: 12px 24px;
  height: 48px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-secondary);
  border: 1px solid var(--color-border);
  padding: 12px 24px;
  height: 48px;
}

.btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Tuesday schedule banner row */
.schedule-banner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center; /* Center items vertically for balance */
  gap: var(--spacing-sm);
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-sm);
  margin-top: var(--spacing-xs);
  box-shadow: 0 4px 12px rgba(12, 43, 54, 0.04);
}

.schedule-banner-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.schedule-banner-item.left {
  border-right: 1px solid var(--color-border);
  padding-right: var(--spacing-sm);
}

/* Right column compliance footer */
.right-column-footer {
  font-size: 11px;
  line-height: 1.5;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
  margin-top: var(--spacing-xs);
}

.right-column-footer p {
  margin-bottom: 6px;
}

.right-column-footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.right-column-footer-socials a {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 600;
}

.right-column-footer-socials a:hover {
  text-decoration: underline;
}

.error-msg {
  color: var(--color-error);
  font-size: 11px;
  margin-top: 4px;
  font-weight: 600;
}

.success-card {
  text-align: center;
  padding: var(--spacing-md);
  background-color: var(--color-surface);
  border-radius: var(--rounded-lg);
  border: 1px solid var(--color-border);
}

.success-icon {
  width: 50px;
  height: 50px;
  background-color: #DEF7EC;
  color: #03543F;
  border-radius: var(--rounded-full);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  margin: 0 auto 12px auto;
}

/* Mobile optimizations for form inputs and overlays */
@media (max-width: 768px) {
  .form-control,
  select.form-control {
    font-size: 16px !important; /* Prevents auto-zoom in iOS browsers */
    padding: 12px 14px;
    height: auto;
  }
  
  .modal-container {
    padding: var(--spacing-sm) !important;
    margin: 10px;
    width: 95% !important;
    max-height: 92vh !important;
    border-radius: var(--rounded-lg) !important;
  }

  .form-group label {
    font-size: 14px !important;
    margin-bottom: 8px !important;
  }

  .wizard-header {
    margin-bottom: var(--spacing-sm) !important;
  }
  
  .wizard-step-indicator {
    font-size: 10px !important;
  }

  .form-navigation {
    margin-top: var(--spacing-md) !important;
  }
}

