@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

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

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #0b1413;
  overflow-x: hidden;
}
.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
.navigation {
  padding: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  max-width: 100%;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
}
.left-nav span {
  color: white;
  font-size: 25px;
  height: 50px;
  font-weight: 600;
}
.center-nav {
  background-color: #171717;
  height: 50px;
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
}
.center-nav a {
  text-decoration: none;
  color: #656d6c;
  margin: 0 30px;
}

.right-nav {
  background-color: #10c0d7;
  height: 50px;
  width: 110px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.right-nav span {
  font-size: 15px;
  text-align: center;
}

/* ===== Home page ========== */
.home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 900px;
  min-height: 900px;
}

/* left part */
.left-part {
  margin-top: 5%;
  width: 60%;
  margin-left: 10%;
}
.name {
  color: white;
  font-size: 100px;
  font-weight: 800;
}
.name-colored {
  color: #10c0d7;
  font-size: 100px;
  font-weight: 800;
}
.specialization {
  display: flex;
  align-items: center;
}
.specialization .text {
  position: relative;
  color: #10c0d7;
  padding-right: 10px;
  font-size: 30px;
}
.text.second-txt {
  overflow: hidden;
}
.text.second-txt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #0b1413;
  border-left: 2px solid #10c0d7;
  animation: animate 4s steps(12) infinite;
}
@keyframes animate {
  40%,
  60% {
    left: 100%;
  }
  100% {
    left: 0%;
  }
}
.description {
  color: #656d6c;
  margin: 60px 0;
  width: 80%;
}
.experience-blocks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 85%;
}
.info-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 150px;
  background-color: #17191b;
  border-radius: 15px;
  transition: all 0.4s ease;
}
.info-block:hover {
  border: 1px solid #10c0d7;
  box-shadow: 0 0 25px rgba(16, 192, 215, 0.3);
}
.info {
  color: #10c0d7;
  font-size: 40px;
  font-weight: 600;
}
.info-desc {
  color: #656d6c;
  font-size: 15px;
}
.cv-container {
  display: flex;
}
.contact-belong-cs a {
  text-decoration: none;
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
}
.contact-belong-cs,
.cv-download {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #10c0d7;
  height: 50px;
  width: 170px;
  border-radius: 50px;
  border: 2px solid #2b2c2c;
  margin-top: 30px;
  cursor: pointer;
  margin-right: 20px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-belong-cs:hover {
  background-color: #10c0d7;
  box-shadow: 0 0 25px rgba(16, 192, 215, 0.3);
}

.cv-download {
  background-color: #0b1413;
  color: white;
  font-size: 12px;
}
.cv-download img,
.contact-belong-cs img {
  width: 12px;
  height: 12px;
  margin-right: 10px;
}
.contact-belong-cs img {
  width: 18px;
  height: 18px;
}
.cv-download:hover {
  background-color: #10c0d7;
  box-shadow: 0 0 25px rgba(16, 192, 215, 0.3);
}

.contacts {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
.contact img {
  width: 25px;
}
.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #17191b;
  border-radius: 15px;
  width: 60px;
  height: 60px;
  margin-right: 25px;
  margin-top: 30px;
  cursor: pointer;
  transition: all 0.4s ease;
}
.contact:hover {
  background-color: #10c0d7;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(16, 192, 215, 0.3);
}
/* right part */
.right-part {
  margin-top: 5%;
  width: 40%;
}
.right-part img {
  width: 400px;
  margin-top: 40%;
  border: 2px solid #2b2c2c;
  border-radius: 20px;
}
/* ====== Home page finish =======*/

/* ====== Home page adaptations ========*/
/* ====== Mobile nav =======*/
.mobile-nav {
  position: fixed;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 20px;

  right: 10px;
}
.mobile-nav img {
  display: none;
}
.nav-list {
  display: none;
}
@media (min-width: 1000px) and (max-width: 1350px) {
  .center-nav {
    width: 70%;
  }
  .name,
  .name-colored {
    font-size: 40px;
    font-weight: 800;
  }
  .specialization .text {
    font-size: 18px;
    padding-right: 8px;
  }

  .info-block {
    width: 140px;
    height: 110px;
    border-radius: 12px;
  }
  .info {
    font-size: 18px;
  }

  .info-desc {
    text-align: center;
    font-size: 11px;
  }
  .right-part img {
    width: 240px;
    margin-top: 30%;
  }
}

@media (max-width: 1024px) {
  .navigation {
    padding: 10px 1%;
    justify-content: space-between;
    width: 100%;
    margin: 0;
  }
  .center-nav {
    background-color: #171717;
    height: 50px;
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
  }
  .center-nav a {
    margin: 0 20px;
    font-size: 14px;
    padding: 8px 10px;
  }

  .name,
  .name-colored {
    font-size: 40px;
    font-weight: 800;
  }
  .specialization .text {
    font-size: 18px;
    padding-right: 8px;
  }

  .description {
    width: 80%;
    font-size: 14px;
    margin: 40px 0;
  }
  .experience-blocks {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
    width: 90%;
  }

  .info-block {
    width: 100px;
    height: 80px;
    border-radius: 12px;
  }
  .info {
    font-size: 18px;
  }

  .info-desc {
    text-align: center;
    font-size: 11px;
  }
  .cv-download,
  .contact-belong-cs {
    font-size: 10px;
    height: 45px;
    width: 140px;
    margin-top: 25px;
  }
  .contact-belong-cs a {
    font-size: 10px;
  }
  .cv-download img,
  .contact-belong-cs img {
    width: 12px;
    height: 12px;
    margin-right: 10px;
  }
  .contact img {
    width: 15px;
  }
  .contact {
    width: 45px;
    height: 45px;
    margin-right: 10px;
    margin-top: 25px;
  }
  .right-part img {
    width: 260px;
    margin-top: 30%;
  }
}
/* mobile */
@media (max-width: 768px) {
  .center-nav {
    display: none;
  }

  .navigation {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 0;
    width: 80%;
    margin: 0 auto;
    position: relative;
  }
  .right-nav {
    display: none;
  }

  .left-nav {
    position: relative;
  }
  .home {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
    padding-top: 20px;
    height: 100%;
  }
  .cv-container {
    flex-direction: column;
  }
  .right-part {
    order: -1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
  }

  .right-part img {
    width: 70%;
    max-width: 280px;
    height: auto;
    border-radius: 18px;
    border: 2px solid #2b2c2c;
    display: block;
    margin: 0 auto 25px auto;
  }
  .mobile-nav {
    position: fixed;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 20px;

    right: 10px;
  }
  .mobile-nav img {
    display: block;
    position: relative;
    z-index: 1000;
    cursor: pointer;
  }
  .nav-list a {
    text-decoration: none;
    color: white;
    padding: 10px;
    width: 100%;
    text-align: center;
  }
  .nav-list {
    display: none;
    position: fixed;
    top: 15px;
    right: 0;
    width: 180px;
    height: 280px;
    background-color: #17191b;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding-top: 10px;
  }
  .nav-list a:hover {
    background-color: #2b2c2c;
  }

  .nav-list.active {
    display: flex;
  }
  .left-part {
    margin-left: 0;
  }
  .name,
  .name-colored {
    font-size: 34px;
    text-align: center;
  }

  .specialization .text {
    font-size: 16px;
    text-align: center;
  }

  .description {
    width: 100%;
    font-size: 13px;
    margin: 20px auto;
    text-align: justify;
  }

  .experience-blocks {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
  }

  .info-block {
    width: 80%;
    height: 70px;
    border-radius: 10px;
  }

  .info {
    font-size: 16px;
  }

  .info-desc {
    font-size: 11px;
    text-align: center;
  }

  .cv-download,
  .contact-belong-cs {
    width: 80%;
    font-size: 12px;
    height: 45px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .contact-belong-cs {
    margin: 25px auto;
  }
  .contact-belong-cs a {
    font-size: 12px;
  }

  .cv-download img,
  .contact-belong-cs img {
    width: 14px;
    height: 14px;
    margin-right: 8px;
  }

  .contact {
    width: 40px;
    height: 40px;
    margin: 15px auto;
  }

  .contact img {
    width: 14px;
  }
}

/* ======== End of home page =======*/

/* ======= start of about page ========*/

/* ========= left part =========== */

.about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 900px;
  min-height: 900px;
  position: relative;
}

.about-left-part {
  position: relative;
  width: 350px;
  margin-left: 10%;
}

.user2-icon {
  width: 100%;
  margin-top: 60%;
  border: 2px solid #2b2c2c;
  border-radius: 20px;
  position: relative;
}

.experience-on-img {
  position: absolute;
  bottom: 0rem;
  right: -1rem;
  background-color: #10c0d7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  width: 5rem;
  height: 6rem;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(16, 192, 215, 0.3);
}

.first-txt {
  font-size: 1.5rem;
  font-weight: 600;
}

.second-txt {
  font-size: 0.6rem;
  font-weight: 600;
}

/* ======== right part ============ */
.about-right-part {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60%;
  text-align: center;
  margin-top: 5%;
}
.about-me {
  color: #10c0d7;
  text-align: center;
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 0 25px rgba(16, 192, 215, 0.3);
}
.info-about-me {
  margin-top: 20px;
  color: #656d6c;
  font-size: 15px;
  width: 60%;
  text-align: justify;
}
.about-info-block {
  display: flex;
  align-items: center;
  width: 60%;
  height: 80px;
  margin-top: 10px;
  background-color: #1d1d1d;
  border-radius: 15px;
}
.about-info-block:hover {
  border: 1px solid #10c0d7;
  box-shadow: 0 0 25px rgba(16, 192, 215, 0.3);
}
.about-info-block img {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  margin-left: 20px;
}
.text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 20px;
}
.about-info-block span {
  display: flex;
  flex-direction: column;
}
.block-name {
  color: white;
  font-size: 15px;
  margin: 0;
}
.block-description {
  margin-top: 10px;
  color: #656d6c;
  font-size: 12px;
  margin: 0;
}
.blocks-container {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

section {
  padding: 80px 0;
  position: relative;
  width: 100%;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: -1;
}

#about::before {
  background-color: #121414;
}
.center-nav a {
  margin: 0 10px;
  padding: 12px 24px;
  border-radius: 20px;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.center-nav a:hover {
  background-color: #10c0d7;
  color: white;
  transform: scale(1.05);
}

/* ======== About adaptive versions ========== */

@media (min-width: 1000px) and (max-width: 1350px) {
  .about {
    height: 100vh;
  }
  .about-left-part {
    width: 300px;
  }
  .user2-icon {
    margin-top: 50%;
  }
  .about-right-part {
    width: 55%;
  }
  .about-me {
    font-size: 48px;
  }
  .info-about-me,
  .about-info-block {
    width: 70%;
  }
  .about-info-block {
    height: 70px;
  }
  .about-info-block img {
    width: 30px;
    height: 30px;
  }
  .blocks-container {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}

@media (max-width: 1024px) {
  .about {
    flex-direction: row;
    height: 100vh;
    padding: 0;
  }
  .about-left-part {
    width: 280px;
    margin-left: 8%;
  }
  .user2-icon {
    margin-top: 40%;
  }
  .about-right-part {
    width: 55%;
    margin-top: 0;
  }
  .about-me {
    font-size: 40px;
  }
  .info-about-me,
  .about-info-block {
    width: 80%;
  }
  .info-about-me {
    font-size: 14px;
  }
  .about-info-block {
    height: 70px;
  }
  .about-info-block img {
    width: 30px;
    height: 30px;
    margin-left: 15px;
  }
  .text-wrapper {
    margin-left: 15px;
  }
  .block-name {
    font-size: 14px;
  }
  .block-description {
    font-size: 11px;
  }
  .blocks-container {
    margin-top: 25px;
    margin-bottom: 25px;
  }
}

@media (max-width: 768px) {
  .about {
    flex-direction: column;
    height: auto;
    padding: 60px 0;
  }
  .about-left-part {
    order: -1;
    width: 70%;
    max-width: 280px;
    margin-left: 0;
    margin-bottom: 30px;
  }
  .user2-icon {
    margin-top: 0;
    width: 100%;
  }
  .experience-on-img {
    bottom: -0.5rem;
    right: -0.5rem;
    width: 4rem;
    height: 5rem;
  }
  .first-txt {
    font-size: 1.25rem;
  }
  .second-txt {
    font-size: 0.5rem;
  }
  .about-right-part {
    width: 90%;
    margin-top: 0;
  }
  .about-me {
    font-size: 34px;
    text-align: center;
  }
  .info-about-me {
    width: 90%;
    font-size: 13px;
    text-align: justify;
    margin-top: 15px;
  }
  .about-info-block {
    width: 90%;
    height: 60px;
    margin-top: 15px;
  }
  .about-info-block img {
    width: 25px;
    height: 25px;
    margin-left: 15px;
  }
  .text-wrapper {
    margin-left: 15px;
  }
  .block-name {
    font-size: 13px;
  }
  .block-description {
    font-size: 10px;
    margin-top: 5px;
  }
  .blocks-container {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .about-left-part {
    width: 85%;
    max-width: 250px;
  }
  .user2-icon {
    border-radius: 15px;
  }
  .experience-on-img {
    width: 3.5rem;
    height: 4.5rem;
    bottom: -0.3rem;
    right: -0.3rem;
    border-radius: 12px;
  }
  .first-txt {
    font-size: 1.1rem;
  }
  .about-me {
    font-size: 28px;
  }
  .info-about-me {
    width: 95%;
    font-size: 12px;
  }
  .about-info-block {
    width: 95%;
    height: 55px;
  }
  .about-info-block img {
    width: 22px;
    height: 22px;
    margin-left: 12px;
  }
  .text-wrapper {
    margin-left: 12px;
  }
  .block-name {
    font-size: 12px;
  }
  .block-description {
    font-size: 9px;
  }
}
section {
  padding-bottom: 10%;
}
/* =========== SKILLS SECTION ============== */
.skills {
  height: auto;
  min-height: 1000px;
}
.skills h2 {
  color: #10c0d7;
  text-align: center;
  font-size: 60px;
  margin-top: auto;
  text-shadow: 0 0 25px rgba(16, 192, 215, 0.3);
}
.cards-section {
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 450px));
  column-gap: 60px;
  row-gap: 40px;
  padding: 20px 0;
  margin: 0 auto;
  max-width: 1200px;
}
.card {
  background-color: #161b1c;
  padding: 20px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s ease;
}
.card:hover {
  border: 1px solid #10c0d7;
  box-shadow: 0 0 25px rgba(16, 192, 215, 0.3);
}
.card h3 {
  color: #10c0d7;
  text-align: center;
  font-size: 25px;
  margin-top: 10px;
}
.skill {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  color: white;
  font-size: 18px;
  margin: 10px 0;
}
.skill img {
  width: 25px;
  margin-right: 10px;
}
.skill span {
  width: 100px;
  font-size: 15px;
}
.bar {
  flex: 1;
  height: 8px;
  background-color: #514c4c;
  border-radius: 4px;
  overflow: hidden;
  margin-left: 40px;
}
.fill {
  width: 0%;
  flex: 1;
  height: 8px;
  background-color: #10c0d7;
  border-radius: 4px;
  overflow: hidden;
  transition: width 1.5s ease;
}
.card.active {
  opacity: 1;
  transform: translateY(0);
}
.card.active .fill {
  width: var(--level);
}

/* ======== ADAPTIVE VERSION ========= */
@media (max-width: 1124px) {
  .cards-section {
    grid-template-columns: repeat(2, 350px);
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .cards-section {
    grid-template-columns: repeat(2, 300px);
  }
  .bar {
    background-color: #514c4c;
    margin-left: 20px;
  }
}
@media (max-width: 768px) {
  .cards-section {
    grid-template-columns: repeat(2, 250px);
  }
  .skill span {
    width: 70px;
    font-size: 10px;
  }
  .bar {
    background-color: #514c4c;
    margin-left: 10px;
  }
}
@media (max-width: 600px) {
  .skills h2 {
    font-size: 40px;
  }

  .cards-section {
    grid-template-columns: repeat(1, 280px);
    justify-content: center;
    row-gap: 30px;
    column-gap: 0;
  }

  .card {
    width: 100%;
    max-width: 280px;
  }

  .skill span {
    width: 60px;
    font-size: 10px;
  }

  .bar {
    margin-left: 10px;
  }
}

/* ================= PROJECTS SECTION ================== */
section::projects {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: -1;
}

#projects::before {
  background-color: #121414;
}
.projects h2 {
  color: #10c0d7;
  text-align: center;
  font-size: 60px;
  margin: auto;
  text-shadow: 0 0 25px rgba(16, 192, 215, 0.3);
}
.projects {
  height: auto;
  min-height: 900px;
}
.projects-container {
  display: grid;
  align-items: center;
  justify-content: center;
  justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 350px));
  max-width: 1200px;
  column-gap: 40px;
  row-gap: 40px;
  padding: 20px 0;
  margin: 0 auto;
}
.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  background-color: #161b1c;
  padding: 20px;
  border-radius: 15px;
  transform: translateY(50px);
  transition: all 0.4s ease;
  height: 400px;
}
.project-card:hover {
  border: 1px solid #10c0d7;
  transform: scale(1.05) translateY(45px);
  box-shadow: 0 0 25px rgba(16, 192, 215, 0.3);
}
.project-card img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
}
.project-name {
  color: white;
  font-size: 20px;
  font-weight: 600;
}
.project-description {
  color: #514c4c;
  font-size: 15px;
}
.project-button {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: #10c0d7;
  width: 130px;
  height: 40px;
  border-radius: 25px;
  cursor: pointer;
}
.project-button:hover {
  background-color: #10c0d7d6;
}

