@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap");
* {
  font-family: "Open Sans", sans-serif !important;
}
:root {
  --dark-color: #000;
  --grey-color: #222222;
  --main-color: #ffc451;
  --light-color: #fff;
}
body {
  overflow-x: hidden;
}
header {
  position: relative;
  padding-bottom: 4rem;
  background: linear-gradient(rgba(0, 0, 0, 0.53), rgba(0, 0, 0, 0.53)),
    url(/images/hero-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%); */
}
nav {
  background-color: rgba(0, 0, 0, 0.85);
}
.nav-logo,
.nav-logo:hover {
  color: var(--light-color);
}
.nav-logo-dot {
  color: var(--main-color);
}
.nav-link.active {
  color: var(--main-color) !important;
}
.nav-link:link,
.nav-link:visited {
  color: var(--light-color);
  font-weight: 500;
  font-size: 18px;
}

.nav-link:active {
  color: var(--main-color);
}
.hamburger-open {
  color: var(--light-color) !important;
  font-size: 32px;
}
.get-started {
  color: var(--light-color);
  font-size: 16px;
  border: 2px solid #ffc451;
  border-radius: 5px;
}
.get-started:hover {
  background-color: var(--main-color);
  color: var(--grey-color);
}
.nav-link-deep {
  text-decoration: none;
  color: #222222;
  padding-left: 1rem;
}
/************************/
/* HERO SECTION STYLES */
/**********************/
.hero-section-h2 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 1.3px;
  margin-top: 8rem;
}
.hero-section-paragraph {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 4rem;
}
.hero-card {
  background: none;
  border: 1.5px solid var(--light-color);
  border-radius: 0;
  padding: 1rem 0;
  transform-origin: center;
  transition: all 0.5s ease;
}
.hero-card:hover {
  border-color: var(--main-color);
  transform: scale(1.06);
}
.hero-card-icons {
  font-size: 2.3rem;
  color: var(--main-color);
}
.hero-card-paragraph:hover,
.hero-card-paragraph:active {
  transition: all 0.4s ease;
  cursor: pointer;
  color: var(--main-color);
}
/*************************/
/* ABOUT SECTION STYLES */
/***********************/
#about {
  margin-top: 4rem;
}
.about-card-h2 {
  font-weight: 700;
  opacity: 0.8;
}
.about-card-icons {
  font-size: 1.6rem;
  color: var(--main-color);
}
.about-card-img {
  filter: grayscale(100);
  transition: all 0.4s ease;
}
.about-card-img:hover {
  filter: grayscale(0);
}
/*******************/
/* CLIENT SECTION */
/*****************/
#client-section .container {
  margin: 0 auto;
}

