/* Font face used */
@font-face {
    font-family: ProximaNova;
    src: url("../fonts/Proxima Nova Regular.otf");
}
@font-face {
    font-family: ProximaNova-Bold;
    src: url("../fonts/Proxima Nova Bold.otf");
}
@font-face{
    font-family: Raleway;
    src: url("../fonts/Raleway-Regular.ttf");
}
@font-face{
    font-family: Raleway-Bold;
    src: url("../fonts/Raleway-Bold.ttf");
}
@font-face{
    font-family: Raleway-Black;
    src: url("../fonts/Raleway-Black.ttf");
}

/* -------------- nav -------------- */
.navbar{
    padding: 1rem 1rem;
}
.header-inner {
    width: 100%;
    z-index: 999;
    position: fixed;
    top: 0px;
    overflow: hidden;
    background-color: white;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 0 rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 0 rgba(0, 0, 0, 0.06);
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: 1s;
    transition: all 1s;
}

.navbar-brand #logo {
    width: 80%;
}

.nav-item{
    font-size: 0.9rem;
    padding: 0rem 0.3rem;
}

.nav-link{
    color: #3d3d3d;
    font-family: Raleway-Black;
}

.navbar-light .nav-item.active .nav-link,
.navbar-light .nav-item .nav-link:active,
.navbar-light .nav-item .nav-link:focus,
.navbar-light .nav-item:hover .nav-link {
    color: #1990ff;
}

.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: #1990ff;
}

/* ------------- fonts ------------- */
body{
    font-family: ProximaNova;
}

h1, h2, h3, h4{
    font-family: ProximaNova-Bold;
    text-transform: uppercase;
}

h5{
    font-family: ProximaNova-Bold;
}

p{
    margin: 2rem 0rem;
    font-size: 1.2rem;
}

/* ------------- section ---------------- */
.top-section{
    margin-top: 5rem;
}

/* ------------- home ---------------- */
section.home-1{
    padding-top: 12rem;
    padding-bottom: 2.5rem;
    background-image: url("../img/wallpaper.jpg");
}

section.home-2{
    padding: 10rem 0rem;
}

section.home-3{
    background: #333333;
}

section.home-4{
    padding: 6rem 0rem;
}

.home-1 h1, .home-1 p,
.home-3 h2, .home-3 p{
    color: #ffff;
}

/* ------------- profile ---------------- */
section.profile-1{
    padding-top: 5rem;
}

