@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;700&display=swap');

html {
  scroll-behavior: smooth;
}

body{
    font-family: 'Fira Sans', sans-serif;
    font-weight: 400;
    line-height:1.5;
    background: #f4f4f4;
}

p{
    color:#5a5a5a;
}

.dot {
	 background-color: #e4e4e4;
	 background-image: radial-gradient(white 10%, transparent 0), radial-gradient(white 10%, transparent 0)!important;
	 background-size: 40px 40px;
	 background-position: 0 0, 20px 20px;
}


/* Nav Bar Styling */

.navbar{
    padding:0;
}

.navbar-light .navbar-toggler{
    border-color:transparent!important;
}

button:focus{
    outline:none!important;
}

.navbar-light .navbar-brand{
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height:1.2;
}

.navbar-light .navbar-brand span{
    font-weight:500;
    letter-spacing: 6.5px;
    font-size: 16px;
}

.navbar-light .navbar-nav .nav-link{
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    padding:1.5em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color:#171a43;
}


.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover{
    color:#2fa6de;    
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link{
    color:#2fa6de;    
}

.navbar-light .navbar-nav .nav-item:last-child{
   background:#FFA000;
   transition: background .3s ease-in-out;
}

.navbar-light .navbar-nav .nav-item:last-child .nav-link{
   color:#2a2a2a;
   transition: color .3s ease-in-out;

}

.navbar-light .navbar-nav .nav-item:last-child:hover{
   background:#303F9F;
}

.navbar-light .navbar-nav .nav-item:last-child .nav-link:hover{
   color:#fff!important;
}


/* Hero Section Styling */
.hero {
 background: #fff url(../images/herobg.png) center center no-repeat;
 padding-top: 190px; 
  overflow: hidden;
  background-size: contain;
}


@media (max-width: 425px) {
  .hero {
  background: #fff url(../images/herobgsmall.png) center center no-repeat!important;
  }
}

@media (max-width: 768px) {
  .hero {
  padding-top: 80px;
  }
}

@media (max-width: 1366px) {
  .hero {
    background: #fff url(../images/herobg.png) center center no-repeat;
    background-size: cover;
  }
}
.hero .banner-content {
  padding-top: 60px;
  padding-bottom:80px;
}


.hero .banner-content h4 {
    font-family:'Barlow Condensed', sans-serif;
    letter-spacing: 8px;
    font-size:28px;
    font-weight:600;
    color:#343a40;
}
.hero .banner-content h3 {
  margin: 0;
  color: #0f445d;
  font-size: 42px;
  line-height: 60px;
  font-weight: 600;
  margin-bottom: 11px;
  text-transform:uppercase;
}
.hero .banner-content p {
  margin: 0;
  color: #666666;
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 54px;
}

/* button styling */

.btn2 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    bottom:60px;
    left:45%;
    z-index: 20;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.35s;
    animation: btn-pulse 1.5s infinite cubic-bezier(0.66, 0, 0, 1);}

@keyframes btn-pulse {

    20% {
        box-shadow: 2px 3px 7px rgba(47, 166, 222, 0.6);        
    }
    100% {
        box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);
    }  
}

.hero a{
    text-decoration:none;
}

.btn2 .material-icons{
    text-decoration:none;
    color:#666666;
}



.carousel {
    position: relative;
    top: 70px;
}

.carousel-inner > .carousel-item {
  height: 75vh;
}

@media (max-width: 768px){
  .carousel-inner > .carousel-item {
      height: 45vh;
    }   
}

@media (max-width: 425px){
  .carousel-inner > .carousel-item {
      height: 30vh;
    }   
}


.carousel-inner > .carousel-item > img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  height:auto;
  width: auto;
}


.carousel-caption {
    position: absolute;
    right: 60%;
    bottom: 3%;
    left: 3%;
    z-index: 10;
    padding: 20px;
    background: #a2d3db;
    color: #2a2a2a;
    /* bottom:auto!important; */
    text-align: left;
    box-shadow:4px 4px 8px 4px rgba(0,0,0,0.35);
    border-radius:5px 25px;
}

.carousel-caption h5{
    font-weight:900;
}

.carousel-indicators li{
    box-sizing: content-box;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 10px;
    height: 10px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border-radius:100%;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    transition: opacity .6s ease;
}

