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

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: black;
  color: #e7e7e7;
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}
.image-gradient {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.5;
  z-index: -1;
}

.layer-blur {
  height: 0;
  width: 30rem;
  position: absolute;
  top: 20%;
  right: 0;
  box-shadow: 0 0 700px 15px white;
  rotate: -30deg;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1600px;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  border-radius: 50%;
  border: 2px solid white;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  animation: glow 2s infinite alternate ease-in-out;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.logo h1:hover {
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 40px #00ffff,
    0 0 60px #00ffff;
  transform: scale(1.1);
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px #ff5722, 0 0 10px #ff5722;
  }
  50% {
    text-shadow: 0 0 10px #ff5722, 0 0 20px #ff5722, 0 0 30px #ff5722;
  }
  100% {
    text-shadow: 0 0 5px #ff5722, 0 0 10px #ff5722;
  }
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: #e7e7e7;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav a:hover {
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff;
}

.hero {
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  padding-top: 80px;
  align-items: center;
  justify-content: space-between;
}

.hero-info {
  position: relative;
  max-width: 50%;
  padding-left: 5%;
  z-index: 2;
}

.hero-info .hero-info-title {
  position: relative;
  width: 18rem;
  height: 2.5rem;
  border-radius: 50px;
  background: linear-gradient(
    to right,
    #656565,
    #7f42a7,
    #6600c5,
    #5300a0,
    #757575,
    #656565
  );
  background-size: 200% 100%;
  animation: GradientAnimation 2.5s linear infinite;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.336);
}

@keyframes GradientAnimation {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

.hero-info .hero-info-title .title-content {
  position: absolute;
  inset: 3px;
  background-color: black;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s ease;
  cursor: pointer;
}

.hero-info .hero-info-title .title-content:hover {
  color: #5300a0;
}

.hero-info h1 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 500;
  font-size: 4rem;
  max-width: 100%;
  line-height: 1.2;
  margin-top: 40px;
  margin-bottom: 30px;
  text-transform: uppercase;
  background: linear-gradient(
    to right,
    #4acfee,
    #53f8c9,
    #02d79a,
    #6070fd,
    #2a46ff,
    #0099ff,
    #4acfee
  );
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 2.5s linear infinite;
}

@keyframes animate-gradient {
  to {
    background-position: 200%;
  }
}

.hero-info p {
  max-width: 100%;
  line-height: 1.6;
  margin-bottom: 40px;
  font-size: 1.2rem;
}

.hero-info .buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contact-me {
  color: white;
  padding: 15px 35px;
  border-radius: 10px;
  border: 1px solid #727fdeb4;
  background-color: #2200493d;
  box-shadow: 0 0 5px #727fde86;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-me:hover {
  background-color: #22004910;
  transform: translateY(-3px);
  box-shadow: 0 0 15px #727fde;
}

.download-cv {
  text-decoration: none;
  color: white;
  padding: 15px 35px;
  border-radius: 10px;
  border: 1px solid #727fdeb4;
  background-color: #2200493d;
  box-shadow: 0 0 5px #727fde86;
  transition: all 0.3s ease;
}

.download-cv:hover {
  background-color: #22004910;
  transform: translateY(-3px);
  box-shadow: 0 0 15px #727fde;
}

.hero-vid {
  position: relative;
  max-width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-vid video {
  max-height: 90%;
  max-width: 100%;
  object-fit: contain;
}

.scroll-down {
  height: 50px;
  width: 30px;
  border: 2px solid lightgray;
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 0 15px lightgray;
  z-index: 999;
}

.scroll-down::before,
.scroll-down::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  height: 10px;
  width: 10px;
  border: 2px solid lightgray;
  transform: translate(-50%, -100%) rotate(45deg);
  border-top: transparent;
  border-left: transparent;
  animation: scroll-down 2s ease-in-out infinite;
}

.scroll-down::before {
  top: 30%;
  animation-delay: 0.5s;
}

@keyframes scroll-down {
  0% {
    opacity: 0;
  }
  30%,
  60% {
    opacity: 1;
  }
  100% {
    top: 90%;
    opacity: 0;
  }
}

