@import url(https://fonts.googleapis.com/css?family=Montserrat);
@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@1,800&display=swap');

:root {
  --main-bg-color: #6070ff;
  --title-color: #172b4d;
  --sub-title-color: #344563;
  --media-color: #7f8cff;
  --main-font-family: "Poppins", sans-serif;
  --background: #f7f7f9;
}

* {
  padding: 0;
  margin: 0;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #fff;
}

body {
  font-family: var(--main-font-family);
}



/* Modal Section Start */
.overlay {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: 2000ms ease-in-out;
  background: #c1c7d0;
  mix-blend-mode: multiply;
}

.modal {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  transition: 2000ms ease-in-out;
  top: 0;
  bottom: 0;
  z-index: 10;
}

.overlay.active {
  display: block;
}

.modal.active {
  display: block;
}

.modal-container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 12px;
  position: absolute;
  width: 343px;
  height: auto;
  left: calc(46% - 343px / 2);
  top: 28px;
  background: linear-gradient(to right, #f3e7e9, #e3eeff);
  border: 1px solid #dfe1e6;
  border-radius: 16px;
}

.modal-container .modal-header {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.modal-container .modal-title {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  color: #172b4d;
}

.btn-close {
  width: 24px;
  height: 24px;
  font-size: 30px;
  color: #67798e;
  cursor: pointer;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.header-list ul {
  width: 100%;
  display: flex;
  gap: 10px;
}

.circle-dot {
  width: 8px;
  height: 8px;
  background: #c1c7d0;
  border-radius: 5px;
  margin-top: 5px;
}

.modal-img {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  background-position: center;
}

.modal-desc {
  width: 100%;
  height: auto;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #344563;
}

li {
  list-style: none;
}

.list-popup li {
  margin-top: 20px;
}

.skill-list li {
  background: var(--background);
  border-radius: 8px;
  padding: 9px 0 9.72px 12px;
}

.modal-tech-list ul {
  display: grid;
  grid-template-columns: repeat(3, 97px);
  gap: 10px;
  align-items: flex-start;
  padding: 0;
  margin-bottom: 1.5rem;
}

.footer-list hr {
  margin: 20px;
}

.desc-nav li {
  display: flex;
  text-align: right;
  justify-content: end;
  flex-direction: column;
  margin: 0 10px;
  margin-top: 40px;
}

.modal-tech-list ul li {
  background: #ebebff;
  padding: 5px;
  border-radius: 8px;
}

button {
  border-color: #7f8cff;
  color: #7f8cff;
  font-size: 17px;
  border-radius: 5px;
  background-color: white;
  padding: 10px;
  width: fit-content;
  transition: all 0.5s ease-out;
}

.modal-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.modal-buttons button {
  height: 100%;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
}

.see-live {
  border: 1px solid #6070ff;
  padding: 10px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  color: #6070ff;
}

.icon {
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
}

/* Modal Section End */

/* popup window start */

.window {
  display: none;
  background-color: #6070ff;
  backdrop-filter: blur(8px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  mix-blend-mode: multiply;
}

.close-button {
  border: 0;
  background: none;
  color: #fff;
  margin-left: 325px;
  margin-top: 62px;
  font-size: 24px;
}

a {
  text-decoration: none;
}

.list-popup {
  margin-left: 28px;
  margin-top: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 32px;
  gap: 40px;
}

.list-popup li a {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 44px;
  color: #fff;
}

/* popup window End */

.logo {
  display: grid;
  grid-template-columns: repeat(3, 111px);
  padding: 0 9px;
  font-size: 10px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #344563;
  margin-top: 10px;
}

.logo-text:hover {
  cursor: pointer;
}

.first-section {
  background: url("../images/bg_Header-Mobile.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #b1e1ff;
}

.main-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.img {
  height: 267px;
  background-size: cover;
  background-repeat: no-repeat;
  margin-left: -2%;
  border-radius: 10px;
}

nav {
  width: 100%;
}

.desc-nav {
  display: none;
  position: absolute;
  width: 100%;
  margin-top: 50px;
  margin-left: 28px;
}

.fa {
  color: #6070ff;
}

#x-icon {
  display: none;
}

.desc-nav li a {
  display: flex;
  text-align: right;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-size: 32px;
  line-height: 44px;
}

.intro {
  color: var(--title-color);
  font-size: 2.5rem;
  font-weight: 500;
  margin-left: 20px;
  text-shadow: 1px 1px 1px #000;
  font-family: 'Alegreya', serif;
}

.menu-icon {
  padding: 8px;
  display: flex;
  margin-left: -38px;
}

.about {
  color: var(--sub-title-color);
  font-size: 1rem;
  font-weight: 400;
  line-height: 30px;
  padding: 20px 0;
  margin-left: 20px;
  margin-right: 20px;
}

.social-media-title {
  text-transform: uppercase;
  color: var(--media-color);
  font-weight: 500;
  margin-left: 20px;
}

.social-media-content {
  display: flex;
  padding: 12px 0;
  margin-left: 35px;
}

.social-media-icons {
  padding-right: 20px;
}

.social-media-icons:hover,
.menu-icon:hover,
.logo:hover {
  cursor: pointer;
}

.work-card {
  width: 100%;
  border-radius: 16px;
  margin: 44px auto;
}

.project-container {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid #dfe1e6;
  border-radius: 16px;
  padding: 16px;
  margin: 20px auto 20px auto;
  background: linear-gradient(to right, rgb(201, 230, 209), rgb(217, 209, 230));
}

.about-project {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  gap: 20px;
}

.project-title h4 {
  margin: 0;
  padding: 0;
  font-size: 24px;
  font-weight: 700;
}

.project-info ul {
  display: flex;
  flex-direction: row;
  column-gap: 12px;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
  align-items: center;
}

.client-name {
  color: #7a869a;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
}

.role {
  font-family: var(--main-font-family);
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  text-transform: uppercase;
}

.year {
  color: var(--neutral-color);
  font-weight: 600;
  font-size: 13px;
}

.counter {
  height: 8px;
  width: 8px;
  border-radius: 10px;
  background-color: var(--dot-dolor);
}

.project-description {
  color: var(--sub-title-color);
  font-size: 15px;
  font-weight: 400;
}

.project-description p {
  padding: 0;
  margin: 0;
}

.tags ul {
  display: grid;
  grid-template-columns: repeat(3, 111px);
  gap: 10px;
  align-items: flex-start;
  padding: 0;
  margin-bottom: 1.5rem;
}

.tags ul li {
  background-color: #ebebff;
  margin-right: 8px;
  padding: 4px 12px;
  border-radius: 8px;
  color: var(--main-bg-color);
}

.btn-container {
  height: 72px;
  color: #396df2;
}

.view-btn {
  color: var(--btn-primary-color);
  border: 1px solid var(--main-bg-color);
  padding: 12px;
  align-items: center;
  border-radius: 8px;
  background-color: var(--white-color);
  font-family: var(--main-font-family);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.03em;
  transition: color 0.1s, background-color 0.1s;
  margin-left: 20px;
  transform: scale(1);
  box-shadow: 0 0 0 #000;
}

.view-btn:hover {
  background-color: #4053fc;
  color: #fff;
  border-color: #4053fc;
  transform: scale(1.1);
  box-shadow: 2px 2px 2px #000;
}

.submit {
  background: #fff;
  border-radius: 8px;
  width: 140px;
  height: 48px;
  letter-spacing: 0.03em;
  color: #6070ff;
  font-size: 17px;
  font-weight: 600;
  border: none;
}

.submit:hover {
  background-color: #4053fc;
  color: #fff;
  border-color: #4053fc;
}

.skill-label-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.45rem;
  padding-left: 0.75rem;
  padding-right: 2.5rem;
  border-bottom: 1px solid #dfe1e6;
}

.skill-label-container:first-child {
  border: none;
}

.skill-label-container .label {
  text-transform: capitalize;
  color: #000;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.5rem;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style-type: none;
  padding: 0.75rem;
}

.skill-list li img {
  width: 3rem;
  object-fit: cover;
  border-radius: 50%;
  vertical-align: middle;
}

.skill-list li span {
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.25rem;
  vertical-align: middle;
  color: #253858;
  margin-left: 1rem;
}

.reach-out {
  align-items: center;
  margin-top: 50px;
  background-color: #6070ff;
  background-position: right;
  border-radius: 80px 0 0 0;
}

.contact-me {
  color: #fff;
  text-align: center;
  margin-top: 85px;
}

.cont-input {
  font-family: var(--main-font-family);
  text-align: center;
  margin-left: 20px;
  margin-right: 20px;
  color: #fff;
}

form {
  display: flex;
  flex-direction: column;
  width: 75%;
  margin: 40px auto 0 auto;
}

.username {
  width: 100%;
  height: 48px;
  padding: 5px;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 20px;
  color: #172b4d;
  font-weight: 400;
}

.email {
  width: 100%;
  height: 48px;
  padding: 5px;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  background: #fff;
  color: #172b4d;
}

.comment {
  margin-top: 20px;
  width: 100%;
  height: 110px;
  padding: 5px;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 20px;
  color: #b3bac5;
}

small {
  font-weight: bold;
  color: #be0202;
  text-align: left;
  font-size: 12px;
  display: none;
}

.display-content {
  display: block;
}

form div {
  display: flex;
  flex-direction: row;
}

svg {
  display: block;
  font: 3.5em 'Montserrat', sans-serif;
}

@media only screen and (min-width: 768px) {
  .header {
    background: linear-gradient(to right, rgb(177, 225, 255), rgb(34, 193, 195), rgb(253, 187, 45));
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .header-info {
    width: 70%;
    margin: 200px auto;
  }

  .menu-icon {
    display: none;
  }

  nav {
    width: 186px;
    margin-bottom: 30px;
  }

  .desc-nav {
    width: 130px;
    display: flex;
    margin-top: 0;
    margin-left: -10%;
    margin-right: 50px;
  }

  .desc-nav li {
    display: block;
  }

  .desc-nav li a {
    font-size: 15px;
    color: #344563;
    margin-top: -37px;
    text-decoration: none;
  }

  /* Modal Section Start */

  .overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    transition: 2000ms ease-in-out;
    background: #c1c7d0;
    mix-blend-mode: multiply;
  }

  .modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    transition: 2000ms ease-in-out;
    z-index: 10;
    align-items: center;
    justify-content: center;
  }

  .modal-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    position: absolute;
    width: 762px;
    left: calc(50% - 762px / 2);
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
    top: calc(40% - 500px / 2);
    background: linear-gradient(to right, #f3e7e9, #e3eeff);
    border: 1px solid #dfe1e6;
  }

  .modal-img {
    width: 724px;
    height: 340px;
    object-fit: cover;
  }

  .modal-footer {
    display: flex;
    height: 100%;
    flex-direction: row;
    justify-content: center;
  }

  .modal-tech-list ul {
    margin-top: 0;
  }

  .see-live {
    border: 1px solid #6070ff;
    padding: 10px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: #6070ff;
  }

  .see-live:hover {
    background-color: #4053fc;
    color: #fff;
    border-color: #4053fc;
    transform: scale(1.1);
    box-shadow: 2px 2px 2px #000;
  }

  .footer-list hr {
    margin: 0;
    gap: 10px;
  }

  .footer-desc {
    width: 431px;
    height: 105px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
  }

  .footer-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Modal Section End */
  .first-section {
    background:
      url("../images/bg_Header.png"),
      linear-gradient(
        to right,
        #fdbb2d,
        #22c1c3
      );
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    padding: 10px;
    background-color: #b1e1ff;
    border-radius: 0 0 2% 2%;
  }

  .social-media-container {
    width: 100%;
    margin: auto;
  }

  .social-media-title {
    margin-top: 0;
    margin-bottom: 0;
  }

  .social-media-content {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 20px;
  }

  .work-card {
    background: linear-gradient(to right, #c9e6d1, #d9d1e6);
    padding-bottom: 64px;
    margin-top: 50px;
  }

  .work-card p {
    font-size: 16px;
  }

  .project-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #dfe1e6;
    border-radius: 24px;
    padding: 35px;
    gap: 15px;
    background: linear-gradient(to right, #f0f2f5, #e6e9ed);
    height: 400px;
    width: 80%;
    overflow: hidden;
  }

  .about-project {
    margin-left: 3%;
    flex: 1;
    height: 100%;
    width: 100%;
  }

  .img {
    background-image: url("../images/big1.png");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background-position: center;
    transition: all 0.5s ease-in-out;
  }

  .img:hover {
    width: auto;
    height: 100%;
    transform: scale(1.1);
  }

  .view-btn {
    background: #6070ff;
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    border: none;
    transition: all 0.5s ease-in-out;
  }

  .view-btn:hover {
    background: #4053fc;
    transform: scale(1.1);
    box-shadow: 2px 2px 2px #000;
  }

  @import url("https://fonts.googleapis.com/css?family=Arima+Madurai:300");

  .bird {
    background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/174479/bird-cells-new.svg");
    background-size: auto 100%;
    width: 88px;
    height: 125px;
    will-change: background-position;
    animation-name: fly-cycle;
    animation-timing-function: steps(10);
    animation-iteration-count: infinite;
  }

  .bird--one {
    animation-duration: 1s;
    animation-delay: -0.5s;
  }

  .bird--two {
    animation-duration: 0.9s;
    animation-delay: -0.75s;
  }

  .bird--three {
    animation-duration: 1.25s;
    animation-delay: -0.25s;
  }

  .bird--four {
    animation-duration: 1.1s;
    animation-delay: -0.5s;
  }

  .bird-container {
    position: absolute;
    top: 20%;
    left: -10%;
    transform: scale(0) translateX(-10vw);
    will-change: transform;
    animation-name: fly-right-one;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }

  .bird-container--one {
    animation-duration: 15s;
    animation-delay: 0;
  }

  .bird-container--two {
    animation-duration: 16s;
    animation-delay: 1s;
  }

  .bird-container--three {
    animation-duration: 14.6s;
    animation-delay: 9.5s;
  }

  .bird-container--four {
    animation-duration: 16s;
    animation-delay: 10.25s;
  }

  @keyframes fly-cycle {
    100% {
      background-position: -900px 0;
    }
  }

  @keyframes fly-right-one {
    0% {
      transform: scale(0.3) translateX(-10vw);
    }

    10% {
      transform: translateY(2vh) translateX(10vw) scale(0.4);
    }

    20% {
      transform: translateY(0) translateX(30vw) scale(0.5);
    }

    30% {
      transform: translateY(4vh) translateX(50vw) scale(0.6);
    }

    40% {
      transform: translateY(2vh) translateX(70vw) scale(0.6);
    }

    50% {
      transform: translateY(0) translateX(90vw) scale(0.6);
    }

    60% {
      transform: translateY(0) translateX(110vw) scale(0.6);
    }

    100% {
      transform: translateY(0) translateX(110vw) scale(0.6);
    }
  }

  @keyframes fly-right-two {
    0% {
      transform: translateY(-2vh) translateX(-10vw) scale(0.5);
    }

    10% {
      transform: translateY(0) translateX(10vw) scale(0.4);
    }

    20% {
      transform: translateY(-4vh) translateX(30vw) scale(0.6);
    }

    30% {
      transform: translateY(1vh) translateX(50vw) scale(0.45);
    }

    40% {
      transform: translateY(-2.5vh) translateX(70vw) scale(0.5);
    }

    50% {
      transform: translateY(0) translateX(90vw) scale(0.45);
    }

    51% {
      transform: translateY(0) translateX(110vw) scale(0.45);
    }

    100% {
      transform: translateY(0) translateX(110vw) scale(0.45);
    }
  }

  .middle-section {
    display: flex;
    background: linear-gradient(to right, #f5f5dc, #f5f5dc);
    border-radius: 0 80px 0 0;
    padding: 20px;
    align-content: center;
    justify-content: center;
  }

  .cont-input {
    width: 50%;
    color: var(--sub-title-color);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 30px;
    padding: 50px 0;
    margin-left: 20px;
    margin-right: 20px;
  }

  .first-part {
    display: flex;
    flex-direction: column;
    margin: 10px 10px 10px 10px;
    width: 40%;
  }

  .intro {
    color: #091e42;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
  }

  .social-media-container-bottom {
    margin-top: 0;
  }

  .skills-section {
    display: flex;
    flex-direction: column;
    margin: -25px 10px 10px 10px;
    width: 40%;
  }

  .skill-list {
    display: flex;
    flex-direction: row;
    margin: 0;
  }

  .skill-list li {
    display: flex;
    flex-direction: column;
    width: 122px;
    height: 120px;
    text-align: left;
    gap: 5px;
    padding-right: 5px;
  }

  span {
    line-height: 0.7;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.45);
    animation: span 3s ease-in infinite alternate;
  }

  .skill-list li span {
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.25rem;
    vertical-align: middle;
    color: #253858;
    margin-left: 1rem;
  }

  form {
    width: 50%;
    margin: auto;
  }

  .submit {
    align-self: center;
  }

  .reach-out {
    background-color: #6070ff;
  }

  .form-style {
    background:
      url("../images/contact-form-background-shapes.png"),
      linear-gradient(
        to right,
        #fdbb2d,
        #22c1c3
      );
    background-repeat: no-repeat;
    border-radius: 80px 0 0 0;
    background-position: 0 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-inline: auto;
  }

  small {
    color: #be0202;
    text-align: left;
    font-size: 12px;
    display: none;
  }

  .display-content {
    display: block;
  }

  form div {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 10px;
  }

  .letter {
    display: inline-flex;
    height: 11px;
    width: 10px;
    border: 2.5px solid #ff1ead;
    border-radius: 14px;
    box-shadow:
      0 0 2px rgba(0, 0, 0, 0.75),
      inset 0 0 2px rgba(0, 0, 0, 0.45);
    animation: letter 3s ease-in-out infinite alternate;
  }

  @keyframes span {
    0%,
    30% {
      margin: 0 15px;
    }

    70%,
    100% {
      margin: 0 5px;
    }
  }

  @keyframes letter {
    0%,
    30% {
      width: 27px;
    }

    70%,
    100% {
      width: 30vw;
    }
  }

  svg {
    display: block;
    font: 3.5em 'Montserrat', sans-serif;
    width: 960px;
    height: 160px;
    margin-left: -15%;
    margin-top: -3%;
  }

  .about {
    color: var(--sub-title-color);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 30px;
    padding: 50px 0;
    margin-left: 20px;
    margin-right: 20px;
  }

  .contact-me {
    color: var(--title-color);
    font-size: 2.5rem;
    font-weight: 500;
    margin-left: 20px;
    text-shadow: 1px 1px 1px #000;
    font-family: 'Alegreya', serif;
  }

  .container {
    display: flex;

    /* border:1px solid red; */
    height: 100%;
    align-items: center;
  }

  .text-copy {
    fill: none;
    stroke: white;
    stroke-dasharray: 6% 29%;
    stroke-width: 5px;
    stroke-dashoffset: 0%;
    animation: stroke-offset 5.5s infinite linear;
  }

  .text-copy:nth-child(1) {
    stroke: #4d163d;
    animation-delay: -1;
  }

  .text-copy:nth-child(2) {
    stroke: #840037;
    animation-delay: -2s;
  }

  .text-copy:nth-child(3) {
    stroke: #bd0034;
    animation-delay: -3s;
  }

  .text-copy:nth-child(4) {
    stroke: #bd0034;
    animation-delay: -4s;
  }

  .text-copy:nth-child(5) {
    stroke: #fdb731;
    animation-delay: -5s;
  }

  @keyframes stroke-offset {
    100% { stroke-dashoffset: -35%; }
  }
}

/* https://cdn.dribbble.com/users/1192437/screenshots/5039546/media/e31a26852f18b3ec8e4fba56ce343feb.gif */
/* =================================================================== */
/* === NEW CREATIVE & ANIMATED PROJECT STYLES (ADD TO END OF CSS) === */
/* =================================================================== */

/* --- 1. Redesigned Project Cards with Animations --- */

.project-container {
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
  background-size: 200% 200%; /* Make gradient larger for animation */
  animation: gradient-animation 15s ease infinite; /* Slow, subtle animation */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px); /* For Safari */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative; /* Needed for the pseudo-element glow */
}

/* Add a cool "glow" effect on hover */
.project-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.2), rgba(255,255,255,0) 70%);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  transform: scale(1.5);
}