section{
    margin: 0px auto;
    padding:100px 0px;
}


.heading h4{
    color:#2fa6de;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-size:16px;

}

.heading h2{
    color:#343a40;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;

}

.tile-card{
    background:#ffffff;
    padding:35px;
    min-height:214px;
    margin-bottom:40px;
    box-shadow:4px 2px 4px 2px rgba(0,0,0,0.085);
    transition: all 0.3s ease-out;
}

.tile-card:hover{
    transform: translateY(-8px);
    box-shadow:4px 2px 4px 2px rgba(0,0,0,0.15);
}

.tile-card h5{
    font-weight:700;
    margin-bottom:15px;
}

.work{
    padding:100px 0;
}

.icon-card{
    /* background:#ffffff; */
    padding:15px;
    margin-bottom:10px;
    transition: all 0.3s ease-out;
    /* box-shadow:4px 2px 4px 2px rgba(0,0,0,0.085); */
}

.icon-card h5{
    font-family: 'Barlow Condensed', sans-serif;
    font-weight:600;
}

.icon-card .material-icons{
    font-size:60px;
    padding:20px;
    margin-bottom:20px;
    color: #207eab;

}

/* .icon-card:hover{
   transform: translateY(-8px);
    box-shadow:4px 3px 4px 2px rgba(0,0,0,0.15);
} */


.count-text{
    font-weight:bold;
}

.advert-img{
    object-fit: cover;
    width: 100%;
    height: 300px;
}

.overlay{
    background:rgba(255,160,0,0.75);
    overflow:hidden;
    position:absolute;
    right:0;
    left:0;
    bottom:0;
    opacity:80%;
    height:100%;
    width:100%;
    opacity:0;
    transition: all 0.4s ease-in-out 0s;
}

@media (max-width: 768px){
.overlay{
    background:rgba(255,160,0,0.6);
    opacity:1;
}
}

.content:hover .overlay{
    opacity:1;
}

.btn-ads{
    color: #fff;
    background-color: #2fa6de;
    border-color: #2fa6de;
    transition: all 0.4s ease-in-out;
}

.btn-ads:hover{
    color: #fff;
    background-color: #0e506f;
    border-color: #0e506f;
}

.recent-post{
    background-image:url(http://namaste.ambitarc.com/themes/lions-namaste/assets/images/project-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
}

.single-post{
    padding:20px;
    transition: all 0.3s ease-out;

}

.post-image{
    height:200px;
    overflow:hidden;
}

.post-img{
    object-fit: cover;
    width: 100%;
    height: 200px;
    transition: all 0.3s ease-in;
}

.post-image:hover .post-img{
    transform:scale(1.05);
    overflow:hidden;
}

.post-content{
    background:#ffffff;
    padding:15px 30px;
    box-shadow:4px 4px 8px 4px rgba(0,0,0,0.12);
    transition: all 0.3s ease-out;
}

.detail-post-content{
    background:#ffffff;
    padding:15px 30px;
    box-shadow:4px 4px 8px 4px rgba(0,0,0,0.12);
}

.single-post:hover{
    transform: translateY(3px);
}

.single-post:hover .post-content{
    box-shadow:3px 3px 6px 3px rgba(0,0,0,0.05);
}

.post-content span{
    color:#2fa6de;
    font-weight: 500;
    font-size:12px;
    padding-bottom:14px;
}

.post-content h2{
    color:#343a40;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size:23px;
    padding:5px 0;
    transition: all 0.4s ease-in-out;
}

.post-content a{
    text-decoration:none;
}

.post-content h2:hover{
    color:#207ca7!important;
}

.post-content .content-p{
    height:42px;
    overflow:hidden;
    margin-bottom:15px;
}

.post-content .content-header{
    height:35px;
    overflow:hidden;
    margin-bottom:15px;
}

.post-content p{
    font-size:14px;
    text-align:justify;
    color:#8e8e8e;
}

.detail-post-content p{
    font-size:1rem;
    text-align:justify;
    color:#212529;
}

.post-link-container{
    margin-left: -28px;
    padding: 17px 0 0px 0;
}

.post-link{
    text-decoration:none;
    color:#8a8a8a!important;
    padding:28px;
    font-size:14px;
    transition: all 0.4s ease-in-out;
}

.post-link:hover{
    color:#207ca7!important;
}


.footer{
    background:#0d2240;
    color:#d4d4d4;
}

.footer p{
    color:#d4d4d4;
}

.footer .hr{
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border: 0;
    border-top: 1px solid rgb(255,255,255, 0.15);
}

.footer a{
    color:#ffffff;
    font-weight:400;
    font-size:14px;
}

@media (max-width: 767px){
.footer .img-fluid{
    max-width:175px;
    height:auto;
}
}

.footer span{
    display:inline-block;
}


#GoToTopBtn{
  width:50px;
  height:50px;
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 30px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #ffffff/* #2fa6de */; /* Set a background color */
  color: #5a5a5a; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 50px; /* Rounded corners */
  font-size: 18px;
  box-shadow:4px 2px 8px 2px rgba(0,0,0,0.15);/* Increase font size */
  transition: all 0.25s ease-in-out;
}

