/*MOBILE STYLING*/
.background-surface{
    background-color:  rgb(var(--color-surface));
}

.background-surface-dark{
    background-color: rgb(var(--color-surface-dark));
}

.heroBanner {
    min-height: 325px;
    margin: 0;
    background-color: rgb(33, 46, 56);
    padding-bottom: 25px;
}

.heroBanner .bannerBg {
    background-color: rgb(var(--color-build));
    width: 100%;
    margin: auto;
}

.heroBanner .bannerGrid {
    display: grid;
    grid-template-columns: 100% 0%;
    width: 100%;
    min-height: 300px;
    margin: auto;
}

.heroBanner .bannerTitle {
    font-family: "avenir-next-lt-pro", sans-serif;
    font-weight: 400;
    font-style: normal;

    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */

    color: white;
    font-size: 48px;
    line-height: 48px;
    width: 100%;
    min-height: 100%;

    padding: 25px 0;

    letter-spacing: 5px;
}

.heroBanner .bannerTitle .small {
    font-size: 22px;
    line-height: 0;
    letter-spacing: 2px;
}

.heroBanner .bannerTitle strong {
    font-family: "avenir-next-lt-pro", sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 8px;
}

.heroBanner .bannerTitle .titleSmall {
    font-family: "avenir-next-lt-pro", sans-serif;
    font-size: 27px;
    line-height: 32px;
    margin-bottom: 20px;
    letter-spacing: 6px;
    margin-top: 0;
    padding-bottom: 0;
    font-weight: normal;
}

.heroBanner .bannerTitle p, .heroBanner .bannerTitle h1 {
    text-transform: uppercase;
}

.heroBanner .bannerBtns {
    display: flex;
    flex-direction: column;
    gap: 10px;

    font-size: 14px;
    line-height: normal;
    letter-spacing: normal;

    text-align: center;
}

.heroBanner .bannerBtns .btnOnline {
    background-color: rgb(245, 245, 245);
    color: rgb(var(--color-build));
}

.heroBanner .bannerBtns a:hover .btnTitle {
    text-decoration: underline;
}

.heroBanner .bannerBtns a {
    color: white;
    width: 250px;
    padding: 10px 15px;
    border: solid 1px white;
    border-radius: 5px;
    text-decoration: none;
}

.heroBanner .bannerBtns a i {
    margin-left: 7px;
}

