﻿/*=========================================================
    BIMA SURAKSHA KENDRA
    LIC PREMIUM CALCULATOR
=========================================================*/

/*=============================
    GLOBAL
=============================*/

body {
    background: #f5f7fb;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.container {
    max-width: 1400px;
}

/*=============================
    LINKS
=============================*/

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

/*=============================
    HEADER
=============================*/

.calculator-header {
    background: linear-gradient(135deg,#0B2A5B,#14488d);
    border-radius: 25px;
    padding: 35px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,.10);
}

.header-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    backdrop-filter: blur(5px);
}

    .header-icon i {
        font-size: 60px;
        color: #ffffff;
    }

.calculator-header h1 {
    font-weight: 700;
    font-size: 38px;
}

.calculator-header p {
    color: rgba(255,255,255,.8);
    font-size: 17px;
}

.calculator-header .badge {
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 30px;
}

/*=============================
    PLAN BADGE
=============================*/

.plan-icon {
    width: 95px;
    height: 95px;
    background: linear-gradient(135deg,#0B2A5B,#2d73d5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 42px;
    margin: auto;
}

.plan-summary {
    background: #f8fafc;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid #e7ecf4;
}

    .plan-summary strong {
        color: #0B2A5B;
    }

    .plan-summary hr {
        margin: 15px 0;
    }

/*=============================
    CARD
=============================*/

.card {
    border: none;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.card-header {
    background: linear-gradient(135deg,#0B2A5B,#174d9b);
    color: white;
    padding: 25px;
}

    .card-header h3 {
        font-size: 24px;
        font-weight: 700;
    }

    .card-header small {
        color: rgba(255,255,255,.85);
    }

    .card-header i {
        font-size: 42px;
    }

.card-body {
    padding: 35px;
    background: #ffffff;
}

/*=============================
    FORM LABELS
=============================*/

.form-label {
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

    .form-label i {
        width: 24px;
    }

/*=============================
    ALERTS
=============================*/

.alert {
    border-radius: 15px;
    border: none;
}

/*=============================
    SECTION SPACING
=============================*/

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

/*=============================
    SHADOWS
=============================*/

.shadow-sm {
    box-shadow: 0 5px 20px rgba(0,0,0,.08) !important;
}

.shadow {
    box-shadow: 0 15px 40px rgba(0,0,0,.08) !important;
}

/*=============================
    BADGES
=============================*/

.badge {
    font-weight: 500;
    letter-spacing: .3px;
}

/*=============================
    PREMIUM RESULT PLACEHOLDER
=============================*/

.result-placeholder {
    min-height: 620px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

    .result-placeholder i {
        font-size: 90px;
        color: #0B2A5B;
        opacity: .20;
    }

    .result-placeholder h3 {
        margin-top: 25px;
        color: #0B2A5B;
        font-weight: 700;
    }

    .result-placeholder p {
        color: #777;
        max-width: 400px;
    }

/*=============================
    TRANSITIONS
=============================*/

.card,
.plan-summary,
.plan-icon,
.header-icon {
    transition: .30s ease;
}

    .card:hover {
        transform: translateY(-4px);
    }

    .plan-summary:hover {
        background: #f1f6ff;
    }

/*=============================
    RESPONSIVE
=============================*/

@media(max-width:991px) {

    .calculator-header {
        padding: 30px;
        text-align: center;
    }

    .header-icon {
        margin-bottom: 20px;
    }

    .plan-summary {
        margin-top: 25px;
    }
}

@media(max-width:768px) {

    .calculator-header h1 {
        font-size: 30px;
    }

    .header-icon {
        width: 90px;
        height: 90px;
    }

        .header-icon i {
            font-size: 45px;
        }

    .card-body {
        padding: 25px;
    }

    .card-header {
        padding: 20px;
    }
}

@media(max-width:576px) {

    .calculator-header {
        padding: 20px;
    }

        .calculator-header h1 {
            font-size: 25px;
        }

    .plan-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }

    .card-body {
        padding: 18px;
    }
}
/*=========================================================
    CALCULATOR.CSS - PART 2
    FORM CONTROLS
=========================================================*/

/*===========================
    FORM CONTROL
===========================*/

.form-control,
.form-select {
    height: 56px;
    border-radius: 14px;
    border: 1px solid #d7dde8;
    font-size: 16px;
    background: #ffffff;
    transition: all .3s ease;
    box-shadow: none;
}

    .form-control:hover,
    .form-select:hover {
        border-color: #7aa7f7;
    }

    .form-control:focus,
    .form-select:focus {
        border-color: #0B2A5B;
        box-shadow: 0 0 0 .18rem rgba(11,42,91,.15);
    }

/*===========================
    INPUT GROUP
===========================*/

.input-group {
    border-radius: 14px;
    overflow: hidden;
}

.input-group-text {
    background: #0B2A5B;
    color: #fff;
    border: none;
    font-size: 18px;
    font-weight: 600;
    width: 60px;
    justify-content: center;
}

/*===========================
    PLACEHOLDER
===========================*/

::placeholder {
    color: #a0a7b5;
}

/*===========================
    SELECT ARROW
===========================*/

.form-select {
    cursor: pointer;
}

/*===========================
    LABEL
===========================*/

.form-label {
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

    .form-label i {
        color: #0B2A5B;
    }

/*===========================
    VALIDATION
===========================*/

.text-danger {
    font-size: 14px;
}

.input-validation-error {
    border-color: #dc3545 !important;
}

.validation-summary-errors {
    border-radius: 15px;
}

/*===========================
    SUM ASSURED
===========================*/

#SumAssured {
    font-weight: 600;
    letter-spacing: .5px;
}

/*===========================
    RIDER CARD
===========================*/

.card.bg-light {
    background: #f8fafc !important;
    border: 1px solid #e4e9f1 !important;
    border-radius: 18px;
}

    .card.bg-light h6 {
        font-weight: 700;
        color: #0B2A5B;
    }

.form-check {
    padding: 14px;
    border-radius: 12px;
    transition: .3s;
    margin-bottom: 8px;
}

    .form-check:hover {
        background: #eef5ff;
    }

.form-check-input {
    width: 22px;
    height: 22px;
    cursor: pointer;
}

    .form-check-input:checked {
        background-color: #0B2A5B;
        border-color: #0B2A5B;
    }

.form-check-label {
    margin-left: 8px;
    font-size: 15px;
    cursor: pointer;
}

/*===========================
    BUTTON
===========================*/

.btn-primary {
    background: #0B2A5B;
    border: none;
    border-radius: 15px;
    height: 58px;
    font-size: 18px;
    font-weight: 600;
    transition: .3s;
}

    .btn-primary:hover {
        background: #114da5;
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(17,77,165,.25);
    }

    .btn-primary:active {
        transform: scale(.98);
    }

    .btn-primary i {
        margin-right: 10px;
    }

/*===========================
    LOADING BUTTON
===========================*/

.btn-loading {
    pointer-events: none;
    opacity: .8;
}

    .btn-loading i {
        animation: spin .8s linear infinite;
    }

/*===========================
    SPINNER
===========================*/

@keyframes spin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*===========================
    INPUT ANIMATION
===========================*/

.form-control,
.form-select,
.form-check {
    transition: all .25s ease;
}

/*===========================
    MOBILE
===========================*/

@media(max-width:768px) {

    .form-control,
    .form-select {
        height: 52px;
        font-size: 15px;
    }

    .btn-primary {
        height: 54px;
        font-size: 16px;
    }

    .input-group-text {
        width: 52px;
    }
}

/*=========================================================
    CALCULATOR.CSS - PART 3
    PREMIUM RESULT PANEL
=========================================================*/


/*====================================
    RESULT CARD
=====================================*/

.result-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.result-header {
    background: linear-gradient(135deg,#198754,#0d6efd);
    color: #ffffff;
    padding: 30px;
}

    .result-header h3 {
        margin: 0;
        font-size: 28px;
        font-weight: 700;
    }

    .result-header p {
        margin-top: 8px;
        opacity: .9;
    }


/*====================================
    SUMMARY CARDS
=====================================*/

.summary-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    border: 1px solid #edf1f7;
    transition: .30s;
    height: 100%;
}

    .summary-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,.08);
    }

    .summary-card i {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .summary-card h6 {
        color: #777;
        margin-bottom: 10px;
    }

    .summary-card h3 {
        color: #0B2A5B;
        font-weight: 700;
    }


/*====================================
    PREMIUM TABLE
=====================================*/

.table {
    margin-bottom: 0;
}

    .table th {
        background: #f8fafc;
        color: #0B2A5B;
        width: 45%;
        font-weight: 600;
        padding: 15px;
    }

    .table td {
        padding: 15px;
        font-weight: 600;
    }

.table-bordered {
    border-color: #edf1f7;
}

.table-success {
    background: #eafaf0;
}

.table-warning {
    background: #fff8e6;
}


/*====================================
    PAYMENT CARDS
=====================================*/

.payment-card {
    border-radius: 18px;
    padding: 25px;
    color: #ffffff;
    text-align: center;
    transition: .3s;
}

    .payment-card:hover {
        transform: translateY(-4px);
    }

    .payment-card h5 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .payment-card h3 {
        font-size: 30px;
        font-weight: 700;
    }

.monthly {
    background: linear-gradient(135deg,#198754,#36c275);
}

.quarterly {
    background: linear-gradient(135deg,#0d6efd,#49a3ff);
}

.halfyearly {
    background: linear-gradient(135deg,#ff9800,#ffc107);
}

.yearly {
    background: linear-gradient(135deg,#6f42c1,#9b6cff);
}


/*====================================
    BENEFIT CARD
=====================================*/

.benefit-card {
    border-radius: 18px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #edf1f7;
}

    .benefit-card h4 {
        color: #0B2A5B;
        font-weight: 700;
    }

.benefit-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f1f1f1;
}

    .benefit-item:last-child {
        border-bottom: none;
    }

.benefit-value {
    color: #198754;
    font-weight: 700;
}


/*====================================
    TOTAL BENEFIT
=====================================*/

.total-benefit {
    background: linear-gradient(135deg,#198754,#20c997);
    color: #ffffff;
    border-radius: 18px;
    padding: 30px;
    text-align: center;
}

    .total-benefit h2 {
        font-size: 38px;
        font-weight: 700;
    }

    .total-benefit h6 {
        letter-spacing: 1px;
        text-transform: uppercase;
    }


/*====================================
    ICON BOX
=====================================*/

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eef5ff;
    color: #0B2A5B;
    font-size: 32px;
    margin: auto;
}


/*====================================
    LIST GROUP
=====================================*/

.list-group-item {
    border: none;
    border-bottom: 1px solid #edf1f7;
    padding: 15px;
}

    .list-group-item:last-child {
        border-bottom: none;
    }


/*====================================
    ACCORDION
=====================================*/

.accordion-item {
    border-radius: 15px !important;
    overflow: hidden;
    margin-bottom: 12px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
}

.accordion-button {
    font-weight: 600;
}

    .accordion-button:not(.collapsed) {
        background: #eef5ff;
        color: #0B2A5B;
    }


/*====================================
    BADGES
=====================================*/

.badge {
    padding: 8px 15px;
    border-radius: 30px;
}


/*====================================
    ANIMATION
=====================================*/

.fade-up {
    animation: fadeUp .5s ease;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*====================================
    PRINT
=====================================*/

@media print {

    body {
        background: #ffffff;
    }

    .calculator-header,
    form,
    .btn,
    footer,
    .navbar {
        display: none;
    }

    .result-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}


/*====================================
    RESPONSIVE
=====================================*/

@media(max-width:992px) {

    .result-header {
        text-align: center;
    }

    .payment-card {
        margin-bottom: 20px;
    }

    .summary-card {
        margin-bottom: 20px;
    }
}

@media(max-width:768px) {

    .table th,
    .table td {
        font-size: 14px;
        padding: 10px;
    }

    .result-header h3 {
        font-size: 22px;
    }

    .payment-card h3 {
        font-size: 24px;
    }

    .total-benefit h2 {
        font-size: 28px;
    }
}

@media(max-width:576px) {

    .summary-card {
        padding: 18px;
    }

    .payment-card {
        padding: 20px;
    }

    .result-header {
        padding: 20px;
    }

    .benefit-card {
        padding: 20px;
    }
}


/*====================================
    UTILITIES
=====================================*/

.text-primary-dark {
    color: #0B2A5B;
}

.bg-soft {
    background: #f8fafc;
}

.rounded-20 {
    border-radius: 20px;
}

.border-light-blue {
    border: 1px solid #e8eef7;
}

.shadow-hover:hover {
    box-shadow: 0 12px 25px rgba(0,0,0,.10);
    transform: translateY(-3px);
    transition: .3s;
}


/* ==========================================
   Premium Calculator Disclaimer
========================================== */

.premium-disclaimer {
    margin: 50px auto;
    padding: 0;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-left: 6px solid #0d6efd;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    overflow: hidden;
}

/* Header */

.disclaimer-header {
    background: linear-gradient(90deg,#0d47a1,#1976d2);
    color: #fff;
    padding: 18px 30px;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .disclaimer-header i {
        font-size: 1.5rem;
        color: #ffd54f;
    }

/* Body */

.disclaimer-body {
    padding: 30px 35px;
    font-size: 1rem;
    line-height: 1.8;
    color: #495057;
}

    /* Important Text */

    .disclaimer-body strong {
        color: #0d47a1;
        font-weight: 700;
    }

    /* Paragraph */

    .disclaimer-body p {
        margin-bottom: 18px;
    }

    /* List */

    .disclaimer-body ul {
        margin: 20px 0;
        padding-left: 25px;
    }

    .disclaimer-body li {
        margin-bottom: 10px;
    }

    /* Highlight Box */

    .disclaimer-body .important-note {
        background: #fff8e1;
        border-left: 5px solid #ffc107;
        padding: 15px 20px;
        border-radius: 8px;
        font-weight: 500;
        color: #6c4a00;
        margin-top: 20px;
    }

/* Responsive */

@media (max-width:768px) {

    .disclaimer-body {
        padding: 20px;
    }

    .disclaimer-header {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
}