html {
  scroll-behavior: smooth;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #14bf98;
  border: 2px solid #14bf98;
  color: white;
  font-size: 24px;
  padding: 10px 15px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.back-to-top:hover {
  background-color: transparent;
  color: #14bf98;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  color: #787976;
  font:
    400 1rem/1.5625rem "Open Sans",
    sans-serif;
}

:root {
  --primary-color: #14bf98;
  --secondry-color: #787976;
  --secondry2-color: #d3d4d0;
  --secondry3-color: #484a46;
  --p-color: #cdcccb;
  --white: #ffffff;
  --white1: #f4f3f3;
  --black: #000000;
}

#shadow {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
    url("../img/header-background.jpg") center center no-repeat;
  background-size: cover;
  height: 100vh;
  width: 100%;
}

ul li .active {
  color: var(--primary-color) !important;
}

ul li a {
  color: var(--secondry2-color) !important;
}

ul li a:hover {
  color: var(--primary-color) !important;
  font-weight: 700;
}
.fa-twitter,
.fa-facebook-f {
  width: 12px;
}
.icon a {
  padding: 5px 12px;
  color: var(--white);
  clip-path: polygon(
    30% 0%,
    70% 0%,
    100% 30%,
    100% 70%,
    70% 100%,
    30% 100%,
    0% 70%,
    0% 30%
  );
  background-color: var(--primary-color);
}
.icon a:hover {
  background-color: var(--white);
  color: var(--primary-color);
}
.main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.starthead h1 {
  color: var(--white);
  font-size: 55px;
}

.words::after {
  content: "template";
  animation-name: replacement;
  animation-duration: 5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  color: #fff;
}
@keyframes replacement {
  0% {
    content: "SERVECES";
  }
  50% {
    content: "SOLUTIONS";
  }
  100% {
    content: "TEMPLATE";
  }
}

.para {
  font-size: 18px;
  color: var(--secondry2-color);
  text-align: center !important;
}

