/* Extracted feature cards + enrollment redesign + ribbon */

/* Tinted wrappers around parent vs child sections to visually separate them */
.enroll-section {
  border-radius: 16px;
  padding: 1.25rem 1.4rem 1.4rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid transparent;
}
.enroll-section-parent {
  background: rgba(77, 101, 249, 0.06);
  border-left-color: #4D65F9;
}
.enroll-section-child {
  background: rgba(214, 58, 114, 0.06);
  border-left-color: #d63a72;
}
.enroll-section .form-section-title { margin-top: 0; }
@media (max-width: 575px) {
  .enroll-section { padding: 1rem 0.9rem 1.1rem; }
}

/* Italic, muted placeholders inside the enrollment form (research-best-practice:
   placeholders shouldn't compete with labels) */
.enroll-form-card input::placeholder,
.enroll-form-card textarea::placeholder {
  font-style: italic;
  opacity: 0.55;
}

/* Multi-child block */
.child-block {
  position: relative;
  padding: 0.85rem 1rem 1rem;
  margin-top: 1rem;
  border-radius: 12px;
  background: rgba(214, 58, 114, 0.04);
  border-left: 3px solid rgba(214, 58, 114, 0.25);
  transition: background 0.2s ease, border-left-color 0.2s ease;
}
.child-block:first-child { margin-top: 0; }
.child-block.is-girl {
  background: rgba(214, 58, 114, 0.08);
  border-left-color: #d63a72;
}
.child-block.is-boy {
  background: rgba(77, 101, 249, 0.08);
  border-left-color: #4D65F9;
}
.child-block.is-boy .child-block-label { color: #4D65F9; }
.child-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}
.child-block-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #d63a72;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.child-block-remove {
  background: transparent;
  border: 1px solid rgba(214, 58, 114, 0.35);
  color: #d63a72;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  transition: all 0.15s ease;
}
.child-block-remove:hover {
  background: rgba(214, 58, 114, 0.10);
  border-color: #d63a72;
}

.btn-add-child {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.2rem;
  border: 2px dashed rgba(214, 58, 114, 0.45);
  background: transparent;
  color: #d63a72;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.15s ease;
}
.btn-add-child:hover {
  background: rgba(214, 58, 114, 0.07);
  border-color: #d63a72;
}
.btn-add-child:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Gender chooser inside each child block */
.gender-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.gender-option {
  flex: 1 1 0;
  min-width: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border: 2px solid rgba(0, 0, 0, 0.10);
  border-radius: 999px;
  cursor: pointer;
  background: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  color: #6b6b6b;
  transition: all 0.15s ease;
  user-select: none;
}
.gender-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.gender-option:hover { border-color: rgba(0, 0, 0, 0.25); }
.gender-option.gender-girl:has(input:checked) {
  background: #d63a72;
  border-color: #d63a72;
  color: #fff;
}
.gender-option.gender-boy:has(input:checked) {
  background: #4D65F9;
  border-color: #4D65F9;
  color: #fff;
}

/* Duration radio cards */
.duration-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}
.duration-option {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0.85rem 2.4rem 0.85rem 1rem;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  background: #fff;
  user-select: none;
}
.duration-option input[type="radio"] {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  margin: 0;
  cursor: pointer;
  accent-color: var(--bs-secondary);
}
.duration-option:hover { border-color: var(--bs-secondary); }
.duration-option:has(input:checked) {
  border-color: var(--bs-secondary);
  background: rgba(77, 101, 249, 0.06);
  box-shadow: 0 4px 12px rgba(77, 101, 249, 0.10);
}
.duration-option .d-title { font-weight: 700; color: #2c2c2c; font-size: 0.95rem; }
.duration-option .d-sub { font-size: 0.8rem; color: #6b6b6b; margin-top: 0.2rem; }

/*** Feature Cards (O nama) Start ***/
.features-grid {
    justify-content: center;
}

.features-grid .col-feature {
    display: flex;
}

@media (min-width: 992px) {
    .features-grid .col-feature {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.feature-card {
    border-radius: 28px;
    border: 2px solid transparent;
    box-shadow: 0 8px 24px rgba(77, 101, 249, 0.08);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(77, 101, 249, 0.06), rgba(255, 72, 128, 0.06));
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 0;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(77, 101, 249, 0.18);
    border-color: var(--bs-secondary);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .feature-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% 20% / 10% 40%;
    background: linear-gradient(135deg, var(--bs-primary), #6b7ffb);
    color: #fff;
    font-size: 28px;
    box-shadow: 0 8px 16px rgba(77, 101, 249, 0.25);
    transition: transform .35s ease, border-radius .35s ease, background .35s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(-6deg) scale(1.05);
    border-radius: 30% 60% / 40% 20%;
    background: linear-gradient(135deg, var(--bs-secondary), #ff7aa2);
}

.feature-card h6 {
    font-size: 0.98rem;
    line-height: 1.3;
    color: var(--bs-dark);
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .feature-card {
        padding: 1.25rem !important;
    }
    .feature-card .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
}

/*** Feature Cards End ***/


/*** Enrollment Redesign Start ***/

/* --- Live group ribbon --- */
.group-ribbon {
    background: linear-gradient(135deg, #fff 0%, #f4f7ff 100%);
    border-radius: 28px;
    padding: 1.75rem 0 1.5rem;
    box-shadow: 0 12px 32px rgba(77, 101, 249, 0.10);
    border: 2px solid rgba(77, 101, 249, 0.08);
    position: relative;
    overflow: hidden;
}

.group-ribbon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1.5rem 1rem;
    flex-wrap: wrap;
}

.group-ribbon-header .live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 72, 128, 0.12);
    color: var(--bs-secondary);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.group-ribbon-header .live-pill .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bs-secondary);
    box-shadow: 0 0 0 0 rgba(255, 72, 128, 0.7);
    animation: live-pulse 1.6s infinite;
}

@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 72, 128, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(255, 72, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 72, 128, 0); }
}

