@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900');
:root {
  --dark-blue: #34314c;
  --light-blue: #524f67;
  /* --primary-color: #3fc2de; */
  --primary-color: #d1a217;
  /* --dark-color: #111; other color skyblue 169fc9 00bdfe */

  --dark-color: black;
  --text-dark-color: #222;
  --white-color: #fff;
  /* --font-family: "Lato", sans-serif; */
  font-family: 'Roboto', sans-serif;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: var(--font-family);
  color: #333;
  line-height: 1.75;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
  color: #333;
}
h1,
h2 {
  font-weight: 300;
  line-height: 1.2;
  margin: 10px 0;
  font-size: 32px;
}

p {
  margin: 10px 0;
}
img {
  width: 100%;
}
.hidden {
  visibility: hidden;
  height: 0;
}

/* Navbar */
.navbar {
  height: 100px;
  text-transform: uppercase;
}
.navbar ul {
  display: flex;
}
.navbar a {
  /* color: #fff; */
  padding: 10px;
  margin: 0 5px;
  transition: all 0.2s;
  font-weight: bold;
  letter-spacing: 1.2px;
}
.navbar a:hover {
  color: var(--primary-color);
  border-bottom: 2px #fff solid;
  transition: all 0.2s ease-in-out;
}

.navbar .flex {
  justify-content: space-between;
}

/* hamburger */

.hamburger {
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  outline: none;
  height: 30px;
  position: relative;
  width: 30px;
  z-index: 1000;
}
@media screen and (max-width: 768px) {
  .hamburger {
    display: inline-block;
  }
}
.hamburger-line {
  background: hsl(0deg, 0%, 15%);
  height: 3px;
  position: absolute;
  left: 0;
  transition: all 0.2s ease-out;
  width: 100%;
}
.hamburger:hover .hamburger-line {
  background: #777;
}
.hamburger-line-top {
  top: 3px;
}
.menu-active .hamburger-line-top {
  top: 50%;
  transform: rotate(45deg) translatey(-50%);
  z-index: 1000;
}
.hamburger-line-middle {
  top: 50%;
  transform: translatey(-50%);
}
.menu-active .hamburger-line-middle {
  left: 50%;
  opacity: 0;
  width: 0;
  z-index: 1000;
}
.hamburger-line-bottom {
  bottom: 3px;
}
.menu-active .hamburger-line-middle {
  left: 50%;
  opacity: 0;
  width: 0;
  z-index: 1000;
}
.hamburger-line-bottom {
  bottom: 3px;
}
.menu-active .hamburger-line-bottom {
  bottom: 50%;
  transform: rotate(-45deg) translatey(50%);
  z-index: 1000;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: all 0.25s ease-in;
}
@media screen and (max-width: 768px) {
  .nav-menu {
    background: var(--dark-blue);
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translatey(-100%);
    text-align: center;
    z-index: 999;
  }
  .navbar a {
    color: #fff;
  }
  .navbar a:hover {
    color: var(--primary-color);
    border-bottom: none;
  }
  .menu-active .nav-menu {
    transform: translatey(0%);
    opacity: 1;
    position: absolute;
  }
}
/* .nav-menu .menu-item a {
  color: #444444;
  display: block;
  line-height: 30px;
  margin: 0px 10px;
  text-decoration: none;
  text-transform: uppercase;
} */
.nav-menu .menu-item a:hover {
  color: var(--primary-color);
}
@media screen and (max-width: 768px) {
  .nav-menu .menu-item a {
    font-size: 20px;
    margin: 15px 0;
  }
}
/* slider */

.slider {
  position: relative;
  overflow: hidden;
  height: 120vh;
  z-index: -1;
  margin-top: -100px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.slide.current {
  opacity: 1;
}

.slide .content {
  position: absolute;
  bottom: 10%;
  left: 50%;
  opacity: 0;
  width: 500px;
  color: var(--text-dark-color);
  padding: 35px;
  justify-content: center;
  text-align: center;
}

.slide .content h1 {
  margin-bottom: 10px;
  font-size: 32px;
  color: var(--text-dark-color);
  justify-content: center;
}

.slide.current .content {
  opacity: 1;
  transition: all 0.7s ease-in-out 0.3s;
}

.buttons button#next {
  position: absolute;
  top: 50%;
  right: 15px;
}

