@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400&family=Open+Sans:wght@400&display=swap');
 h7, h8, h9, h10, h11, h12, h13, h14 {
     font-family: 'Crimson Pro', serif;
     font-weight: 400;
}
/* Color definitions */
 h7 {
     color: #D14124;
}
/* emotional */
 h8 {
     color: #535486;
}
/* environmental */
 h9 {
     color: #00482B;
}
/* financial */
 h10 {
     color: #E9CDD0;
}
/* intellectual */
 h11 {
     color: #007DBA;
}
/* physical */
 h12 {
     color: #C8B8F1;
}
/* professional */
 h13 {
     color: #778921;
}
/* relational */
 h14 {
     color: #ECDD31;
}
/* spiritual */
 body {
     background-color: #FFFFFF !important;
}
 .carousel, .carousel-inner {
     background-color: #FFFFFF !important;
     padding-top: 0;
     padding-bottom: 6rem;
     position: relative;
}
 .carousel-inner {
     padding: 1em;
}
 .card {
     margin: 0 0.5em;
     box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
     border: 1px solid #D3D3D3;
}

 .carousel-item:nth-child(1) .card-title {
    /* Emotional */
     font-family: 'Crimson Pro', serif;
     color: #D14124;
     font-size: 1.5em;
}
 .carousel-item:nth-child(2) .card-title {
    /* Environmental */
     font-family: 'Crimson Pro', serif;
     color: #535486;
     font-size: 1.5em;
}
 .carousel-item:nth-child(3) .card-title {
    /* Financial */
     font-family: 'Crimson Pro', serif;
     color: #00482B;
     font-size: 1.5em;
}
 .carousel-item:nth-child(4) .card-title {
    /* Intellectual */
     font-family: 'Crimson Pro', serif;
     color: #E9CDD0;
     font-size: 1.5em;
}
 .carousel-item:nth-child(5) .card-title {
    /* Physical */
     font-family: 'Crimson Pro', serif;
     color: #007DBA;
     font-size: 1.5em;
}
 .carousel-item:nth-child(6) .card-title {
    /* Professional */
     font-family: 'Crimson Pro', serif;
     color: #C8B8F1;
     font-size: 1.5em;
}
 .carousel-item:nth-child(7) .card-title {
    /* Relational */
     font-family: 'Crimson Pro', serif;
     color: #778921;
     font-size: 1.5em;
}
 .carousel-item:nth-child(8) .card-title {
    /* Spiritual */
     font-family: 'Crimson Pro', serif;
     color: #ECDD31;
     font-size: 1.5em;
}
/* Card body font */
 .card .card-body, .card .card-body * {
     font-family: 'Open Sans', sans-serif !important;
     font-weight: 400 !important;
}

 .carousel-item:nth-child(1) .card .btn {
    /* Emotional */
     background-color: #D14124;
     color: white;
}
 .carousel-item:nth-child(2) .card .btn {
    /* Environmental */
     background-color: #535486;
     color: white;
}
 .carousel-item:nth-child(3) .card .btn {
    /* Financial */
     background-color: #00482B;
     color: white;
}
 .carousel-item:nth-child(4) .card .btn {
    /* Intellectual */
     background-color: #E9CDD0;
     color: black;
}
 .carousel-item:nth-child(5) .card .btn {
    /* Physical */
     background-color: #007DBA;
     color: white;
}
 .carousel-item:nth-child(6) .card .btn {
    /* Professional */
     background-color: #C8B8F1;
     color: white;
}
 .carousel-item:nth-child(7) .card .btn {
    /* Relational */
     background-color: #778921;
     color: white;
}
 .carousel-item:nth-child(8) .card .btn {
    /* Spiritual */
     background-color: #ECDD31;
     color: black;
}
/* Carousel controls */
 .carousel-controls {
     display: flex;
     gap: 10px;
     position: absolute;
     bottom: 4rem;
     left: 50%;
     transform: translateX(-50%);
     z-index: 10;
     align-items: center;
}
 .carousel-control-prev {
     order: 2;
}
 .carousel-control-next {
     order: 1;
}
 .carousel-control-prev, .carousel-control-next {
     background-color: #e1e1e1;
     width: 4vh;
     height: 4vh;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     border: 2px solid #0033A0;
     transition: background-color 0.3s ease, color 0.3s ease;
     position: relative;
}
 .carousel-control-prev-icon, .carousel-control-next-icon {
     background-image: none !important;
     font-size: 16px;
     font-weight: bold;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #0033A0;
     width: auto;
     height: auto;
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     transition: color 0.3s ease;
}
 .carousel-control-prev, .carousel-control-next {
     color: #0033A0;
}
 .carousel-control-prev-icon, .carousel-control-next-icon {
     color: inherit !important;
}
 .carousel-control-prev:hover, .carousel-control-next:hover {
     background-color: #0033A0;
     color: #FFFFFF !important;
}
 .carousel-control-prev:hover .carousel-control-prev-icon, .carousel-control-next:hover .carousel-control-next-icon {
     color: #FFFFFF !important;
}
/* Responsive layout */
 @media (min-width: 768px) {
     .carousel-item {
         margin-right: 0;
         flex: 0 0 33.333333%;
         display: block;
    }
     .carousel-inner {
         display: flex;
    }
}
/* Image wrapper */
 .card .img-wrapper {
     max-width: 100%;
     height: 13em;
     display: flex;
     justify-content: center !important;
     align-items: center !important;
     text-align: center !important;
     padding: 10px;
     overflow: hidden;
}
 .card .img-wrapper img {
     max-height: 100%;
     max-width: 100%;
     object-fit: contain;
     width: auto;
     height: auto;
     display: block;
     margin: 0 auto;
}
 @media (max-width: 767px) {
     .card .img-wrapper {
         height: 17em;
    }
}
 .header-image {
     width: 100%;
     max-width: 600px;
     height: auto;
     display: block;
     margin: 0 auto 0 auto;
     border-radius: 8px;
}
 .carousel-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
}
.wellbeing-intro {
    display: flex;
    justify-content: center;
    align-items: center;      
    min-height: 150px;         
    text-align: center;       
}

.wellbeing-intro p {
    max-width: 600px;          
    margin: 0;                
}