@import url("https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

/* Color */
:root {
  --bacground-color: #0f172a;
  --primary-color: #22c55e;
  --text-color: #ffffff;
  --secondary-text: #94a3b8;
  --card-bg: #070d1e;
  --border-color: #ffffff14;
  --transparent-bg: linear-gradient(45deg, #ffffff14, #22c55e30);
}

body {
  background-color: var(--bacground-color);
  font-family: "Alegreya Sans", sans-serif;
  color: var(--text-color);
  font-size: 16px;
}

.container {
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
}

a {
  text-decoration: none;
}
ul,
li {
  list-style: none;
}

/* ------------------------Header Style Start ------------------------- */
#header {
  background:
    radial-gradient(#22c55e36, #0f172a00, #0f172a00),
    linear-gradient(135deg, #0f172a, #020617);
  padding: 16px 0;
  position: relative;
}

.header-area .row {
  background: linear-gradient(45deg, #ffffff14, #22c55e30);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border: 1px solid #ffffff14;
  border-radius: 200px;
}
.header-logo {
  width: 120px;
}
.header-logo img {
  max-width: 100%;
}
.navigation nav {
  display: flex;
  align-items: center;
}
.navigation nav ul {
  display: flex;
}
.navigation nav ul li a {
  color: var(--text-color);
  margin: 0 10px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s ease;
}
.navigation nav ul li a:hover {
  color: var(--primary-color);
}
.navigation .header-start-project-btn {
  background: var(--primary-color);
  outline: none;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 500;
  margin-left: 20px;
  color: var(--card-bg);
  cursor: pointer;
  border: 1px solid var(--primary-color);
  transition: all 0.3s ease;
  font-size: 16px;
}
.navigation .header-start-project-btn:hover {
  background: transparent;
  color: var(--primary-color);
}

/* Mobile Menu toggle button */
#toggle-btn {
  display: none;
}
.slider-menu-close {
  display: none;
}

/* ------------------------Header Style End ------------------------- */

/* ----------------------Hero area Style End ---------------------- */
#hero-area {
  padding: 80px 0;
}
#hero-area .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* hero left side text */
#hero-area .row .hero-left {
  flex-basis: 60%;
}
#hero-area .row .hero-heading h1 {
  font-size: 56px;
  font-weight: 700;
}
#hero-area .row .hero-heading h1 span {
  color: var(--primary-color);
}
#hero-area .row .hero-sub-heading h3 {
  font-weight: 400;
  font-size: 28px;
  margin: 20px 0;
  line-height: 1.2;
  color: #ffffffbb;
}
#hero-area .row .hero-sub-heading p {
  font-size: 16px;
  color: var(--secondary-text);
  font-weight: 500;
}
#hero-area .row .hero-sub-heading p span {
  margin-right: 10px;
}
#hero-area .row .hero-sub-heading p i {
  color: var(--primary-color);
  font-size: 5px;
  margin-right: 4px;
}

#hero-area .row .hero-cta a {
  /* color: var(--text-color); */
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 20px;
  border: 1px solid var(--primary-color);
  margin-top: 30px;
  font-weight: 500;
}
#hero-area .row .hero-cta a:nth-child(1) {
  background: var(--primary-color);
  transition: all 0.3s ease;
  color: var(--card-bg);
}
#hero-area .row .hero-cta a:nth-child(1):hover {
  background: transparent;
  transform: translateY(-2px);
  color: var(--primary-color);
}
#hero-area .row .hero-cta a:nth-child(2) {
  background: transparent;
  margin-left: 20px;
  transition: all 0.3s ease;
  color: var(--primary-color);
}
#hero-area .row .hero-cta a:nth-child(2):hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  color: var(--card-bg);
}

/* hero right size image and icons */
#hero-area .row .hero-right {
  flex-basis: 40%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
}
#hero-area .row .hero-img {
  width: 250px;
}
#hero-area .row .hero-img img {
  max-width: 100%;
  border-radius: 120px;
  border: 2px solid var(--primary-color);
  animation: hero-image-animate 3s ease-in-out infinite;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

#hero-area .hero-contact .hero-icons {
  display: flex;
  flex-direction: column;
}
#hero-area .hero-contact .hero-icons a {
  background: var(--transparent-bg);
  padding: 9px 8px 6px 8px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  margin: 5px 0;
  font-size: 18px;
  transition: all 0.3s ease;
}
#hero-area .hero-contact .hero-icons a i {
  color: var(--text-color);
  transition: all 0.3s ease;
}
#hero-area .hero-contact .hero-icons a:hover i {
  color: var(--primary-color);
}
#hero-area .hero-contact .hero-icons a:hover {
  transform: translateY(-2px);
}