#GoToTopBtn .material-icons{
    font-size:18px;
}



.bg-blog{
  background-repeat: no-repeat!important;
  background-size: cover!important;
  background-position: center center!important;
  min-height: 65vh;
  /* margin-top: -40px; */
}

.overlapping-white {
  position: absolute; 
  width: 90%; 
  height: 90%; 
  bottom: 5%;
  left: 5%;
  border: 2px solid #fff;
  border-radius:10px;
  /* background-color: rgba(0,0,0,0.5); */ 
  z-index: 2; 
  cursor: pointer; 
  transition: all ease-in-out .45s;
}

.card-body{
    background:#191b1f;
    color:#ffffff;
    position:relative;
}

.card-body p, .card-body .material-icons{
    color:#dcdcdc;
    font-size:14px;
    margin-bottom:0.25rem;
}

.small-text{
    font-size:10px!important;
}


.team{
  margin:40px;
}

.team-member {
  margin: 15px 0;
  padding: 0;
}

.team-member figure {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.team-member figure img {
    position: relative;
    width: 100%;   
    object-fit: cover; 
    object-position: top;
}

.team-member figure .img-cover {
    position: relative;
    width: 100%;   
    object-fit: cover; 
    object-position: top;
}

.team-member figcaption p {
  font-size: 16px;
  color:#dcdcdc;
  margin-bottom:0.2rem;
}

.team-member figcaption ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.team-member figcaption ul {
  visibility: visible;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.team-member figcaption ul li {
  display: inline-block;
  padding: 10px;
}

.team-member h4 {
  margin: 10px 0 0;
  padding: 0;
}

.team-member figcaption {
  padding: 20px;
  color: transparent;
  background-color: transparent;
  position: absolute;
  z-index: 996;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.team-member figure:hover figcaption {
  visibility: visible;
  color: #fff;
  background: rgba(25, 27, 31 , 0.85);
  /* Primary color, can be changed via colors.css */
  
  height: 90%;
  width:90%;
  top:5%;
  left:5%;
  border-radius:10px;
  border:2px solid #ffffff;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.team-member figure:hover figcaption ul li a{
  color: #ffffff;
  
}
.team-member figure:hover figcaption ul li a:hover {
  color:#2fa6de;
}

.team-member figure img {
  -webkit-transform: scale(1) rotate(0) translateY(0);
  -moz-transform: scale(1) rotate(0) translateY(0);
  -o-transform: scale(1) rotate(0) translateY(0);
  -ms-transform: scale(1) rotate(0) translateY(0);
  transform: scale(1) rotate(0) translateY(0);
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.team-member figure:hover img {
    /* filter: blur(0.85px); */
  -webkit-transform: scale(1.1) rotate(1deg) translateY(12px);
  -moz-transform: scale(1.1) rotate(1deg) translateY(12px);
  -o-transform: scale(1.1) rotate(1deg) translateY(12px);
  -ms-transform: scale(1.1) rotate(1deg) translateY(12px);
  transform: scale(1.1) rotate(1deg) translateY(12px);
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  
}

.social-link{
    background:#ffffff14;
}

.social-link a{
    color:#ffffff;
    font-size:20px;
    padding-left:10px;
    padding-right:5px;
}

.social-link a i{
    transition: all 0.4s ease-in-out;
}
.social-link a:hover i{
    transform:translateY(-4px);
}
.social-link a:hover {
   text-decoration:none;
}
