* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  padding: 20px 100px;
  background-color: rgba(0, 0, 0, 0.4);
  top: 0;
  z-index: 1000;
}

.nav-button button {
  font-weight: bold;
  font-size: 25px;
  border: none;
  background: none;
  cursor: pointer;
  color: #fcfafa;
}

.nav-lists {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-lists li a {
  text-decoration: none;
  color: azure;
  font-weight: bold;
  transition: 0.3s;
}

.nav-lists li a:hover {
  color: rgb(77, 72, 66);
}

header {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(images/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: aliceblue;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header-box h1 {
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 30px;
}

@keyframes typing {
  0% {
    content: " l";
  }

  2% {
    content: " la";
  }

  4% {
    content: " lar";
  }

  6% {
    content: " larry";
  }

  8% {
    content: " larry d";
  }

  10% {
    content: " larry da";
  }

  12% {
    content: " larry dan";
  }

  14% {
    content: " larry dani";
  }

  16% {
    content: " larry danie";
  }

  18% {
    content: " larry daniel";
  }

  20% {
    content: " larry daniels";
  }

  22% {
    content: " larry daniel";
  }

  23% {
    content: " larry danie";
  }

  24% {
    content: " larry dani";
  }

  25% {
    content: " larry dan";
  }

  26% {
    content: " larry da";
  }

  27% {
    content: " larry da";
  }

  28% {
    content: " larry d";
  }

  29% {
    content: " larry";
  }

  30% {
    content: " larr";
  }

  31% {
    content: " lar";
  }

  32% {
    content: " la";
  }

  33% {
    content: " l";
  }

  36% {
    content: " ";
  }

  38% {
    content: " d ";
  }

  40% {
    content: " de";
  }

  42% {
    content: " dev";
  }

  44% {
    content: " deve";
  }

  46% {
    content: " devel";
  }

  68% {
    content: " develo";
  }

  50% {
    content: " develop";
  }

  52% {
    content: " develope";
  }

  54% {
    content: " developer";
  }

  55% {
    content: " develope";
  }

  56% {
    content: " develop";
  }

  57% {
    content: " develo";
  }

  58% {
    content: " devel";
  }

  59% {
    content: " deve";
  }

  60% {
    content: " dev";
  }

  61% {
    content: " de";
  }

  62% {
    content: " d";
  }

  63% {
    content: " ";
  }

  65% {
    content: " d";
  }

  68% {
    content: " de";
  }

  71% {
    content: " des";
  }

  74% {
    content: " desi";
  }

  77% {
    content: " desig";
  }

  80% {
    content: " design";
  }

  83% {
    content: " designe";
  }

  86% {
    content: " designer";
  }

  87% {
    content: " designe";
  }

  88% {
    content: " design";
  }

  89% {
    content: " desig";
  }

  90% {
    content: " desi";
  }

  91% {
    content: " des";
  }

  92% {
    content: " de";
  }

  93% {
    content: " d";
  }

  94% {
    content: " ";
  }
}

.header-box p::after {
  content: " ";
  text-transform: capitalize;
  animation: 8s ease 0s infinite normal none running typing;
}

.header-box p {
  font-weight: lighter;
  font-size: 40px;
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  text-decoration: none;
  color: white;
  width: 40px;
  height: 40px;
  background-color: rgba(70, 91, 154, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 18px;
  transition: 0.3s ease;
}

.social-links a:hover {
  background-color: #1922d7;
  transform: translateY(-5px);
}

.about {
  display: flex;
  justify-content: center;
  margin: 60px;
}

.about-text {
  margin: 20px;
}

.about-text h1 {
  font-size: 40px;
  font-weight: bold;
}

.about-text span {
  font-size: 15;
  color: darkgray;
}

.about-text p {
  font-size: 15px;
  color: rgb(125, 124, 124);
  padding: 15px 0;
  line-height: 30px;
}

.skills-container {
  width: 100%;
  margin-top: 25px;
}

.skill-item {
  margin-bottom: 25px;
  position: relative;
}

.skill-label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  color: rgb(249, 247, 247);
  font-size: 15px;
  z-index: 1;
  pointer-events: none;
  border-radius: 10px;
}

progress {
  width: 100%;
  height: 30px;
  display: block;
  appearance: none;
  border: none;
  background: #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

progress::-webkit-progress-bar {
  background: #f0f0f0;
  border-radius: 0 0 5px 5px;
}

progress::-webkit-progress-value {
  background: #1c1c1c;
  border-radius: 0 0 0 5px;
}

progress::-moz-progress-bar {
  background: #1c1c1c;
  border-radius: 0 0 0 5px;
}

.about-buttons {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  padding: 10px 22px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  transition: 0.3s ease;
  border: 1px solid #1c1c1c;
}

.btn-black {
  background: #000;
  color: #fff;
}

.btn-white {
  background: #fff;
  color: #000;
}

.btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.btn-black:hover {
  background-color: #f0f0f0;
  color: #000;
}

.btn-white:hover {
  background-color: #000;
  color: #fff;
}

.services {
  padding: 80px 0;
  background-color: #f7f7f7;
  text-align: center;
}

.section-title {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 10%;
}

.service-card {
  background: #fff;
  padding: 40px 20px;
  border-radius: 5px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.icon-box {
  width: 70px;
  height: 70px;
  background: #f4f4f4;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 25px;
  color: #1c1c1c;
  transition: 0.3s;
}

.icon-box:hover {
  background-color: #000;
  color: #f7f7f7;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

.portfolio {
  padding: 100px 0;
  text-align: center;
  background-color: #fff;
}

.portfolio .nav {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-bottom: 40px;
  gap: 30px;
}

.portfolio .nav-link {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  padding: 5px 0;
  transition: 0.3s;
  position: relative;
}

.portfolio .nav-link:hover {
  color: #1c1c1c;
}

.portfolio .nav-link.active {
  color: #1c1c1c;
}

.portfolio .nav-link.active::after {
  content: "";
  width: 100%;
  height: 2px;
  background: #1c1c1c;
  position: absolute;
  bottom: 0;
  left: 0;
}

.portfolio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 30px 3px;
}

.Portfolio-img {
  width: 400px;
  height: 350px;
  border-radius: 10px;
  position: relative;
  display: block;
}

.Portfolio-img1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  position: relative;
  display: block;
}

.Portfolio-img.hide {
  display: none;
}

.over-lay {
  position: absolute;
  bottom: 4px;
  left: 18px;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  width: 90%;
  height: 96%;
  transition: 0.5s ease;
  text-align: center;
  transform: scale(0);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 4px;
}

.Portfolio-img:hover .over-lay {
  transform: scale(1);
}

.item-icon {
  display: flex;
  justify-content: space-between;
  width: 30%;
  align-items: center;
  margin-top: 10px;
}

.portfolio-icon a {
  background-color: black;
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
}

.testimonials {
  padding: 100px 0;
  text-align: center;
  background: #f7f7f7;
}

.client-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 25px;
}

.testimonial-text {
  max-width: 800px;
  margin: 0 auto 25px;
  color: #777;
  line-height: 1.8;
}

.client-name {
  font-weight: 800;
  margin-bottom: 5px;
}

.client-role {
  color: #888;
  font-size: 13px;
  display: block;
  margin-bottom: 20px;
}

.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
  margin: 0 5px;
}

.dots span.active {
  background: #1c1c1c;
}

.stats {
  padding: 80px 10%;
  background: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item i {
  font-size: 35px;
  margin-bottom: 15px;
  color: #1c1c1c;
}

.stat-item h3 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 5px;
}

.stat-item p {
  color: #777;
  font-weight: 600;
}

.contact {
  padding: 100px 0;
  background: #fff;
  text-align: center;
}

.contact-info {
  display: flex;
  justify-content: space-around;
  margin-bottom: 60px;
  padding: 0 10%;
}

.info-item h4 {
  margin: 15px 0 10px;
  font-size: 18px;
  font-weight: 800;
}

.info-item p {
  color: #777;
  font-size: 14px;
}

.icon-circle {
  width: 60px;
  height: 60px;
  background: #f4f4f4;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  font-size: 20px;
  transition: 0.3s;
}

.info-item:hover .icon-circle {
  background: #1c1c1c;
  color: #fff;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background: #f4f4f4;
  border: none;
  border-radius: 5px;
  outline: none;
  font-family: inherit;
}

.submit-btn {
  display: inline-block;
  padding: 12px 40px;
  background: #1c1c1c;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #000;
  transform: translateY(-3px);
}

.main-footer {
  background-color: #1c1c1c;
  padding: 30px 0;
  text-align: center;
}

.main-footer p {
  color: #747474;
  font-size: 13px;
  word-spacing: 2px;
}

.team-section {
  padding: 80px 0;
  text-align: center;
  background: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 10%;
}

.team-card {
  background: #1c1d32;
  overflow: hidden;
  border-radius: 5px;
}

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

.team-img-container img {
  width: 100%;
  display: block;
  transition: 0.5s;
}

.team-overlay {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.5s ease;
  transform: scale(0.8);
}

.team-card:hover .team-overlay {
  opacity: 1;
  transform: scale(1);
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #fff;
  color: #000;
  border: 1px solid #000;
}

.team-info {
  padding: 20px;
  color: #fff;
}

.team-info h4 {
  margin-bottom: 5px;
  font-size: 18px;
}

.team-info span {
  font-size: 13px;
  font-weight: bold;
}

@media (max-width: 992px) {
  nav {
    padding: 15px 30px;
  }

  .about {
    flex-direction: column;
    align-items: center;
    margin: 40px 20px;
  }

  .about-img {
    margin-bottom: 30px;
    width: 100%;
    text-align: center;
  }

  .about-img img {
    max-width: 80%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 5%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-box h1 {
    font-size: 40px;
  }

  .header-box p {
    font-size: 25px;
  }

  .nav-lists {
    display: none;
  }

  .about-text h1 {
    font-size: 30px;
    text-align: center;
  }

  .about-text p {
    text-align: justify;
  }

  .about-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    text-align: center;
    width: 100%;
  }

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

  .skill-label {
    font-size: 12px;
    padding: 0 15px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-info {
    flex-direction: column;
    gap: 40px;
  }

  .form-row {
    flex-direction: column;
  }
}