@keyframes hero-image-animate {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0px);
  }
}
/* ----------------------Hero area Style End --------------------- */

/* ---------------------Skills Area style start-------------------- */
#skills {
  padding: 80px 0;
}
.sec-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}
.sec-title {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sec-title h2 {
  font-size: 28px;
  margin-bottom: 8px;
  position: relative;
}
.sec-title i {
  color: var(--primary-color);
  margin-bottom: 5px;
  margin-left: 10px;
  margin-right: 10px;
}
.sec-title-wrap p {
  color: var(--secondary-text);
  font-size: 16px;
  text-align: center;
}

/* skill card design */
#skills .card-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
#skills .skill-card {
  /* background: var(--card-bg); */
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: ease-in all 0.3s;
}
#skills .skill-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-8px);
}
#skills .skill-card i {
  padding: 20px;
  font-size: 16px;
  background: var(--transparent-bg);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  margin-bottom: 20px;
  color: var(--primary-color);
}
#skills .skill-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  border-left: 3px solid var(--primary-color);
  padding-left: 8px;
  line-height: 1;
}
#skills .skill-card ul li {
  list-style-position: inside;
  margin-bottom: 5px;
}
#skills .skill-card ul li::before {
  content: "⇒";
  padding-right: 10px;
  color: var(--primary-color);
}

/* ---------------------Skills Area style end ---------------------- */

/* --------------------Projects area style start ------------------ */
#projects {
  background: var(--card-bg);
  padding: 80px 0;
}
.project-card-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  transition: ease-in all 0.3s;
  border-radius: 10px;
  overflow: hidden;
}
.project-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-8px);
}
.project-image {
  overflow: hidden;
}
.project-image img {
  width: 100%;
  max-width: 100%;
  display: block;
}

.project-description {
  padding: 20px;
}
.project-description h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  border-left: 3px solid var(--primary-color);
  padding-left: 8px;
  line-height: 1;
}
.project-description p {
  color: var(--secondary-text);
}
.project-tech {
  padding: 10px 20px;
}
.project-tech p {
  color: var(--primary-color);
}
.project-button {
  padding: 10px 20px;
}
.project-button a {
  display: inline-block;
  padding: 6px 20px;
  /* color: var(--text-color); */
  color: var(--card-bg);
  border: 1px solid var(--primary-color);
  background-color: var(--primary-color);
  border-radius: 50px;
  transition: ease-in all 0.3s;
  margin-bottom: 30px;
  font-weight: 500;
}
.project-button a:hover {
  background: transparent;
  color: var(--primary-color);
}
/* --------------------Projects area style end ------------------ */

/*------------------- Process area style start ------------------ */
#process {
  padding: 80px 0;
}
#process .process-wrapper {
  padding-top: 30px;
}
#process .process-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  position: relative;
}
#process .process-details::before {
  content: "";
  position: absolute;
  top: -23px;
  left: 15%;
  width: 70%;
  height: 3px;
  background: #22c55e;
}
#process .process-card {
  /* background: rgba(255, 255, 255, 0.03); */
  /* padding: 25px; */
  /* border-radius: 10px; */
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#process .process-card::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: #22c55e;
  border-radius: 50%;
}
#process .process-icon {
  width: 50px;
  height: 50px;
  font-size: 16px;
  background: var(--transparent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  margin-bottom: 16px;
}
#process .process-icon i {
  color: var(--primary-color);
}
#process .process-title h4 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}
#process .process-description p {
  color: var(--secondary-text);
}
/*------------------- Process area style end ------------------ */

/*------------------- About me area style start ------------------ */
#about {
  padding: 80px 0;
  background: var(--card-bg);
}
#about .row {
  display: flex;
  gap: 30px;
}

