/********** Template CSS **********/
/*** General ***/
:root {
    --primary: #db1d32 /* #FFDE59 */;
    --light: #FFFFFF;
    --dark: #000000;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { /* addED by NG */
    max-width: 100vw;
}

.row { /* addED by NG */
    display: flex;
    flex-wrap: wrap;
    /* background: orangered; */
    max-width: 1320px;
    margin: 0 auto;
}

.rounded-pill, .rounded-circle { /* addED by NG */
    border-radius: 10px !important;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.display-7 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
	letter-spacing: -1px; /* addED by NG */
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Inter', sans-serif;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--light);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:last-child {
    color: var(--light);
    background-color: var(--primary);
    padding: 15px;
    border-radius: 25px;
    height: 50px;
    margin-top: 15px;
    width: fit-content;
}

.navbar .navbar-nav .nav-link:last-child:hover {
    color: var(--light);
}

.navbar.shadow-sm .navbar-nav .nav-link {
    color: var(--dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: 0 !important /* -100px */;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light.shadow-sm .navbar-brand img {
    visibility: hidden;
}

.navbar-light.shadow-sm .navbar-brand {
    background: url(../img/logo_scrl.png) no-repeat center center;
    background-size: contain;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px; /* was 10px */
    top: 0;
    left: 0;
    background: none;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: none;
}

.shadow-sm { /*** addED by NG ***/
    background-color: #fff;
}

.owl-container { /*** addED by NG ***/
    margin-top: inherit;
}

@media (min-width: 1025px) { /*** addED by NG ***/
    .owl-carousel .owl-item img {
        height: 120vh;
    }
}

@media (min-width: 992px) { /*** addED by NG ***/
    .owl-container {
        margin-top: -125px;
    }
}

@media (max-width: 991.98px) { /*** addED by NG ***/
    nav.navbar {
        background-color: #fff;
    }
}

@media (max-width: 768px) {
    html, body {
		overflow-x: hidden;
    }
    
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 20% 0%;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
        /* margin-top: 100%; */
    }

    .header-carousel.inner .owl-carousel-item h1 {
        margin-top: 0%;
    }
}

@media (max-width: 640px) { /*** addED by NG ***/
    /* .owl-container {
        margin-top: -0px;
    } */
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

@media (max-width: 640px) { /*** addED by NG ***/
    .header-carousel .owl-nav {
        display: none;
    }
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/carousel-3.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Facility ***/
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: none /* flex */;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .95);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 375px;
    padding: 30px;
    border-radius: 0px /* 100% */;
    display: flex;
    text-align: center;
    /* justify-content: center; */
    flex-direction: column;
    -webkit-box-shadow: 0px 0px 15px 5px rgba(245,244,245,1);
    -moz-box-shadow: 0px 0px 15px 5px rgba(245,244,245,1);
    box-shadow: 0px 0px 15px 5px rgba(245,244,245,1);
    border-right: 1px solid #c5c5c5;        border-bottom: 1px solid #c5c5c5;
}

.facility-item .facility-text i {
    width: auto;        height: 64px;
}

.facility-item .facility-text i::before {
    font-size: 4rem;
    color: var(--primary);
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .75);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text p {
    font-weight: 600;
    color: #353535;
    /* text-align: left; */
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: rgba(0, 0, 0, .5);
}

.facility-item:hover .facility-text h3,
.facility-item:hover .facility-text p {
    color: var(--light) !important;
}

.facility-item * {
    transition: .5s;
}

/* .facility-item:hover * {
    color: #FFFFFF !important;
} */


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}


/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 20px /* 250px */;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;

	margin: 0 auto; /* addED by NG */
    max-width: 1320px;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-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: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--dark) !important;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

/* .footer .copyright a, */ .footer a {
    color: rgba(255, 255, 255, .5) /* #fff */;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Photo Gallery ***/
 .gallery {
     /* display: grid;
	 grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); */
     gap: 0px;
     padding: 0px;
 }

 .gallery-item {
     overflow: hidden;
 }

 .gallery-item img {
     width: 100%;
     height: auto;
     display: block;
	 cursor: pointer;
 }

 .modal {
     display: none;
     position: fixed;
     z-index: 1024;
     padding-top: 100px;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     overflow: auto;
     background-color: rgba(0, 0, 0, .9);
 }

 .modal-content {
     margin: auto;
     display: block;
     width: 100%;
	 max-width: 800px; /* put actual image size! */
	 height: auto;
	 border-radius: 10px;
 }

 .close {
     position: absolute;
     top: 15px;
     right: 35px;
     color: #fff;
     font-size: 50px;
     font-weight: bold;
     transition: 0.3s;
 }

 .close:hover,
 .close:focus {
     color: #bbb;
     text-decoration: none;
     cursor: pointer;
 }

.mt-150 {
	margin-top: -150px;
}

@media (max-width: 992px) {
	.navbar-brand img {
		width: auto;
        visibility: hidden;
	}
    
    .navbar-brand {
        background: url(../img/logo_scrl.png) no-repeat center center;
        background-size: contain;
    }
}

@media (max-width: 640px) {
	.mt-150 {
		margin-top: -75px;
	}

	.team-item .team-text {
		width: 175px;
		height: 175px;
	}

	.sticky-top {
		position: inherit;
	}

	.navbar-brand img {
		width: 255px;
		height: auto;
        /* visibility: hidden; */
	}
    
    /* .navbar-brand {
        background: url(../img/logo_scrl.png) no-repeat center center;
        background-size: contain;
    } */
}

/*** Animation ***/

.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
	z-index: 2;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 90, 55, .38);
    animation: animate 25s linear infinite;
    bottom: -150px;
    
}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

.zi-2 {
	z-index: 2;
}

