html {
scroll-behavior: smooth;
}

*,
::after,
::before {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

article,
aside,
canvas,
figure,
figcaption,
footer,
header,
nav,
section,
audio,
video,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
p {
margin: 0;
padding: 0;
border: 0;
}

a,
button,
input[type="submit"] {
-webkit-transition: all 300ms ease-in-out;
-o-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
text-decoration: none;
font-style: normal;
}

img {
max-width: 100%;
height: auto;
vertical-align: top;
}

ul {
list-style: none;
}

a:hover {
text-decoration: none;
}

h1 {
font-size: 45px;
font-family: "Baskervville", serif;
}

h2 {
font-size: 38px;
font-weight: 400;
font-family: "Baskervville", serif;
}

h3 {
font-size: 25px;
font-family: "Baskervville", serif;
}

h4 {
font-size: 22px;
font-family: "Baskervville", serif;
}

h5 {
font-size: 20px;
font-family: "Baskervville", serif;
}

h6 {
font-size: 18px;
font-family: "Baskervville", serif;
}

body {
margin: 0;
padding: 0;
min-height: 100%;
/* font-weight: 400; */
/* font-family: "Montserrat", serif; */
font-optical-sizing: auto;
font-size: 16px;
/* color: #242424; */
}

.fixed_header_scroll {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 9;
}

.navbar-brand {
color: #fff !important;
font-size: 40px;
font-family: 'Neo Sans Pro';
}

#navbarSupportedContent ul li a {
color: #fff;
font-family: "Roboto", sans-serif;
font-size: 17px;
}

.bnr_title {
position: absolute;
left: 0;
top: 0;
width: 100%;
background: #00000029;
height: 100%;
display: flex;
align-items: flex-start;
justify-content: center;
padding: 230px 0 0 0;
}

.bnr_title h1 {
color: #fff;
font-family: "Baskervville", serif;
}

.bnr_title h1 {
color: #fff;
font-size: 45px;
font-weight: 600;
}

.mission_sec h2 {
color: #c18226;
font-size: 40px;
font-weight: 700;
}

.mission_sec p {
font-family: "Roboto", sans-serif;
text-align: center;
margin: 10px 0;
color: #4e4e4e;
font-size: 16px;
}

.mission_logo_sec img {
height: 50px;
}

.retirement_homes_sec h2 {
    font-size: 35px;
    font-weight: 700;
    color: #1272b6;
    line-height: 1;
}

.retirement_homes_sec p {
font-family: "Roboto", sans-serif;
font-size: 16px;
margin: 10px 0;
}

.btn_page {
font-family: 'Neo Sans Pro';
background: #a2aeaf;
padding: 14px 44px;
display: inline-flex;
margin: 15px 0 0 0;
border-radius: 30px;
color: #ffff !important;
letter-spacing: 0.5px;
transition: all 0.2s ease;
}
.btn_page:hover {
background: #1272b6;
color: #ffff;
}

.title_logo {
height: 35px;
margin: 0 0 25px 0;
}

.board_sec h2 {
color: #c18226;
font-size: 40px;
font-weight: 700;
}

.dm-flip-card {
border-radius: 15px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
-ms-border-radius: 15px;
-o-border-radius: 15px;
position: relative;
width: 100%;
height: 450px;
background: transparent;
transform-style: preserve-3d;
perspective: 2000px;

}

.dm-front-card {
position: absolute;
height: 100%;
width: 100%;
backface-visibility: hidden;
transition: transform 1s;
background-image: url('../images/leader_image.jpg');
background-size: cover;
background-positon: center center;
background-repeat: no-repeat;
border-radius: 15px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
-ms-border-radius: 15px;
-o-border-radius: 15px;
-webkit-transition: transform 1s;
-moz-transition: transform 1s;
-ms-transition: transform 1s;
-o-transition: transform 1s;
-webkit-backface-visibility: hidden;
}

/*Just overlay color of front image*/

.dm-front-card:after {

content: '';
position: absolute;
height: 100%;
width: 100%;
background: #1B0036;
top: 0;
left: 0;
opacity: 0.5;
border-radius: 15px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
-ms-border-radius: 15px;
-o-border-radius: 15px;

}

.dm-back-card {
border-radius: 15px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
-ms-border-radius: 15px;
-o-border-radius: 15px;
position: absolute;
height: 100%;
width: 100%;
background: #a2aeaf;
backface-visibility: hidden;
transform: rotateY(180deg);
transition: transform 1s;
justify-content: center;
align-items: center;
display: flex;
flex-direction: column;
-webkit-transition: transform 1s;
-moz-transition: transform 1s;
-ms-transition: transform 1s;
-o-transition: transform 1s;
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
-ms-transform: rotateY(180deg);
-o-transform: rotateY(180deg);
padding: 15px;
text-align: center;
}

.dm-back-card p {
color: #fff;
font-size: 18px;
}

