@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500;600;700;800;900&family=Source+Code+Pro:wght@200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
  font-family: "Source Code Pro", monospace;
}

html {
  scroll-behavior: smooth;
}

h1 {
  font-size: 50px;
  font-weight: 400;
  line-height: 64px;
  color: #fefefe;
}

h2 {
  font-size: 46px;
  line-height: 54px;
  font-weight: 400;
  color: #fefefe;
}

h4 {
  font-size: 20px;
  font-weight: 400;
  color: #fefefe;
}

h6 {
  font-weight: 700;
  font-size: 12px;
  color: #fefefe;
}

p {
  font-size: 16px;
  font-weight: 400;
  color: #fefefe;
  margin: 15px 0 20px 0;
}

.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

button.normal {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: black;
  background-color: white;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.5s ease;
}

button.normal:hover {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: #fff;
  background-color: #088178;
}

body {
  width: 100%;
  background-color: #2d2e32;
}

body::selection {
  color: #000000;
  background: #64f4ac;
}

::-webkit-scrollbar {
  width: 10px;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: #2d2e32;
}


::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #CACACA;
  transition: 0.3s ease;
  border-radius: 15px;
}

::-webkit-scrollbar-thumb:hover {
  background: #FEFEFE;
}

.toast {
  visibility: hidden;
  min-width: 200px;
  background-color: #64f4ac;
  color: #2d2e32;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  position: fixed;
  z-index: 3000;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.toast.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 50px;
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    bottom: 50px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}




#header {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2d2e32;
  border-bottom: 1px solid #3d3e42;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: none;
  color: #fefefe;
  position: sticky;
  z-index: 1;
  top: 0;
  left: 0;
  margin: 0;
}

.navbar-title {
  display: flex;
  align-items: center;
}

.title-first-name {
  padding: 0 7.5px;
  font-weight: 800;
  color: #64f4ac;
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  text-shadow: 0 0 10px rgba(100, 244, 172, 0.5);
  animation: neonPulse 2s infinite ease-in-out;
}

@keyframes neonPulse {
  0% {
    text-shadow: 0 0 5px rgba(100, 244, 172, 0.2);
    opacity: 0.8;
  }

  50% {
    text-shadow: 0 0 15px rgba(100, 244, 172, 0.8), 0 0 25px rgba(100, 244, 172, 0.4);
    opacity: 1;
  }

  100% {
    text-shadow: 0 0 5px rgba(100, 244, 172, 0.2);
    opacity: 0.8;
  }
}

.title-last-name {
  font-size: 24px;
  font-weight: 400;
  color: #cacaca;
  font-family: "Raleway", sans-serif;
}

.navbar-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-menu li {
  list-style: none;
  padding: 0 20px;
  position: relative;
}

.navbar-menu .active {
  color: #64f4ac;
  font-weight: 900;
}

.navbar-menu li a {
  color: #fefefe;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}

.navbar-menu li a:hover {
  color: #64f4ac;
  font-weight: 900;
}

.social-media {
  display: flex;
  align-items: center;
}

.social-media li {
  display: flex;
  padding: 0 16px;
  align-items: center;
  list-style: none;
}

.social-media li i {
  font-size: 14px;
  transition: 0.3s ease;
}

.social-media li a {
  color: #fefefe;
  text-decoration: none;
  padding: 0 5px;
  font-size: 12px;
  transition: 0.3s ease;
}

.social-media li:nth-child(1):hover i {
  color: #0077b5;
}

.social-media li:nth-child(3):hover i {
  color: #ea4335;
}

.social-media li:hover a {
  font-weight: 800;
}

.copy-btn {
  background: transparent;
  border: none;
  color: #64f4ac;
  cursor: pointer;
  margin-left: 8px;
  padding: 4px;
  font-size: 14px;
  transition: transform 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
}

.copy-btn:hover {
  transform: scale(1.2);
  color: #fff;
}

.footer-email-intro h3 {
  display: flex;
  align-items: center;
}


#hero {
  display: flex;
  flex-wrap: wrap;
  background-color: transparent;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 80px 40px;
  gap: 40px;
  width: 100%;
  overflow: hidden;
}

#intro {
  display: flex;
  flex-wrap: wrap;
  background-color: rgba(37, 38, 42, 0.7);
  padding: 80px 40px;
  gap: 40px;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

.developer-intro {
  display: flex;
  align-items: center;
  min-height: 28px;
}

