body {
  color: #5a5a5a;
  font-family: "open-sans", sans-serif;
  font-weight: 400 700;
  font-style: normal, italic;;
}

:root {
    --primary: #39A9DC;
    --secondary: #58585A;
    --dark: #1A171B;
    --light: #D9DADB;
}


.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    border-radius: 50px;
}

h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6 {
    margin-top:0;
    margin-bottom:.5rem;
    font-family:"open-sans",sans-serif;
    font-weight:600;
    line-height:1.2;
    color: var(--primary);
}
h1,.h1 {
    font-size:calc(1.375rem + 1.5vw)
}
@media (min-width: 1200px) {
    h1,.h1 {
        font-size:2.5rem
    } 
}
h2,.h2 {
    font-size:calc(1.325rem + .9vw) 
}
@media (min-width: 1200px) {
    h2,.h2 { 
       font-size:2rem 
   }
}
h3,.h3 {
  font-size:calc(1.3rem + .6vw) }
@media (min-width: 1200px) {
    h3,.h3 {
       font-size:1.75rem 
    }
}
h4,.h4 {
  font-size:calc(1.275rem + .3vw) }
@media (min-width: 1200px) {
    h4,.h4 {
        font-size:1.5rem 
    }
}
h5,.h5 {
    font-size:1.25rem 
}
h6,.h6 {
    font-size:1rem 
}
p {
    margin-top:0;margin-bottom:1rem;
    line-height:1.5;
    font-weight:300;

}

a {
    text-decoration: none;
    color: var(--primary);
}

a:hover {
    color: var(--dark);
}

b {
    font-weight: 700;
}


.display-1 {
    font-size:calc(1.625rem + 4.5vw);
    font-weight:700;
    line-height:1.7;
}
@media (min-width: 1200px) {
    .display-1 {
        font-size:5rem
    }
}
.display-2 {
    font-size:calc(1.575rem + 3.9vw);
    font-weight:700;
    line-height:1.2
}
@media (min-width: 1200px) {
    .display-2 {
        font-size:4.5rem
    }
}
.display-3 {
    font-size:calc(1.525rem + 3.3vw);
    font-weight:700;
    line-height:1.2;
    color: var(--light);
    text-shadow: 0px 0px 30px #1A171B,0px 0px 30px #1A171B,0px 0px 30px #1A171B,0px 0px 10px #1A171B,0px 0px 10px #1A171B;
}
@media (min-width: 1200px) {
    .display-3 {
        font-size:4rem
    }
}
.display-4 {
    font-size:calc(1.475rem + 2.7vw);
    font-weight:700;
    line-height:1.2
    color: var(--primary);
}
@media (min-width: 1200px) {
    .display-4 {
        font-size:3.5rem
    }
}
.display-5 {
    font-size:calc(1.425rem + 2.1vw);
    font-weight:700;
    line-height:1.2 
}
@media (min-width: 1200px) {
    .display-5 {
        font-size:3rem
    }
}
.display-6 {
    font-size:calc(1.3rem + 1.3vw);
    font-weight:700;
    line-height:1.6;
    color: var(--primary);
}
@media (min-width: 1200px) {
    .display-6 {
        font-size:2rem
    }
}

.fs-1 {
    font-size:calc(1.375rem + 1.5vw) !important
}
.fs-2 {
    font-size:calc(1.325rem + .9vw) !important
}
.fs-3 {
    font-size:calc(1.3rem + .6vw) !important 
}
.fs-4 {
    font-size:calc(1.275rem + .3vw) !important;
    color: var(--light)  !important;
    text-shadow: 0px 0px 30px #1A171B,0px 0px 30px #1A171B,0px 0px 30px #1A171B,0px 0px 10px #1A171B,0px 0px 10px #1A171B;
}
.fs-5 {
    font-size:1.25rem !important
}
.fs-6 {
    font-size:1rem !important
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.text-muted {
  color: #6c757d !important;
  font-weight: 400;
  font-size:calc(1.275rem + .3vw) !important;
}

/*** Button ***/
.btn {
    transition: .5s;
    margin-top: auto;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.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;
}

.btn-primary {
  color: #fff;
  background-color: var(--primary);
  border-radius: 10px;
  border-style: none;
  padding-left: 25px;
  padding-right: 25px;
  margin-top: auto;
}

.btn-primary:hover {
  color: #fff;
  background-color: var(--secondary);
}

.card-body {
  display: flex;
  flex-direction: column;
  border-radius: 20%;

}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand img {
    max-height: 80px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: var(--secondary);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\F229";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--secondary);
    border: 15px solid var(--secondary);
    border-radius: 50px;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: url(../img/header.jpg) center center no-repeat;
    background-size: cover;
}

#txt {
  padding: 120px 0px;
  background-image: url(../img/txt-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

.txt-content h2 {
  font-size: 36px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  text-shadow: 0px 0px 30px white,0px 0px 30px white,0px 0px 30px white,0px 0px 10px white,0px 0px 10px white;
}

.txt-content h2 em {
  font-style: normal;
  color: #ec0000;
}

.background {
    background: linear-gradient(-45deg, #F6F7FC, #a5d4e8, #F6F7FC, #71abc3, #F6F7FC, #a5d4e8);
    background-size: 400% 400%;
    animation: animate 7s infinite alternate;
}

@keyframes animate {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.basic-1 {
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.basic-1 .image-container {
    margin-bottom: 4rem;
}

.basic-1 .image-container img {
    border-radius: 8px;
}

.basic-1 h2 {
    margin-bottom: 1.5rem;
}


.basic-2 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.basic-2 .image-container {
    margin-bottom: 4rem;
}

.basic-2 .image-container img {
    border-radius: 8px;
}

.basic-2 h2 {
    margin-bottom: 1.5rem;
}

/*** Service ***/
.service-item {
    box-shadow: 0 0 25px rgba(0, 0, 0, .08);
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

footer {
    background-color: var(--dark);
    color: #fff;
    padding: 3rem 0;
  }

  .social-icons a {
    font-size: 1.25rem;
  }

  /* [1] The container */
img-hover-zoom {
  height: 180px; /* [1.1] Set it as per your need */
  overflow: hidden; /* [1.2] Hide the overflowing of child elements */
}

/* [2] Transition property for smooth transformation of images */
.img-hover-zoom img {
  transition: transform .5s ease;
}

/* [3] Finally, transforming the image when container gets hovered */
.img-hover-zoom:hover img {
  transform: scale(1.1);
}