#about .row .about-image {
  width: 400px;
}
#about .row .about-image img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
  filter: grayscale(100%);
  transition: ease-in all 0.5s;
}
#about .row .about-image img:hover {
  filter: grayscale(0%);
}
#about .about-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
#about .about-heading i {
  color: var(--primary-color);
  margin-bottom: 5px;
}
#about .about-heading h2 {
  font-size: 28px;
  margin-bottom: 8px;
  position: relative;
}
#about .about-description p {
  color: var(--secondary-text);
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}
#about .about-cta {
  margin-top: 20px;
  position: relative;
  padding-top: 20px;
}
#about .about-cta::before {
  content: "";
  width: 50%;
  background: var(--primary-color);
  height: 1px;
  top: 0;
  left: 0;
  position: absolute;
}
#about .about-cta p {
  color: var(--primary-color);
}
#about .about-cta a {
  display: inline-block;
  padding: 8px 30px;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: var(--card-bg);
  transition: ease-in all 0.3s;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
}
#about .about-cta a:hover {
  background: transparent;
  color: var(--primary-color);
}

/* -------------Contact Area Style start----------------- */
#contact {
  padding: 80px 0;
}
#contact .contact-info {
  text-align: center;
}
#contact .contact-email {
  display: flex;
  align-items: center;
  justify-content: center;
}
#contact .contact-email p {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 20px;
  font-style: italic;
}
#contact .contact-email a {
  color: var(--text-color);
  transition: ease-in all 0.3s;
  display: inline-block;
}

#contact .contact-email a:hover {
  color: var(--primary-color);
}
#contact .contact-button {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
#contact .contact-button a {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--primary-color);
  color: var(--card-bg);
  transition: ease-in all 0.3s;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
}
#contact .contact-button a:nth-child(1) {
  background: var(--primary-color);
  transition: ease-in all 0.3s;
}
#contact .contact-button a:nth-child(1):hover {
  background: transparent;
  color: var(--primary-color);
}
#contact .contact-button a:nth-child(2) {
  background: transparent;
  transition: ease-in all 0.3s;
  color: var(--primary-color);
}
#contact .contact-button a:nth-child(2):hover {
  background: var(--primary-color);
  color: var(--card-bg);
}

/* -------------Contact Area Style end----------------- */

/* -------------Footer Area Style start----------------- */
#footer {
  padding: 40px 0;
  background: var(--card-bg);
}
#footer .footer-logo {
  text-align: center;
}
#footer .footer-logo img {
  width: 120px;
}
#footer .footer-text {
  text-align: center;
  color: var(--secondary-text);
  padding: 5px 0;
}
#footer .copyright-and-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}
#footer .copyright-and-social .footer-social {
  order: 2;
  display: flex;
}
#footer .copyright-and-social .footer-social p a {
  margin: 0 5px;
  font-size: 20px;
  transition: all 0.3s ease;
  color: var(--text-color);
  transition: ease-in all 0.3s;
}
#footer .copyright-and-social .footer-social p a:hover {
  color: var(--primary-color);
}

#footer .copyright-and-social .copyright-area {
  order: 1;
}
#footer .copyright-and-social .copyright-area a {
  color: var(--primary-color);
}

#scroll-to-top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: var(--primary-color);
  color: var(--text-color);
  border: 0;
  outline: 0;
  padding: 10px;
  border-radius: 50px;
  width: 30px;
  height: 30px;
  display: none;
  align-content: center;
  justify-content: center;
  cursor: pointer;
  transition: ease-in all 0.3s;
}
#scroll-to-top:hover {
  background: var(--text-color);
  color: var(--primary-color);
}
/* -------------Footer Area Style end----------------- */

/*------------------- About me area style end ------------------ */
@media screen and (max-width: 1080px) {
  #about .row .about-image {
    width: 500px;
  }
}
@media screen and (max-width: 992px) {
  /*------------------ Header Area responsive --------------- */

  #toggle-btn {
    display: block;
    cursor: pointer;
  }
  .slider-menu-close {
    display: block;
    text-align: right;
    margin-top: 20px;
    margin-right: 20px;
    cursor: pointer;
  }
  #nav-area {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    background:
      radial-gradient(#22c55e36, #0f172a00, #0f172a00),
      linear-gradient(135deg, #0f172a, #020617);
    width: 250px;
    height: 100%;
    z-index: 99999;
  }
  #nav-area nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 20px;
  }
  #nav-area ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 80%;
  }
  #nav-area ul li {
    width: 100%;
  }
  #nav-area ul li a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    transition: ease-in all 0.3s;
    border-radius: 50px;
  }
  #nav-area ul li a:hover {
    background: var(--primary-color);
    color: var(--card-bg) !important;
  }
  #nav-area.menuClose {
    display: none;
  }
  #nav-area.menuShow {
    display: block;
  }
  /*------------------ Header Area responsive --------------- */

  /* ------------Hero Area Responsive----------------- */
  #hero-area .row .hero-heading h1 {
    font-size: 40px;
  }
  #hero-area .row .hero-sub-heading h3 {
    font-size: 20px;
  }
  #hero-area .row .hero-img {
    width: 200px;
  }
  /* ------------Hero Area Responsive----------------- */

  /* ---------------Skill area Responsive-------------- */
  #skills .card-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /*------------- About me area responsive------------------ */
  #about .row .about-image {
    width: 650px;
  }

  /* ------------Contact area responsive ---------------- */
  #contact .contact-email p {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 20px;
    font-style: italic;
  }
}

