Heart disease is a noteworthy global health concern, profoundly affecting public health and individual well-being. Early prediction and diagnosis are crucial for reducing its negative impact. This work focuses on developing an effectual heart disease detection employing advanced optimization approaches and data processing. The proposed system incorporates a hybrid segmentation algorithm, Hybrid K-means-Fuzzy-C-means (HKMFCM) clustering, which assigns membership degrees to data points, enabling soft clustering and accommodating data uncertainty. Additionally, the Artificial Bee Colony (ABC) Optimization method is applied for feature selection, mimicking the foraging behavior of honeybees to identify the most discriminative attributes from the dataset. This optimization algorithm iteratively explores the feature space to select features that enhance the model's predictive accuracy. Furthermore, a novel classification architecture, termed the Attention-infused BiRecurrenTwin Network, is introduced to accurately predict heart disease based on segmented and extracted patient data profiles. This classifier leverages both Bidirectional Gated Recurrent Unit (BiGRU) and Bidirectional Long Short-Term Memory (BiLSTM) networks, with their bidirectional nature capturing both past and future contexts, thus increasing the classifier's capability to detect subtle temporal patterns in patient data. In addition, the proposed system addresses traditional approaches limitations through its advanced components like HKMFCM (effectively manages data uncertainty by enabling soft clustering), ABC Optimization technique (enabling an iterative, global search for the most discriminative attributes) Attention-infused BiRecurrenTwin Network (surpasses conventional classifiers by capturing both past and future temporal patterns in patient data). The simulation outcomes demonstrate that the developed system attains improved performance, with accuracy, ROC, F-measure, precision, recall, sensitivity, and specificity values of 96.09%, 97%, 95%, 96.6%, 94.3%, 95.14%, and 97.05%, respectively which is higher than the baseline models with an average of 7.75 % increase in accuracy. These results indicate that the developed predictive models show promise in accurately classifying individuals based on their extracted features, thereby facilitating the early recognition of heart disease.