/* Fonts */
@import url(../CSS/clash-display.css);

/* Variables */
:root{
  --c-dark : #212529 ;
  --c-brand : #4e57d4 ;
  --c-brand-light : #6970dd ;
  --c-brand-rgb : 78, 87, 212 ;
  --c-body : #727272;
  --font-base : "ClashDisplay" , sans-serif;
  --box-shadow : 0px 15px 25px rgba(0, 0, 0,0.08);
  --transition : all 0.5s ease;
}

/* Resests && Helpers */

body{
  font-family: var(--font-base);
  line-height: 1.7 ;

}

h1 , h2 , h3 , h4 , h5 , h6,
.h1 , .h2 , .h3 , .h4 , .h5 , .h6{
  font-weight: 600;
  color: var(--c-dark);
}

a {
  text-decoration: none;
  color: var(--c-brand);
  transition: var(--transition);
}

a:hover{
  color: var(--c-brand-light);
}

img{
  max-width: 100%;
  height: auto;
}

.theme-shadow{
  box-shadow: var(--box-shadow);
}

.section-padding{
  padding-top: 140px;
  padding-bottom: 140px; 
}

.custom-container {
  max-width: 95%; 
  margin: 0 auto; 
}

/* Image zoon */

.image-zoom{
  position: relative;
  overflow: hidden;
}

.image-zoom-wrapper{
  overflow: hidden;
  position: relative;
}

.image-zoom-wrapper img{
  transition: var(--transition);
}

.image-zoom:hover .image-zoom-wrapper img{
  transform : scale(1.1);
}



/* Navigation Bar */

.navbar{
  box-shadow: var(--box-shadow);
}

.navbar .nav-link {
  color: var(--c-dark) ;
  transition: var(--transition);
}

.navbar-nav .nav-link.active{
  color: var(--c-brand);
}

.navbar .nav-link:hover {
  color: var(--c-brand-light);
}

.btn {
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 0;
  padding: 10px 24px;

}

.btn-brand{
  background-color: var(--c-brand);
  color: white;
  border-color: var(--c-brand);
}

.btn-brand:hover{
  background-color: var(--c-brand-light);
  color: white;
}


/* HERO */
 
#hero{
  background: linear-gradient(rgba(var(--c-brand-rgb),0.507), rgba(var(--c-brand-rgb),0.438)) , url(../images/rohit-tandon-9wg5jCEPBsw-unsplash.jpg) ;
  background-position: center;
  background-size: cover;
}


/* About Section Title */

.section-title{
  margin-bottom: 60px;
}

.section-title .line{
  width: 60px;
  height: 4px;
  background-color: var(--c-brand);
  margin: 16px auto 24px auto;
}

.section-title p{
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.iconbox{
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--c-brand-rgb),0.1);
  color: var(--c-brand);
  font-size: 34px;
  flex: none;
}


@media (min-width: 768px) and (max-width: 1020px) {
  .col-md-6, .col-lg-5 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .img-fluid {
    width: 100%;
  }
}

/* SERVICE */

.service{
  position: relative;
  overflow: hidden;
  z-index :2 ;
}

.service::after{
  content: "";
  width: 40px;
  height: 40px;
  background: rgba(var(--c-brand-rgb),0.2);
  position: absolute;
  bottom: 0;
  right: 0;
  transition: var(--transition);
}

.service:hover::after{
  width: 100%;
  height: 100%;
  background: var(--c-brand);
  z-index: -1;
}

.service:hover h5 ,
.service:hover p{
  color: white;
}

.service:hover .iconbox{
  background: rgb(255 , 255 , 255 , 0.2);
  color: white;
}

/* Counter */

#counter{
  background: linear-gradient(rgba(var(--c-brand-rgb),0.507), rgba(var(--c-brand-rgb),0.438)) , url(../images/tired-asian-it-specialist-drinking-coffee-watching-female-colleague-working-with-laptop-indoor-portrait-young-business-people-sitting-table-together-conference-hall.jpg) ;
  background-position: center;
  background-size: cover;
}

/* Portfolio */

.portfolio-item .iconbox{
  background-color: var(--c-brand);
  color: white;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50% , -50%) ;
  opacity: 0;
}

.portfolio-item:hover .iconbox{
  opacity: 1;
  top: 50%;
}

/* Review */

.review-head{
  position: relative;
}

.review-head::after{
  content: "";
  width: 28px;
  height: 28px;
  position: absolute;
  bottom: -14px;
  background-color:white;
  transform: rotate(45deg);
}

.review small{
  font-weight: 600;
  text-transform: uppercase;
  color: var(--c-brand);
}

.team-member-content{
  background-color: var(--c-brand);
  position:absolute;
  bottom: -24px;
  left: 50%;
  width: calc(100% - 50px);
  transform: translate(-50%);
  padding: 24px;
  transition: var(--transition);
  opacity: 0;
}

.team-member:hover .team-member-content{
  bottom: 24px;
  opacity: 1;
}


/* contact form */

#contact{
  position: relative;
  z-index: 2;
}

#contact::after{
  content: "";
  width: 100%;
  height: 70%;
  background: linear-gradient(rgba(var(--c-brand-rgb),0.507), rgba(var(--c-brand-rgb),0.438)) , url(../images/tired-asian-it-specialist-drinking-coffee-watching-female-colleague-working-with-laptop-indoor-portrait-young-business-people-sitting-table-together-conference-hall.jpg) ;
  background-position: center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

#contact .form-control{
  border-radius: 0;
}

#contact .form-control:focus{
  border-color: var(--c-brand);
  box-shadow: none;
}

/* Footer */


footer li, 
footer p, 
footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .line {
  width: 40px;
  height: 4px;
  background-color: var(--c-brand);
  margin-top: 12px;
  margin-bottom: 24px;
}

/* Ensure equal column height */
.footer-top .row {
  align-items: stretch;
}

/* Social Icons */
.footer-top div a {
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-top div a:hover {
  color: var(--c-brand);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 0;
}