.dm-flip-card:hover .dm-front-card {
transform: rotateY(-180deg);
/*180deg to flip direction*/
-webkit-transform: rotateY(-180deg);
-moz-transform: rotateY(-180deg);
-ms-transform: rotateY(-180deg);
-o-transform: rotateY(-180deg);
}

.dm-flip-card:hover .dm-back-card {
transform: rotateY(0deg);
-webkit-transform: rotateY(0deg);
-moz-transform: rotateY(0deg);
-ms-transform: rotateY(0deg);
-o-transform: rotateY(0deg);
}

.star_pposi {
position: absolute;
z-index: -1;
left: -62px;
top: -68px;
}

.appreciations_sec h2 {
color: #c18226;
font-size: 26px;
font-weight: 700;
}

.appreciations_sec p {
font-family: "Roboto", sans-serif;
font-size: 16px;
margin: 10px 0;
}

.awrd_box {
display: flex;
justify-content: center;
text-align: center;
flex-wrap: wrap;
}

.awrd_box_small {
display: flex;
margin: 0 10px;
width: 17%;
max-width: 17%;
min-width: 17%;
}

.awrd_box_small_inner p {
font-size: 11px;
font-family: "Roboto", sans-serif;
}

.awrd_box img {
height: 90px;
}

.awrd_box_small_inner {
flex: 1;
}

.awrd_box_small h6 {
font-family: "Roboto", sans-serif;
font-size: 13px;
font-weight: 400;
}

.awrd_box_small_inner_2nd img {
width: 90px;
max-width: 90px;
min-width: 90px;
}

.appreciations_sec {
padding: 8rem 0 3rem 0;
}

/*footer p {
font-size: 15px;
color: #fff;
margin: 0;
}*/

.power_footer_box {
display: flex;
align-items: center;
justify-content: flex-end;
}

.power_footer_box span {
margin-right: 10px;
color: #fff;
}
.frfast ul{
    list-style: none;
    margin: 0;
}
.frfast p {
    text-align: right;
    font-size: 15px;
    color: #fff;
}
.frfast {
    background: #1b75bb;
    padding: 30px 0;
}
.frfast ul li a {
    color: #fff;
    font-size: 16px;
    display: block;
    margin: 6px 0;
}
.frlast p {
    margin: 0;
    text-align: center;
    color: #1b75bb;
    font-size: 15px;
    padding: 15px 0;
}
.fixed_header_scroll.scrolled {
	position: fixed;
	top: 0;
	background: #fff;
}
.fixed_header_scroll.scrolled .navbar-brand{
    color: #1f5692 !important;
}
.fixed_header_scroll.scrolled #navbarSupportedContent ul li a{
color: #5e5e5e;
}
.number_box_slides {
    margin: 15px 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
}
.number_box_slides li {
    flex: 1;
    padding: 0 15px;
}
.number_box_slides li span {
    display: block;
    margin: 10px 0 0 0;
    line-height: 1.3;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
}
.care_home_ul {
    margin: 0;
    list-style: none;
}
.care_home_ul li {
    font-size: 14px;
    margin: 7px 0;
}
.retirement_homes_sec h6 {
    color: #b52486;
    margin: 15px 0;
    font-size: 16px;
}
.number_box_slides li p {
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid #1272b6;
    color: #1272b6;
}
.board_d_box img {
    width: 100%;
    border-radius: 15px;
}

.board_d_box h3 {
    display: block;
    margin: 15px 0;
    font-size: 18px;
    font-family: "Roboto", sans-serif;
}
.board_d_box span {
    display: block;
    margin: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: #777;
     font-family: "Roboto", sans-serif;
}
.board_d_box p {
    font-size: 15px;
    font-family: "Roboto", sans-serif;
}
.board_d_box a {
    color: #fff !important;
    background: #a2aeaf;
    display: inline-flex;
    padding: 6px 20px;
    border-radius: 30px;
    transition: all 0.2s ease;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 85px;
    justify-content: center;
}
.board_d_box a:hover{
   background: #1272b6; 
   color: #fff;
}
.board_d_box {
    min-height: 600px;
    position: relative;
}
/* responsive */
/* responsive */
/* responsive */

@media screen and (min-device-width: 1199px) and (max-device-width: 1366px) { 
.retirement_homes_sec p {
    font-size: 15px;
}
.retirement_homes_sec h2 {
    font-size: 25px;
    margin: 0 !important;
}
.btn_page {
    padding: 12px 35px;
    margin: 0 0 0 0;
    font-size: 14px;
}
.retirement_homes_sec h2 br {
    display: none;
}
}