#client-section img {
  height: 60px !important;
  margin: 0 20px;
  filter: grayscale(100%);
  /* width: 70px !important;
  margin-left: auto;
  margin-right: auto; */
}
#client-section img:hover {
  transition: all 0.5s ease-in-out;
  filter: grayscale(0);
}
/***************/
/* OFF SECTION */
/***************/
.off-section-icons {
  color: var(--main-color);
  font-size: 3rem;
  /* animation: icon-rotate 1s both infinite; */
}
.okay.off-section-icons {
  /* the alternate-reverse makes the animation delay in both the forward and backward direction */
  /* animation: icon-rotate 1s both infinite alternate-reverse; */
  animation: icon-rotate 1s both infinite alternate-reverse;
}
@keyframes icon-rotate {
  from {
    transform: rotateY(0deg);
    /* transform: translateY(-30px); */
  }
  to {
    transform: rotateY(360deg);
    /* transform: translateY(60px); */
  }
}
.off-section-h4 {
  font-weight: 500 !important;
}
/*********************/
/* SERVICES STYLING */
/*******************/
.line {
  height: 1.8px;
  width: 150px;
  background: var(--main-color);
}
.services-first-h2 {
  font-weight: 800;
}
.services-section-icon {
  background: var(--main-color);
  padding: 1rem;
  border-radius: 0.3rem;
  font-size: 2rem;
}
.services-section-card {
  width: 19rem;
  padding: 2rem 2rem;
  border-radius: 0;
}
.services-section-card:hover {
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.281);
  transform: translateY(-20px) !important;
  border: none;
}
#services .card-subtitle {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 10px;
}
/***********************/
/* CTA SECTION STYLES */
/*********************/
#cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(/images/cta-bg.jpg);
  background-attachment: fixed;
  padding: 6rem 0;
  color: var(--light-color);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin-bottom: 5rem;
}
.cta-h2 {
  font-weight: 700;
}
.cta-btn:link,
.cta-btn:visited {
  font-weight: 700;
  letter-spacing: 1.2px;
  display: inline-block;
  color: var(--light-color) !important;
  box-shadow: 0 0 0 1.5px rgb(255, 255, 255) !important;
  padding: 0.5rem 2rem;
  margin-top: 0.8rem;
}
.cta-btn:hover,
.cta-btn:active {
  transition: all 0.25s ease;
  box-shadow: none !important;
  background: var(--main-color) !important;
  color: var(--grey-color) !important;
}
/**********************/
/* PORTFOLIO SECTION */
/********************/
#portfolio {
  margin-bottom: 12rem;
}
.portfolio-first-h2 {
  font-weight: 800;
}
.isotope-btn.active {
  background: var(--main-color);
}
.isotope-btn {
  border: none;
  background: transparent;
  outline: none;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 8px;
}
#portfolio .grid {
  width: 100%;
  margin: 0 auto;
}
.gallery-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  cursor: pointer;
  border-radius: 16px;
}
.gallery-image .gallery-image-img {
  width: 100%;
  transition: all 0.8s ease;
}
.gallery-image:hover .gallery-image-img {
  transform-origin: center;
  transform: scale(1.3);
}
.grid-item {
  /* width: 100%; */
  padding: 1rem 1rem;
}
.image-overlay {
  color: var(--light-color);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(41, 41, 41, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.img-overlay-content {
  position: absolute;
  bottom: 2%;
  left: 3%;
}
.gallery-image:hover .image-overlay {
  opacity: 1;
  pointer-events: all;
}
.img-overlay-icons {
  font-size: 1.6rem;
  transition: all 0.3s ease;
}
.img-overlay-icons:hover {
  color: var(--main-color);
}
/*******************/
/* COUNTS SECTION */
/*****************/
.counter-icons {
  font-weight: 400;
  font-size: 2rem;
  color: var(--main-color);
}
.counter-content-h4 {
  font-weight: 700;
  font-size: 2rem;
}
/*******************************/
/* TESTIMONIAL SECTION STYLES */
/*****************************/
#testimonial-section {
  margin-top: 12rem;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/images/testimonials-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--light-color);
  padding: 4rem 0;
}
.testimonial-img-div {
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(63, 63, 63, 0.55);
  padding: 0.7rem;
  width: 6rem;
  height: 6rem;
}
.testimonial-section-image {
  width: 100%;
  border-radius: 50%;
  transition: all 0.8s ease;
}
.testimonial-section-image:hover {
  transform: scale(1.06);
}
.testimonial-second-context-paragraph {
  font-weight: 600;
  font-size: 1.2rem;
  opacity: 0.89;
  margin-bottom: 1.3rem;
}
.testimonial-h3 {
  font-size: 1.4rem;
}
.testimonial-paragraph-icon {
  font-size: 1.8rem;
  opacity: 0.8;
}
/*****************/
/* TEAM SECTION */
/***************/
#team {
  margin-top: 5rem;
}
#team .row {
  margin-top: 6rem !important;
}
.team-first-h2 {
  font-weight: 700;
}
#team .card {
  width: 16rem;
  padding: 0;
  border-radius: 0.7rem;
  overflow: hidden;
}

