* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.text-primary {
     color: #23266d !important;
}

body {
    color: #212121;
    background: #fff;
    letter-spacing: 0.1px;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden !important;
}


ul {
    list-style: none;
}

h1, h2, h3, h4, h5 {
    font-weight: 300;
    color: #23266d;
}

h1 {
    font-size: 3em;
    color: #23266d !important;
}

h3 {
    color: #23266d;
    font-weight: 400;
}

.nav-link {
    color: red !important;
    font-weight: bold;
}

.active, .nav-link:hover {
    color: #23266d !important;
}

.carousel-item {
    height: 70vh;
    background-size: 100% 100%;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-repeat: no-repeat;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    text-align: center;
    transform: translateY(-50%);
}

.carousel-caption h3 {
    color: #23266d !important;
    letter-spacing: 2px;
    line-height: 1.4em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.37);
    font-size: 2.5em;
    font-weight: 800;
    text-transform: capitalize;
    color: rgb(255, 255, 255);
    font-family: 'Open Sans', sans-serif;
}

.carousel-caption p {
    font-size: 1em;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
}

.carousel-caption a {
    color: #fff;
    text-decoration: none;
    padding: 6px 20px;
    letter-spacing: 1px;
    font-size: 14px;
    margin: 1em 1em 0 0em;
    background: #333;
    display: inline-block;
    border: 2px solid transparent;
    font-weight: bold;
    background-color: rgb(219, 15, 49);
    border-color: rgb(219, 15, 50);
    border-radius: 30px;
}

@media (max-width: 567px) {
    .carousel-caption h3 {
        font-size: 2em;
    }
    
    .carousel-item {
        height: 100vh;
    }
}

.banner {
    position: relative;
}

.banner-bottom {
    position: absolute;
    width: 80%;
    left: 10%;
    bottom: -20%;
    z-index: 999;
    background: #fff;
    padding: 2em;
    padding-bottom: 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 30px;
}

@media (max-width: 991px) {
.banner-bottom {
    width: 100%;
    left: 0%;
    position: static;
}
}

.custom-icon {
    width: 60px;
}

.counter {
    text-align: center;
    background-color: #ffffff;
    padding: 4em 0;
    margin: 5em 0 0 0;
}

.my-h3 {
    font-weight: 400;
}

.divider {
    min-width: 100%;
    padding: 20px;
    box-shadow: grey 0px 5px 30px;
}

.fa-check {
    margin-right: 12px;
    color: #ff3535;
}

.gallery-grid {
    margin-top: 1em !important;
    background: #edf3f3;
    padding: 6px;
    position: relative;
}
.gallery-text {
    background: #db0f31b0;
    bottom: 86px;
    left: 30px;
    opacity: 0;
    padding: 1em;
    position: absolute;
    right: 30px;
    text-align: center;
    visibility: hidden;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    -webkit-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.gallery-text h3 {
    font-size: 1.3em;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.37);
}

.gallery-grid:hover .gallery-text {
    	opacity: 1;
	visibility: visible;
	-webkit-transform: scaleX(1);
	transform: scaleX(1);
	-moz-transform: scaleX(1);
	-o-transform: scaleX(1);
	-ms-transform: scaleX(1);
}

@media (max-width: 992px) {
    .custom-margin {
        margin: 0 20px;
    }
}

#to-top {
    text-decoration: none;
    position: fixed;
    bottom: 24px;
    right: 1%;
    overflow: hidden;
    z-index: 999;
    width: 64px;
    height: 64px;
    border: none;
    text-indent: 100%;
    background: url(../images/top.png) no-repeat 0px 0px;
    background-size: 40px;
}

#toTopHover {
    width: 64px;
    height: 64px;
    display: block;
    overflow: hidden;
    float: right;
}

footer {
  
}

.footer p {
    color: #245097 !important;
    font-weight: bold;
      
}




