/* Card Access Section */
.card-access {
    background: white;
    padding: 60px 0 120px;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.card-access::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    min-height: 485px;
    max-height: 495px;
    background: radial-gradient(82.47% 58.61% at 56.46% 108.56%, #FFF 0%, #D3B6C9 44.27%, #5C068C 100%);
    border-radius: 0 0 25px 25px;
    z-index: 1;
}

.card-access-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 74px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.card-access-left {
    flex: 1;
    max-width: 560px;
}

.card-access-title {
    font-size: calc(27px * var(--base-font-scale, 1));
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.card-access-subtitle {
    font-size: calc(18px * var(--base-font-scale, 1));
    line-height: 28px;
    color: white;
    font-weight: 400;
    margin-bottom: 25px;
    width: 85%;
}

.province-select-container {
    position: relative;
    margin-bottom: 20px;
    width: 80%;
}

.province-select {
    width: 100%;
    height: 60px;
    background: white;
    border: none;
    border-radius: 16px;
    padding: 0 17px;
    font-family: 'Mulish', sans-serif;
    font-size: calc(20px * var(--base-font-scale, 1));
    font-weight: 500;
    color: #5C068C;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.province-select:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.province-options {
    position: absolute;
    top: 100%;
    min-width: 100%;
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    text-align: left;  
}

.province-options.show {
    display: block;
    margin-top: -12px;
}

.province-option {
    padding: 6px 10px;
    font-family: 'Mulish', sans-serif;
    font-size: calc(18px * var(--base-font-scale, 1));
    font-weight: 500;
    color: #5C068C;
    cursor: pointer;
    transition: background-color 0.2s;
    margin: 2px 6px;
}


.province-option:hover {
    background: #F7E4F2;
}

.form-hint {
    font-size: calc(14px * var(--base-font-scale, 1));
    line-height: 20px;
    color: white;
    font-weight: 500;
    margin-bottom: 25px;
}

.get-card-btn {
    background: #972C8C;
    color: white;
    border: 4px solid #972C8C;
    border-radius: 50px;
    padding: 8px 25px;
    font-family: 'Mulish', sans-serif;
    font-size: calc(21px * var(--base-font-scale, 1));
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 1;
}

.get-card-btn:hover {
    background: rgba(151, 44, 140, 0.9);
}

.get-card-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.card-access-right {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.card-preview {
    width: 635px;
    height: 363px;
    flex-shrink: 0;
    position: relative;
    top: 120px;
    z-index: 30;
    background: url('../images/MYF_Financial_Assistance_Program_Card_1200px_RGB_En 1.png') 50% / cover no-repeat;
}

/* Card Access Responsive Design */
@media (min-width: 1005px) and (max-width: 1299px) {
    .card-access {
        padding: 50px 0 100px;
    }

    .card-access-container {
        padding: 0 40px;
        gap: 40px;
    }

    .card-access-left {
        max-width: 420px;
    }

    .card-access-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .card-access-subtitle {
        font-size: 16px;
        line-height: 24px;
        width: 95%;
    }

    .province-select-container {
        width: 100%;
        max-width: 400px;
    }

    .province-select {
        height: 52px;
        font-size: 16px;
        border-radius: 12px;
    }

    .form-hint {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .get-card-btn {
        font-size: 18px;
        padding: 6px 20px;
    }

    .card-access-right {
        flex: 1;
        justify-content: center;
    }

    .card-preview {
        width: 480px;
        height: auto;
        aspect-ratio: 635 / 363;
        top: 80px;
    }

    .card-access::before {
        height: 400px;
        border-radius: 0 0 20px 20px;
    }
}


@media (max-width: 1006px) {
    .card-access-container {
        flex-direction: column;
        text-align: center;
        padding: 0 40px;
        justify-content: center;
        align-items: center;
    }

    .card-access-right {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .card-access-left {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .card-preview {
        width: 100%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 635 / 363;
        top: 0;
        margin: 0 auto;
    }

    .card-access {
        padding: 80px 0 100px;
    }

    .card-access::before {
        height: 625px;
    }
    .white-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .card-access-title {
    font-size: calc(28px * var(--base-font-scale, 1));
    }

    .card-access {
        padding: 80px 0 80px;
    }

    .card-access-right {
        width: 100%;
    }

    .card-preview {
        width: 100%; 
        max-width: 100%;
        height: auto;
        aspect-ratio: 635 / 363;
        top: 0;
    }

    .white-section {
        padding: 20px;
    }

    .province-options {
        text-align: left;
        max-height: 200px;
        border-radius: 0 0 8px 8px;
    }

    .province-option {
        padding: 6px 10px;
    font-size: calc(14px * var(--base-font-scale, 1));
        margin: 2px 6px;
    }

    .province-select-container {
        width: 100%;
        max-width: none; 
    }

    .province-select {
        height: 48px;
        width: 100%;
        font-size: 14px;
        padding: 0 12px;
        border-radius: 8px;
    }

    .card-access::before {
        height: 625px;
        border-radius: 0 0 25px 25px;
    }

    .card-access-title {
    font-size: calc(24px * var(--base-font-scale, 1));
    }

    .card-access-subtitle {
    font-size: calc(19px * var(--base-font-scale, 1));
        text-align: center;
        width: 100%;
    }
}