@media (min-width: 1200px) {
    .display-7 {
        font-size: 2rem;
    }

    h1, .h1 {
        font-size: 1.95rem;
    }

    h3, .h3 {
        font-size: 1.25rem;
    }
}

.header-sub-text {
    font-style: italic;
    color: var(--primary);
}

.header-sub-text a {
    background-color: var(--light);
    color: var(--primary);
    padding: 15px;
    margin: 2%;
    border-radius: 25px;
    line-height: 3;
}

.header-sub-text a:hover {
    background-color: var(--primary);
    color: var(--light);
}

.header-sub-text a i::before {
    font-size: 1.25em;
}

.support {
    /* background: url(../img/support-bg.jpg) no-repeat;
    background-position-x: right; */
    min-height: 100px;
}

.support .big-text {
    font-size: 2.125rem;
    font-weight: 600;
    /* float: right;
    margin: -2% 20% 0 0; */
}

.support i::before {
    color: #db1d32;
}

@media (max-width: 768px) {
    .support .big-text {
        /* margin: -2% 30% 0 0; */      font-size: 1.75rem;
    }
}

.support .sml-text {
    font-size: 1rem;
    font-weight: normal;
    float: inline-start;
    margin-top: -10%;
}

/* .bg-primary, .bg-success {
    background: var(--light) url(../img/-favicon.png) no-repeat center center !important;
} */

.bg-img-1 {
    background: var(--light) url(../img/bg-img-1.jpg) no-repeat center center;
    background-size: cover;
}

.bg-img-2 {
    background: var(--light) url(../img/bg-img-2.jpg) no-repeat center center;
    background-size: cover;
}

.bg-img-3 {
    background: var(--light) url(../img/bg-img-3.jpg) no-repeat center center;
    background-size: cover;
}

.bg-img-4 {
    background: var(--light) url(../img/bg-img-4.jpg) no-repeat center center;
    background-size: cover;
}

.bg-img-5 {
    background: var(--light) url(../img/bg-img-5.jpg) no-repeat center center;
    background-size: cover;
}

.bg-img-6 {
    background: var(--light) url(../img/bg-img-6.jpg) no-repeat center center;
    background-size: cover;
}

.bg-img-7 {
    background: var(--light) url(../img/bg-img-7.jpg) no-repeat center center;
    background-size: cover;
}

.bg-img-8 {
    background: var(--light) url(../img/bg-img-8.jpg) no-repeat center center;
    background-size: cover;
}

.bg-img-9 {
    background: var(--light) url(../img/bg-img-9.jpg) no-repeat center center;
    background-size: cover;
}

.text-primary, .text-success {
    color: var(--dark) !important;
}

.btn-primary {
    color: var(--dark);
    background-color: var(--primary);
    border-color: transparent;
}

.btn-primary:hover {
    color: var(--primary);
    background-color: var(--dark);
    border-color: transparent;
}

.cta {
    background: var(--dark) url(../img/cta-bg.jpg) no-repeat center;
    background-size: cover;
    position: relative;
}

.cta::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
}

.cta-bg {
    min-height: 400px;
    display: flex;
    position: relative;
    /* z-index: 1; */
}

.bg-light {
    background-color: #F5F5F5 !important;

}

.bg-dark {
    background-color: var(--dark) !important;
}

.form-control, .bg-light .btn-primary { border-radius: 25px; }

.header-carousel.inner {
    height: 280px;
    overflow: hidden;
}

.owl-carousel-item.ht-300 {
    height: 280px;
}

.mt-10 {
    margin-top: 10rem;
}

.mt-7 {
    margin-top: 7rem;
}

.letter-space-normal {
    letter-spacing: normal;
    /* text-transform: uppercase; */
    white-space: nowrap;
    font-size: 1.25rem;
    line-height: 2;
}

.border-radius {
    border-radius: 25px;
    color: var(--light);
}

@media (min-width: 992px) {
    .ml-5 {
        margin-left: 3rem;
    }

    .header-sub-text a:first-child {
        display: none;
    }
}

.nowrap {
    white-space: nowrap;
}

.map-marker {
    background: var(--light) url(../img/googleMap.jpg) no-repeat center;
    background-size: cover;
    position: relative;
}

.map-marker::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
}

@media (min-width: 992px) {
    .max-ht-90 {
        max-height: 90px;
        max-width: none;
    }
}

.speciality {
    background: var(--dark) url(../img/hc-bg.jpg) no-repeat center;
    background-size: cover;
    position: relative;
}

.speciality::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;     left: 0;
    background: rgba(0, 0, 0, .5);
}

.speciality-bg {
    min-height: 400px;
    display: flex;
    position: relative;
}

.speciality .btn-primary:hover {
    color: var(--primary);
    background-color: var(--light);
    border-color: transparent;
}

.letter-space-normal-2 {
    letter-spacing: normal;
    font-size: 1.25rem;
    line-height: 2;
}

.mt--3 {
    margin-top: -3rem;
}

.copyright i {
    font-size: 2.5rem;
}

.form-control:read-only {
    background-color: #fff;
}

.select-service {
    padding-top: 0.625rem;
    background: url(../img/dwnarw.png) right center no-repeat rgb(255, 255, 255);
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  /* z-index: 1; */
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, .9);
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fff;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: #fff;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 50px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #db1d32;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, .75);
}

/* Position the "previous button" to the left */
.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(219, 29, 50, .75);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #fff;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.mySlides img {
  margin-bottom: -4px;
  width: 100%;
}

.caption-container {
  text-align: center;
  background-color: #000;
  padding: 2px 16px;
  color: #fff;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

/* .hover-shadow:hover {  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } */

.tag {
    color: var(--light);
    font-weight: 600;
}