.btn {
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--white);
  margin: 0 auto;
  letter-spacing: 1px;
}
.btn:hover {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}
.container {
  margin-top: 60px;
  margin-bottom: 60px;
}
.image-container {
  overflow: hidden;
}
.img {
  transition: all 0.5s ease-in-out;
}
.img:hover {
  transform: scale(1.1);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hexagon-icon {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 70px;
}

.hexagon-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.hexagon-icon i {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
}
.row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.heading {
  color: var(--secondry3-color);
}

.service-card {
  grid-template-columns: repeat(3, 1fr);
}

.btn-2 {
  background-color: var(--primary-color);
}
.btn-2 a {
  color: var(--white);
}

.content1 {
  grid-template-columns: 1fr 1fr;
  /* gap: 20px; */
}
/* .services-heading{
  font-size: 35px;
} */
.active {
  color: var(--primary-color) !important;
}
.option-1 {
  background: var(--primary-color);
  border: 2px solid black;
  padding: 10px 12px;
}
.head2 {
  color: var(--secondry3-color);
}
.head2:hover {
  color: var(--primary-color);
}
.num {
  color: var(--white);
}
.business-services {
  color: var(--secondry3-color);
}

.business-services:hover {
  color: var(--primary-color);
}
.progress-bar-1 {
  width: 100%;
  background-color: var(--primary-color);
}
.progress-bar-2 {
  width: 76%;
  background-color: var(--primary-color);
}
.progress-bar-3 {
  width: 90%;
  background-color: var(--primary-color);
}

.testimonial {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-text {
  color: var(--secondry-color);
}
.testimonial-card {
  padding: 15px;
  text-align: center;
}

.testimonial-image {
  width: 150px;
  height: 150px;
  margin: auto;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-content {
  max-width: 300px;
  margin: auto;
}

.testimonial-content p {
  font-size: 15px;
  line-height: 1.6;
  margin-top: 20px !important;
}

.testimonial-content strong {
  font-size: 16px;
}

.callme {
  background-color: #153e52;
  padding: 30px;
}
.callus {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.white1 {
  color: var(--white1);
}
.input {
  height: 40px;
  padding-left: 10px;
  border: none;
  outline: none;
  border-radius: 5px;
}

.input:focus {
  border: 1px solid var(--primary-color);
  outline: none;
  box-shadow: 0 0 5px var(--primary-color);
}
.input-bg {
  background-color: #2a5d77;
}
.input::placeholder,
.option {
  color: var(--white1);
}
.callme-btn:hover {
  border: 2px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color);
}

.project-filter a {
  padding: 8px 10px;
  color: grey;
  background: #f1f1f0;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}
.project-filter a:hover {
  color: var(--white);
  background: var(--primary-color);
  font-weight: bold;
}
.project-btn-group .project-filter:first-child a {
  color: var(--white);
  background-color: var(--primary-color);
}

.project-grid {
  grid-template-columns: repeat(4, 1fr);
}

.project-card {
  text-align: center;
  /* width: 330px; */
  height: 250px;
  position: relative;
  overflow: hidden;
  background-color: red;
}

.project-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 0px;
  height: 0px;
  top: 50%;
  left: 50%;
}

.project-card:hover::before {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.project-card img {
  width: 100%;
  height: 100%;
  transition: all 0.7s ease-in-out;
}

.project-card:hover img {
  transform: scale(1.2);
}

.project-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.project-title h5 {
  position: absolute;
  top: 50%;
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */
  color: rgb(214, 214, 214);
  transition: all 4s ease-in-out;
  display: none;
  text-align: center;
  font-size: 22px;
}

.project-card:hover .project-title h5 {
  display: block;
  z-index: 2;
}

.team-members {
  margin-top: 20px;
}

.team-card {
  padding: 10px;
  text-align: center;
}

.team-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s ease-in-out;
}

.team-card img:hover {
  transform: scale(1.05);
}

.team-info p {
  font-size: 16px;
  color: var(--secondry-color);
}

.team-info h5 {
  font-size: 18px;
}

.team-social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-social-icons a,
.social-item a {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background-color: var(--primary-color);
  clip-path: polygon(
    30% 0%,
    70% 0%,
    100% 30%,
    100% 70%,
    70% 100%,
    30% 100%,
    0% 70%,
    0% 30%
  );
  text-decoration: none;
  transition: all 0.3s ease;
}

.team-social-icons a:hover {
  background-color: var(--white);
  color: var(--primary-color);
}
.about-stats{
  gap: 35px;
}
.counter-value {
  font-size: 50px;
}

.social-item a:hover {
  background-color: var(--white);
  color: var(--primary-color);
}
/* Contact Section */

#contact .contact-details,
#contact .contact-form-wrapper {
  min-width: 0;
}

#contact .contact-description {
  line-height: 1.8;
  margin: 20px 0;
}

#contact .contact-address {
  /* line-height: 1.8; */
  /* overflow-wrap: anywhere; */
}

#contact .contact-info {
  align-items: center;
}

#contact .contact-item {
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

#contact .social-links {
  align-items: center;
}

#contact .social-item {
  flex-shrink: 0;
}

#contact .contact-form {
  width: 100%;
}
 .input1 {
  height: 40px;
  padding-left: 10px;
  border: 1px solid var(--primary-color);
  outline: none;
  border-radius: 5px;
}
.textarea {
  padding-left: 10px;
  border: 1px solid var(--primary-color);
  outline: none;
  border-radius: 5px;
}

.input1:focus,
.textarea:focus {
  border: 2px solid var(--primary-color);
  outline: none;
  box-shadow: 0 0 5px var(--primary-color);
}

.input1::placeholder,
.textarea::placeholder {
  color: var(--p-color);
}

/* #contact .textarea {
  resize: vertical;
} */

#contact .privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#contact .privacy-checkbox input {
  margin-top: 5px;
  flex-shrink: 0;
}

#contact .privacy-checkbox label {
  line-height: 1.6;
  overflow-wrap: anywhere;
}

input[type="checkbox"] {
  accent-color: var(--primary-color);
}

.privacy-checkbox input[type="checkbox"]:checked {
    background-color: #14bf98;
    border-color: #14bf98;
    color: white;
}
.contact-submit-button {
  height: 40px;
  border-radius: 5px;
  border: none;
  background-color: var(--primary-color);
  color: var(--white);
}
.contact-submit-button:hover {
  border: 2px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color);
}
/* #contact .contact-submit-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
} */
.footer {
  background-color: #153e52;
  overflow-y: hidden;
}
.footer-links {
  gap: 30px;
}
.footer-link-group a,
.footer-tools a,
.footer-partners a {
  color: var(--white1);
}
.footer-link-group a:hover,
.footer-tools a:hover,
.footer-partners a:hover {
  color: var(--primary-color);
}
