/* -----------GLOBAL CSS----------- */
section {
    padding: 50px 0px 80px 0px;
}
.bg-gradient-primary {
    /* background: linear-gradient(to bottom, #e6f2ff, #ffffff); */
    background: #00c6ff; /* fallback for old browsers */
    background: -webkit-linear-gradient(
        to right,
        #0072ff,
        #00c6ff
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
        to right,
        #0072ff,
        #00c6ff
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.bg-gradient-primary ul li {
    line-height: 20px !important;
    margin-top: 10px !important;
}
.retirement-hero-section {
    background-image: linear-gradient(
        358.4deg,
        rgba(249, 151, 119, 1) -2.1%,
        rgba(98, 58, 162, 1) 90%
    );
    position: relative;
    filter: brightness(0.8);
}
/* Custom styles for the Registration Options section */
.registration-options {
    background: #9daef7; /* fallback for old browsers */
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
        to right,
        #86fde8,
        #acb6e5
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    padding: 2rem 0;
}

.registration-options p {
    margin-bottom: 0.5rem;
    font-size: 14px;
    font-weight: 600;
}

.registration-options .btn-primary-custom {
    background-color: #007bff; /* Customize primary button color */
    color: #fff;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.registration-options .btn-primary-custom:hover {
    background-color: #0056b3; /* Darken on hover */
}

.registration-options .btn-outline-secondary {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    border-radius: 6px;
    color: #000000;
    border: 1px solid #6c757d;
    transition: all 0.3s ease;
}

.registration-options .btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Media query for better responsiveness */
@media (max-width: 768px) {
    .registration-options .text-md-end {
        text-align: center !important;
    }

    .registration-options .btn-primary-custom,
    .registration-options .btn-outline-secondary {
        width: 100%;
        display: flex; /* Full width buttons on mobile */
    }
}

.retirement-hero-content {
    position: relative;
    z-index: 0;
}
.retirement-feature-icon {
    font-size: 2rem;
    height: 3rem;
    width: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #eeee;
    border-radius: 50%;
}

.retirement-feature-icon i {
    font-size: 20px;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--bs-primary);
    color: #fff;
    font-weight: bold;
    margin-right: 0.5rem;
}

.retirement-plan {
    background-color: #e6f2ff;
    position: relative;
    overflow: hidden;
}
.retirement-plan::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#f0f8ff 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.5;
}
.retirement-plan-content {
    position: relative;
    z-index: 0;
}
.step-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4caf50;
    /* margin-right: 15px; */
}
.pension-fund {
    font-size: 1.5rem;
    font-weight: bold;
    color: #076eb8;
    /* margin-right: 15px; */
}
.pension {
    font-size: 1.5rem;
    font-weight: bold;
    background: #0099f7; /* fallback for old browsers */
    background: -webkit-linear-gradient(
        to right,
        #f11712,
        #0099f7
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
        to right,
        #f11712,
        #0099f7
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    margin-right: 15px;
}
.step-content {
    font-size: 1.2rem;
}
.retirement-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.nps-logo {
    width: 100px;
    height: auto;
}
.feature-container {
    position: relative; /* Needed for absolute positioning of the description */
    overflow: hidden; /* Ensure that content doesn't spill out */
}

.feature-content {
    min-height: 180px;
    position: relative; /* Keep content in its normal flow */
}

.feature-image {
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.3s; /* Smooth transition */
}

.feature-description {
    position: absolute;
    top: 0; /* Align description to the top of the container */
    left: 0;
    right: 0; /* Make the description cover the entire area */
    bottom: 0;
    border-radius: 8px;
    background: #00d2ff; /* Fallback for old browsers */
    background: -webkit-linear-gradient(
        to right,
        #928dab,
        #00d2ff
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
        to right,
        #928dab,
        #00d2ff
    ); /* Modern browsers */

    color: #fff; /* Text color */
    display: flex;
    flex-direction: column; /* Stack title and paragraph */
    justify-content: center; /* Center the description vertically */
    align-items: center; /* Center the description horizontally */
    opacity: 0; /* Initially hide the description */
    transition: opacity 0.3s; /* Smooth transition for opacity */
    padding: 15px; /* Add some padding */
}

.feature-container:hover .feature-image {
    opacity: 0; /* Hide image on hover */
}

.feature-container:hover .feature-description {
    opacity: 1; /* Show description on hover */
}

.feature-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff; /* Change to white for better contrast */
    margin: 0;
    word-spacing: 20%;
    text-align: center;
}

.feature-description p {
    font-size: 15px !important;
    color: #fff; /* Change to white for better contrast */
    word-spacing: 14%;
    margin: 10px; /* Remove default margin */
    padding: 5px; /* Adjust padding */
    text-align: center;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
    .feature-image {
        width: 100%;
        height: 120px; /* Reduce height for better fit on smaller screens */
    }

    .feature-title {
        font-size: 0.8rem; /* Adjust title font size */
        word-spacing: normal;
    }

    .feature-description p {
        font-size: 1rem; /* Adjust description font size */
        word-spacing: normal;
    }

    .feature-title,
    .feature-description p {
        margin-top: 5px; /* Reduce top margin on text elements for mobile */
    }

    /* Always show the description on mobile */
    .feature-container:hover .feature-description {
        opacity: 1; /* Ensure the description shows on hover even on mobile */
    }

    .feature-container:hover .feature-image {
        opacity: 1; /* Keep image visible on hover to maintain interaction */
    }

    /* If you want the description to always be visible on mobile */
    .feature-description {
        opacity: 1; /* Ensure the description is visible */
    }
}

.nps-Button {
    transition: background-color 0.3s ease, transform 0.3s ease;
    background-color: #ffff;
    color: #3d4144;
    font-size: 13px;
    font-weight: 700;
    border-radius: 0px;
}

.nps-Button:hover {
    background-color: #aaaaaa;
    transform: scale(1.05);
}

.calculator-section {
    background-color: #e6f7f7;
    border-radius: 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.iconBox {
    width: 50px;
    height: 50px;
    margin: 0 auto;
}

.iconBox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nps-choose-card {
    padding: 30px 10px;
}
.nps-choose-card p {
    font-size: 15px;
}
.faq {
    width: 80%;
}