/* ============== ADAPTIVE VERSION ============== */
@media (max-width: 1024px) {
  .projects-container {
    grid-template-columns: repeat(2, 300px);
    column-gap: 20px;
    row-gap: 40px;
    margin: 0 auto;
  }
  .project-card {
    width: 300px;
    height: 400px;
  }
  .project-card img {
    width: 250px;
    height: 200px;
  }
}
@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: repeat(2, 250px);
    column-gap: 20px;
    row-gap: 40px;
    margin: 0 auto;
  }
  .project-card {
    width: 250px;
    height: 400px;
  }
  .project-card img {
    width: 200px;
    height: 200px;
  }
  .project-button {
    width: 110px;
    height: 30px;
  }
  .project-description {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .projects-container {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}
/* =========== CONTACT SECTION ============= */
.contactme {
  height: auto;
  min-height: 500px;
}
.contactme h2 {
  color: #10c0d7;
  text-align: center;
  font-size: 60px;
  margin: auto;
  text-shadow: 0 0 25px rgba(16, 192, 215, 0.3);
}
.contactme-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin-top: 5%;
}
.contact-left {
  width: 40%;
  display: flex;
  flex-direction: column;
  margin-left: 15%;
  color: #656d6c;
}
.contact-left span {
  font-size: 15px;
  margin-bottom: 5px;
}
.contact-right {
  display: flex;
  flex-direction: column;
  width: 35%;
  margin-right: 5%;
}
.contact-right input {
  width: 100%;
  height: 40px;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  background-color: #1a1a1a;
  border: 1px solid #10c0d7;
  color: white;
  transition: 0.3s;
}
.contact-right textarea {
  resize: none;
  overflow: auto;
  width: 100%;
  height: 120px;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  background-color: #1a1a1a;
  border: 1px solid #10c0d7;
  color: white;
  transition: 0.3s;
}
.contact-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35%;
  height: 50px;
  padding: 20px;
  border-radius: 8px;
  cursor: pointer;
  background-color: #10c0d7;
  color: white;
}
.contact-btn:hover {
  box-shadow: 0 0 25px rgba(16, 192, 215, 0.3);
}
.contact-right textarea::placeholder,
.contact-right input::placeholder {
  color: #656d6c;
}
.contact-right textarea:focus,
.contact-right input:focus {
  border: 1px solid #10c0d7;
  box-shadow: 0 0 25px rgba(16, 192, 215, 0.3);
  outline: none;
}
/* ============ ADAPTIVE VERSION ========= */
@media (max-width: 1024px) {
  .contactme-container {
    flex-direction: column-reverse;
    align-items: center;
  }
  .contact-left {
    margin-top: 30px;
  }
  .contact-right input,
  .contact-right textarea {
    width: 400px;
  }
  .contact-btn {
    width: 130px;
  }
}

