.card-img-top {
    width: 100%;
    max-height: 70vh;
    padding: 1rem;
    object-fit: cover;
    border-radius: 25px;
}

.card .card-badge {
    right: 5%;
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 0.125em;
    padding-bottom: 0.125em;
    background: black;
    color: white;
    font-size: small;
    font-weight: bold;
    border-radius: 8px;
    margin-top: auto;
    margin-bottom: 4%;
    margin-left: auto;
    max-width: fit-content;
}

.card-body {
    justify-content: space-between;
}

.card {
    border-radius: 8px;
    background-color: #F5F7F2
}

.btn-primary{
    background-color: #9fbddf !important;
    border-color: #9fbddf !important;
    margin-top: auto; 
    padding: 1.5vb;
    width: 100%;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
}

a.btn-primary{
    color:#000000;
}

h2 {
    color: #4b4949;
}

.jumbotron {
    background-color: white;
    background-size: cover;
    padding-top: 1%;
}

.jumbotron h1 {
    color: orange;
}

.about-image {
    width: 100%;
    height: 100%;
    left: 0;
    /* -webkit-clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 0% 100%); */
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 0% 100%);
}

.about-text {
    padding-top: 10%;
    padding-bottom: 5%;
    padding-right: 5%;
    text-align: center;
}

.tab-content {
    padding-bottom: 4em;
    display: inline-flex;
    width: 100%;
}

.grey{
    padding: 5% 0  5% 0;
    background: #F5F7F2;
    box-shadow: inset 4px 8px 40px rgba(36, 36, 37, 0.08);
}

.white{
    padding: 5% 0  5% 0;
}


/* .enroll-content .subheader {

    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    gap: 1.5em;
    margin-top: 6rem;
    padding-top: 3%;

} */

.enroll-content {
    display: flex;
    flex-wrap: wrap; /* allows items to stack on smaller screens */
    gap: 1em;
  }
  
  .enroll-content img {
    max-width: 40%;
    height: auto;
    flex-shrink: 1;
    object-fit: contain;
    border-radius: 25px;
  }
  
  .enroll-text {
    flex: 1; /* take the remaining space */
  }

.content .horizontally-center {
    display: inline;

}

p.subheader{
    text-align: left !important;
    padding-bottom: 1.5em;
    margin-bottom: 0em;
}



.nav-tabs .nav-link.active {
    color: black;
    font-weight: bold;
}

.nav-tabs .nav-link {
    color: black;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1em 0 0.75em 0;
    border: none;
}

.nav-tabs {
    gap: 2.5em;
    border-bottom: 0;
    background-color: #F5F7F2;
}


.nav-tabs .nav-link:hover {
    isolation: unset;
    border: none;
}


.nav-tabs .nav-link.first-category {
    background-color: #f7ebca;
}

.nav-tabs .nav-link.second-category {
    background-color: #c5d7e8;
}

.nav-tabs .nav-link.first-category.active {
    background-color: #f9dea1;
}

.nav-tabs .nav-link.second-category.active {
    background-color: #95b6dd;
}

.first-category {
    background-color: #f9dea1;
}

.second-category {
    background-color: #95b6dd;
}

.container .my-4.text-center {
    font-size: 1.25em;
}

[id$="-content"] {
    padding-bottom: 3%;
    padding-left: 15%;
    padding-right: 15%;
    overflow: hidden;
    width: 100%;
}

.text-center p {
    font-size: 1.25em;
    font-weight: bold;
}

.container {
    margin: 0;
}

.body-wrapper {
    padding-bottom: 0;
}


/* Media query for tablets */
@media (width <= 1000px) {

}


@media (width <= 700px) {
    .enroll-content {
        flex-direction: column;
        text-align: center;
      }
    
      .enroll-content img {
        max-width: 100%;
      }
    .enroll-button{
        display: flex;
        justify-content: center;
    }
}