/* Info Section & Bento Grid Enhancements */
/* Info Section & Bento Grid Enhancements */
.info-section {
  width: 100%;
  padding: 7rem 5% 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  margin-bottom: 3rem;
  font-size: 3.5rem;
  font-family: "Oswald", sans-serif;
  background-image: linear-gradient(rgb(133, 133, 133), rgb(255, 255, 255));
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  text-align: center;
  letter-spacing: 2px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, transparent, #76b0ab, transparent);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.bento-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  grid-template-areas:
    "intro intro intro tech"
    "passion passion time tech";
  gap: 2rem;
}

.card {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 233, 230, 0.3);
  box-shadow: 0 5px 25px rgba(124, 233, 230, 0.15);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--x) var(--y),
    rgba(124, 233, 230, 0.15),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  font-family: "Oswald", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #ffffff;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: left;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-text {
  color: #b3b3b3;
  line-height: 1.7;
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  text-align: left;
}

.intro {
  grid-area: intro;
  min-height: 300px;
  position: relative;
  padding-right: 30%;
}

.tech {
  grid-area: tech;
  min-height: 550px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.time {
  grid-area: time;
  min-height: 240px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 4rem; /* Space for button */
}

.passion {
  grid-area: passion;
  min-height: 240px;
  position: relative;
  background-image: linear-gradient(
    to right bottom,
    rgba(83, 0, 160, 0.1),
    rgba(124, 233, 230, 0.1)
  );
}

.bento-grid .background-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  filter: blur(5px);
}

.lottie-container {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 20rem;
  height: 20rem;
  z-index: 0;
}

.bento-grid .skills-group {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 300px;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1;
  margin-top: auto;
}

.tech:hover .skills-group {
  transform: translateX(-50%) scale(1.05);
  opacity: 1;
}

.bento-grid .btn {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.9rem 2rem;
  background-color: rgba(124, 233, 230, 0.15);
  color: #76b0ab;
  border: 1px solid rgba(124, 233, 230, 0.3);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  z-index: 2;
  width: 80%;
  max-width: 200px;
}

.bento-grid .btn:hover {
  background-color: rgba(124, 233, 230, 0.25);
  box-shadow: 0 0 15px rgba(124, 233, 230, 0.3);
  transform: translateX(-50%) translateY(-5px);
}

.bento-grid .btn i {
  font-size: 1.2rem;
}

/* Additional styling for passion card */
.passion {
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

/* Responsive design improvements */
@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "intro intro"
      "passion tech"
      "time tech";
    gap: 1.5rem;
  }

  .card-title {
    font-size: 1.6rem;
  }

  .lottie-container {
    width: 15rem;
    height: 15rem;
    right: 0;
  }

  .passion::after {
    font-size: 1.6rem;
  }

  .intro {
    padding-right: 25%;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "tech"
      "passion"
      "time";
  }

  .intro,
  .tech,
  .time,
  .passion {
    min-height: auto;
    padding: 2rem;
  }

  .card {
    padding: 2rem;
  }

  .intro {
    padding-right: 2rem;
  }

  .lottie-container {
    position: relative;
    width: 100%;
    height: 15rem;
    right: auto;
    top: auto;
    transform: none;
    order: -1;
    margin: 1rem auto;
  }

  .bento-grid .skills-group {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin: 2rem auto 0;
    display: block;
  }

  .bento-grid .btn {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 2rem auto 0;
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .passion {
    height: 250px;
  }

  .passion::after {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .card-title {
    font-size: 1.4rem;
  }

  .passion::after {
    font-size: 1.2rem;
    padding: 0 1rem;
  }
}
/* Project Section Fixes */
/* Project Section Fixes - Preserving Original Design */
/* Project Section Fixes - Updated to allow dynamic height */
.my-projects {
  display: flex;
  flex-direction: column;
  gap: 10%;
  align-items: center;
  position: relative;
  width: 80%;
  min-height: 100vh; /* Changed from height to min-height */
  margin: 200px auto; /* Removed the fixed bottom margin */
  padding-bottom: 200px; /* Added padding instead */
}

.project-card {
  display: flex;
  width: 100%;
  min-height: 40%; /* Changed to min-height */
  align-items: center;
  gap: 10%;
  justify-content: center;
  margin-bottom: 5rem; /* Added margin between cards */
}

/* Placeholder styling for projects without media */
.project-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    145deg,
    rgba(98, 112, 253, 0.1),
    rgba(124, 233, 230, 0.1)
  );
  border: 2px dashed rgba(124, 233, 230, 0.3);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.project-placeholder i {
  font-size: 5rem;
  color: rgba(124, 233, 230, 0.5);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.project-vidbox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  position: relative;
  cursor: pointer;
  min-width: 400px;
  transition: 0.5s;
  mix-blend-mode: exclusion;
}