@media (max-width: 1366px) {
  /*  .retirement_homes_sec h2 {
        font-size: 32px;
    }*/
    .title_logo {
        height: 32px;
        margin: 0 0 14px 0;
    }
    .dm-back-card p {
        font-size: 15px;
    }
}
@media (max-width: 1199px) {
.board_d_box {
    min-height: 675px;
}
}
@media (max-width: 1024px) {
    .bnr_title {
        padding: 135px 0 0 0;
    }
    .bnr_title h1 {
        font-size: 35px;
    }
    .mission_sec p {
        font-size: 15px;
    }
    .star_pposi {
        position: absolute;
        z-index: -1;
        left: -15px;
        top: -41px;
        width: 95px;
    }
    .appreciations_sec {
        padding: 6rem 0 3rem 0;
    }
    .board_d_box {
    min-height: unset;
}
.board_d_box a {
    position: unset;
    transform: translateX(0%);
    width: 85px;
    margin: 0 auto;
}
}

@media (max-width: 992px) {
    .retirement_homes_sec h2 {
        font-size: 23px;
    }
    .retirement_homes_sec p {
        font-size: 15px;
    }
    .retirement_homes_sec.retirement_homes_sec_middle {
        padding: 40px 0;
    }
    .mission_sec h2, .board_sec h2 {
        font-size: 30px;
    }
    .appreciations_sec .col-md-3,
        .appreciations_sec .col-md-9 {
        max-width: 100%;
        width: 100%;
        flex: unset;
    }
    footer .col-md-3,
        footer .col-md-9 {
        max-width: 100%;
        width: 100%;
        flex: unset;
    }
    .awrd_box {
        margin: 30px 0 0 0;
    }
    .awrd_box img {
        height: 69px;
    }
    .awrd_box_small_inner_2nd img {
        width: 60px;
        max-width: 60px;
        min-width: 60px;
    }
    .power_footer_box {
        justify-content: center;
        margin: 0 0 20px 0;
    }
    footer p {
        text-align: center;
    }
    footer .col-md-9{
        order: 2;
    }
    .appreciations_sec p {
        font-size: 15px;
    }
    .awrd_box_small_inner p {
        font-size: 11px !important;
    }
    .navbar-toggler {
        background: #fff;
    }
    .navbar-brand {
        font-size: 30px;
    }
    #navbarSupportedContent {
        background: #1272b6;
    }
    #navbarSupportedContent ul li a {
        font-size: 15px;
        padding: 9px 12px;
    }
    .mission_sec.pt-5.pb-5 {
        padding-bottom: 0 !important;
    }
    .fixed_header_scroll.scrolled #navbarSupportedContent ul li a {
        color: #fff;
    }
    #navbarSupportedContent ul {
    margin: 0;
}
.number_box_slides {
    flex-wrap: wrap;
    justify-content: unset;
}
.number_box_slides li {
    flex: unset;
    width: 32%;
}
}

@media  (max-width: 767px) {
    .title_logo {
        height: 32px;
        margin: 25px 0 20px 0;
    }
    .col-md-6.order_2_mobile {
        order: 2;
    }
    .awrd_box_small {
        width: 21%;
        max-width: 21%;
        min-width: 21%;
    }
    .frfast p {
    text-align: left;
    margin: 12px 0 0 0;
    border-top: 1px solid #cacaca;
    padding: 12px 0 0 0;
}
.mission_logo_sec img {
    height: auto;
}
}

@media  (max-width: 580px) {
  
    .bnr_title {
        padding: 100px 0 0 0;
    }
    .mission_logo_sec.text-center.mt-5 {
        margin-top: 30px !important;
    }
    .btn_page {
        padding: 12px 35px;
    }
    .star_pposi {
        position: absolute;
        z-index: -1;
        left: 0;
        top: -24px;
        width: 70px;
    }
    .board_sec .text-center.mb-5 {
        margin-bottom: 30px !important;
    }
    .appreciations_sec {
        padding: 4rem 0 3rem 0;
    }
    .bnr_title {
    position: unset;
    padding: 15px 0 !important;
    background: #f4f4f4;
}
.bnr_title h1 {
    font-size: 13px;
    color: #000;
    margin: 0;
}
.bnr_title h1 br {
    display: none;
}
}

@media  (max-width: 414px) {
    .awrd_box_small {
        width: 50%;
        max-width: 50%;
        min-width: 50%;
        padding: 0 10px;
        margin: 0;
    }
    .awrd_box_small.align-items-end.justify-content-center {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        margin: 25px 0 0 0;
        padding: 0;
    }
    footer p {
        font-size: 14px;
    }
    .appreciations_sec h2 {
        font-size: 23px;
    }
    .bnr_title {
        padding: 79px 0 0 0;
    }
    .navbar-brand {
        font-size: 22px;
    }
    .mission_sec.pt-5.pb-5 {
        padding: 30px 0 !important;
    }
    .retirement_homes_sec.pt-5 {
        padding-top: 0 !important;
    }
    .retirement_homes_sec.retirement_homes_sec_middle {
        padding: 30px 0;
    }
    .board_sec.pt-5.pb-5 {
        padding: 30px 0 !important;
    }
}

/* @media  (max-width: 390px) {


} */