/* Plans & Pricing Modal Styles - Integrated with Bootstrap 5 */



.pp-modal-container {

    border-radius: 12px;

    border: none;

    overflow: hidden;

    font-family: 'Poppins', sans-serif;

}



.pp-modal-header {

    text-align: center;

    padding: 20px 30px 10px;

    position: relative;

}



.pp-modal-title {

    color: #469efd;

    font-size: 1.8rem;

    font-weight: 700;

    margin: 0 auto;

}



.pp-modal-close {

    font-size: 1.2rem;

    cursor: pointer;

    color: #333;

    opacity: 0.8;

}



.pp-modal-close:hover {

    opacity: 1;

}



/* Tabs */

.pp-tabs {

    display: flex;

    justify-content: flex-start;

    /* Align left */



    padding: 0 0 10px 0;

    /* Remove side padding to align with text */

    margin-bottom: 2px;

    /* Space between tabs and content */

    gap: 30px;

}



.pp-tabs-spacer {

    flex: 0 0 35%;

    max-width: 343px;

    display: block;

    /* Hidden by default, shown on desktop */

}



@media (min-width: 768px) {

    

}



.pp-tab-btn {

    background: none;

    border: none;

    padding: 10px 5px;

    /* Reduce padding */

    font-size: 1rem;

    font-weight: 500;

    color: #888;

    cursor: pointer;

    position: relative;

    transition: color 0.3s;

    width: 100%;

}



.pp-tab-btn.active {

    color: #1e3a5f;

    font-weight: 600;

}



.pp-tab-btn.active::after {

    content: '';

    position: absolute;

    bottom: -1px;

    left: 0;

    width: 100%;

    height: 3px;

    background-color: #1F4069;

    border-radius: 3px 3px 0 0;

}



/* Modal Body */

.pp-modal-body {

    padding: 0px 40px;

    display: flex;

    gap: 40px;

}



/* New Columns */

.pp-images-col {

    flex: 0 0 35%;

    max-width: 350px;

    display: flex;

    align-items: center;

}



.pp-image-item img {

    width: 17.896vw;

    height: auto;

    border-radius: 12px;

    object-fit: cover;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

}



.pp-right-col {

    flex: 1;

    display: flex;

    flex-direction: column;

}



.pp-details-item {

    display: flex;

    flex-direction: column;

    gap: 25px;

}



/* Duration Section */

.pp-section-title {

    font-size: 1.1rem;

    font-weight: 700;

    color: #1E2328;

    margin-bottom: 10px;

}



.duration-options {

    display: flex;

    gap: 20px;

}



.duration-btn {

    border: 1px solid #ccc;

    background-color: #fff;

    padding: 3px 40px;

    border-radius: 12px;

    text-align: center;

    cursor: pointer;

    min-width: 120px;

    transition: all 0.2s;

    font-size: 0.813rem;

}



.duration-btn.active {

    border-color: #1e3a5f;

    background-color: #E8EDFE;

    /* Light blue tint */

}



.duration-time {

    display: block;

    font-weight: 600;

    color: #1e3a5f;

    font-size: 0.813rem;

}



.duration-price {

    display: block;

    font-weight: 700;

    color: #1e3a5f;

    font-size: 1.1rem;

    margin-top: 5px;

}



/* Subjects Section */

.subjects-list {

    display: flex;

    flex-direction: column;

    gap: 10px;

}



/* Grid View for Subjects (Side by Side) */

/* Grid View for Subjects (3 Columns) */

.subjects-list.grid-view {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    align-items: start;

}



.subjects-list.grid-view .subject-item {

    width: 100%;

}