@media (max-width: 768px) {
  .contactme h2 {
    font-size: 45px;
  }

  .contact-right input,
  .contact-right textarea {
    padding: 15px;
  }

  .contact-btn {
    padding: 15px;
  }
  .contactme-container {
    margin-right: 20%;
  }
}

@media (max-width: 600px) {
  .contactme h2 {
    font-size: 40px;
  }
  .contact-right input,
  .contact-right textarea {
    width: 300px;
  }
  .contact-right input,
  .contact-right textarea {
    padding: 12px;
  }

  .contact-btn {
    width: 100%;
    padding: 12px;
  }
  .contact-right {
    margin-right: 25%;
  }
  .contact-left {
    margin: 0 20px;
  }
}
/* ============ FO0TER ========= */
.footer {
  background-color: #0d1117;
  color: #ccc;
  text-align: center;
  padding: 25px 10px;
  font-family: "Poppins", sans-serif;
  border-top: 1px solid #1c1f26;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-name {
  font-size: 15px;
  color: #aaa;
}

.footer-icons {
  display: flex;
  gap: 15px;
}

.footer-icons img {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-icons img:hover {
  transform: scale(1.2);
  filter: invert(57%) sepia(98%) saturate(749%) hue-rotate(152deg)
    brightness(95%) contrast(97%);
}

/* ================ SCROLL TO TOP ============== */
.scroll-top{
  display: none;
  position: fixed;
  right: 50px;
  bottom: 50px;
  z-index: 10000;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}
.scroll-top img{
  width: 50px;
}
.scroll-top:hover{
  transform: scale(1.05);
}
/* ============  ALERT ACCOUNT NOT LINKED ========= */
.account-not-linked {
  display: none;
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: linear-gradient(135deg, #e64b2c, #d63c16);
  color: #fff;
  width: 320px;
  min-height: 80px;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  text-align: center;
  line-height: 1.4;
  z-index: 1000;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.account-not-linked:hover {
  filter: brightness(1.1);
  transform: translateX(-50%) translateY(-10px) scale(1.02);
  transition: transform 0.2s ease, filter 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
}
