.cw-page {
    overflow-x: hidden;
    background: #f8f9fb;
    color: #1a2b42;
}

.cw-page,
.cw-page *,
.cw-page *::before,
.cw-page *::after {
    box-sizing: border-box;
}

.cw-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.cw-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 8vw, 112px) 0 clamp(48px, 7vw, 88px);
    background:
        linear-gradient(130deg, rgba(26, 43, 66, 0.92), rgba(36, 74, 126, 0.85)),
        url("/web/assets/images/hero-madhunandan-association.jpg") center/cover;
    color: #ffffff;
}

.cw-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 80px;
    background: linear-gradient(180deg, rgba(248, 249, 251, 0), #f8f9fb);
    pointer-events: none;
}

.cw-hero-shell {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.cw-kicker {
    margin: 0 0 12px;
    color: #5b8abf;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cw-hero h1,
.cw-section h2 {
    margin: 0;
    letter-spacing: 0;
}

.cw-hero h1 {
    max-width: 720px;
    font-size: clamp(2.6rem, 7vw, 4.8rem);
    line-height: 0.95;
    font-weight: 900;
}

.cw-lead {
    max-width: 640px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.04rem, 2vw, 1.24rem);
    line-height: 1.7;
}

.cw-status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 700;
}

.cw-status-open {
    border-color: rgba(72, 187, 120, 0.5);
    background: rgba(72, 187, 120, 0.15);
}

.cw-status-closed {
    border-color: rgba(229, 115, 115, 0.5);
    background: rgba(229, 115, 115, 0.15);
}

.cw-status-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    flex: 0 0 auto;
}

.cw-status-open .cw-status-icon {
    background: #48bb78;
    color: #ffffff;
}

.cw-status-closed .cw-status-icon {
    background: #e57373;
    color: #ffffff;
}

.cw-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.cw-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.cw-action {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cw-action:hover {
    transform: translateY(-1px);
}

.cw-action-primary {
    background: #244a7e;
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(36, 74, 126, 0.25);
}

.cw-action-primary:hover {
    background: #1c3d6b;
}

.cw-action-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cw-action-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cw-section {
    padding: clamp(48px, 6vw, 80px) 0;
}

.cw-section-heading {
    max-width: 680px;
    margin-bottom: clamp(32px, 4vw, 48px);
}

.cw-section-heading h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height: 1.2;
    font-weight: 800;
}

.cw-section-heading p {
    margin: 12px 0 0;
    color: #4a5a72;
    font-size: 1.05rem;
    line-height: 1.7;
}

.cw-opportunities {
    background: #ffffff;
}

.cw-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.cw-card {
    padding: 28px 24px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8f9fb;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.cw-card:hover {
    box-shadow: 0 8px 28px rgba(26, 43, 66, 0.08);
    transform: translateY(-2px);
}

.cw-card-open {
    border-color: #244a7e;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(36, 74, 126, 0.08);
}

.cw-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cw-card-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 10px;
    background: #eef2f7;
    color: #244a7e;
    font-size: 1.1rem;
}

.cw-card-open .cw-card-icon {
    background: #244a7e;
    color: #ffffff;
}

.cw-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cw-badge-open {
    background: #c6f6d5;
    color: #22543d;
}

.cw-badge-soon {
    background: #e2e8f0;
    color: #4a5a72;
}

.cw-badge-required {
    background: #fed7d7;
    color: #9b2c2c;
}

.cw-badge-optional {
    background: #e2e8f0;
    color: #4a5a72;
}

.cw-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 800;
}

.cw-card p {
    margin: 0 0 16px;
    color: #4a5a72;
    font-size: 0.94rem;
    line-height: 1.65;
}

.cw-card-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.cw-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: #3a4a62;
}

.cw-card-list li i {
    margin-top: 3px;
    color: #244a7e;
    font-size: 0.8rem;
    flex: 0 0 auto;
}

.cw-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 160ms ease;
}

.cw-card-action-primary {
    background: #244a7e;
    color: #ffffff;
}

.cw-card-action-primary:hover {
    background: #1c3d6b;
}

.cw-how-it-works {
    background: #f8f9fb;
}