@media (max-width: 992px) {

    .subjects-list.grid-view {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 576px) {

    .subjects-list.grid-view {

        grid-template-columns: 1fr;

    }



}

@media (min-width: 576px) {

/*.pp-images-col{display: none;}*/

}

.subject-item {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    font-weight: 400;

    color: #000000;

        font-size: 0.875rem;

}



.subject-icon {

/*    font-size: 1.2rem;*/

    color: #1e3a5f;

}



/* Included Section */

.included-list {

    display: flex;

    flex-direction: column;

    gap: 12px;

}



.included-item {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    font-size: 0.875rem;

    color: #333;

    line-height: 1.4;

    font-weight: 400;

}



.included-item:first-child,

.included-item:nth-child(2) {

    font-weight: 400;

}



.check-icon {

    color: #37b24d ;

    /* Green check */

    font-weight: bold;

    min-width: 20px;

    /* align properly */

}



.small-note {

    font-size: 0.8em;

    color: #888;

}



/* Info Box Style */

.pp-info-box {

    background-color: #f0f8ff;

    /* AliceBlue - Light Blue */

    padding: 20px;

    border-radius: 12px;

}



/* Modal Footer */

.pp-modal-footer {

    padding: 20px 40px 0px;

    display: flex;

    justify-content: center;

    gap: 20px;

}



.btn-modal-signup {

    background-color: #1e3a5f;

    color: white;

    padding: 12px 30px;

    border-radius: 8px;

    font-weight: 600;

    border: none;

    cursor: pointer;

    font-size: 1rem;

}



.btn-modal-trial {

    background-color: white;

    color: #1e3a5f;

    border: 1px solid #1e3a5f;

    padding: 12px 30px;

    border-radius: 8px;

    font-weight: 600;

    cursor: pointer;

    font-size: 1rem;

}



/* Responsive */

@media (max-width: 768px) {

    .pp-modal-body {

        flex-direction: column;

        padding: 20px;

    }



    .ppl-layout {

        flex-direction: column;

    }



    .ppl-image-col {

        flex: 0 0 auto;

        max-width: 100%;

        text-align: center;

    }



    .ppl-image-col img {

        max-width: 300px;

    }

    

    .ppl-image-col {

        flex: 0 0 auto;

        max-width: 100%;

        text-align: center;

    }



    .ppl-image-col img {

        max-width: 300px;

    }



    .pp-tabs {

        overflow-x: auto;

        justify-content: flex-start;

        padding: 0 20px;

    }



    .pp-tab-btn {

        padding: 15px 15px;

        white-space: nowrap;

    }

}



/* CPL Specific Styles */

.pp-selection-group {

    margin-bottom: 25px;

}



.pp-selection-title {

    font-size: 1.1rem;

    font-weight: 700;

    color: #1E2328;

    margin-bottom: 12px;

}

.module-btn.active .greenTxt {

    color: #37b24d !important;

}

.pp-button-group {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

}



.package-type-btn,

.module-btn {

    border: 1px solid #1e3a5f;

    background-color: #fff;

    padding: 3px 30px;

    border-radius: 20px;

    text-align: center;

    cursor: pointer;

    font-weight: 600;

    color: #1e3a5f;

    transition: all 0.2s;

    min-width: 100px;

    position: relative;

    font-size: 0.9rem;

}



.package-type-btn.active,

.module-btn.active {

    background-color: #E8EDFE;

    border-color: #1e3a5f;

}



.module-btn {

    display: flex;

    flex-direction: column;

    padding: 3px 40px;

    font-size: 0.813rem;

    border-radius: 14px;

}



.module-price {

    font-weight: 700;

    margin-top: 2px;

    font-size: 0.813rem;

    /* color: #9D9D9D; */

    color:#1e3a5f;

}



.badge-coming-soon {

    position: absolute;

    bottom: -15px;

    left: 50%;

    transform: translateX(-50%);

    background-color: #f25c54;

    color: white;

    font-size: 0.625rem;

    padding: 2px 8px;

    border-radius: 10px;

    white-space: nowrap;

    font-weight: 500;

}



.pp-info-note {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 0.8rem;

    color: #666;

    margin-top: 20px;

}



.pp-info-note i {

    color: #1e3a5f;

}



/* Responsive adjustments for CPL */

@media (max-width: 992px) {

    .pp-button-group {

        gap: 10px;

    }



    .package-type-btn,

    .module-btn {

        padding: 6px 20px;

        font-size: 0.85rem;

    }

}



/* Military Tab Specifics */

.military-content-wrapper {

    display: flex;

    flex-direction: column;

    gap: 30px;

    width: 100%;

}



.military-contact-box {

    background-color: #f0f8ff;

    /* Light blueish background */

    padding: 16px;

    border-radius: 12px;

    width: 100%;

}



.military-contact-box h3 {

    color: #000;

    font-size: 1.2rem;

    font-weight: 700;

    margin-bottom: 15px;

}



.military-contact-box p {

    color: #333;

    font-size: 1rem;

    margin: 0;

}



.btn-get-in-touch {

    background-color: #1e3a5f;

    color: #fff;

    padding: 12px 30px;

    border: none;

    border-radius: 8px;

    font-size: 1rem;

    font-weight: 600;

    cursor: pointer;

    align-self: center;

    /* Center the button */

    transition: background-color 0.3s;

}



.btn-get-in-touch:hover {

    background-color: #162c4b;

}



/* Coming Soon States */

.pp-coming-soon {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    height: 100%;

    min-height: 300px;

    width: 100%;

    /* Ensure it takes full width */

    text-align: center;

    padding: 20px;

    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);

    border-radius: 15px;

    border: 1px dashed #469efd;

    margin: 20px 0;

}



.pp-cs-icon {

    font-size: 3rem;

    color: #469efd;

    margin-bottom: 20px;

    animation: pulse-blue 2s infinite;

}



.pp-cs-title {

    font-size: 1.5rem;

    font-weight: 700;

    color: #1e3a5f;

    margin-bottom: 10px;

}



.pp-cs-text {

    color: #666;

    max-width: 300px;

    font-size: 0.95rem;

}



