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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #000;
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}
.header {
  width: 100%;
  padding: 25px 6%;
  background-color: #000;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.navbar {
  width: 100%;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.logo {
  font-size: 25px;
  font-weight: bold;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}

.nav-links a {
  font-size: 17px;
  color: #fff;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #d6a72c;
}

.menu-button {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}
.hero {
  width: 100%;
  min-height: 650px;
  margin: auto;
  padding: 60px 6%;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero-intro {
  color: #d6a72c;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.hero-content h1 {
  font-size: 75px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-content h1 span {
  color: #d6a72c;
}

.hero-content h2 {
  font-size: 30px;
  font-weight: normal;
  margin-bottom: 20px;
}

.hero-description {
  max-width: 500px;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 13px 25px;
  border-radius: 25px;
  font-size: 14px;
  transition: 0.3s;
}

.primary-btn {
  background-color: #d6a72c;
  color: #000;
}

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

.secondary-btn {
  border: 1px solid #555;
  color: #fff;
}

.secondary-btn:hover {
  border-color: #d6a72c;
  color: #d6a72c;
}
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 430px;
  height: auto;
  object-fit: contain;
}
.about {
  width: 100%;
  margin: auto;
  min-height: 700px;
  padding: 100px 6%;

  display: flex;
  align-items: center;
  gap: 80px;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}

.about-content {
  flex: 1;
}
.about-heading {
  position: relative;
  margin-bottom: 25px;
}

.about-heading span {
  display: none;
}

.about-heading h2 {
  position: relative;
  z-index: 2;

  font-size: 55px;
  line-height: 1.1;
}

.about-background {
  position: absolute;
  top: -10px;
  left: 0;

  font-size: 85px;
  font-weight: 700;

  color: #111;

  z-index: 1;
}
.about-text {
  position: relative;
  z-index: 2;

  max-width: 600px;
  color: #aaa;
  line-height: 1.8;
  margin-bottom: 30px;
}
.about-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about-details p {
  display: flex;
  align-items: center;

  color: #aaa;
}

.about-details strong {
  width: 120px;
  color: #fff;
}

.about-details span {
  color: #aaa;
}
.about-bottom {
  display: flex;
  align-items: center;
  gap: 40px;

  margin-top: 35px;
}

.about-bottom p {
  font-size: 18px;
}

.about-bottom strong {
  color: #d6a72c;
  font-size: 26px;
  margin-right: 5px;
}
.resume {
  width: 100%;
  margin: auto;
  padding: 100px 6%;
}

.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  color: #d6a72c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 50px;
  margin-bottom: 15px;
}

.section-heading > p:last-child {
  max-width: 600px;
  margin: auto;
  color: #aaa;
  line-height: 1.7;
}

.resume-container {
  max-width: 850px;
  margin: auto;

  display: flex;
  flex-direction: column;
  gap: 25px;
}

.resume-item {
  padding: 30px;

  border-left: 3px solid #d6a72c;
  background-color: #0b0b0b;
}

.resume-year {
  display: inline-block;

  color: #d6a72c;
  font-size: 14px;
  font-weight: 600;

  margin-bottom: 10px;
}

.resume-item h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.resume-item h4 {
  color: #aaa;
  font-size: 15px;
  font-weight: normal;
  margin-bottom: 15px;
}

.resume-item p {
  color: #999;
  line-height: 1.7;
}
.resume .section-heading {
  position: relative;
}

.resume .section-heading::before {
  content: "Resume";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-size: 110px;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.08;

  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

.resume .section-heading h2,
.resume .section-heading p {
  position: relative;
  z-index: 1;
}
.services {
  width: 100%;
  margin: auto;
  padding: 100px 6%;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  padding: 35px 30px;
  background-color: #0b0b0b;

  border: 1px solid #1c1c1c;

  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #d6a72c;
}

.service-number {
  display: block;

  color: #d6a72c;
  font-size: 14px;
  font-weight: 600;

  margin-bottom: 25px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.service-card p {
  color: #999;
  line-height: 1.7;
}
.services .section-heading {
  position: relative;
}

.services .section-heading::before {
  content: "Services";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-size: 110px;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.08;

  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

.services .section-heading h2,
.services .section-heading p {
  position: relative;
  z-index: 1;
}
.skills {
  width: 100%;
  margin: auto;
  padding: 100px 6%;
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.skill {
  width: 100%;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.skill-info span:first-child {
  color: #fff;
}

.skill-info span:last-child {
  color: #d6a72c;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background-color: #222;
}

.skill-progress {
  height: 100%;
  background-color: #d6a72c;
}

.html-progress {
  width: 95%;
}

.css-progress {
  width: 89%;
}

.js-progress {
  width: 79%;
}

.responsive-progress {
  width: 80%;
}
.skills .section-heading {
  position: relative;
}

.skills .section-heading::before {
  content: "Skills";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-size: 110px;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.08;

  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

.skills .section-heading h2,
.skills .section-heading p {
  position: relative;
  z-index: 1;
}
.projects {
  width: 100%;
  margin: auto;
  padding: 100px 6%;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.project-card {
  background-color: #0b0b0b;
  border: 1px solid #1c1c1c;

  overflow: hidden;

  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #d6a72c;
}

.project-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  padding: 25px;
}

.project-tech {
  color: #d6a72c;
  font-size: 12px;
  margin-bottom: 10px;
}

.project-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.project-content > p {
  color: #999;
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-link {
  color: #d6a72c;
  font-size: 14px;
}

.project-link:hover {
  color: #fff;
}
.projects .section-heading {
  position: relative;
}

.projects .section-heading::before {
  content: "Projects";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-size: 110px;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.08;

  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

.projects .section-heading h2,
.projects .section-heading p {
  position: relative;
  z-index: 1;
}
.more-projects {
  display: none;
}

.more-projects.show {
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  gap: 25px;
}

.more-projects .project-card {
  width: calc((100% - 50px) / 3);
}
.view-more-btn {
  display: block;
  margin: 40px auto 0;
  padding: 12px 25px;

  background-color: transparent;
  color: #d6a72c;

  border: 1px solid #d6a72c;
  cursor: pointer;

  font-size: 14px;
  transition: 0.3s;
  grid-column: 1 / -1;
  justify-self: center;
}

.view-more-btn:hover {
  background-color: #d6a72c;
  color: #0b0b0b;
}
.blog {
  width: 100%;
  margin: auto;
  padding: 100px 6%;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.blog-card {
  background-color: #0b0b0b;
  border: 1px solid #1c1c1c;

  padding: 30px;

  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: #d6a72c;
}

.blog-category {
  color: #d6a72c;
  font-size: 13px;
  margin-bottom: 15px;
}

.blog-content h3 {
  font-size: 21px;
  line-height: 1.4;
  margin-bottom: 15px;
}

.blog-content > p:not(.blog-category) {
  color: #999;
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-link {
  color: #d6a72c;
  font-size: 14px;
}

.blog-link:hover {
  color: #fff;
}
.blog .section-heading {
  position: relative;
}

.blog .section-heading::before {
  content: "Blog";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-size: 110px;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.08;

  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

.blog .section-heading h2,
.blog .section-heading p {
  position: relative;
  z-index: 1;
}
.blog-stats {
  width: 92%;
  max-width: 1500px;

  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 40px;

  position: relative;
  z-index: 2;

  transform: translateY(95px);
}

.stat-card {
  background-color: #191919;

  min-height: 190px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  border-radius: 6px;

  padding: 30px 20px;

  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card h3 {
  color: #d6a72c;

  font-size: 40px;

  margin-bottom: 15px;

  font-weight: 700;
}

.stat-card p {
  color: #ddd;

  font-size: 20px;

  margin: 0;
}
.freelance-section {
  min-height: 430px;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 180px 20px 80px;

  overflow: hidden;
}

.freelance-section > img {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;

  z-index: 0;
}

.freelance-section::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.35);

  z-index: 1;
}

.freelance-content {
  max-width: 850px;

  margin: 0 auto;

  position: relative;

  z-index: 2;
}

.freelance-content h2 {
  color: #fff;

  font-size: 50px;

  font-weight: 700;

  margin-bottom: 25px;

  line-height: 1.2;
}

.freelance-content h2 span {
  color: #d6a72c;
}

.freelance-content p {
  color: #ffff;

  font-size: 18px;

  line-height: 1.8;

  max-width: 800px;

  margin: 0 auto;
}
.contact {
  width: 100%;
  margin: auto;
  padding: 100px 6%;
}
.contact .section-heading {
  position: relative;
  text-align: center;
}

.contact .section-heading::before {
  content: "Contact";

  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  font-size: 110px;
  font-weight: 700;

  color: #ffffff;
  opacity: 0.08;

  white-space: nowrap;

  z-index: 0;
  pointer-events: none;
}

.contact .section-heading h2,
.contact .section-heading p {
  position: relative;
  z-index: 1;
}
.contact-details {
  width: 100%;

  margin-top: 145px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 40px;

  text-align: center;
}
.contact-detail {
  text-align: center;
}
.contact-detail-icon {
  width: 134px;
  height: 134px;

  margin: 0 auto 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background-color: #191919;

  color: #ffbd39;

  font-size: 40px;
}

.contact-detail-icon i {
  color: #ffbd39;
}
.contact-detail h3 {
  margin: 0 0 38px;

  color: #ffffff;

  font-size: 20px;
  font-weight: 700;

  line-height: 1.3;
}
.contact-detail p {
  margin: 0;

  color: #999999;

  font-size: 18px;
  line-height: 1.9;
}
.contact-detail a {
  color: #ffffff;
  text-decoration: none;
}

.contact-detail a:hover {
  color: #ffbd39;
}
.contact-form-section {
  width: 100%;
  max-width: 1100px;

  margin: 60px auto 0;

  display: grid;
  grid-template-columns: 1fr 1fr;

  min-height: 520px;
}
.contact-form-image {
  width: 100%;
  height: 100%;

  background-color: #1d1d1d;

  overflow: hidden;
}

.contact-form-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center top;
}
.contact-form-box {
  width: 100%;

  padding: 40px 50px;

  background-color: #f5f6f7;

  box-sizing: border-box;
}
.contact-form-box form {
  width: 100%;

  display: flex;
  flex-direction: column;

  gap: 16px;
}
.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  box-sizing: border-box;

  padding: 15px 14px;

  border: 1px solid #d5d9dd;

  background-color: #ffffff;

  color: #555;

  font-family: inherit;
  font-size: 16px;

  outline: none;
}
.contact-form-box textarea {
  min-height: 190px;
  resize: vertical;
}
.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
  color: #64748b;
  opacity: 1;
}
.contact-form-box input:focus,
.contact-form-box textarea:focus {
  border-color: #ffbd39;
}
.contact-form-box button {
  width: 190px;

  margin-top: 2px;

  padding: 14px 20px;

  border: none;
  border-radius: 50px;

  background-color: #ffbd39;

  color: #000;

  font-family: inherit;
  font-size: 12px;
  font-weight: 700;

  letter-spacing: 2px;

  cursor: pointer;

  transition: 0.3s ease;
}

.contact-form-box button:hover {
  background-color: #d6a72c;
}

.error {
  display: block;
  min-height: 18px;
  margin-top: 5px;

  color: #e74c3c;
  font-size: 12px;
}

.site-footer {
  width: 100%;
  padding: 100px 6% 40px;

  background-color: #000000;
  color: #ffffff;

  box-sizing: border-box;
}
.footer-container {
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.4fr;

  gap: 70px;
}
.footer-column h2 {
  margin: 0 0 60px;

  color: #ffffff;

  font-size: 24px;
  font-weight: 700;
}
.footer-about p {
  max-width: 320px;

  margin: 0;

  color: #999999;

  font-size: 17px;
  line-height: 1.9;
}
.footer-column ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-column ul li {
  margin-bottom: 22px;
}

.footer-column ul li a {
  color: #999999;

  text-decoration: none;

  font-size: 17px;

  transition: 0.3s ease;
}

.footer-column ul li a::before {
  content: "→";

  margin-right: 12px;

  color: #999999;
}

.footer-column ul li a:hover {
  color: #ffffff;
}
.footer-socials {
  display: flex;
  gap: 18px;

  margin-top: 55px;
}

.footer-socials a {
  width: 66px;
  height: 66px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background-color: #191919;

  color: #999999;

  font-size: 24px;

  text-decoration: none;

  transition: 0.3s ease;
}

.footer-socials a:hover {
  background-color: #ffbd39;
  color: #000000;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;

  gap: 22px;

  margin-bottom: 28px;
}

.footer-contact-item i {
  width: 30px;

  padding-top: 5px;

  color: #999999;

  font-size: 18px;
}

.footer-contact-item p,
.footer-contact-item a {
  margin: 0;

  color: #999999;

  font-size: 17px;
  line-height: 1.8;

  text-decoration: none;
}

.footer-contact-item a:hover {
  color: #ffffff;
}
.footer-bottom {
  width: 100%;
  max-width: 1200px;

  margin: 100px auto 0;

  text-align: center;
}

.footer-bottom p {
  margin: 0;

  color: #999999;

  font-size: 16px;
  line-height: 1.8;
}

.footer-bottom i {
  color: #999999;
}
@media (max-width: 900px) {
  .header {
    padding: 20px 5%;
  }

  .nav-links {
    gap: 15px;
  }

  .hero {
    padding: 60px 5%;
    gap: 30px;
  }

  .hero-content h1 {
    font-size: 50px;
  }

  .about {
    padding: 80px 5%;
    gap: 40px;
  }

  .about-heading h2 {
    font-size: 45px;
  }

  .services,
  .skills,
  .projects,
  .blog,
  .contact,
  .resume {
    padding-left: 5%;
    padding-right: 5%;
  }

  .services-container,
  .projects-container,
  .blog-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .header {
    padding: 18px 6%;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-button {
    display: block;
  }
  .hero {
    min-height: auto;
    padding: 70px 6%;

    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    width: 100%;
  }

  .hero-content h1 {
    font-size: 45px;
  }

  .hero-content h2 {
    font-size: 24px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-image {
    width: 100%;
  }

  .hero-image img {
    max-width: 300px;
  }
  .about {
    padding: 80px 6%;
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 300px;
  }

  .about-heading h2 {
    font-size: 40px;
  }

  .about-background {
    font-size: 65px;
    left: 50%;
    transform: translateX(-50%);
  }

  .about-text {
    margin-left: auto;
    margin-right: auto;
  }

  .about-details {
    text-align: left;
  }

  .about-bottom {
    justify-content: center;
    flex-wrap: wrap;
  }
  .section-heading h2 {
    font-size: 40px;
  }
  .services-container {
    grid-template-columns: 1fr;
  }
  .projects-container {
    grid-template-columns: 1fr;
  }
  .blog-container {
    grid-template-columns: 1fr;
  }
}
button.btn.primary-btn {
  border: none;
  outline: none;
}