.project-vidbox video,
.project-vidbox .project-image {
  object-fit: cover;
  width: 100%;
  box-shadow: 0 0 10px lightgray;
  border-radius: 20px;
  transition: 0.5s;
}

.project-vidbox video:hover,
.project-vidbox .project-image:hover {
  box-shadow: 0 0 20px lightgray;
}

.project-info {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  width: 50%;
  padding-left: 10%;
}

.project-info h1 {
  width: 90%;
  font-size: 25px;
  font-weight: bold;
  text-wrap: nowrap;
  margin-bottom: 10px;
  margin-top: 0;
  max-width: 450px;
}

.project-info p {
  width: 90%;
  max-width: 400px;
  min-width: 300px;
  margin-bottom: 50px;
  margin-top: 0;
}

.project-buttons button,
.project-buttons a {
  color: white;
  padding: 12px 25px;
  border-radius: 10px;
  border: 1px solid #727fdeb4;
  background-color: #2200493d;
  box-shadow: 0 0 5px #727fde86;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.project-buttons button:hover,
.project-buttons a:hover {
  box-shadow: 0 0 15px #727fde;
  background-color: #22004910;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .my-projects {
    width: 90%;
  }
}

@media (max-width: 992px) {
  .my-projects {
    padding-bottom: 150px;
  }

  .project-card {
    gap: 5%;
    margin-bottom: 4rem;
  }

  .project-vidbox {
    min-width: 300px;
  }

  .project-info {
    padding-left: 5%;
  }

  .project-info h1 {
    text-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .my-projects {
    min-height: auto;
    padding-bottom: 100px;
    margin: 100px auto;
  }

  .project-card {
    flex-direction: column;
    margin-bottom: 5rem;
    gap: 3rem;
  }

  .project-vidbox {
    width: 100%;
    min-width: unset;
  }

  .project-info {
    width: 100%;
    padding-left: 0;
    align-items: center;
    text-align: center;
  }

  .project-info h1,
  .project-info p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .my-projects {
    width: 95%;
    padding-bottom: 80px;
  }

  .project-info p {
    min-width: unset;
  }
}

@media (max-width: 992px) {
  .project-card {
    gap: 5%;
    height: auto;
  }

  .project-vidbox {
    min-width: 300px;
  }

  .project-info {
    padding-left: 5%;
  }

  .project-info h1 {
    text-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .my-projects {
    height: auto;
    margin-bottom: 300px;
  }

  .project-card {
    flex-direction: column;
    height: auto;
    gap: 5rem;
  }

  .project-vidbox {
    width: 100%;
    min-width: unset;
  }

  .project-info {
    width: 100%;
    padding-left: 0;
    align-items: center;
    text-align: center;
  }

  .project-info h1,
  .project-info p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .my-projects {
    width: 95%;
    margin-bottom: 200px;
  }

  .project-info p {
    min-width: unset;
  }
}
.gradient {
  background: linear-gradient(to right, #008baa, #7e42a7, #6600c5, #6070fd);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 2.5s linear infinite;
}
@keyframes animate-gradient {
  to {
    background-position: 200%;
  }
}
.hover-sign {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30%;
  height: 100px;
}
.hover-sign::before,
.hover-sign::after {
  content: "";
  position: absolute;
  width: 50px; /* Adjust the size as needed */
  height: 50px; /* Adjust the size as needed */
  background: url("images/point.svg") no-repeat center;
  background-size: contain;
  top: 20%;
  left: 40%;
  border-radius: 50%;
  animation: hoverAnimation 3s ease-in-out infinite;
}

@keyframes hoverAnimation {
  0% {
    box-shadow: 0 0 5px lightgray;
    transform: translate(100%, 50%) rotate(30deg);
  }
  100% {
    box-shadow: 0 0 15px lightgray;
    transform: translate(80%, 50%) rotate(0deg);
  }
}

.hover-sign.active {
  display: none;
}
.skill-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.skill-box {
  width: 100%;
  height: 90vh;
  position: relative;
  display: flex;
  align-items: start;
  justify-content: center;
}
.skill-img {
  width: 70%;
  mix-blend-mode: lighten;
  opacity: 0.7;
}
.designer {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 25%;
  left: 5%;
  max-width: 300px;
}
.coder {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 25%;
  right: 5%;
  max-width: 300px;
}
.skill-box h1 {
  font-size: 50px;
  display: flex;
  align-items: center;
}
.skill-box p {
  line-height: 22px;
}
.slider {
  position: absolute;
  bottom: 5%;
  right: 20%;
  width: 50%;
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 10% 90%,
    transparent
  );
  mix-blend-mode: difference;
  opacity: 0.8;
}

.slider .list {
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}

.slider .list .item {
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 10s linear infinite;
  transition: filter 0.5s;
}

/* Properly spaced animation delays using custom properties */
.slider .list .item:nth-child(1) {
  --position: 1;
}
.slider .list .item:nth-child(2) {
  --position: 2;
}
.slider .list .item:nth-child(3) {
  --position: 3;
}
.slider .list .item:nth-child(4) {
  --position: 4;
}
.slider .list .item:nth-child(5) {
  --position: 5;
}
.slider .list .item:nth-child(6) {
  --position: 6;
}
.slider .list .item:nth-child(7) {
  --position: 7;
}
.slider .list .item:nth-child(8) {
  --position: 8;
}
.slider .list .item:nth-child(9) {
  --position: 9;
}
.slider .list .item:nth-child(10) {
  --position: 10;
}
.slider .list .item:nth-child(11) {
  --position: 11;
}
.slider .list .item:nth-child(12) {
  --position: 12;
}

.slider .list .item {
  animation-delay: calc((10s / 12) * (var(--position) - 1) - 10s) !important;
}

.slider .list .item i {
  width: 100%;
  font-size: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes autoRun {
  from {
    left: 100%;
  }
  to {
    left: calc(var(--width) * -1);
  }
}

/* Reverse animation direction when attribute is set */
.slider[reverse="true"] .list .item {
  animation-direction: reverse;
  left: -100%;
}

@keyframes autoRunReverse {
  from {
    left: -100%;
  }
  to {
    left: calc(100% + var(--width));
  }
}

.slider:hover .item {
  animation-play-state: paused !important;
  filter: grayscale(1);
}

.slider .item:hover {
  filter: grayscale(0);
}

/* Fix for mobile responsiveness */
@media (max-width: 992px) {
  .slider {
    width: 70%;
    right: 15%;
  }

  .slider .list .item i {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  .slider {
    width: 80%;
    right: 10%;
  }
}

@media (max-width: 480px) {
  .slider {
    width: 90%;
    right: 5%;
  }
}
/* Contact Section Improvements */
.contact-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 5% 3rem;
  position: relative;
}

.contact-section .section-title {
  margin-bottom: 4rem;
}

.contact-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
}

.social-box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
  min-width: 300px;
}

.social-box .contact-intro {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #e7e7e7;
  margin-bottom: 1rem;
  max-width: 500px;
}

.social-box a {
  color: #e7e7e7;
  text-decoration: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-box a:hover {
  color: #00ffff;
  transform: translateX(5px);
}

.social-box i {
  color: #727fde;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-box a:hover i {
  color: #00ffff;
  transform: scale(1.1);
}

.social-icon {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-icon a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(124, 233, 230, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon a i {
  color: #e7e7e7;
  font-size: 1.5rem;
  margin: 0;
}

.social-icon a:hover {
  background-color: rgba(124, 233, 230, 0.1);
  border-color: rgba(124, 233, 230, 0.4);
  box-shadow: 0 0 15px rgba(124, 233, 230, 0.2);
  transform: translateY(-5px);
}

.social-icon a:hover i {
  color: #00ffff;
}

/* Contact Section Improvements */
/* Contact Section Improvements */
.contact-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 5% 5rem;
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.5),
    rgba(10, 10, 20, 0.7)
  );
}

.contact-section .section-title {
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1.2rem;
  color: #b3b3b3;
  text-align: center;
  margin-bottom: 3rem;
}
.contact-container {
  display: flex;
  width: 100%;
  max-width: 1400px;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
}

.contact-3d-box {
  flex: 1;
  min-width: 400px;
  min-height: 500px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#contactCanvas {
  width: 100%;
  height: 100%;
  display: block;
}
.social-box {
  display: flex;
  flex-direction: column;
  width: 80%;
  max-width: 600px;
  margin-bottom: 3rem;
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.social-box a {
  color: #e7e7e7;
  text-decoration: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-box a:hover {
  color: #00ffff;
  transform: translateX(5px);
}

.social-box a i {
  color: #727fde;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-box a:hover i {
  color: #00ffff;
  transform: scale(1.1);
}

.social-icon {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-icon a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(124, 233, 230, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.social-icon a i {
  color: #e7e7e7;
  font-size: 1.5rem;
  margin: 0;
}

.social-icon a:hover {
  background-color: rgba(124, 233, 230, 0.1);
  border-color: rgba(124, 233, 230, 0.4);
  box-shadow: 0 0 15px rgba(124, 233, 230, 0.2);
  transform: translateY(-5px);
}

.social-icon a:hover i {
  color: #00ffff;
}

.contact-box {
  width: 80%;
  max-width: 600px;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.contact-box p {
  color: #b3b3b3;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-box p:first-child {
  margin-bottom: 3rem;
}

.contact-box p:not(:first-child) {
  margin-bottom: 0.7rem;
  color: #e7e7e7;
  font-weight: 500;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: #e7e7e7;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.contact-box textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-box input:focus,
.contact-box textarea:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(124, 233, 230, 0.4);
  box-shadow: 0 0 10px rgba(124, 233, 230, 0.2);
}

.contact-box input::placeholder,
.contact-box textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-box button {
  margin-top: 1rem;
  padding: 1rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(98, 112, 253, 0.8),
    rgba(102, 0, 197, 0.8)
  );
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(98, 112, 253, 0.3);
  width: 100%;
}

.contact-box button i {
  font-size: 1.4rem;
}

.contact-box button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(98, 112, 253, 0.4);
  background: linear-gradient(
    135deg,
    rgba(98, 112, 253, 0.9),
    rgba(102, 0, 197, 0.9)
  );
}

/* Add responsiveness */
@media (max-width: 992px) {
  .social-box,
  .contact-box {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 4rem 5% 3rem;
  }

  .contact-section .section-title {
    margin-bottom: 3rem;
  }

  .social-box,
  .contact-box {
    width: 95%;
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 3rem 5% 2rem;
  }

  .contact-box,
  .social-box {
    padding: 1.5rem;
    width: 100%;
  }

  .social-icon {
    justify-content: space-between;
  }

  .social-box a {
    font-size: 1rem;
  }

  .social-box a i {
    font-size: 1.2rem;
  }

  .contact-box button {
    padding: 0.8rem 1.5rem;
  }
}
/* Enhanced Footer Styles */
/* Enhanced Footer Styles */
.footer {
  position: relative;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9),
    rgba(10, 10, 30, 0.95)
  );
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(124, 233, 230, 0.2);
  padding: 2rem 5%;
  margin-top: 0;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-section p {
  color: #b3b3b3;
  font-size: 0.95rem;
  margin: 0;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-section p:hover {
  color: #00ffff;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

/* Social Icons Container */
.socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.social-icon {
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    rgba(124, 233, 230, 0.1),
    rgba(98, 112, 253, 0.1)
  );
  border: 1px solid rgba(124, 233, 230, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
}

.social-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(98, 112, 253, 0.3),
    rgba(124, 233, 230, 0.3)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: rgba(124, 233, 230, 0.5);
  box-shadow: 0 5px 20px rgba(124, 233, 230, 0.3);
}

.social-icon i {
  font-size: 1.3rem;
  color: #e7e7e7;
  z-index: 1;
  transition: all 0.3s ease;
}

.social-icon:hover i {
  color: #00ffff;
  transform: scale(1.1);
}

/* Specific social media colors on hover */
.social-icon.github:hover {
  border-color: #ffffff;
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.social-icon.github:hover i {
  color: #ffffff;
}

.social-icon.linkedin:hover {
  border-color: #0077b5;
  box-shadow: 0 5px 20px rgba(0, 119, 181, 0.3);
}

.social-icon.linkedin:hover i {
  color: #0077b5;
}

.social-icon.twitter:hover {
  border-color: #1da1f2;
  box-shadow: 0 5px 20px rgba(29, 161, 242, 0.3);
}

.social-icon.twitter:hover i {
  color: #1da1f2;
}

.social-icon.instagram:hover {
  border-color: #e1306c;
  box-shadow: 0 5px 20px rgba(225, 48, 108, 0.3);
}

.social-icon.instagram:hover i {
  color: #e1306c;
}

/* Footer Responsive Design */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }

  .socials {
    order: -1;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 5%;
  }

  .socials {
    gap: 1rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon i {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 1.5rem 5%;
  }

  .footer-section p {
    font-size: 0.85rem;
  }

  .socials {
    gap: 0.8rem;
    flex-wrap: wrap;
  }

  .social-icon {
    width: 38px;
    height: 38px;
  }
}
.autoblur {
  animation: autobluranimation linear both;
  animation-timeline: view();
}
@keyframes autobluranimation {
  0% {
    filter: blur(40px);
    opacity: 0;
  }
  35%,
  65% {
    filter: blur(0);
    opacity: 1;
  }
  100% {
    filter: blur(40px);
    opacity: 0;
  }
}
.autodisplay {
  animation: autodisplayanimation both;
  animation-timeline: view();
}

@keyframes autodisplayanimation {
  from {
    filter: blur(10px);
    transform: translateY(-180px) scale(0);
    opacity: 0.2;
  }
  50% {
    opacity: 0;
    filter: blur(0);
    transform: translateX(0) scale(1);
  }
}
.fadeinright {
  animation: fadeinAnimation both;
  animation-timeline: view();
}
@keyframes fadeinAnimation {
  0% {
    opacity: 0;
    transform: translateX(-500px) scale(0.2);
    filter: blur(20px);
  }
  35%,
  65% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
  100% {
    filter: blur(20px);
  }
}
/* Responsive Media Queries */

/* General responsive styles */
@media (max-width: 1200px) {
  .hero-info h1 {
    font-size: 3.5rem;
  }

  .hero-info p {
    font-size: 1.1rem;
  }

  .hero-info .buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .contact-me,
  .download-cv {
    width: 100%;
    text-align: center;
  }
}

/* Tablet Styles */
@media (max-width: 992px) {
  /* Header adjustments */
  header {
    padding: 0.8rem;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  .logo h1 {
    font-size: 1.2rem;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  /* Hero section */
  .hero {
    flex-direction: column;
    padding-top: 100px;
    height: auto;
    min-height: 100vh;
  }

  .hero-info {
    max-width: 90%;
    padding: 2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-info h1 {
    font-size: 3rem;
    text-align: center;
  }

  .hero-info .buttons {
    align-items: center;
  }

  .hero-vid {
    max-width: 90%;
    margin-top: 2rem;
  }

  .scroll-down {
    bottom: 10px;
  }

  /* Bento grid corrections */
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "intro intro"
      "passion tech"
      "time tech";
    gap: 1.5rem;
  }

  /* Project section */
  .my-projects {
    margin: 100px auto 500px;
  }

  /* Skills section */
  .skill-box {
    height: auto;
    min-height: 80vh;
    flex-direction: column;
    align-items: center;
    padding-bottom: 150px;
  }

  .skill-img {
    width: 50%;
    margin-bottom: 2rem;
  }

  .designer,
  .coder {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin: 1rem auto;
    text-align: center;
  }

  .designer {
    margin-bottom: 3rem;
  }

  .slider {
    position: relative;
    bottom: 0;
    right: 0;
    width: 90%;
    margin: 2rem auto 0;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  /* Header mobile */
  header {
    flex-direction: column;
    padding: 0.5rem;
  }

  .logo {
    margin-bottom: 0.5rem;
  }

  nav {
    width: 100%;
    justify-content: space-around;
    padding: 0.5rem 0;
  }

  nav a {
    font-size: 0.8rem;
    padding: 0.5rem 0;
  }

  /* Hero mobile */
  .hero-info h1 {
    font-size: 2.5rem;
  }

  .hero-info p {
    font-size: 1rem;
  }

  .hero-info-title {
    width: 16rem !important;
  }

  .hero-info-title .title-content {
    font-size: 0.8rem;
  }

  /* Bento grid mobile */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "tech"
      "passion"
      "time";
  }

  .card {
    padding: 1.5rem;
  }

  .card-title {
    font-size: 1.5rem;
  }

  /* Projects mobile */
  .my-projects {
    margin: 100px auto 600px;
  }

  .project-card {
    flex-direction: column;
    height: auto;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .project-vidbox {
    width: 90%;
    min-width: unset;
  }

  .project-info {
    width: 90%;
    padding-left: 0;
    align-items: center;
  }

  .project-info h1 {
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
  }

  .project-info p {
    text-align: center;
    min-width: unset;
    width: 100%;
    margin-bottom: 30px;
  }

  .project-buttons {
    justify-content: center;
  }

  /* Skills mobile */
  .skill-box h1 {
    font-size: 2rem;
  }

  /* Contact mobile */
  .social-box,
  .contact-box {
    width: 90%;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  /* Header small mobile */
  nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  nav a {
    width: 45%;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.7rem;
  }

  /* Hero small mobile */
  .hero-info h1 {
    font-size: 2rem;
  }

  .hero-info .hero-info-title {
    width: 14rem !important;
    height: 2rem !important;
  }

  .contact-me,
  .download-cv {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* Projects small mobile */
  .section-title {
    font-size: 2.2rem;
  }

  .project-buttons button {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  /* Contact small mobile */
  .social-box,
  .contact-box {
    width: 95%;
    padding: 1.2rem;
  }

  .social-box a {
    font-size: 0.9rem;
  }

  .social-icon a {
    width: 40px;
    height: 40px;
  }

  .contact-box input,
  .contact-box textarea {
    padding: 0.8rem;
  }

  .contact-box button {
    padding: 0.8rem;
  }

  /* Footer */
  footer h1 {
    font-size: 0.8rem;
  }
}

/* Portrait Mobile Adjustments */
@media (max-width: 380px) {
  .hero-info h1 {
    font-size: 1.8rem;
  }

  .hero-info-title {
    width: 12rem !important;
    height: 1.8rem !important;
  }

  .hero-info-title .title-content {
    font-size: 0.7rem;
  }

  .contact-me,
  .download-cv {
    padding: 10px 15px;
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Fix for project section spacing */
@media (max-width: 992px) {
  .my-projects {
    height: auto;
    margin-bottom: 400px;
  }
}

@media (max-width: 768px) {
  .my-projects {
    margin-bottom: 800px;
  }
}

/* Bootstrap-like container behavior */
@media (min-width: 576px) {
  .container {
    padding: 0 15px;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 25px;
  }
}

@media (min-width: 992px) {
  .container {
    padding: 0 40px;
  }
}

/* Add responsive hamburger menu for very small screens */
@media (max-width: 575px) {
  header {
    position: relative;
    padding: 0.5rem;
  }

  .logo {
    width: 100%;
    justify-content: center;
  }

  nav {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  nav a {
    width: 100%;
    text-align: center;
    margin: 0.2rem 0;
  }
}