@keyframes pulse-blue {

    0% {

        transform: scale(1);

        opacity: 1;

    }



    50% {

        transform: scale(1.1);

        opacity: 0.7;

    }



    100% {

        transform: scale(1);

        opacity: 1;

    }

}



.tab-border {

    border-bottom: 1px solid #1F4069;

    width: 100%;

}



.pop-heading {

    border-bottom: 1px solid #EEEBEB;

    width: 100%;

    padding-bottom: 15px;

    

}



.planDescriptionCard {

    background: #F6FAFF;

    padding: 16px;

    border-radius: 12px;

    margin-bottom: 15px;

    margin-top: 15px;



}

.btn-close{

    background: transparent;

    padding: 0 !important;

}

.btn-close:focus {

    outline: 0;

    box-shadow: unset;

    }

.head-bot-pad{padding-bottom: 15px;}



@media (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {

    .pp-tabs-spacer {

        display: none;

        margin-right: 0px;

        /* Adjusting for the gap difference (40px body gap - 30px tabs gap) */

    }

    .pp-images-col{display: none;}

    .pp-tabs{padding-right: 20px!important;padding-left: 20px!important;}

    div#plansModal .modal-dialog.modal-xl {

        max-width: 95% !important;

    }

    .module-btn {

        width: 100%;

    }

    .pp-modal-body {

        padding: 0px 20px;

    }

}

@media (min-width: 992px) and (max-width: 1200px) and (orientation: portrait) {

       .pp-tabs-spacer {

        display: none;

        margin-right: 0px;

        /* Adjusting for the gap difference (40px body gap - 30px tabs gap) */

    }

    .pp-images-col{display: none;}

    .pp-tabs{padding-right: 20px!important;padding-left: 20px!important;}

    div#plansModal .modal-dialog.modal-xl {

        max-width: 95% !important;

    }

    .pp-modal-body {

        padding: 0px 20px;

    } 

}

@media (max-width: 767px) {

    .label-center{max-width: 100%!important}

    .pp-selection-group .pp-selection-title {

        max-width: 141px;

        text-align: left !important;

    }

.duration-time {

    display: block;

    font-weight: 700;

    color: #1e3a5f;

    font-size: 13px;

}

.d-flex.pp-selection-box {

        display: flex;

        flex-direction: column;

    }

    .d-flex.pp-selection-box .pp-selection-group {

        margin-right: 0px !important;

    }

    .pp-button-group .package-type-btn {

        width: 32.0261437908497%;

        min-width: 32.0261437908497%;

        display: flex;

        align-items: center;

        justify-content: center;

        font-size: 13px;

        margin-right: 0px;

        padding: 4px 6px;

        font-weight: 700;

    }

     .module-btn {

        width: 100%;

        min-width: 100%;

        display: flex;

        align-items: center;

        justify-content: center;

        font-size: 13px;

        margin-right: 0px;

        padding: 4px 6px;

        font-weight: 700;

    }

    .module-price {

    font-weight: 700;

    margin-top: 2px;

    font-size: 13px;

    color: #9D9D9D;

}

.duration-options .duration-btn {

    width: 100%;

}

.pp-section-title {

    font-size: 16px;

    font-weight: 700;

    color: #1e3a5f;

    margin-bottom: 10px;

}

span.subject-text {

    font-size: 14px;

}

    .badge-coming-soon {

        bottom: -9px;

    }

    .pp-image-item {

        display: none !important;



    }

    .pp-tab-btn {

        padding: 15px 15px;

        white-space: nowrap;

        font-size: 16px;

    }

    .pp-selection-title {

        font-size: 16px;

    }

    .pp-tabs {

        overflow-x: auto;

        justify-content: flex-start;

        padding: 0 20px !important;

        width: 100%;

    }

    .pop-heading {

        padding-bottom: 15px;

    }

    .pp-images-col {

        display: none;

    }

    .pp-button-group {

        gap: 5px;

    }

    .duration-btn {

        border: 1px solid #ccc;

        background-color: #fff;

        padding: 4px 6px;

        border-radius: 12px;

        text-align: center;

        cursor: pointer;

        min-width: 32.0261437908497%;

        transition: all 0.2s;

        font-size: 13px;

        font-weight: 700;

        width: 32.0261437908497%;

    }

    .duration-time {

        display: block;

        font-weight: 700;

        color: #1e3a5f;

        font-size: 13px;

        white-space: nowrap;

    }

    .subjects-list.grid-view {

        gap: 2px;

    }

    .pp-info-note {

        display: flex;

        align-items: center;

        gap: 8px;

        font-size: 12px;

        font-weight: 500;

        color: #666;

        margin-top: 10px;

        font-family: var(--primary-typeface);

    }

    .included-item {

        font-size: 14px;

    }

    .pp-tabs-spacer {

        display: none;

        margin-right: 0px;

        /* Adjusting for the gap difference (40px body gap - 30px tabs gap) */

    }

}