.buttons button#prev {
  position: absolute;
  top: 50%;
  left: 15px;
}

.buttons button {
  border: 2px solid grey;
  background-color: transparent;
  color: var(--primary-color);
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 50%;
  outline: none;
  display: none;
}

.buttons button:hover {
  background-color: #fff;
  color: #333;
}
/* Tablet Landscape and Smaller */
@media screen and (max-width: 1024px) {
  .slider {
    height: 80vh;
  }
  
  .slide .content {
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
  }
  
  .slider-head {
    font-size: 36px;
    line-height: 1.3;
  }
  
  .slider-content {
    font-size: 16px;
    line-height: 1.5;
  }
  
  .buttons button {
    display: none;
    padding: 8px 10px;
  }
}

/* Tablet Portrait */
@media screen and (max-width: 768px) {
  .slider {
    height: 70vh;
  }
  
  .slide .content {
    width: 90%;
    padding: 20px;
  }
  
  .slider-head {
    font-size: 30px;
  }
  
  .slider-content {
    font-size: 15px;
  }
}

/* Mobile Devices */
@media screen and (max-width: 480px) {
  .slider {
    height: 60vh;
  }
  
  .slide .content {
    width: 95%;
    padding: 15px;
    bottom: 5%;
  }
  
  .slider-head {
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    line-height: 1.2;
  }
  
  .slide .content h1 {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  
  .slider-content {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .buttons button {
    padding: 6px 8px;
  }
  
  .buttons button i {
    font-size: 14px;
  }
  
  .slide.current .content {
    transform: translateX(-50%) translateY(0);
  }
}

/* Backgorund Images */

.slide:first-child {
  background: url('images/banner/1.png') no-repeat center top/cover;
}
.slide:nth-child(2) {
  background: url('images/banner/10.jpg') no-repeat center top/cover;
}
.slide:nth-child(3) {
  background: url('images/banner/banner-2.jpg') no-repeat center top/cover;
}

/* slider ends */

.orange {
  color: var(--primary-color);
}
.seperator .line {
  height: 1px;
  background: var(--dark-blue);
  width: 400px;
}
.seperator .line-icon {
  position: relative;
  top: 15px;
  background-color: #fff;
  padding: 0 20px;
  color: var(--primary-color);
}

.how-it-works {
  background-image: linear-gradient(#eeeeee, #fffcf7, #dcba7a, #d9b36a);
  margin-top: 5.33333rem;
  margin-bottom: 0.66667rem;
  padding-bottom: 5.33333rem;
}

/* testimonial */
.cloud {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('images/testi-bg23.jpg');
  /* background-position: center; */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover;
}

.testimonial {
  display: block;
  margin-bottom: 10px;
}
blockquote {
  line-height: 32px;
  font-style: italic;
  margin-bottom: 20px;
}
blockquote p::before,
blockquote p::after {
  content: '“';
  color: var(--primary-color);
  font-size: 50px;
}
blockquote p::after {
  content: '”';
}
.testimonial .testi_by {
  float: right;
}

/* image gallery */
.pro-item {
  display: inline-block;
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.pro-item img {
  display: block;
  transition: transform 0.6s;
}
.pro-item:hover img {
  transform: scale(1.3);
  transform-origin: 50% 50%;
}
.img__description_layer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  visibility: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.pro-item .img__description .project-name {
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-family);
  text-align: justify;
}

.pro-item:hover .img__description_layer {
  visibility: visible;
  opacity: 1;
}
.pro-item .img__description {
  display: inline-block;
  transition: all 0.2s;
  transform: translateY(15px);
}

.our_projects {
  margin-top: 15px;
}
a.btn-big i {
  content: '\f101';
  margin-left: 20px;
}

/* footer */
.footer .container {
  max-width: 1200px;
}
.footer,
.footer nav ul li a {
  color: #ccc;
}
.footer h3 {
  color: #fff;
  letter-spacing: 3px;
}
.footer nav ul li {
  padding-bottom: 7px;
  border-bottom: solid 1px #333;
}
.footer nav a:hover {
  color: var(--primary-color);
}

.footer .grid img {
  width: 200px;
  height: auto;
}
.footer-last .grid {
  margin-top: 25px;
  grid-template-columns: 4fr 1fr;
}

.footer form label {
  font-weight: bold;
  color: #fff;
}
/* .footer form input{
  width: 90%;
  height: 30px;
  margin: 10px 0;
} */

footer input[type='text'],
footer input[type='submit'] {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  display: inline-block;
  /* border: 1px solid #ccc; */
  box-sizing: border-box;
}
footer input[type='submit'] {
  width: 70%;
  margin-top: 30px;
}
footer input[type='checkbox'] {
  margin-top: 16px;
}
footer label.newsletter {
  font-weight: 100;
}

.footer .social a {
  margin: 0 10px;
}
.footer .social a i {
  padding: 5px;
  transition: all 0.2s ease-in;
}
.footer .social a i:hover {
  background: #fff;
  border-color: #eceff3;
  color: #333;
}

/* banner code */
.banner {
  background-position: 50% 0px;
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover;
  margin-bottom: 20px;
  height: 250px;
  background-image: linear-gradient(
      rgba(24, 53, 95, 0.2),
      rgba(24, 53, 95, 0.2)
    ),
    url('image/testi_bg.jpg');
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('images/about-banner.jpg');
}

.banner .banner-head {
  color: #eceff3;
  font-size: 32px;
  letter-spacing: 5px;
  float: left;
  padding-right: 40px;
  margin-right: 40px;
  text-transform: uppercase;
  margin-top: 100px;
  font-weight: 500;
}

.services .container {
  max-width: 1200px;
}
.services .grid {
  grid-template-columns: 1.5fr 2fr 2fr;
  margin-top: 60px;
}

.services .sidebar-first .flex {
  flex-direction: column;
}

.services a.active {
  background-color: var(--primary-color);
  color: var(--dark-color);
}

div[class*='content-'],
div[class*='service-img-'] {
  display: none;
}

div.active {
  display: block;
}

.docs-main .grid {
  grid-template-columns: 0.95fr 3fr;
}

.right {
  text-align: left;
}

/* services 2 */
.spacer-single {
  width: 100%;
  height: 30px;
  display: block;
  clear: both;
}

/* news style */
.docs-main img {
  border-bottom: solid 3px;
  border-bottom-color: var(--primary-color);
}
.docs-main .flex {
  align-items: flex-start;
}
.docs-main .flex > div:first-child {
  margin-right: 30px;
}
.news-head {
  font-weight: 600;
  letter-spacing: 1px;
  color: black;
}
.news-head:hover {
  color: var(--primary-color);
}

.docs-main .date-box {
  width: 60px;
  /* position: absolute; */
}
.docs-main .date-box .day h1 {
  color: black;
  font-weight: bold;
  font-size: 32px;
  padding-top: 45px;
  padding-bottom: 10px;
}

.docs-main .date-box .month {
  font-weight: 600;
  letter-spacing: 16px;
  padding: 7px 0 7px 0;
  border-bottom: solid 4px black;
  color: black;
}

/* contact form */
.form-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.form-container .news-head {
  font-size: 30px;
}

.form-container input[type='text'],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

.form-container .btn {
  padding: 10px 20px;
}

iframe {
  width: 100%;
  height: 500px;
}
.stats .container-2 {
  overflow: hidden !important;
}
.stats .container-2 img {
  /* width: 75px;
  height: 75px; */
  width: auto;
  max-height: 56px;
  /* max-width: 150px; */
}
/* Tablets and under */
@media (max-width: 768px) {
  .grid,
  .showcase .grid,
  .stats .grid,
  .cli .grid,
  .cloud .grid,
  .services .grid,
  .features-main .grid,
  .docs-main .grid,
  .footer-last .grid,
  .who-we .grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
  .showcase .grid {
    margin: 25px;
  }
  .docs-main .flex {
    flex-direction: column;
  }
  .docs-main .flex {
    align-items: flex-start;
  }
  .who-we .flex {
    flex-direction: column;
  }
  .container-2 {
    padding: 0 10px;
  }
  .text-left {
    text-align: center;
  }
  .who {
    margin-top: 15px;
  }
  .btn-service {
    padding: 10px;
    margin-bottom: 10px;
  }
}