.heroBanner .bannerImg {
    background-image: url("../img/cover-image-optimized.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    width: 100%;
    max-width: 800px;
    max-height: 300px;
    min-height: 100%;
    margin: 0;
}

.heroBanner .bannerImgBg {
    background-color: rgb(var(--color-build));
    width: 100%;
    min-height: 100%;
    margin: 0;
}

.planCard {
    margin: 40px 0;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 3px 5px 2px rgba(0, 0, 0, 0.12);
}

.planBtn {
    background-color: rgb(var(--color-cherry));
    /* deep red */
    color: #fff !important;
    font-weight: 600;
    font-size: 1.2em;
    text-decoration: none;
    padding: 10px;
    border-radius: 20px 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease, transform 0.2s ease;
    /* width: min(325px, 90%); */
    margin: 25px auto 0 auto;
    display: block;
    text-align: center;
    max-width: 320px;
}

.planBtn i {
    margin-left: 10px;
    transition: all 0.2s ease, transform 0.2s ease;
}

.planBtn:hover {
    text-decoration: none;
    background-color: rgb(var(--color-cherry-dark));
}

.planBtn:hover i {
    text-decoration: none !important;
    transform: translateX(4px);
}

.planBtn:hover i::after {
    transform: translateX(4px);
}

.planCard .planContent h2 {
    margin-top: 0px;
    font-weight: 100;
}

.cards {
    padding: 20px 0 25px 0;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.card-grid .card {
    background-color: #fff;
    box-shadow: 0 3px 5px 2px rgba(0, 0, 0, 0.12);
    min-height: 175px;

    margin: 0;
}

.card-grid .card .chapImg {
    width: 100%;
    margin: 0;

    height: 175px;

    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}

.card-grid .card .chapOverview {
    background-image: url("../img/overview.jpg");
}

.card-grid .card .chap1 {
    background-image: url("../img/chp1.jpg");
}

.card-grid .card .chap2 {
    background-image: url("../img/chp2.jpg");
}

.card-grid .card .chap3 {
    background-image: url("../img/chp3.jpg");
}

.card-grid .card .chap4 {
    background-image: url("../img/chp4.jpg");
}

.card-grid .card .chap5 {
    background-image: url("../img/chp5.jpg");
}

.card-grid .card h3 {
    font-weight: 700;
    padding: 0 15px 10px 20px;
    margin-top: 15px;
}

.card-grid .card .card-tag {
    display: none;
}

.cards p:last-child {
    color: rgb(var(--color-build));
    margin-top: 30px;
    width: 205px;
    text-align: right;

    margin: 25px 0 0 auto;
}

.cards p:last-child i {
    margin-left: 5px;
}
.card-grid .card .card-tag {
    display: initial;
    position: absolute;
    padding: 2px;
    min-width: 150px;

    font-size: 0.9em;
    color: white;
    font-weight: 600;
    text-align: center;

    background-color: rgb(var(--color-build));

    z-index: 2;
}

.budgetDocs {
    padding-bottom: 50px;
}

.budgetDocs h2 {
    width: 100%;
    border-bottom: solid 4px rgb(var(--color-build));
    padding-bottom: 7px;

    color: rgb(var(--color-build));
}

.docGrid table {
    margin-top: 35px;
    box-shadow:  0 3px 5px 2px rgba(0, 0, 0, 0.06);

    width: 100%;
    height: 100%;

    font-size: 16px;
}

.docGrid table thead {
    background-color: rgb(var(--color-build));
    color: whitesmoke;
}

.docGrid table tbody {
    color: rgb(var(--color-build));
    background-color: whitesmoke;
}

.docGrid table tr {
    border-bottom: solid 1px lightgrey;
}

.docGrid table tr td:last-child {
    border-left: solid 1px lightgrey;
}

.docGrid table tr:last-child {
    border-bottom: none;
}

.docGrid table thead tr {
    border-color: rgb(var(--color-build));
}

.docGrid table td, .docGrid table th {
    padding: 15px;
}
.docGrid i {
    display: none;
}

/*SMALL TABLET/MOBILE STYLING*/
@media screen and (min-width: 550px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .card-grid .card .chapImg {
        background-size: 125%;
    }
}

/*TABLET/MOBILE STYLING*/
@media screen and (min-width: 768px) {
    .heroBanner .bannerGrid {
        grid-template-columns: 45% 55%;
        max-width: 720px;
    }

    .heroBanner .bannerTitle {
        align-items: flex-start;
    }

    .heroBanner .bannerBtns a {
        width: 237px;
    }
    
    .planBtn {
        margin: 25px 0 0 0;
    }
    
    .docGrid table {
        font-size: 20px;
    }
}

/*DESKTOP STYLING*/
@media screen and (min-width: 992px) {
    .heroBanner {
        min-height: 450px;
        padding-bottom: 0;
    }

    .heroBanner .bannerBg {
        width: auto;
        margin: 0 35px;
    }

    .heroBanner .bannerGrid {
        min-height: 450px;
        margin: auto;
        max-width: 940px;
    }

    .heroBanner .bannerTitle {
        font-size: 64px;
        line-height: 64px;

        padding-left: 25px;

        letter-spacing: 5px;
    }

    .heroBanner .bannerTitle .small {
        font-size: 30px;
        line-height: 0;
    }

    .heroBanner .bannerTitle .titleSmall {
        font-size: 37px;
        line-height: normal;
    }

    .heroBanner .bannerBtns .btnTitle {
        font-size: 20px;
    }

    .heroBanner .bannerBtns a:hover .btnTitle {
        text-decoration: underline;
    }

    .heroBanner .bannerBtns a {
        width: 305px;
    }

    .heroBanner .bannerBtns a i {
        margin-left: 10px;
        font-size: 20px;
        transition: all 0.2s ease, transform 0.2s ease;
    }

    .heroBanner .bannerBtns a:hover i {
        transform: translateX(5px);
        transition: all 0.2s ease, transform 0.2s ease;
    }

    .heroBanner .bannerImg {
        max-height: 450px;
        max-width: calc(1170 * 0.55);
    }
    
    .planCard {
        background-image: url("../img/ourplan-spiral.svg");
        background-repeat: no-repeat;
        background-position: right -67% top 62%;
        background-size: 65%;
        padding: 15px 0 35px 35px;
        margin: 80px 0;
        box-shadow: 0 3px 5px 2px rgba(0, 0, 0, 0.12);
    }

    .planCard .planContent {
        width: 55%;
        opacity: 1 !important;
    }

    .planCard .planContent h2 {
        margin-top: 20px;
        margin-bottom: 25px;
        font-weight: 100;
    }

    .planBtn {
        margin-top: 20px;
    }
    
    .card-grid {
        gap: 40px;
        margin: 20px 0;
        padding: 0; 
    }

    .card-grid .card {
        min-height: 300px;
    }

    .card-grid .card .chapImg {
        height: 190px;
        background-size: 100%;
        transition: background-size 0.3s ease;
    }

    .card-grid .card:hover .chapImg {
        background-size: 110%;
        transition: background-size 0.3s ease;
    }

    .cards p:last-child i {
        transition: all 0.2s ease, transform 0.2s ease;
    }

    .cards p:last-child:hover i {
        text-decoration: none!important;
        transform: translateX(4px);
    }
}

/*DESKTOP STYLING*/
@media screen and (min-width: 1200px) {
    .heroBanner .bannerGrid {
        min-height: 450px;
        margin: auto;
        max-width: 1140px;
    }
    
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
        margin: 60px 0 25px 0;
        padding: 0; 
    }
    
    .docGrid table thead {
        white-space: nowrap;
    }

    .docGrid i {
        display: initial;
    }
}