section.profile-2{
    position: relative;
    padding-top: 7rem;
    background-image: url("../img/blue-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.profile-1 ul{
    margin: 2rem 0;
}

.profile-1 li{
    position: relative;
    list-style-type: none;
    padding-top: 1rem;
    padding-bottom: 1rem; 
    padding-left: 3rem;
}

.profile-1 li:before{
    content: "";
    padding: 1rem 0;
    position: absolute;
    top: 0px;
    left: -1rem;
    width: 100%;
    height: 100%;
    background: url("../img/checkmark.png") no-repeat left center;
}

.profile-2 img{
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 350px;
}

.profile-2 .text-box{
    color: #ffff;
    font-weight: bold;
    line-height: 2;
    padding: 6rem 1rem 3rem 1rem;
}

/* ------------- vision ---------------- */

section.vision-1{
    padding-top: 12rem;
    padding-bottom: 6rem;
}

section.vision-3{
    padding: 7rem 0;
}

/* ------------- services ---------------- */
section.service-1{
    margin-top: 4rem;
    padding: 7rem;
}

section.service-1 p{
    line-height: 2rem;
}

.service-3 img{
    position: static;
    height: 100%;
    width: 100%;
    transform: none;
    object-fit: cover;
}

.service-3 ul{
    padding-top: 2rem;
    padding-left: 0rem;
    list-style-type: none;
}

.service-3 li{
    counter-increment: step-counter;
    font-family: Raleway;
    margin-bottom: 1rem;
}

.service-3 li::before {
    content: counter(step-counter);
    margin-right: 2rem;
    font-size: 1rem;
    background-color: #1990ff;
    color: white;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    align-content: center;
    padding: 3px 8px;
    width: 30px;
    border-radius: 3px;
}

/* ------------- portfolio ---------------- */
section.portfolio-1{
    padding-top: 5rem;
}

.gallery{
    margin-top: 2rem;
    margin-bottom: 7rem;
}

.project-name{
    margin: 1rem;
    text-align: center;
}

section.portfolio-2:after{
    padding: 10rem 0;
    content:'';
    background-image: url("../img/building2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top:0px;
    left: 0px;
    width:100%;
    height:100%;
    z-index:-1;
    opacity: 0.2;
    display: flex;
    justify-content: center;
}

section.portfolio-2{
    position: relative;
    padding: 10rem 0;
}

.portfolio-2 .text-box{
    display: block;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.1);
}

.portfolio-2 ul{
    margin-top: 2rem;
}

.portfolio-2 li{
    margin-bottom: 1rem;
}

.portfolio{
    position: relative;
    display: block;
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all .6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all .6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio img{
    width: 100%;
    height: auto;
}

/* ------------- contact ---------------- */
section.contact{
    padding: 5rem 0rem;
}

section.contact-1{
    background-color: #e6e6e6;
}

.contact-1 .text-box1{
    color: #ffff;
    position: relative;
    height: 100%;
    background-color:#1990ff;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all .6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-1 .content{
    padding: 5rem 3rem;
}

.text-box2{
    padding: 5rem 1rem 1rem 1rem;
    background-color: #ffff;
}

/*----------- when large screen-------------*/
@media screen and (min-width: 768px) {
    .home-1 h1{
        font-size: 3rem;
    }

    .home-2 h2{
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

    h2{
        font-size: 2.5rem;
    }

    section.contact{
        width: 60%;
        display: block;
    }

    .w-80{
        width: 80%;
    }

    .home-1 .img-float{
        position: absolute;
        bottom: -6rem;
        width: 120%;
    }

    .vision-1 img{
        /* position: absolute; */
        width: 800px;
        /* right: 0; */
    }

    section.vision-2{
        position: relative;
        padding-top: 10rem;
        padding-bottom: 22rem;
    }

    .vision-2 .img-float{
        position: absolute;
        bottom: 0rem;
    }

    .left-pad{
        padding-left: 2rem;
    }

    .left-pad2{
        padding-left: 13%;
    }

    section.profile-2{
        height: 900px;
        margin-top: -7rem;
        padding-top: 0rem;
    }

    .profile-2 .text-box{
        position: absolute;
        top: 60%;
        left: 40%;
        transform: translate(-50%, -50%);
        width: 50%;
    }
}


/* ------------- other ------------- */
.white-text{
    color: #ffff;
}

.red-line{
    display: block;
    height: 4px;
    width: 150px;
    margin-top: 2rem;
    margin-bottom: 3rem;
    background-color: red;
}

.spacing100{
    height: 100px;
}

.vision-1 .text-box{
    font-weight: bold;
    line-height: 2;
}

.gray-bg{
    background-color: #484848; 
}

/* ------------- button ------------- */
.btn-round{
    color: #ffff;
    border-radius: 2px;
    padding: 1rem 3rem;
    position: relative;
    text-transform: uppercase;
    background-color: #1990ff;
    font-family: ProximaNova-Bold;
    transition: all 0.3s;
    span {
        transition: all 0.3s;
        transform: scale(1, 1);
    }
}

.btn-round::before, .btn-round::after {
    content: '';
    position: absolute;
    transition: all 0.3s;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.btn-animate:hover span {
    transform: scale(1.2, 1.2);
}
  
.btn-animate::before {
    opacity: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.1, 0.1);
}
    
.btn-animate:hover::before {
    opacity: 1;
    transform: scale(1, 1);
}
    
.btn-animate::after {
    transition: all 0.3s;
}
    
.btn-animate:hover::after {
    transform: scale(0, 0);
    opacity: 0;
}
  
/* ------------- form ------------- */
.form-group {
    position: relative;
    margin-bottom: 3rem;
  }
  
.form-placeholder {
    position: absolute;
    top: 0;
    padding-top: 5px;
    transition: all 200ms;
    opacity: 0.5;
}

.form-input:focus + .form-placeholder,
.form-input:valid + .form-placeholder {
    font-size: 75%;
    transform: translate3d(0, -100%, 0);
    opacity: 1;
}

.form-input {
    position: relative;
    padding: 12px 0px 5px 0;
    width: 100%;
    outline: 0;
    border: 0;
    box-shadow: 0 1px 0 0 #e5e5e5;
    transition: box-shadow 150ms ease-out;
}

.form-input:focus {
    box-shadow: 0 2px 0 0 #1990ff;
}

.form-input.filled {
    box-shadow: 0 2px 0 0 lightgreen;
}

label{
    font-weight: bold;
}

/* ------------- accordion(portfolio) ------------- */
.accordion {
    width: 100%;
    /* max-width: 1200px; */
    height: 450px;
    overflow: hidden;
    /* margin: 50px auto; */
}
  
.accordion ul {
    width: 100%;
    display: table;
    table-layout: fixed;
    margin: 0;
    padding: 0;
  }
  
.accordion ul li {
    display: table-cell;
    vertical-align: bottom;
    position: relative;
    width: 30%;
    height: 450px;
    background-repeat: no-repeat;
    background-position: center center;
    transition: all 500ms ease;
}
  
.accordion ul li div {
    display: block;
    overflow: hidden;
    width: 100%;
}
  
.accordion ul li div{
    display: block;
    height: 250px;
    width: 100%;
    position: relative;
    z-index: 3;
    /* vertical-align: bottom; */
    padding: 15px 20px;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none;
    font-family: Open Sans, sans-serif;
    transition: all 200ms ease;
}
  
.accordion ul li div * {
    opacity: 0;
    margin: 0;
    width: 100%;
    text-overflow: ellipsis;
    position: relative;
    z-index: 5;
    white-space: nowrap;
    overflow: hidden;
    -webkit-transform: translateX(-20px);
    transform: translateX(-20px);
    -webkit-transition: all 400ms ease;
    transition: all 400ms ease;
}
  
.accordion ul li div h2 {
    font-family: Raleway-Bold;
    text-overflow: clip;
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 2px;
    top: 160px;
}
  
.accordion ul li div p {
    font-family: Raleway-Bold;
    top: 160px;
    font-size: 13.5px;
}

/* Add background images to the accordion slider */
.accordion ul li:nth-child(1) { background-image: url("../img/portfolio/Project1-a.jpg"); background-size: cover;}
.accordion ul li:nth-child(2) { background-image: url("../img/portfolio/Project2-a.jpg"); background-size: cover;}
.accordion ul li:nth-child(3) { background-image: url("../img/portfolio/Project3-a.jpg"); background-size: cover;}
.accordion ul li:nth-child(4) { background-image: url("../img/portfolio/Project4-a.jpg"); background-size: cover;}
.accordion ul li:nth-child(5) { background-image: url("../img/portfolio/Project5-a.jpg"); background-size: cover;}
.accordion ul li:nth-child(6) { background-image: url("../img/portfolio/Project6-a.jpg"); background-size: cover;}
.accordion ul li:nth-child(7) { background-image: url("../img/portfolio/Project7-a.jpg"); background-size: cover;}

/* Create the expand effects using CSS3 transforms */
.accordion ul:hover li { width: 50%; }
.accordion ul:hover li:hover { width: 100%; }

/* .accordion ul:hover li:hover a { background: rgba(0, 0, 0, 0.4); } */
.accordion ul:hover li:hover * {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

/* Destroy the accordion slider and display as an image list when the screen size is smaller than 600px */
@media screen and (max-width: 768px) {
    /* .accordion { height: auto; }
    .accordion ul li,
    .accordion ul li:hover,
    .accordion ul:hover li,
    .accordion ul:hover li:hover {
        position: relative;
        display: table;
        table-layout: fixed;
        width: 100%;
        -webkit-transition: none;
        transition: none;
    } */

    .accordion{
        display: none;
    }
    
    .profile-2 img{
        display: none;
    }
    
}


/* ------------- footer ------------- */
.footer{
    color: #ffff;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 1rem 0rem;
    font-family: ProximaNova;
    background-color: #3d3d3d;
}

.highslide-wrapper, .highslide-outline {
	background: #111111;
}
.highslide img {
	border: 1px solid #D0D0D0;
}
.highslide:hover img {
	border-color: #A0A0A0;
}
.highslide-active-anchor img {
	visibility: visible;
	border-color: #808080 !important;
}
.highslide-image {
	border: 2px solid #111111;
}
.highslide-caption {
	color: #CCCCCC;
	padding: 2px;
}
.highslide-loading {
	color: black;
	border: 1px solid black;
	background-color: white;
	background-image: url(graphics/loader.white.gif);
}

.highslide-controls {
	position: static !important;
	margin-bottom: 0;
	width: 195px !important;
}
.large-dark .highslide-controls, .large-dark .highslide-controls ul, .large-dark .highslide-controls a {
	background-image: url(graphics/controlbar-black-border.gif);
}
.highslide-gallery ul li {
	width: 106px;
	height: 106px;
	border: 1px solid #D0D0D0;
	background: #EDEDED;
	margin: 2px;
}