.cw-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.cw-step {
    padding: 24px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

.cw-step-number {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: #244a7e;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.cw-step h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
}

.cw-step p {
    margin: 0;
    color: #4a5a72;
    font-size: 0.92rem;
    line-height: 1.65;
}

.cw-disclaimer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.cw-disclaimer-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    max-width: 720px;
}

.cw-disclaimer-content li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f0f4f8;
    font-size: 0.94rem;
    line-height: 1.6;
}

.cw-disclaimer-content li i {
    margin-top: 3px;
    color: #244a7e;
    flex: 0 0 auto;
}

.cw-form-section {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.cw-form {
    max-width: 780px;
}

.cw-form-status {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    display: none;
}

.cw-form-status.is-visible {
    display: block;
}

.cw-form-status[data-cw-form-status][role="status"]:empty {
    display: none;
}

.cw-form-status ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: disc;
}

.cw-form-status ul li {
    margin-bottom: 4px;
}

.cw-form-status ul li:last-child {
    margin-bottom: 0;
}

.cw-field.is-invalid input,
.cw-field.is-invalid select,
.cw-field.is-invalid textarea {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12);
}

.cw-checkbox.is-invalid {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12);
}

.cw-fieldset {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    margin: 0 0 20px;
    background: #f8f9fb;
}

.cw-fieldset legend {
    padding: 0 8px;
    font-size: 0.92rem;
    font-weight: 800;
    color: #244a7e;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cw-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cw-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cw-field-wide {
    grid-column: 1 / -1;
}

.cw-field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cw-field-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #2d3748;
}

.cw-field input[type="text"],
.cw-field input[type="email"],
.cw-field input[type="tel"],
.cw-field input[type="number"],
.cw-field select,
.cw-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    background: #ffffff;
    color: #1a2b42;
    font: inherit;
    font-size: 0.94rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.cw-field input:focus,
.cw-field select:focus,
.cw-field textarea:focus {
    outline: none;
    border-color: #244a7e;
    box-shadow: 0 0 0 3px rgba(36, 74, 126, 0.12);
}

.cw-field textarea {
    resize: vertical;
    min-height: 80px;
}

.cw-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.92rem;
    line-height: 1.5;
}

.cw-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    flex: 0 0 auto;
    accent-color: #244a7e;
}

.cw-consent-list {
    display: grid;
    gap: 10px;
}

.cw-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease;
}

.cw-checkbox:hover {
    border-color: #244a7e;
    background: #f0f4f8;
}

.cw-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex: 0 0 auto;
    accent-color: #244a7e;
}

.cw-checkbox span {
    font-size: 0.9rem;
    line-height: 1.55;
}

.cw-checkbox a {
    color: #244a7e;
    text-decoration: underline;
}

.cw-form-actions {
    margin-top: 24px;
}

.cw-form-actions .cw-action-primary {
    background: #244a7e;
    color: #ffffff;
    min-height: 52px;
    padding: 14px 28px;
    font-size: 1rem;
    box-shadow: 0 14px 34px rgba(36, 74, 126, 0.25);
}

.cw-form-actions .cw-action-primary:hover {
    background: #1c3d6b;
}

.cw-closed-notice {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.cw-closed-box {
    max-width: 580px;
    text-align: center;
}

.cw-closed-box h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
}

.cw-closed-box p {
    margin: 12px 0 0;
    color: #4a5a72;
    font-size: 1.02rem;
    line-height: 1.7;
}

.cw-closed-box .cw-actions {
    justify-content: center;
}

.cw-submit-state {
    background: #f8f9fb;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.cw-submit-state-box {
    max-width: 580px;
    text-align: center;
}

.cw-submit-state-box h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
}

.cw-submit-state-box > p {
    margin: 12px 0 0;
    color: #4a5a72;
    font-size: 1.02rem;
    line-height: 1.7;
}

.cw-submit-state-box .cw-actions {
    justify-content: center;
}

.cw-success-details {
    margin: 28px 0;
    padding: 0;
    display: grid;
    gap: 12px;
    text-align: left;
}

.cw-success-details > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    gap: 12px;
}