@media screen and (max-width: 920px) {
  #about .row .about-image {
    width: 900px;
  }
}

@media screen and (max-width: 768px) {
  /* ------------Hero Area Responsive----------------- */
  #hero-area {
    padding: 40px 0;
  }
  #hero-area .row {
    flex-direction: column;
  }
  #hero-area .row .hero-heading h1 {
    font-size: 40px;
    text-align: center;
  }
  #hero-area .row .hero-sub-heading h3 {
    font-size: 16px;
    text-align: center;
  }
  #hero-area .row .hero-sub-heading p {
    font-size: 14px;
    text-align: center;
  }
  #hero-area .hero-cta {
    text-align: center;
    margin-bottom: 40px;
  }
  #hero-area .row .hero-cta a {
    color: var(--text-color);
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 16px;
    border: 1px solid var(--primary-color);
    margin-top: 30px;
    font-weight: 500;
  }
  #hero-area .row .hero-left {
    flex-basis: 100%;
  }
  #hero-area .row .hero-right {
    flex-basis: 100%;
  }

  /* ------------Hero Area Responsive----------------- */

  /* ------------Skills Area Responsive -------------- */
  #skills {
    padding: 60px 0;
  }

  /* ---------- Project Area Responsive --------------- */
  #projects {
    background: var(--card-bg);
    padding: 60px 0;
  }
  .project-card-wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  /*--------------------- Process Area responsive--------------- */
  #process {
    padding: 60px 0;
  }
  #process .process-details {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    position: relative;
  }
  #process .process-details::before {
    display: none;
  }
  #process .process-card {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    transition: ease-in all 0.3s;
    border-radius: 10px;
  }
  #process .process-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
  }
  #process .process-card::before {
    display: none;
  }
  /* ----------------About me responsive --------------- */
  #about {
    padding: 60px 0;
  }
  #about .row {
    display: flex;
    flex-direction: column;
  }
  #about .row .about-image {
    width: 100%;
  }
  #about .about-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  #about .about-description p {
    text-align: center;
  }
  #about .about-cta {
    text-align: center;
    padding-top: 0;
  }
  #about .about-cta::before {
    display: none;
  }

  /* -----------Contact area responsive------------------ */
  #contact {
    padding: 60px 0;
  }
  /* ------------Contact area responsive ---------------- */
  #contact .contact-email p {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    font-style: italic;
  }
}
@media screen and (max-width: 576px) {
  /* Hero area button responsive */
  #hero-area .row .hero-heading h1 {
    font-size: 30px;
    text-align: center;
  }

  #hero-area .row .hero-cta a {
    padding: 6px 14px;
    font-size: 14px;
  }

  #hero-area .row .hero-cta a:nth-child(2) {
    background: transparent;
    margin-left: 10px;
    transition: all 0.3s ease;
    color: var(--primary-color);
  }

  /* ----------Contact area responsive ---------------- */

  #contact .contact-email p {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    font-style: italic;
  }

  #contact .contact-button {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }
  #contact .contact-button a {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--primary-color);
    color: var(--card-bg);
    transition: ease-in all 0.3s;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
  }

  /* --------------Footer area responsive ----------------- */

  #footer .copyright-and-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    flex-direction: column;
    gap: 10px;
  }

  #footer .copyright-and-social .footer-social {
    order: 1;
    display: flex;
  }
  #footer .copyright-and-social .copyright-area {
    order: 2;
  }
  #footer .copyright-and-social .footer-social p a {
    margin: 0 2px;
    font-size: 20px;
    transition: all 0.3s ease;
    color: var(--text-color);
    transition: ease-in all 0.3s;
  }
}