#typing-role {
  padding: 5px 12px;
  background-color: rgba(100, 244, 172, 0.1);
  color: #64f4ac;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Courier New', Courier, monospace;
  border-radius: 4px;
  border: 1px solid rgba(100, 244, 172, 0.3);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cursor {
  font-size: 20px;
  margin-left: 5px;
  color: #64f4ac;
  font-weight: bold;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {

  from,
  to {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.body-title h1 {
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -1.5px;
  padding: 35px 0 0 0;
}

.body-title p.about-text {
  font-size: 15px;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 30px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
  width: 100%;
}

.highlight-box {
  background: rgba(100, 244, 172, 0.03);
  border: 1px solid rgba(100, 244, 172, 0.1);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: all 0.3s ease;
}

.highlight-box:hover {
  background: rgba(100, 244, 172, 0.07);
  transform: translateY(-5px);
  border-color: rgba(100, 244, 172, 0.3);
}

.highlight-box i {
  color: #64f4ac;
  font-size: 20px;
  margin-top: 3px;
}

.highlight-box p {
  font-size: 13.5px;
  color: #cacaca;
  line-height: 1.6;
  margin: 0 !important;
  padding: 0 !important;
}

.personal-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 10px;
}

.personal-info p {
  font-size: 14px;
  color: #7c7d81 !important;
  line-height: 1.6;
  padding: 0 !important;
}

.personal-info strong {
  color: #64f4ac;
}

.body-title a {
  font-size: 16px;
  color: #64f4ac;
  font-weight: 600;
  padding: 20px 0;
  margin: 20px 0;
}

.body-tail {
  display: flex;
  align-items: start;
  padding: 60px 0 0 0;
}

.body-tail p {
  color: #cacaca;
  font-size: 16px;
  font-weight: 500;
  padding: 0 40px 0 5px;
}

.body-part-1,
.body-part-2 {
  flex: 1;
  min-width: 320px;
  max-width: 650px;
}

.body-part-2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.background-circle {
  background: #28292d;
  border-radius: 50%;
  width: 550px;
  height: 550px;
  z-index: 9;
  box-shadow: 0 0 20px #00000080;
}

.svg-animation {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 500px;
  height: auto;
  min-height: 250px;
  visibility: visible !important;
  opacity: 1 !important;
}

.svg-animation i {
  font-size: 200px;
  color: #64f4ac;
  filter: drop-shadow(0 0 20px rgba(100, 244, 172, 0.4));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}


#Works {
  display: flex;
  position: relative;
  justify-content: space-between;
  padding: 100px;
  background-color: transparent;
  min-height: 100vh;
  align-items: center;
  will-change: transform, opacity;
}

#skill {
  display: flex;
  position: relative;
  justify-content: space-between;
  padding: 100px;
  background-color: rgba(37, 38, 42, 0.7);
  min-height: 100vh;
  align-items: center;
  will-change: transform, opacity;
}

.heading-container h3 {
  text-align: center;
  font-size: 40px;
  color: #fff;
  font-weight: 500;
  margin: 0;
}

.heading-container {
  position: absolute;
  top: 20px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
}

.heading-container p {
  font-size: 14px;
  color: #7c7d81;
  font-weight: 400;
  margin: 0;
  top: -10px;
}

.timeline-container {
  width: 60%;
  position: relative;
  padding-left: 50px;
}

.timeline-line {
  position: absolute;
  left: 20px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, #64f4ac 0%, #2d2e32 100%);
  box-shadow: 0 0 8px #64f4ac;
}

.timeline-container .design-card::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 25px;
  width: 14px;
  height: 14px;
  background: #2d2e32;
  border: 3px solid #64f4ac;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px #64f4ac;
}

.timeline-container .design-card.active::before {
  background: #64f4ac;
  transform: scale(1.2) translateX(-1px);
}

.timeline-container .cards {
  width: 100%;
}


.section-heading {
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.cards {
  position: relative;
  min-width: 50%;
  display: flex;
  flex-direction: column;
}

.design-card {
  position: relative;
  max-width: 80%;
  min-height: 150px;
  background-color: rgba(45, 46, 50, 0.9);
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px #00000040;
  transition: 0.5s ease;
  will-change: transform, opacity;
}

.design-card:hover {
  box-shadow: 0 0 15px #00000080;
  cursor: pointer;
}

.design-card.active {
  background-color: rgba(45, 46, 50, 0.95);
  border: 1px solid #64f4ac;
  box-shadow: 0 0 20px rgba(100, 244, 172, 0.2);
}

.design-card.active p {
  color: #cacaca;
  font-weight: 600;
}

.design-card div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: #fff;
  transition: 0.3s ease;
}