.cw-success-details dt {
    font-size: 0.88rem;
    font-weight: 600;
    color: #4a5a72;
    flex: 0 0 auto;
}

.cw-success-details dd {
    margin: 0;
    font-weight: 700;
    color: #1a2b42;
    text-align: right;
    word-break: break-word;
}

.cw-success-notice {
    margin: 28px 0;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f0f4f8;
    text-align: left;
}

.cw-success-notice h3 {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 700;
}

.cw-success-notice ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.cw-success-notice li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #3a4a62;
}

.cw-success-notice li i {
    margin-top: 3px;
    color: #244a7e;
    flex: 0 0 auto;
}

/* Email Validation */
.cw-email-check-wrap {
    position: relative;
}

.cw-email-status-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0;
    transition: opacity 200ms ease;
    pointer-events: none;
}

.cw-email-status-icon.is-visible {
    opacity: 1;
}

.cw-email-status-icon.is-checking {
    color: #718096;
}

.cw-email-status-icon.is-available {
    color: #38a169;
}

.cw-email-status-icon.is-used {
    color: #e53e3e;
}

.cw-email-status-text {
    display: block;
    font-size: 0.82rem;
    margin-top: 4px;
    min-height: 18px;
    line-height: 1.4;
}

.cw-email-status-text.is-error {
    color: #c53030;
}

.cw-email-status-text.is-success {
    color: #2f855a;
}

.cw-field.is-email-unavailable input {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12);
}

/* OTP Modal */
.cw-otp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cw-otp-modal.is-active {
    display: flex;
}

.cw-otp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cw-otp-modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: cw-otp-slide-in 0.25s ease-out;
}

@keyframes cw-otp-slide-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cw-otp-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f0f4f8;
    color: #4a5a72;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 160ms ease, color 160ms ease;
}

.cw-otp-close:hover {
    background: #e2e8f0;
    color: #1a2b42;
}

.cw-otp-header {
    text-align: center;
    margin-bottom: 24px;
}

.cw-otp-icon {
    display: inline-grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 50%;
    background: #eef2f7;
    color: #244a7e;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.cw-otp-header h2 {
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a2b42;
}

.cw-otp-header p {
    margin: 0;
    color: #4a5a72;
    font-size: 0.94rem;
    line-height: 1.5;
}

.cw-otp-header strong {
    color: #244a7e;
}

/* OTP Input Boxes */
.cw-otp-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 24px 0 16px;
}

.cw-otp-inputs input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2b42;
    border: 2px solid #dde3f5;
    border-radius: 10px;
    background: #f8f9fb;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
    caret-color: #244a7e;
}

.cw-otp-inputs input:focus {
    outline: none;
    border-color: #244a7e;
    box-shadow: 0 0 0 3px rgba(36, 74, 126, 0.12);
    background: #ffffff;
}

.cw-otp-inputs input::placeholder {
    color: #a0aec0;
}

/* OTP Timer */
.cw-otp-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 16px;
}

.cw-otp-timer i {
    font-size: 0.82rem;
}

/* OTP Status Messages */
.cw-otp-status {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 22px;
    margin-bottom: 16px;
    padding: 0 4px;
}

.cw-otp-status.is-error {
    color: #c53030;
}

.cw-otp-status.is-success {
    color: #2f855a;
}

/* OTP Action Buttons */
.cw-otp-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cw-otp-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
}

.cw-otp-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 480px) {
    .cw-otp-modal-content {
        padding: 28px 20px;
    }

    .cw-otp-inputs input {
        width: 42px;
        height: 50px;
        font-size: 1.3rem;
    }

    .cw-otp-inputs {
        gap: 6px;
    }
}

@media (max-width: 640px) {
    .cw-field-grid {
        grid-template-columns: 1fr;
    }

    .cw-field-group {
        grid-template-columns: 1fr;
    }

    .cw-cards {
        grid-template-columns: 1fr;
    }

    .cw-steps {
        grid-template-columns: 1fr;
    }

    .cw-success-details > div {
        flex-direction: column;
        gap: 4px;
    }

    .cw-success-details dd {
        text-align: left;
    }
}