.group-ribbon-header h3 {
    margin: 0;
    color: var(--bs-primary);
    font-family: 'Shantell Sans', sans-serif;
}

.group-ribbon-header .meta {
    font-size: 0.85rem;
    color: #6c757d;
    font-family: 'Montserrat', sans-serif;
}

.group-ribbon-track-wrap {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.group-ribbon-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: ribbon-scroll 50s linear infinite;
    padding: 0.5rem 0;
}

.group-ribbon-track:hover {
    animation-play-state: paused;
}

@keyframes ribbon-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.kid-card {
    flex: 0 0 auto;
    width: 200px;
    background: #fff;
    border-radius: 22px;
    padding: 1rem 1rem 0.9rem;
    box-shadow: 0 6px 18px rgba(77, 101, 249, 0.10);
    border: 2px solid #eef1ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
}

.kid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(77, 101, 249, 0.18);
    border-color: var(--bs-primary);
}

.kid-card .kid-emoji {
    font-size: 2.4rem;
    line-height: 1;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% 20% / 10% 40%;
    background: linear-gradient(135deg, #eaf0ff, #ffe7ee);
    margin-bottom: 0.2rem;
}

.kid-card .kid-name {
    font-family: 'Shantell Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--bs-primary);
    line-height: 1;
}

.kid-card .kid-age {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--bs-dark);
}

.kid-card .kid-dob {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.74rem;
    color: #8a93ad;
    letter-spacing: 0.3px;
}

.kid-card.school-leaver {
    border-color: var(--bs-secondary);
    background: linear-gradient(180deg, #fff 0%, #fff5f8 100%);
}

.kid-card.school-leaver::before {
    content: "🎒";
    position: absolute;
    top: -10px;
    right: -8px;
    font-size: 1.4rem;
    background: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255, 72, 128, 0.25);
}

.kid-card .school-tag {
    margin-top: 0.4rem;
    background: var(--bs-secondary);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    text-align: center;
    line-height: 1.25;
    letter-spacing: 0.2px;
    width: 100%;
}

.kid-card .school-tag span {
    display: block;
    font-size: 0.66rem;
    opacity: 0.95;
}

.kid-card .school-tag strong {
    display: block;
    font-size: 0.78rem;
    margin-top: 1px;
}

.group-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    padding: 1.1rem 1.5rem 0;
    margin-top: 0.5rem;
    border-top: 2px dashed rgba(77, 101, 249, 0.15);
}

