/* Table Structure*/
.div-table-section .container {
    padding-top: 64px;
    padding-bottom: 120px;
    max-width: 1320px;
    width: 100%;
}

.custom-grid-table {
    display: grid;
    grid-template-columns: 23.8375% repeat(4, 19.5006%);
    padding: 16px 0px 16px 24px;
    align-items: center;
    border-bottom: 1px solid #CEE5EB;
    transition: background-color 0.3s ease;
    width: 100%; 
    max-width: 1280px; 
}


/* --- Table Hover Effect --- */
.custom-grid-table:hover{
    background-color: var(--FireBlue);
}

.custom-grid-table:hover .cell-text,
.custom-grid-table:hover .text-box h4,
.custom-grid-table:hover .text-box {
    color: #000000 !important;
}

.custom-grid-table:hover svg path,
.custom-grid-table:hover svg {
    fill: #000000 !important;
}

.custom-grid-table:hover .icon-box img {
    filter: brightness(0);
}

/*Row & Cell Layout */
.table-grid-row:first-child {
    justify-items: start;
    padding-right: 24px;
}

.table-grid-cell {
    display: flex;
    justify-content: space-around;
}

/*Content Boxes */
.text-box {
    justify-items: center;
    text-align: center;
    transition: color 0.3s ease;
}

/*Headings & Text*/

.custom-grid-table .text-box h4{
    font-size: 30px !important;
    text-align: left !important;
}

.text-left {
    text-align: left !important;
    justify-content: flex-start; 
    padding-right: 24px;
}

.text-center {
    text-align: center;
    justify-content: center;
    padding: 0px 24px;
}
.custom-grid-table p{
    margin: 0;
}
.cell-text {
    text-align: center;
    color: var(--white);
    font-family: "helvetica", sans-serif;
    transition: color 0.3s ease;
}

.cell-text p{
    margin: 0;
}

.cell-text small {
    font-size: 70%;
    line-height: 0.1em;
}

/* Table Notes */
.notes-content {
    padding-top: 12px;
    font-size: 14px;
    line-height: 150%;
    font-weight: 400;
    font-family: "helvetica", sans-serif;
    color: rgba(255, 255, 255, 0.5); 
}

 /* Buttons Wrap */ 
.table-btn-wrap {
    padding-top: 80px;
    gap: 0px !important;
}

.table-btn-wrap .btn:nth-child(2)
 {
    border-left: 0px;
}

/* --- Mobile Accordion UI --- */
    .m-accordion-item {
    align-items: center;
    border-bottom: 1px solid #CEE5EB;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 1280px;
    }

    .m-accordion-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0px 16px 24px;
        cursor: pointer;
        transition: background 0.3s ease;
    }
    .m-accordion-header h4 p{
        margin: 0px;
    }
    .m-accordion-header:hover h4 p{
        color: #000000 !important;
    }
    .m-accordion-header:hover .m-icon{
        color: #000000 !important;
    }

    .m-accordion-header:hover {
        background-color: var(--FireBlue);
    }

    .m-accordion-content {
        display: none; 
        padding: 15px;
        border-top: 1px solid #CEE5EB;
    }

    .m-icon {
    color: #ffffff;
    padding-right: 24px;
    font-size: 30px;
}
    
    /* Active State Class */
    .m-accordion-item.active .m-accordion-header {
        background-color: var(--FireBlue);
    }
    .m-accordion-item.active .m-accordion-header h4 p{
        color: #000000;
    }
    .m-accordion-item.active .m-accordion-header .m-icon{
        color: #000000;
    }
    .mobile-only-accordion{
        display: none;
    }

    .m-content-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    .m-label {
        color: #555;
        font-size: 14px;
    }

	.m-label strong {
		text-transform: uppercase;
	}

    .m-label p{
        margin: 0px;
    }
    .m-value {
        flex: 1;
        text-align: right;
        font-size: 14px;
    }
    .m-value p{
        margin: 0px;
    }
    .m-content-row:last-child {
        border-bottom: none;
    }

/* ==============Responsive Design================== */
@media only screen and (max-width: 1280px) {
    .custom-grid-table {
        grid-template-columns: 18% repeat(4, 1fr);
        padding-left: 20px;
    }
}


@media only screen and (max-width: 1024px) {
    .custom-grid-table {
        grid-template-columns: 20% repeat(4, 1fr);
        padding: 15px 10px;
    }
    .text-center {
        padding: 0px 8px;
    }
}


@media only screen and (max-width: 768px) {
    .div-table-section .container {
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .custom-grid-table {
        display: grid;
        grid-template-columns: 20% repeat(4, 1fr);
        padding: 10px 10px;
    }

    .text-center {
        padding: 0px 5px;
    }

     .text-box h4 p{
        font-size: 20px;
    }

    .cell-text{
        font-size: 14px;
        line-height: 1.3em;
    }

    .text-left {
        padding-right: 10px;
    }

    .table-btn-wrap {
        padding-top: 30px;
        justify-content: center;
        gap: 10px;
    }

}

@media only screen and (max-width: 767px){
    .mobile-only-accordion{
        display: block;
    }
    .custom-grid-table{
        display: none;
    }
}

/* --- Mobile Specific (480px down to 320px) --- */
@media only screen and (max-width: 480px) {
    .div-table-section .container {
        padding-top: 40px;
        padding-bottom: 50px;
        overflow-x: auto;
    }

    .custom-grid-table {
        min-width: 618px;
        grid-template-columns: 20% repeat(4, 20%);
    }

    .text-box h4 p{
        font-size: 18px;
    }

     .cell-text{
        font-size: 12px;
    }

    .table-btn-wrap {
        position: sticky;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .table-btn-wrap .btn {
        font-size: 15px;
        width: 100%;
        border-left: 1px solid #CEE5EB !important;
        padding: 20px 40px;
    }

    .table-btn-wrap .custom-btn p{
        font-size: 15px;
    }

    .table-btn-wrap .btn:nth-child(2) {
        border-top: 0px;
    }

    .notes-content {
        position: sticky;
        left: 0;
        font-size: 12px;
        width: 100%;
    }
}

/* --- Extra Small Screen (320px) --- */
@media only screen and (max-width: 320px) {
    .div-table-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}