.design-card:hover div {
  color: #64f4ac;
}

.design-card div h3 {
  font-weight: 500;
}

.design-card:hover div h3 {
  font-weight: 600;
}

.design-card p {
  font-size: 14px;
  font-weight: 600;
  color: #7c7d81;
}

.design-card a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.design-card:hover a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.skill-icons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px 0;
}

.skill-icons-grid i {
  font-size: 32px;
  transition: transform 0.3s ease;
  filter: brightness(0.9);
}

.skill-icons-grid i.colored {
  filter: brightness(1.1);
}

.colored-icon {
  color: #64f4ac;
  filter: drop-shadow(0 0 5px rgba(100, 244, 172, 0.4));
}

.skill-icons-grid i:hover {
  transform: translateY(-5px) scale(1.2);
}


.cards-container,
.image-container {
  width: 50%;
}

.cards-container {
  padding-right: 20px;
}

#footer .footer-left {
  width: 55%;
}

#footer .footer-right {
  width: 40%;
}






#footer {
  padding: 60px 20px;
  background-color: #2D2E32;
  border-top: 1px solid rgba(100, 244, 172, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-container {
  width: 100%;
}

.footer-content p {
  font-size: 14px;
  color: #7c7d81;
  margin: 0;
  font-weight: 500;
}

#footer .heading-container {
  width: 100%;
  margin-bottom: 40px;
}

.footer-left {
  width: 100%;
}

.footer-box {
  background: rgba(45, 46, 50, 0.6);
  border: 1px solid rgba(100, 244, 172, 0.1);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.box-title {
  font-size: 22px;
  color: #64f4ac;
  margin-bottom: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-left: 4px solid #64f4ac;
  padding-left: 15px;
}

.project-list {
  width: 100%;
}

.project-item {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(100, 244, 172, 0.1);
  transition: all 0.3s ease;
}

.project-item:hover {
  padding-left: 10px;
  background: rgba(100, 244, 172, 0.05);
}

.project-item:last-child {
  border-bottom: none;
}

.project-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}

.project-name {
  font-size: 18px;
  color: #64f4ac;
  margin: 0;
  font-weight: 700;
}

.project-desc {
  font-size: 14px;
  color: #cacaca;
  margin: 0;
  line-height: 1.5;
}

.project-link {
  color: #64f4ac;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #fff;
  text-decoration: underline;
}

.email-form h2 {
  font-size: 30px;
  letter-spacing: -1.5px;
}

.email-form h2 span {
  font-weight: 600;
  color: #64f4ac;
}

.email-form input {
  height: 36px;
  margin: 10;
  border-radius: 8px;
  border: none;
  padding: 4px 8px;
}

.email-form div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.email-form div input {
  width: 65%;
}

.email-form div button {
  height: 36px;
  width: 100px;
  margin: 0;
  border-radius: 8px;
  border: none;
  background-color: #64f4ac;
  cursor: pointer;
  color: #25262a;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s ease;
}

.email-form div button:hover {
  background-color: #45A877;
}

.footer-title {
  display: flex;
  flex-direction: row;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  width: 45%;
}

.contact-form-container {
  width: 100%;
  max-width: 450px;
  margin: 0;
}



