/* CSS Document */

:root {
    --style-main: #0071bc;
    --style-sec: #072f54;
}

/* Styles */

.sub-header {
    padding: 5px 20px;
    font-size: 16px;
}

.sub-header .entry-title {
    display: none;
}

.sub-header p {
    margin: 0px;
    color: white;
    width: fit-content;
    float: right;
}

.sub-header a:hover {
    color: white;
}

.site-inner .wrap {
    max-width: 100%;
}

.content .wrap {
    max-width: 1200px;
}

.octane-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.octane-background img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.octane-content {
    position: relative;
    height: 100%;
}

.octane-position {
    position: relative;
}

.right-divider {
    width: 50%;
    height: 20px;
    background: var(--blue);
    border-radius: 12px 0px 0px 12px;
    margin-left: auto;
}

.left-divider {
    width: 50%;
    height: 20px;
    background: var(--blue);
    border-radius: 0px 12px 12px 0px;
    margin-right: auto;
}

/* change to match site */
.title {
    display: flex;
    font-family: var(--main-font);
    color: var(--style-sec);
    font-size: 36px;
    line-height: 1;
}   

.title::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    margin-right: 10px;
    color: var(--style-main);
    font-size: 15px;
    display: flex;
    align-items: center;
}

/* change to match site */
.link {
    transition: all 0.4s linear;
    display: block;
    width: fit-content;
    background: var(--style-main);
    color: var(--style-sec);
    text-transform: uppercase;
    font-size: 20px;
    padding: 5px 30px;
    margin-top: 28px;
}  

    .link:hover {
        background-color: var(--style-tri);
        color: var(--style-sec);
    }

.it-text ol,
.it-text ul,
.text-area ol,
.text-area ul {
  margin-bottom: 28px;
}

.it-text ol > li,
.text-area ol > li {
  list-style-type: decimal;
  list-style-position: inside;
}

.it-text ul > li,
.text-area ul > li {
  list-style-type: disc;
}

.it-text ul,
.text-area ul {
    padding-left: 30px;
}

.it-text ol ol,
.it-text ul ul,
.text-area ol ol,
.text-area ul ul {
  margin-bottom: 0;
}

/* Hero */

.hero {
    background: var(--style-sec)
}

.hero-flex {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px;
}

.hero-title {
    display: block;
    font-family: var(--main-font);
    color: var(--style-sec);
    color: white;
    text-transform: uppercase;
    font-size: 70px;
    line-height: 74px;
    animation: jumpUp 1.3s ease;
}

@keyframes jumpUp {
    0% {
        opacity: 0;
        transform: translatey(100px);
    }

    100% {
        opacity: 1;
        transform: translatey(0px);
    }
}

.hero-link {
    transition: all 0.4s linear;
    display: block;
    width: fit-content;
    margin: 0 auto;
    background: var(--style-sec);
    color: var(--style-main);
    text-transform: uppercase;
    font-size: 24px;
    padding: 5px 30px;
}  

    .hero-link:hover {
        background-color: var(--style-main);
        color: var(--style-sec);
    }

.hero .octane-content {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,113,188,1) 100%);
}