.project-container:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 16px 40px rgba(31, 38, 135, 0.2);
}

.project-container:hover::before {
  opacity: 1;
}

@keyframes gradient-animation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Image container with zoom effect */
.project-img {
  border-radius: 16px;
  margin: 0; /* Override old margin */
  overflow: hidden; /* Important for the zoom effect */
  transition: transform 0.4s ease; /* Ensure this is here if not already */
}

.project-container:hover .project-img {
  transform: scale(1.05); /* Zoom in effect on parent hover */
}

/* --- 2. Enhanced Typography and Buttons --- */

.project-title h4 {
  font-family: 'Alegreya', serif;
  font-size: 32px;
  color: #1a202c;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags ul li {
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  border-radius: 20px;
  font-weight: 500;
  color: var(--title-color);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.view-btn {
  background: var(--main-bg-color);
  color: white;
  border: none;
  font-weight: 500;
  padding: 12px 24px;
  margin-left: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1; /* Ensure button is on top */
}

.view-btn:hover {
  background-color: #4a5cde;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25);
}

/* --- 3. Unique "Glassmorphism" Modal Redesign --- */

.overlay.active {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mix-blend-mode: normal;
}

.modal-container {
  background: rgba(255, 255, 255, 0.15); /* Semi-transparent background */
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.modal.active .modal-container {
  animation: modal-swoop 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes modal-swoop {
  from {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.modal-title, .modal-desc, .header-list ul, .see-live {
  color: #2D3748; /* Darker text for readability on glass */
}

.btn-close {
  color: #4A5568;
}

.see-live {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--main-bg-color);
  font-weight: 600;
}

.see-live:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: none;
}