.group-summary .pill {
    background: #f4f7ff;
    color: var(--bs-primary);
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.group-summary .pill strong {
    font-family: 'Shantell Sans', sans-serif;
    font-size: 1rem;
}

.group-summary .pill.accent {
    background: rgba(255, 72, 128, 0.12);
    color: var(--bs-secondary);
}

.enroll-step {
    background: #fff;
    border-radius: 24px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    box-shadow: 0 8px 24px rgba(77, 101, 249, 0.08);
    border: 2px solid transparent;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
    position: relative;
}

.enroll-step:hover {
    transform: translateY(-4px);
    border-color: var(--bs-secondary);
    box-shadow: 0 14px 30px rgba(77, 101, 249, 0.15);
}

.enroll-step .step-num {
    position: absolute;
    top: -18px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50% 20% / 10% 40%;
    background: var(--bs-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Shantell Sans', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 6px 14px rgba(77, 101, 249, 0.3);
}

.enroll-step .step-icon {
    color: var(--bs-secondary);
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    margin-top: 0.3rem;
}

.enroll-step h5 {
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

.enroll-form-card {
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 14px 40px rgba(77, 101, 249, 0.12);
    padding: 2.5rem;
    border: 2px solid rgba(77, 101, 249, 0.08);
}

.enroll-form-card .form-section-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--bs-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px dashed rgba(77, 101, 249, 0.25);
}

.enroll-form-card .form-section-title i {
    width: 38px;
    height: 38px;
    border-radius: 50% 20% / 10% 40%;
    background: linear-gradient(135deg, var(--bs-primary), #6b7ffb);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.enroll-form-card .form-label {
    font-weight: 600;
    color: var(--bs-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
}

.enroll-form-card .form-label .req {
    color: var(--bs-secondary);
    margin-left: 2px;
}

.enroll-form-card .form-control,
.enroll-form-card .form-select {
    border-radius: 14px;
    border: 2px solid #e6ebff;
    padding: 0.7rem 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.enroll-form-card .form-control:focus,
.enroll-form-card .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(77, 101, 249, 0.12);
}

.enroll-form-card textarea.form-control {
    min-height: 110px;
}

.start-mode-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.start-mode-btn {
    flex: 1 1 calc(33.333% - 0.6rem);
    min-width: 150px;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    border: 2px solid #e6ebff;
    background: #fff;
    color: var(--bs-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.start-mode-btn i {
    color: var(--bs-secondary);
    transition: color .25s ease;
}

.start-mode-btn:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.start-mode-btn.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.start-mode-btn.active i {
    color: #fff;
}

.btn-submit-enroll {
    background: var(--bs-primary);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 25% 10%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 10px 24px rgba(77, 101, 249, 0.3);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn-submit-enroll:hover {
    background: var(--bs-secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 72, 128, 0.35);
}

.privacy-note {
    font-size: 0.82rem;
    color: #6c757d;
    text-align: center;
    margin-top: 1rem;
}

/* Pricing cards */
.pricing-hero {
    background: linear-gradient(135deg, #fff 0%, #f4f7ff 100%);
    border-radius: 32px;
    padding: 2.5rem 2rem;
    box-shadow: 0 14px 40px rgba(77, 101, 249, 0.12);
    border: 2px solid rgba(77, 101, 249, 0.10);
    text-align: center;
    margin-bottom: 2.5rem;
}

.pricing-hero .economic-price {
    font-family: 'Shantell Sans', sans-serif;
    font-size: 3.4rem;
    color: var(--bs-primary);
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pricing-hero .strike {
    color: #b6bfd6;
    text-decoration: line-through;
    font-size: 1.5rem;
    font-family: 'Shantell Sans', sans-serif;
}

.price-card {
    background: #fff;
    border-radius: 28px;
    padding: 1.75rem 1.25rem;
    height: 100%;
    box-shadow: 0 8px 22px rgba(77, 101, 249, 0.08);
    border: 2px solid rgba(77, 101, 249, 0.08);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(77, 101, 249, 0.18);
    border-color: var(--bs-primary);
}

.price-card .tier-badge {
    align-self: center;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(77, 101, 249, 0.12);
    color: var(--bs-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
}

.price-card .price-amount {
    font-family: 'Shantell Sans', sans-serif;
    font-size: 2.4rem;
    color: var(--bs-primary);
    line-height: 1.1;
    margin: 0.4rem 0 0.2rem;
}

.price-card .per {
    font-size: 0.82rem;
    color: #6c757d;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-bottom: 1rem;
}

.price-card .cenzus-text {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px dashed rgba(77, 101, 249, 0.15);
}

.pricing-note {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 6px 18px rgba(77, 101, 249, 0.06);
    border-left: 6px solid var(--bs-secondary);
    margin-top: 2.5rem;
}

.pricing-note i {
    color: var(--bs-secondary);
    font-size: 1.4rem;
    margin-right: 0.6rem;
}

@media (max-width: 991px) {
    .enroll-form-card { padding: 1.5rem; }
}

/*** Enrollment Redesign End ***/