.hero .octane-background img {
    mix-blend-mode: multiply;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Image and Text */

.image-text-flex {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    padding: 50px 0;
}

.it-image {
    width: 50%;
    position: relative;
}

    .image-right {
        order: 1;
    }

.it-image {
    position: relative;
    max-height: 500px;
    min-height: 300px;
}

.it-image img {
    position: absolute;
    top: 0;
    left: 50%;
    object-fit: cover;
    height: 100%;
    width: auto;
    transform: translatex(-50%);
    border-radius: 20px;
    box-shadow: 3px 3px 15px #0000001A;
}

.it-text {
    width: 47%;
}

    .it-text p:last-of-type {
        /* margin-bottom: 0px; */
    }

/* CTA */

.cta {
    background-color: var(--style-main);
    text-align: center;
    padding: 25px 0;
}

.cta-flex {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
}

.cta-title {
    color: var(--style-sec);
    margin-bottom: 0;
}

.cta-link {
    background: var(--style-sec);
    color: var(--style-main);
    font-size: 27px;
    margin: 0;
}

    .cta-link:hover {
        background-color: var(--style-tri);
        color: var(--style-sec);
    }

/* Textarea */

.text-area {
    padding: 50px 0;
}

.text-area h1:not(:is(.title)),
.text-area h2:not(:is(.title)),
.text-area h3:not(:is(.title)),
.text-area h4:not(:is(.title)),
.text-area h5:not(:is(.title)) {
    font-family: var(--main-font);
    color: var(--style-main);
    font-size: 27px;
}

    .text-area p:last-child {
        margin: 0;
    }

/* Buckets */

.buckets {
    background: var(--style-main);
    text-align: center;
    padding: 50px 0;
}

.buckets-main-title {
    margin-bottom: 40px;
}

.bucket-items {
    width: 100%;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 35px 2%;
}

.bucket-items li {
    flex: 0 0 23.4%;
}

.bucket-items img {
    margin: 0 auto 20px;
}

.bucket-title {
    color: var(--style-sec);
    font-size: 30px;
}

.bucket-items p {
    color: var(--style-sec);
    font-size: 18px;
    line-height: 24px;
}

    .bucket-items p:last-of-type {
        margin: 0;
    }

.bucket-items .link {
    background: var(--style-sec);
    color: var(--main);
    margin: 20px auto 0;
}

    .bucket-items .link:hover {
        background-color: var(--style-tri);
        color: var(--style-sec);
    }

/* Testimonials */

.testimonials {
    text-align: center;
    padding: 50px 0;
}

.testimonials .title {
    margin: 0 0 40px;
}

.testimonials p {
    margin: 0;
}

.testimonials .link {
    margin: 0 auto;
}

/* Tabs */

.tabs {
    background: var(--style-main);
    padding: 50px 0;
}

.tabs .title {
    text-align: center;
    color: var(--style-sec);
    margin: 0 0 40px;
}

.tab-flex {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
}

.tab-buttons {
    width: 25%;
}

.tablinks {
    transition: all 0.4s linear;
    display: block;
    width: 100%;
    border-radius: 0;
    background: var(--style-sec);
    color: var(--style-main);
    text-transform: uppercase;
    font-size: 20px;
    padding: 10px 10px;
    margin: 0 0 10px !important;
}

    .tablinks:hover,
    .tablinks.active {
        background: var(--style-tri);
        color: var(--style-sec);        
    }

.tab-info {
    width: 72%;
}

.tabcontent {
    display: none;
    color: var(--style-sec);
}

    .tabcontent:first-child {
        display: block;
    }

    .tabcontent p:last-of-type {
        margin: 0;
    }



/* GRID / RESOURCES */

 .background {
    position: absolute!important;
    top: 0;
    left: 0;
    height: 100%!important;
    width: 100%!important;
}

 .background img {
    height: 100%!important;
    width: 100%!important;
    object-fit: cover!important;
}

#resources {
    padding: 50px 0px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.grid li {
    position: relative;
    border-radius: 30px;
    margin: 15px;
    overflow: hidden;
    box-shadow: 3px 3px 15px #0000001A;
    height: 250px;
}

.grid:hover li {
    transform: scale(.95)!important;
}

.grid li {
    transform: scale(1);
    transition: .5s ease;
}

.grid li:hover {
    transform: scale(1.05)!important;
    transition: .5s ease;
}

.grid li:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
.grid li:nth-child(2) { grid-area: 1 / 3 / 2 / 6; }
.grid li:nth-child(3) { grid-area: 2 / 1 / 3 / 4; }
.grid li:nth-child(4) { grid-area: 2 / 4 / 3 / 6; }
.grid li:nth-child(5) { grid-area: 3 / 1 / 4 / 3; }
.grid li:nth-child(6) { grid-area: 3 / 3 / 4 / 6; }
.grid li:nth-child(7) { grid-area: 4 / 1 / 5 / 4; }
.grid li:nth-child(8) { grid-area: 4 / 4 / 5 / 6; }


.grid-content {
    position: absolute;
    bottom: 20px;
    padding: 20px;
    background: rgba(255,255,255, .6);
    transition: .3s;
}

.resource-text {
    color: white;
    font-weight: 300;
    font-family: var(--main-font);
}

.resource-title {
    margin: 0px;
    font-size: 25px;
    color: var(--blue);
    font-family: var(--main-font);
    font-weight: bold;
    text-transform: uppercase;
    transition: .3s;
}

.grid-hover {
    position: absolute;
    background: var(--dark-blue);
    height: 100%;
    width: 100%;
    padding: 30px;
    opacity: 0;
    
    transition: .5s ease;
    border-radius: 30px;
}


.grid li:hover .grid-hover {
    opacity: 1;
    transition: .5s ease;
}


.grid li:hover .grid-content {
    background: var(--dark-blue);
}

.grid li:hover .resource-title {
    color: white;
}


/* links */

.links-section {
    padding: 40px 0px;
}

.links {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.links-link {
    border-radius: 20px;
    box-shadow: 3px 3px 15px #0000001A;
    background: #dee6ee;
    transition: .3s;
}

.links-link:hover {
    background: var(--style-sec);
    color: #fff;
}

.link-text {
    margin: 0px;
    text-align: center;
    font-weight: bold;
    font-size: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    padding: 10px;
}

.links-link img {
    height: 300px;
    width: 300px;
    object-fit: contain;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.link-disc p {
    text-align: center;
    margin: 0px;
    font-size: 20px;
    line-height: 1.2;
}








/* Responsive Design */


@media (max-width: 1650px) {
    
/* Tabs */
    
    .tab-buttons {
        width: 30%;
    }
    
    .tab-info {
        width: 67%;
    }  
}

@media (max-width: 1440px) {
 
    .content .wrap {
        max-width: 1200px;
    }  

/* Hero */
    
    .hero-flex {
        height: 250px;
    }
    
    .hero-title {
        font-size: 66px;
    }
}
 
@media (max-width: 1350px) {

    .content .wrap {
        max-width: 1100px;
    }

/* Hero */
    
    .hero-flex {
        height: 250px;
    }
    
    .hero-title {
        font-size: 62px;
    }
    
    .hero-link {
        font-size: 23px;
    }  
    
/* Buckets */
    
    .bucket-items li {
        flex: 0 0 32%;
    }   

/* Tabs */
    
    .tab-buttons {
        width: 35%;
    }
    
    .tab-info {
        width: 62%;
    }  
}

@media (max-width: 1250px) {

    .content .wrap {
        max-width: 1000px;
    }  

/* Hero */
    
    .hero-title {
        font-size: 58px;
    }
}

@media (max-width: 1150px) {

    .content .wrap {
        max-width: 900px;
    }   

/* Hero */
    
    .hero-flex {
        height: 200px;
    }
    
    .hero-title {
        font-size: 54px;
    }
    
    .hero-link {
        padding: 0 20px;
    }     
    
}

@media (max-width: 1024px) {

    .sub-header p {
        text-align: center;
        margin: auto;
        float: none;
    }

    .right-divider {
        height: 15px;
    }
    
    .left-divider {
        height: 15px;
    }
    
    .content .wrap {
        max-width: 90%;
    }     

/* Hero */
    
    .hero-title {
        font-size: 50px;
    }
    
    .hero-link {
        font-size: 18px;
        padding: 0 20px;
    }      
    
/* Image and Text */

    .image-text-flex {
        flex-direction: column;
        gap: 20px;
    }
    
    .it-image {
        height: 300px;
        width: 100%;
    }

    .it-image img {
        position: absolute;
        width: auto;
        height: 100%;
        top: 0;
        left: 50%;
        transform: translatex(-50%);
    }
    
        .image-right {
            order: 0;
        }

    .it-text {
        width: 100%;
    }

/* CTA */

    .cta-flex {
        justify-content: space-between;
    }
    
/* Buckets */
    
    .bucket-items {
        gap: 25px 2%;
    }
    
    .bucket-items li {
        flex: 0 0 48%;
    }

/* Tabs */

    .tab-flex {
        flex-direction: column;
        gap: 10px 0;
    }
    
    .tab-buttons {
        width: 100%;
        display: inline-flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px 2%;
    }
    
    .tablinks {
        flex: 0 0 32%;
        margin: 0 0 0px !important;
    }
    
    .tab-info {
        width: 100%;
    }      
}

@media(max-width: 800px) {
        .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    }
    
    .grid li:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
    .grid li:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
    .grid li:nth-child(3) { grid-area: 2 / 1 / 3 / 3; }
    .grid li:nth-child(4){ grid-area: 3 / 1 / 4 / 2; }
    .grid li:nth-child(5){ grid-area: 3 / 2 / 4 / 3; }
    .grid li:nth-child(6){ grid-area: 4 / 1 / 5 / 3; }
    .grid li:nth-child(7) { grid-area: 5 / 1 / 6 / 2; }
    .grid li:nth-child(8) { grid-area: 5 / 2 / 6 / 3; }

    .resource-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {

    li, p, .title {
        text-align: left;
    }

    .content .wrap {
        max-width: 85%;
    }     

/* Hero */
    
    .hero-title {
        font-size: 46px;
        line-height: 45px;
    }
    
/* Image and Text */
    
    .it-image {
        height: 250px;
    }
    
    .it-text {
        text-align: center;
    }

/* CTA */
    
    .cta-flex {
        flex-direction: column;
    }
    
    .cta-left {
        margin: 0 0 15px;
    }
    
    .cta-title {
        font-size: 36px;
        line-height: 38px;
    }
    
    .cta-link {
        font-size: 25px;
    }    

/* Textarea */
    
    .text-area {
        text-align: center;
    }
    
/* Buckets */
    
    .bucket-items {
        gap: 25px 0;
    }
    
    .bucket-items li {
        flex: 1 0 100%;
    } 	

/* Tabs */
    
    .tablinks {
        flex: 1 0 49%;
    }   

    /* links */

    .links-link img {
        height: 200px;
        width: 200px;
    }
    
}

@media (max-width: 660px) {

/* Image and Text */
    
    .it-image {
        height: 200px;
    }   

    .grid li {
        height: 150px;
        border-radius: 20px;
        margin: 10px;
    }

    .grid-content {
        position: relative;
        height: 100%;
        width: 100%;
        text-align: center;
        bottom: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }

    .resource-title {
        font-size: 18px;
    }
}

@media (max-width: 550px) {

.title {
    font-size: 32px;
}

.link {
    width: 85%;
    font-size: 18px;
    padding: 5px 10px;
}

/* Textarea */

    .text-area p,
    .text-area li {
        font-size: 16px;
    }

/* Image and Text */

    .it-text p,
    .it-text li {
        font-size: 16px;
    }

/* CTA */

    .cta {
        padding: 35px 0;
    }
    
    .cta-title {
        font-size: 32px;
        line-height: 34px;
        margin: 0;
    }

    .cta-right {
        width: 100%;
    }
    
    .cta-link {
        font-size: 20px;
    } 

/* Buckets */
    
    .bucket-items img {
        margin: 0 auto 15px;
    }
    
    .bucket-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .bucket-items p {
        font-size: 16px;
    }  

/* Testimonials */

	.testimonials .title {
	    margin: 0 0 20px;
	}	

/* Tabs */
    
    .tabs .title {
        margin: 0 0 20px;
    }
    
    .tab-buttons {
        gap: 10px 0;
    }
    
    .tablinks {
        flex: 1 0 100%;
        font-size: 18px;
    }     
}

@media (max-width: 450px) {

.title {
    font-size: 27px;
}
    
.link {
    width: 90%;
}

/* Hero */
    
    .hero-flex {
        height: auto;
    }
    
    .hero-title {
        font-size: 42px;
        line-height: 40px;
        margin: 0px;
        padding: 40px 20px;
    }
    
/* Image and Text */
    
    .it-image {
        height: 200px;
        aspect-ratio: 1 / 1;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 350px) {

.link {
    width: 100%;
}    

/* CTA */
    
    .cta-left {
        margin: 0 0 20px;
    }                           
}