#team .card:hover .team-card-icon-div {
  animation: forTeam 0.8s ease;
  opacity: 1;
  pointer-events: auto;
}
@keyframes forTeam {
  0% {
    opacity: 0;
    transform: translateY(-100px) translateX(-50%);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
  }
}
.team-card-icon-div {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, 0);
  opacity: 0;
  pointer-events: none;
  transition: all 0.8s ease;
}
.team-card-h4 {
  font-size: 1.3rem;
}
.team-card-icons {
  font-size: 1.6rem;
  background: var(--light-color);
  padding: 1px 8px;
  border-radius: 8px;
  transition: all 0.6s ease;
}
.team-card-icons:hover {
  background: var(--main-color);
}
/************/
/* CONTACT */
/**********/
#contact {
  margin-top: 8rem;
}
.map-iframe {
  margin-bottom: 6rem;
}
.contact-form-icon {
  font-size: 1.4rem;
  border-radius: 8px;
  padding: 6px 9px;
  background-color: var(--main-color);
  animation: icon-rotate 2.5s both infinite;
}
.contact-form-first-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-textarea {
  height: 200px;
}
.contact-btn,
.contact-btn:hover,
.contact-btn:active {
  background: var(--main-color) !important;
  border: none;
  outline: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
}
/* textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
[type="text"].form-control:focus,
[type="password"].form-control:focus,
[type="email"].form-control:focus,
[type="tel"].form-control:focus,
[contenteditable].form-control:focus {
  box-shadow: inset 0 -1px 0 #ddd;
} */

textarea.form-control:focus,
input.form-control:focus,
.btn:focus {
  box-shadow: inset 0 -1px 0 #ddd;
}
input:focus,
textarea:focus {
  border: 1px solid var(--main-color) !important;
}
/*******************/
/* FOOTER SECTION */
/*****************/
#footer-section {
  margin-top: 10rem;
  background: var(--grey-color);
  padding: 2rem 0;
  color: var(--light-color);
}
.footer-icons {
  font-size: 1.6rem;
  background: #292929;
  padding: 8px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.5s ease;
}
.footer-icons:hover {
  background: var(--main-color);
  color: var(--grey-color);
}
.footer-second-col-icons {
  color: var(--main-color);
}
.footer-links:link,
.footer-links:visited {
  text-decoration: none;
  color: var(--light-color);
  transition: all 0.4s ease;
}
.footer-links:hover,
.footer-links:active {
  color: var(--main-color);
}

.list-group-item {
  background: var(--main-color);
  /* padding-right: 8px !important; */
}
.footer-sub-input {
  padding: 8px 50px;
}
.footer-sub-btn,
.footer-sub-btn:hover,
.footer-sub-btn:active {
  padding-left: 0;
  padding-right: 0;
  border: none;
  background: var(--main-color);
  border: none;
  outline: none;
}
/*****************/
/* INNER FOOTER */
/***************/
#innerFooter {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 6rem 0;
}
.jamextech {
  color: var(--main-color);
}
/****************/
/* BACK TO TOP */
/**************/
.back-to-top-icon {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--main-color);
  color: var(--dark-color);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 18px;
  transition: all 0.5s ease;
  animation: btt-btn-anime 2s both infinite alternate-reverse;
}
@keyframes btt-btn-anime {
  from {
    transform: translateY(-7px);
  }
  to {
    transform: translateY(9px);
  }
}
.back-to-top-icon:hover,
.back-to-top-icon:active {
  background: var(--dark-color);
  color: var(--main-color);
}
/******************/
/* MEDIA SCREENS */
/****************/
@media screen and (max-width: 991px) {
  .about-rows {
    flex-wrap: wrap-reverse;
  }
}
@media screen and (max-width: 767px) {
  #portfolio .grid {
    width: 80%;
  }
  .grid-item {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .testimonial-second-context-paragraph {
    font-size: 0.8rem !important;
  }
}
