/* ============================
   REGISTRATION PAGE DESIGN
============================ */

:root {
    --bhub-blue: #0f3b66;
    --bhub-blue-dark: #082f49;
    --bhub-blue-light: #eff6ff;
    --bhub-orange: #f59e0b;
    --bhub-orange-light: #fff7ed;
    --bhub-green: #22c55e;
    --bhub-green-dark: #16a34a;
    --bhub-green-light: #ecfdf5;
    --bhub-border: #e2e8f0;
    --bhub-text: #0f172a;
    --bhub-muted: #64748b;
}

/* ============================
   PAGE SECTION
============================ */

.bhub-page-section {
    padding: 64px 0;
}

.bhub-container {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

/* ============================
   INTRO SECTION
============================ */

.bhub-registration-intro {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 32%),
        radial-gradient(circle at bottom left, rgba(15, 59, 102, 0.12), transparent 28%),
        linear-gradient(135deg, #eff6ff 0%, #ffffff 55%, #fff7ed 100%);
    text-align: center;
}

.bhub-registration-intro::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -100px;
    top: -100px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.18);
}

.bhub-registration-intro::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -90px;
    bottom: -100px;
    border-radius: 999px;
    background: rgba(15, 59, 102, 0.12);
}

.bhub-registration-intro .bhub-container {
    position: relative;
    z-index: 2;
}

.bhub-registration-intro h2,
.bhub-registration-form h2,
.bhub-registration-cta h2 {
    margin: 0 0 14px;
    color: var(--bhub-blue);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.25;
    font-weight: 800;
}

.bhub-registration-intro p,
.bhub-registration-form p,
.bhub-registration-cta p {
    max-width: 820px;
    margin: 0 auto;
    color: #475569;
    font-size: 17px;
    line-height: 1.75;
}

/* ============================
   INFO GRID
============================ */

.bhub-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.bhub-info-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bhub-info-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--bhub-blue), var(--bhub-orange));
}

.bhub-info-card:nth-child(3n+1) {
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
}

.bhub-info-card:nth-child(3n+2) {
    background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}

.bhub-info-card:nth-child(3n+3) {
    background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
}

.bhub-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 59, 102, 0.12);
}

.bhub-info-card h3 {
    margin: 0 0 14px;
    color: var(--bhub-blue);
    font-size: 22px;
    line-height: 1.35;
    font-weight: 800;
}

.bhub-info-card p,
.bhub-info-card li {
    color: #475569;
    font-size: 15.5px;
    line-height: 1.7;
}

.bhub-info-card p:last-child {
    margin-bottom: 0;
}

.bhub-info-card ul,
.bhub-info-card ol {
    margin: 0;
    padding-left: 20px;
}

/* ============================
   FORM SECTION
============================ */

.bhub-registration-form {
    background:
        radial-gradient(circle at top left, rgba(15, 59, 102, 0.05), transparent 30%),
        #f8fafc;
    text-align: center;
}

.bhub-form {
    max-width: 860px;
    margin: 34px auto 0;
    background: #ffffff;
    padding: 36px;
    border-radius: 24px;
    border: 1px solid #dbeafe;
    box-shadow: 0 18px 48px rgba(15, 59, 102, 0.10);
    text-align: left;
}

.bhub-form-group {
    margin-bottom: 20px;
}

.bhub-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--bhub-text);
    font-size: 14px;
    font-weight: 800;
}

.bhub-form-group input,
.bhub-form-group select,
.bhub-form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: var(--bhub-text);
    font-size: 15px;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bhub-form-group input:hover,
.bhub-form-group select:hover,
.bhub-form-group textarea:hover {
    border-color: #93c5fd;
    background: #f8fbff;
}

.bhub-form-group input:focus,
.bhub-form-group select:focus,
.bhub-form-group textarea:focus {
    border-color: var(--bhub-blue);
    box-shadow: 0 0 0 4px rgba(15, 59, 102, 0.12);
    background: #ffffff;
}

.bhub-form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* Placeholder */
.bhub-form-group input::placeholder,
.bhub-form-group textarea::placeholder {
    color: #94a3b8;
}

/* ============================
   BUTTONS
============================ */

.bhub-submit-btn,
.bhub-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bhub-blue), #155e9f);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(15, 59, 102, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bhub-submit-btn:hover,
.bhub-wa-btn:hover {
    background: linear-gradient(135deg, var(--bhub-blue-dark), var(--bhub-blue));
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 59, 102, 0.24);
}

/* ============================
   CTA SECTION
============================ */

.bhub-registration-cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.25), transparent 30%),
        linear-gradient(135deg, #0f3b66, #075985);
    text-align: center;
}

.bhub-registration-cta::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -110px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
}

.bhub-registration-cta .bhub-container {
    position: relative;
    z-index: 2;
}

.bhub-registration-cta h2,
.bhub-registration-cta p {
    color: #ffffff;
}

.bhub-registration-cta p {
    color: rgba(255, 255, 255, 0.88);
}

.bhub-registration-cta .bhub-wa-btn {
    margin-top: 26px;
    background: linear-gradient(135deg, var(--bhub-green), #4ade80);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(34, 197, 94, 0.22);
}

.bhub-registration-cta .bhub-wa-btn:hover {
    background: linear-gradient(135deg, var(--bhub-green-dark), var(--bhub-green));
    color: #ffffff;
}

/* ============================
   ALERT / NOTICE OPTIONAL
============================ */

.bhub-form-notice {
    margin: 0 0 22px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #0f3b66;
    font-size: 15px;
    line-height: 1.6;
}

.bhub-form-success {
    border-color: #bbf7d0;
    background: #ecfdf5;
    color: #15803d;
}

.bhub-form-error {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #c2410c;
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 1024px) {
    .bhub-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .bhub-page-section {
        padding: 46px 0;
    }

    .bhub-registration-intro {
        text-align: left;
    }

    .bhub-registration-intro h2,
    .bhub-registration-form h2,
    .bhub-registration-cta h2 {
        font-size: clamp(26px, 7vw, 34px);
    }

    .bhub-registration-intro p,
    .bhub-registration-form p,
    .bhub-registration-cta p {
        font-size: 16px;
    }

    .bhub-info-grid {
        grid-template-columns: 1fr;
    }

    .bhub-form {
        padding: 24px;
        border-radius: 18px;
    }

    .bhub-submit-btn,
    .bhub-wa-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .bhub-container {
        width: min(100% - 24px, 1180px);
    }

    .bhub-page-section {
        padding: 38px 0;
    }

    .bhub-info-card {
        padding: 22px;
        border-radius: 18px;
    }

    .bhub-form {
        padding: 20px;
    }

    .bhub-form-group input,
    .bhub-form-group select,
    .bhub-form-group textarea {
        font-size: 14px;
    }
}