﻿
.bg {
    background-color: #042f0e !important;
    background: url('/images/plan-banner.png') no-repeat center right;
    background-size: cover;
}


.div-bg-border {
    border: 1px solid #22c55e !important;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

@media (max-width: 992px) {
    .hero {
        height: auto;
        padding: 20% 0 !important;
    }
}

/* SECTION TITLE */
.plans-alt {
    background: #f9fbfa;
}

/* JOURNEY */
.journey-alt {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #045b24;
}

.step {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

    .step span {
        width: 10px;
        height: 10px;
        background: #045b24;
        border-radius: 50%;
        margin-top: 6px;
    }

/* PLAN ROW */
.plan-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    transition: 0.3s;
}

    .plan-row:hover {
        transform: translateX(6px);
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    }

    .plan-row.featured {
        background: #045b24;
        color: #fff;
    }

    .plan-row.light {
        background: #f6fff9;
    }

.plan-price {
    font-weight: 700;
    font-size: 20px;
}

.plan-actions {
    display: flex;
    gap: 10px;
}

/* 🔥 SPECIAL OFFER */
.special-offer {
    position: relative;
    background: linear-gradient(135deg, #045b24, #0c8a3d);
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
    overflow: hidden;
}

    /* glowing animation */
    .special-offer::before {
        content: "";
        position: absolute;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, #22c55e 0%, transparent 70%);
        animation: glowMove 6s linear infinite;
    }

/* floating badge */
.offer-badge {
    position: absolute;
    top: 0px;
    left: 20px;
    background: #fff;
    color: #045b24;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* tags */
.badges span {
    background: rgba(255,255,255,0.2);
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 8px;
    font-size: 12px;
}

/* animations */
@keyframes glowMove {
    0% {
        transform: translate(-20%, -20%);
    }

    50% {
        transform: translate(20%, 20%);
    }

    100% {
        transform: translate(-20%, -20%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

/* NOTE */
.insurance-note {
    background: #045b24;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
}






.plan-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 18px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    transition: 0.3s;
}

    .plan-row:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

/* Left Content */
.plan-info h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.plan-info p {
    margin: 5px 0 0;
    font-size: 13px;
    color: #666;
}
.plan-info-p p{
    color: white !important;
}

/* Price */
.plan-price {
    font-weight: bold;
    font-size: 18px;
    color: #28a745;
    min-width: 90px;
    text-align: center;
}

/* Buttons */
.plan-actions {
    display: flex;
    gap: 10px;
    z-index: 99;
}

/* Featured */
.plan-row.featured {
    background: #1e293b;
    color: #fff;
    border: none;
}

    .plan-row.featured .plan-price {
        color: #ffc107;
    }

    .plan-row.featured p {
        color: #cbd5e1;
    }

/* Light variant */
.plan-row.light {
    background: #f8f9fa;
}

/* Special Offer */
.plan-row.special-offer {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    border: none;
}

    .plan-row.special-offer .plan-price {
        color: #fff;
    }

.badges span {
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 5px;
}







.plan-banner {
    position: relative;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

    .plan-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* DARK OVERLAY */
.banner-overlay {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient( to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4), transparent );
    color: #fff;
}

    /* BADGE */
    .banner-overlay .badge {
        display: inline-block;
        background: #16a34a;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        margin-bottom: 15px;
    }

    /* TEXT */
    .banner-overlay h3 {
        font-size: 28px;
        margin-bottom: 5px;
    }

        .banner-overlay h3 span {
            color: #22c55e;
        }

    .banner-overlay h4 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    /* POINTS */
    .banner-overlay ul {
        padding-left: 18px;
    }

    .banner-overlay li {
        margin-bottom: 8px;
        font-size: 14px;
    }

/* MOBILE FIX */
@media (max-width: 992px) {
    .plan-banner {
       /* height: 350px;*/
        margin-bottom: 30px;
    }
}












/* ===== PLAN ROW BASE ===== */
.plan-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* FIX: prevent vertical stretching */
    gap: 20px;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 20px;
    background: #fff;
    border: 1.5px solid #22c55e;
    transition: 0.25s ease;
}

    /* Hover effect */
    .plan-row:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    }

/* ===== LEFT CONTENT ===== */
.plan-info h5 {
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 600;
}

.plan-info p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 0; /* FIX spacing */
}

/* ===== RIGHT SIDE ===== */
.plan-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===== PRICE ===== */
.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #198754;
    white-space: nowrap;
}

/* ===== BUTTONS ===== */
.plan-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .plan-actions .btn {
        padding: 6px 14px;
        font-size: 14px;
        border-radius: 6px;
    }

/* ===== FEATURED CARD ===== */
.plan-row.featured {
    background: #1f2937;
    color: #fff;
    border: none;
}

    .plan-row.featured .plan-price {
        color: #facc15;
    }

    .plan-row.featured .btn-outline-warning {
        border-color: #facc15;
        color: #facc15;
    }

        .plan-row.featured .btn-outline-warning:hover {
            background: #facc15;
            color: #000;
        }

/* ===== LIGHT VARIANT ===== */
.plan-row.light {
    background: #f9fafb;
}

/* ===== SPECIAL OFFER ===== */
.plan-row.special-offer {
    position: relative;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
    border: none;
}

.offer-badge {
    position: absolute;
    top: 0px;
    left: 20px;
    background: #f59e0b;
    color: #000;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

/* badges inside special */
.badges {
    margin-top: 10px;
}

    .badges span {
        background: rgba(255,255,255,0.15);
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 12px;
        margin-right: 6px;
    }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

    .plan-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .plan-right {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }

    .plan-actions {
        width: 100%;
    }

        .plan-actions .btn {
            flex: 1;
            text-align: center;
        }

    .plan-price {
        font-size: 22px;
    }
}















/*model design*/
#detailsModal {
    max-height: 80% !important;
    margin-top: 10%;
}

@media (max-width: 992px) {
    #detailsModal {
        margin-top: 20%;
    }
}


/* MODAL WRAPPER */
.custom-modal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* HEADER */
.custom-header {
    background: linear-gradient(135deg, #045b24, #1c7c3c);
    color: #fff;
    padding: 20px 25px;
    border-bottom: none;
}

    .custom-header h4 {
        margin: 0;
        font-weight: 600;
    }

.modal-subtitle {
    font-size: 13px;
    opacity: 0.8;
}

/* CLOSE BUTTON */
.custom-header .btn-close {
    filter: invert(1);
}

/* BODY */
.custom-modal .modal-body {
    padding: 25px;
}

/* TEXT */
.modal-description {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

    /* SPACING BETWEEN PARAGRAPHS */
    .modal-description p {
        margin-bottom: 15px;
    }

/* HIGHLIGHT BOX */
.modal-highlight {
    margin-top: 20px;
    padding: 15px;
    background: #e9f7ef;
    border-left: 5px solid #28a745;
    border-radius: 8px;
    font-weight: 500;
    color: #155724;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* CTA */
.modal-cta {
    margin-top: 25px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .custom-header {
        padding: 15px;
    }

    .custom-modal .modal-body {
        padding: 20px;
    }
}