/********** Template CSS **********/
:root {
    --primary: #6a7a01;        color: #6a7a01;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}
.title-logo{
        width: 280px;
}
h1,h2,h3,h4,h5,h6 {
       font-family: 'Headland One', serif;
}
.btn-primary {
    color: #FFFFFF;
}
.topheader a{
    color: #FFFFFF;
}
.topheader{
    background-color: #65000b;
background-image: linear-gradient(326deg, #d3011c 0%, #65000b 74%);
}
.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

/* Style submenu properly */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
    position: absolute;
}

.navbar-light .navbar-nav .nav-link {
  font-family: "Poppins", sans-serif;
    position: relative;
    margin-left: 14px;
    padding: 30px 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--dark);
    outline: none;
    transition: .5s;
}
.hero-header h5{
        color: #fffbc4 !important;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    background: url(../img/asset/images/slider/hero.jpg) top right no-repeat;
    background-size: cover;
    height:600px;
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
  background-image: url(../img/asset/images/home/faclities-bg.png);
        border-radius: 25px 25px 28% 28%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}
.welcome-section h2{
    color: #ba0118;
}
.welcome-section h5{
    color: #0d6990;
}
.welcome-section img{
     width: 100%;         /* Makes image fit its container */
  max-width: 350px;    /* Prevents it from stretching too big */
  height: 412px;        /* Keeps aspect ratio */
  border-radius: 10px; 
}
h2{
        font-size: 45px;
}
p{
    font-size: 17px;
    line-height: 1.8;
    color: #292929;
    font-family: "Poppins", sans-serif;
}
.welcome-section p{
    text-align: justify;
}
.text-primary {
    color: #0d6990 !important;
}
.facilities{
    /* background: url('../img/asset/images/home/faclities-bg.png') no-repeat center center, linear-gradient(159deg, rgba(0, 51, 102, 1) 0%, rgba(15, 82, 186, 1) 100%); */
    background-size: cover;
    background-image: linear-gradient(159deg, rgb(0 51 102 / 87%) 0%, rgb(15 82 186 / 0%) 100%), url(../img/asset/images/home/faclities-bg.png);
}
.latest-news h2,
.facilities h2{
    color: #fff;
}
.color{
        color: #ba0118;
}
.latest-news{
     background-size: cover;    
    background-image: linear-gradient(326deg, #cd1c1861 0%, #660202cf 74%), url(../img/asset/images/home/latestnews-bg.jpg);
}
.latest-news .readmore {
   color: #9b000e;
    font-weight: 600;
    font-size: 16px;
    text-decoration: nones;
    animation: blink 0.5s infinite alternate;
}

@keyframes blink {
    from {
        opacity: 1;
        color: #9b000e;
    }
    to {
        opacity: 1;
        color: #00354e;
    }

}
.latest-news .readmore:hover {
      color: #004a6c;
    font-weight: 600;
    font-size: 16px;
    text-decoration: underline;
}
.specialities p{
text-align: center;
}
footer i,
.footer p{
    color : #fff;
}
.footer h4{

    color: #fff;
}
.footer a{    
    font-family: "Poppins", sans-serif;
}
.address{
        display: inline-flex;
}
.address-section i{
        padding-top: 10px;
}
.footer-bottom p{
    color: #fff;
    text-align: center;
}
.footer-bottom a{
      color: #f2ff9a !important;
    text-decoration: none;
}
.footer{
     background-image: linear-gradient(326deg, #004460a6 0%, #003e56d6 74%), url(../img/asset/images/home/footerbg.png);
    background-size: cover;
}
.address-section .social-icon i{
  padding-top: 0px !important;
}
.footer-bottom{
        background-color: #00355b !important;
}
.btn-primary {
    color: #ffffff;
    background-color: #166a8a !important;
    border-color: #1d6990 !important;
}
.gallery img{
    border-radius: 20%;
    transition: all 0.5s ease-in-out;
}
.gallery img:hover{
    transform: scale(1.0s);
    box-shadow: 0 8px 6px -6px #555;
}
.dropdown-item {
    font-family: "Poppins", sans-serif;
}