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

body {
    font-family: "barlow", sans-serif;
    line-height: 1.7;
    color: #130808;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    color: rgb(99, 10, 99);
}

a {
    color: #092032;
    text-decoration: none;
    transition: all 0.4s ease;
    font-weight: 500;
}

a:hover {
    color: purple;
}

img {
    width: 100%;
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.bg-cover {
    background-position: center !important;
    background-size: cover !important;
    background-position: center !important;
}

.intro {
    margin-bottom: 40px;
}

.intro h6 {
    font-weight: 400px;
    color: purple;
}

.intro p {
    max-width: 500px;
    margin: auto;
}


/* NAVBAR */
.top-nav {
   background-color: purple;
   padding-top: 5px;
   padding-bottom: 5px;
}

.top-nav p {
    margin-bottom: 0;
    display: inline-block;
    margin-right: 16px;
    color: #ffffff;
}

.navbar img {
    width: 250px;
}

.top-nav i,
.top-nav span {
    vertical-align: middle;
}

.social-links a {
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    border-radius: 100%;
}

.social-links a:hover {
    background-color: #ffffff;
    color: purple; 
}

.navbar {
    box-shadow: 0px 6px 30px rgba(207, 8, 8, 0.08);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: purple;
}

.navbar-brand {
    font-weight: 700;
    font-size: 26px;
    color: purple;
}

.navbar-brand span {
    color: purple;
}

/* BIN */
.btn {
    padding: 9px 24px;
    font-weight: 500;
}

.btn-brand {
    background-color: rgb(83, 5, 83);
    color: #ffffff;
    border-color: purple;
}

.btn-brand:hover {
    color: #ffffff;
    background-color: purple;
}

/* SLIDER*/
#hero-slider h1 {
    font-weight: 700 !important;
}
.slide1 {
    background: linear-gradient(rgba(9,32,50,0.4), rgba(9,32,50,0.4)), url(../image/background-image-1.jfif);
}

.slide2 {
    background: linear-gradient(rgba(9,32,50,0.4), rgba(9,32,50,0.4)), url(../image/xonafi-background6.png);
}

/* OWL CAROUSEL */
.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    width: 60px !important;
    height: 60px !important;
    display: grid;
    place-items: center;
    background-color: rgba(3, 3, 3, 0.2) !important;
    margin-top: -30px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    border-radius: 100px !important;
}

.owl-prev {
    left: 0;
}

.owl-next {
    right: 0;
}

.owl-next:hover,
.owl-prev:hover {
    background-color: purple !important;
}

/* INFOBOX */

.info-box {
    display: flex;
    align-items: center;
}
.info-box image {
    width: 300px;
    margin-right: 24px;
}

/* MILSTONE*/
#milstone {
    background: linear-gradient(rgba(4, 32, 53, 0.4), rgba(4, 32, 53, 0.4)), url(../image/xonafimed-milstone.png);
}

#milstone .display-4,
#milstone p {
    color: #dad6d6;
}

#milstone .display-4 {
    font-weight: 700;
}

/* SERVICES*/
.service-box {
    padding: 32px;
    box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.service-box img {
    width: 80%;
}

.service-box h5 {
    margin-top: 24px;
    margin-bottom: 12px;
}

/* PROJECT*/

#project-slider .owl-next,
#project-slider .owl-prev {
    background-color: rgba(255, 255, 255, 0.5) !important;
}

#project-slider .owl-next:hover,
#project-slider .owl-prev:hover {
    background-color: purple !important;
}

.project{
    position: relative;
    width: 100%;
}

.project .overlay {
    background: linear-gradient(to bottom,rgba(4, 32, 53, 0.0), rgba(4, 32, 53, 0.3));
    position: absolute;
    width: 100%;
    height: 240px;
    bottom: 0;
    left: 0;
}

.project .content {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 32px;
}

.project h1 {
    color: #fff
}

.project h6 {
    color: #fff;
}

.project h6 {
    font-size: 12px;
    text-transform: none;
    letter-spacing: 1px;
}

.project h6::before {
    content: '';
    height: 2px;
    width: 24px;
    background-color: purple;
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
}

/* TEAM */

.team-member {
    text-align: center;
    font-weight: 500px;
    line-height: 0;
}

.team-member .img-wrapper{
    position: relative;
    overflow: hidden;
}

.team-member .overlay {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
    opacity: 0;
}

.team-member .social-links {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    opacity: 0;
}

.team-member:hover .overlay {
    opacity: 1;
    top: 0;
}

.team-member:hover .social-links {
    opacity: 0;
    top: 50%;
}

.team-member h5 {
    margin: 24px;
}

/* BLOG POST */
.blog-post {
    position: relative;
}

.blog-post .tag {
    background-color: purple;
    color: #ffffff;
    border-radius: 100px;
    top: 1px;
    left: 1px;
    position: absolute;
}

.blog-post a {
    font-weight: 700;
}
    
.blog-post img {
    margin-bottom: 12px;
}

.blog-post h4 {
    margin-top: 12px;
    margin-bottom: 12px;
}

.blog-post small {
    color: purple;
    text-decoration: underline;
    text-transform: uppercase;
}

/* FOOTER */
#footer {
    color: purple;
    font-size: 14px;
    background: #fff;
    border:1px solid #efefef; margin-top:60px;
  }
  
  #footer .footer-top {
    padding: 50px 0 30px 0;
    background: #faf9fd;
    /* box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1); */
  }
  
  #footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    color: purple;
    position: relative;
    padding-bottom: 12px;
  }
  
  #footer .footer-top .footer-links {
    margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  #footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: purple;
    font-size: 18px;
    line-height: 1;
  }
  
  #footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
  }
  
  #footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
  }
  
  #footer .footer-top .footer-links ul a {
    color: purple;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
  }
  
  #footer .footer-top .footer-links ul a:hover {
    text-decoration: none;
    color: rgb(190, 100, 190);
  }
  
  #footer .social-links a {
    font-size: 18px;
    display: inline-block;
    background: purple;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
  }
  
  #footer .social-links a:hover {
    background-color: #ffffff;
    color: purple;
    text-decoration: none;
  }

/* FORM */
.form-control:focus {
    box-shadow: none;
    border-color: purple;
}