.footer-menu {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.footer-menu li {
  list-style: none;
  padding: 0 20px;
  position: relative;
  margin: 5px 0;
}

.footer-menu .active {
  color: #64f4ac;
  font-weight: 900;
}

.footer-menu li a {
  color: #fefefe;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}

.footer-menu li a:hover {
  color: #64f4ac;
  font-weight: 900;
}

.social-icons a {
  text-decoration: none;
}

.social-icons a i {
  color: #FFF;
  margin: 0 5px;
  transition: 0.3s ease;
  cursor: pointer;
}

.social-icons a:nth-child(1) i:hover {
  color: #0072b1;
}

.social-icons a:nth-child(3) i:hover {
  color: #ea4335;
}

.social-icons a:nth-child(4) i:hover {
  color: #00acee;
}

.social-icons a:nth-child(5) i:hover {
  color: transparent;
  background: -webkit-radial-gradient(30% 107%, circle, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background: -o-radial-gradient(30% 107%, circle, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background-clip: text;
  -webkit-background-clip: text;
}

.social-icons a:nth-child(6) i:hover {
  color: #3b5998;
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #64f4ac;
  color: #25262a;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  border: none;
  outline: none;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .timeline-container {
    width: 100% !important;
    padding-left: 40px !important;
  }

  .timeline-line {
    left: 15px !important;
  }

  .design-card::before {
    left: -32px !important;
  }
}

@media (max-width: 600px) {
  .skill-icons-grid {
    justify-content: center;
  }
}

.scroll-top-btn:hover {
  background-color: #25262a;
  color: #64f4ac;
  transform: translateY(-5px);
}

#mobile-menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #64f4ac;
}

@media (max-width: 1024px) {

  #content-body,
  #intro {
    padding: 100px 40px 40px 40px;
    height: auto;
    min-height: 90vh;
    flex-direction: column;
    text-align: center;
  }

  .body-part-1,
  .body-part-2 {
    width: 100%;
  }

  .svg-animation {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 40px auto;
  }

  .body-tail {
    justify-content: center;
  }

  #Works,
  #skill {
    flex-direction: column;
    padding: 100px 20px 40px 20px;
    height: auto;
    min-height: auto;
    align-items: flex-start;
  }

  .heading-container {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
  }

  .timeline-container,
  .cards-container,
  .image-container {
    width: 100% !important;
    padding: 0;
    margin: 0;
  }

  .design-card {
    max-width: 100%;
  }

  .image-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  #header {
    padding: 20px;
  }

  #mobile-menu-toggle {
    display: block;
  }

  .navbar-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: auto;
    background-color: #2d2e32;
    flex-direction: column;
    padding: 40px 0;
    transition: 0.3s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
    z-index: 999;
  }

  .navbar-menu.active {
    left: 0;
  }

  .navbar-menu li {
    padding: 20px 0;
  }

  .navbar-menu li a {
    font-size: 18px;
  }

  .social-media {
    display: none;
  }

  h1 {
    font-size: 32px;
    line-height: 42px;
  }

  h2 {
    font-size: 28px;
    line-height: 38px;
  }

  .developer-intro {
    justify-content: center;
  }

  #footer {
    flex-direction: column;
    height: auto;
    min-height: auto;
    padding: 100px 20px 40px 20px;
    align-items: center;
  }

  .footer-left,
  .footer-right {
    width: 100% !important;
  }

  .footer-left {
    margin-bottom: 40px;
  }

  .footer-box {
    padding: 25px;
  }

  .project-list {
    margin-top: 30px;
  }

  .project-row {
    flex-direction: row;
    align-items: center;
  }

  @media (max-width: 480px) {
    .project-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 5px;
    }

    .project-name {
      font-size: 16px;
    }

    .project-desc {
      font-size: 13px;
    }
  }

  .footer-right {
    display: none;
  }
}

.contact-form-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: #25262a;
  /* Solid dark background for better contrast */
  border: 1px solid rgba(100, 244, 172, 0.4);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
  display: block;
  resize: none;
  /* Prevent dragging outside form */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #7c7d81;
}

.form-group input:focus,
.form-group textarea:focus {
  background: #2d2e32;
  border-color: #64f4ac;
  outline: none;
  box-shadow: 0 0 15px rgba(100, 244, 172, 0.3);
}

#projects {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 100px 40px;
  background-color: transparent;
  min-height: 100vh;
  align-items: center;
  will-change: transform, opacity;
}

.projects-grid-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 60px;
}

.project-grid-section {
  width: 100%;
}

.grid-title {
  color: #64f4ac;
  font-size: 24px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border-bottom: 2px solid rgba(100, 244, 172, 0.2);
  padding-bottom: 10px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.project-card {
  background: rgba(45, 46, 50, 0.6);
  border: 1px solid rgba(100, 244, 172, 0.1);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #64f4ac;
  box-shadow: 0 15px 40px rgba(100, 244, 172, 0.1);
  background: rgba(45, 46, 50, 0.8);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.project-card .project-name {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.project-card .project-desc {
  color: #cacaca;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.project-card .project-link {
  color: #64f4ac;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.project-card .project-link:hover {
  transform: scale(1.2);
  color: #fff;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background-color: #1a1b1e;
  margin: auto;
  padding: 30px;
  border: 1px solid rgba(100, 244, 172, 0.2);
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.contact-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  right: 25px;
  top: 20px;
  color: #64f4ac;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #fff;
}

@media (max-width: 768px) {
  #projects {
    padding: 80px 20px;
  }

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

.submit-btn {
  width: 100%;
  padding: 14px;
  background: #64f4ac;
  color: #1a1b1e;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(100, 244, 172, 0.3);
}

.submit-btn:disabled {
  background: #3d3e42;
  color: #7c7d81;
  cursor: not-allowed;
  transform: none;
}