@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Orbitron', sans-serif;
}

body {
  background-color: #0d0b1a;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

header {
  width: 100%;
  background: rgba(10, 9, 20, 0.85);
  backdrop-filter: blur(10px);
  padding: 28px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 0 20px rgba(155, 0, 255, 0.2);
}

.navbar {
  width: 90%;
  max-width: 1600px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #b56cff;
  letter-spacing: 2px;
  text-shadow: 0 0 8px #9b4dff, 0 0 15px #9b4dff;
}

.logo span {
  color: #00fff2;
  text-shadow: 0 0 8px #00fff2, 0 0 15px #00fff2;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 50px;
  transition: all 0.3s ease;
}

.nav-links li a {
  color: #d4c2ff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  transition: 0.3s;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #a020f0, #00fff2);
  transition: 0.3s;
  border-radius: 2px;
}

.nav-links li a:hover {
  color: #fff;
  text-shadow: 0 0 5px #a020f0, 0 0 15px #00fff2;
}

.nav-links li a:hover::after {
  width: 100%;
}

.menu-icon {
  display: none;
  font-size: 2rem;
  color: #d4c2ff;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

.section {
  padding: 100px 10%;
  color: #d4c2ff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 2.2rem;
  color: #fff;
  text-shadow: 0 0 10px #a020f0, 0 0 25px #00fff2;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 15px auto 0;
  background: linear-gradient(90deg, #a020f0, #00fff2);
  border-radius: 2px;
}

#about .section-content {
  max-width: 700px;
  margin: auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
}

#about span {
  color: #00fff2;
  text-shadow: 0 0 10px #00fff2;
}

.projects-background-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.projects-background-shapes .shape {
  position: absolute;
  opacity: 0.3;
  filter: blur(1px);
  animation: float 12s infinite ease-in-out alternate;
}

.projects-background-shapes .circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160,32,240,0.6), transparent 70%);
  top: 5%;
  left: 10%;
  animation-duration: 14s;
}

.projects-background-shapes .circle.small {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(0,255,242,0.6), transparent 70%);
  bottom: 10%;
  right: 15%;
  animation-duration: 18s;
}

.projects-background-shapes .circle.extra {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255,0,255,0.6), transparent 70%);
  top: 50%;
  left: 80%;
  animation-duration: 16s;
}

.projects-background-shapes .square {
  width: 100px;
  height: 100px;
  border: 2px solid rgba(0, 255, 242, 0.5);
  top: 20%;
  right: 5%;
  animation-duration: 20s;
}

.projects-background-shapes .square.small {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(160, 32, 240, 0.5);
  top: 70%;
  left: 25%;
  animation-duration: 22s;
}

.projects-background-shapes .triangle {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 50px solid rgba(255, 0, 200, 0.5);
  top: 60%;
  left: 10%;
  transform: rotate(20deg);
  animation-duration: 18s;
}

.projects-background-shapes .triangle.small {
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 35px solid rgba(0, 255, 242, 0.5);
  top: 40%;
  left: 70%;
  animation-duration: 19s;
}

.projects-background-shapes .line {
  width: 2px;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255,0,255,0.5), rgba(0,255,242,0.5));
  top: 70%;
  left: 60%;
  animation-duration: 15s;
}

.projects-background-shapes .line.thin {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(160,32,240,0.5), rgba(0,255,242,0.5));
  top: 30%;
  left: 40%;
  animation-duration: 12s;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-20px) rotate(15deg); opacity: 0.6; }
  100% { transform: translateY(-40px) rotate(30deg); opacity: 0.4; }
}

#projects {
  position: relative;
  z-index: 2;
}

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

.project-card {
  background: rgba(30, 20, 50, 0.6);
  border: 1px solid rgba(160, 32, 240, 0.3);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 0 15px rgba(155, 0, 255, 0.2);
  transition: 0.4s;
}

.project-card h3 {
  color: #00fff2;
  margin-bottom: 10px;
}

.project-card p {
  color: #d0b9ff;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(155, 0, 255, 0.5);
  border-color: #00fff2;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center;
}

.skill {
  background: rgba(40, 20, 60, 0.7);
  border: 1px solid rgba(160, 32, 240, 0.4);
  padding: 15px 25px;
  border-radius: 8px;
  color: #fff;
  text-shadow: 0 0 8px #a020f0;
  transition: 0.3s;
}

.skill:hover {
  background: linear-gradient(90deg, #a020f0, #00fff2);
  color: #0d0b1a;
  text-shadow: none;
  transform: scale(1.05);
}

.contact-container {
  max-width: 600px;
  margin: auto;
  background: rgba(25, 15, 45, 0.7);
  border-radius: 10px;
  border: 1px solid rgba(160, 32, 240, 0.3);
  padding: 30px;
  box-shadow: 0 0 20px rgba(155, 0, 255, 0.2);
}

.contact-container p {
  margin-bottom: 20px;
  color: #d4c2ff;
}

.contact-container a {
  color: #00fff2;
  text-decoration: none;
  transition: 0.3s;
}

.contact-container a:hover {
  text-shadow: 0 0 8px #00fff2, 0 0 15px #a020f0;
}

.home-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 10%;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 20% 30%, rgba(155, 0, 255, 0.1), transparent 70%),
              radial-gradient(circle at 80% 70%, rgba(0, 255, 242, 0.1), transparent 70%);
}

.background-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  opacity: 0.4;
  filter: blur(1px);
  animation: float 10s infinite ease-in-out alternate;
  will-change: transform, opacity;
}

.shape.circle {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(160, 32, 240, 0.7), transparent 70%);
  border-radius: 50%;
  top: 10%;
  left: 15%;
  animation-duration: 12s;
}

.shape.circle.small {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 255, 242, 0.7), transparent 70%);
  bottom: 20%;
  right: 20%;
  animation-duration: 15s;
}

.shape.triangle {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(255, 0, 200, 0.5);
  top: 60%;
  left: 10%;
  transform: rotate(20deg);
  animation-duration: 18s;
}

.shape.square {
  width: 100px;
  height: 100px;
  border: 2px solid rgba(0, 255, 242, 0.6);
  top: 25%;
  right: 10%;
  animation-duration: 14s;
  animation-delay: 2s;
}

.shape.line {
  width: 2px;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255, 0, 255, 0.6), rgba(0, 255, 242, 0.6));
  top: 70%;
  left: 60%;
  animation-duration: 10s;
  animation-delay: 1s;
}

.shape.hexagon {
  position: absolute;
  width: 100px;
  height: 55px;
  background: rgba(155, 0, 255, 0.3);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  top: 50%;
  left: 35%;
  box-shadow: 0 0 20px rgba(155, 0, 255, 0.5);
  animation: float 16s infinite ease-in-out alternate;
  animation-delay: 3s;
}

.shape.ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(0, 255, 242, 0.6);
  border-radius: 50%;
  top: 15%;
  right: 30%;
  box-shadow: 0 0 25px rgba(0, 255, 242, 0.4);
  animation: float 20s infinite ease-in-out alternate;
  animation-delay: 5s;
}

.shape.pulse {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 166, 0.3), transparent 70%);
  top: 65%;
  left: 75%;
  animation: pulse 8s infinite ease-in-out;
  filter: blur(1px);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.8;
  }
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
  50% { opacity: 0.8; }
  100% { transform: translateY(-30px) rotate(20deg); opacity: 0.5; }
}

.home-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1400px;
  z-index: 2;
  position: relative;
}

.home-image img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #a020f0;
  box-shadow: 0 0 25px rgba(155, 0, 255, 0.5),
              0 0 40px rgba(0, 255, 242, 0.3);
  transition: 0.4s;
}

.home-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 255, 242, 0.6),
              0 0 50px rgba(160, 32, 240, 0.4);
}

.home-text {
  flex: 1;
  text-align: left;
}
.home-text h4{
    font-size: 0.8rem;
    font-weight: 100;
    text-shadow: 0 0 10px #a020f0, 0 0 25px #00fff2;
    padding: 10px;
}
.home-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  text-shadow: 0 0 10px #a020f0, 0 0 25px #0dded4;
}

.home-text h1 span {
  color: #00fff2;
  text-shadow: 0 0 10px #00fff2, 0 0 25px #a020f0;
}

.home-text h2 {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #d4c2ff;
  letter-spacing: 1px;
  text-shadow: 0 0 5px #a020f0;
  padding-bottom: 5px;
}

.glow-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  border: 2px solid #00fff2;
  border-radius: 30px;
  color: #00fff2;
  text-decoration: none;
  font-weight: 600;
  transition: 0.4s;
  box-shadow: 0 0 15px rgba(0, 255, 242, 0.3);
}

.glow-btn:hover {
  background: linear-gradient(90deg, #a020f0, #00fff2);
  color: #0d0b1a;
  box-shadow: 0 0 20px #00fff2, 0 0 35px #a020f0;
  transform: translateY(-3px);
}

/* #about{

} */

.about-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.about-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  color: #d4c2ff;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: left;
}

.about-text span {
  color: #00fff2;
  text-shadow: 0 0 10px #00fff2;
}

.hobbies {
  background: rgba(20, 0, 40, 0.6);
  border-radius: 15px;
  padding: 30px;
  color: #e0e0ff;
  box-shadow: 0 0 30px rgba(150, 0, 255, 0.2);
  backdrop-filter: blur(6px);
}

.hobbies h3 {
  font-size: 2rem;
  color: #d77eff;
  margin-bottom: 25px;
  text-shadow: 0 0 10px #d77eff, 0 0 20px #9f44ff;
}

.hobbies ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hobbies li {
  display: flex;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 12px;
  transition: 0.3s ease;
  border-left: 4px solid #d77eff;
  box-shadow: 0 0 10px rgba(215, 126, 255, 0.2);
}

.hobbies li:hover {
  transform: translateX(5px);
  box-shadow: 0 0 20px rgba(215, 126, 255, 0.5);
}

.hobbies li span {
  font-size: 2rem;
  color: #d77eff;
  margin-right: 15px;
  text-shadow: 0 0 10px #d77eff;
}

.hobby-content strong {
  font-size: 1.2rem;
  color: #c6d572;
  display: block;
  margin-bottom: 5px;
  text-align: left;
}

.hobby-content p {
  font-size: 0.95rem;
  color: #bdbdfd;
  line-height: 1.5;
  text-align: left;
}

.about-text {
  background: rgba(25, 0, 45, 0.6);
  border: 1px solid rgba(215, 126, 255, 0.3);
  border-radius: 15px;
  padding: 40px;
  color: #e0e0ff;
  box-shadow: 0 0 25px rgba(150, 0, 255, 0.2), inset 0 0 15px rgba(215, 126, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-text:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px rgba(215, 126, 255, 0.4);
}

.about-text::before, .about-text::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  border-radius: 15px;
  pointer-events: none;
}

.about-text::before {
  border: 2px solid rgba(215, 126, 255, 0.3);
  filter: blur(8px);
  animation: glowPulse 4s infinite alternate;
}

.about-text::after {
  border: 1px solid rgba(150, 0, 255, 0.5);
  opacity: 0.4;
  filter: blur(12px);
}

@keyframes glowPulse {
  0% { opacity: 0.2; box-shadow: 0 0 15px #d77eff44; }
  100% { opacity: 1; box-shadow: 0 0 35px #d77effaa; }
}

.about-text span {
  color: #d77eff;
  font-weight: 600;
  text-shadow: 0 0 10px #d77eff, 0 0 20px #a94aff;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0;
  text-align: justify;
}

.skills-section {
  padding: 100px 10%;
  background: radial-gradient(circle at top left, #0a0014, #120028);
  color: #e0e0ff;
}

.skills-title {
  font-size: 2.2rem;
  color: #fff;
  text-shadow: 0 0 10px #a020f0, 0 0 25px #00fff2;
  margin-bottom: 40px;
  position: relative;
}

.skills-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 15px auto 0;
  background: linear-gradient(90deg, #a020f0, #00fff2);
  border-radius: 2px;
}

.skills-section h2:first-of-type {
  text-align: center;
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 0 0 15px #a020f0, 0 0 25px #00fff2;
  margin-bottom: 50px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
}

.skills-left {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.skills-box, .interests-box {
  background: rgba(25, 0, 45, 0.6);
  border: 1px solid rgba(215, 126, 255, 0.3);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 0 25px rgba(150, 0, 255, 0.2);
  backdrop-filter: blur(10px);
}

.skills-box h2, .interests-box h2 {
  color: #d77eff;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #d77eff, 0 0 20px #9f44ff;
}

.skill {
  margin-bottom: 20px;
}

.skill span {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.bar {
  width: 100%;
  height: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #d77eff, #dcf075);
  box-shadow: 0 0 15px #d77eff;
  border-radius: 10px;
  transition: width 2s ease;
}

.interests-box ul {
  list-style: none;
  padding: 0;
}

.interests-box li {
  padding: 8px 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.skills-right {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tech-box, .certifications-box {
  background: rgba(25, 0, 45, 0.6);
  border: 1px solid rgba(215, 126, 255, 0.3);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 0 25px rgba(150, 0, 255, 0.2);
  backdrop-filter: blur(10px);
}

.tech-box h2, .certifications-box h2 {
  color: #d77eff;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #d77eff, 0 0 20px #9f44ff;
}

.tech-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  justify-items: center;
}

.tech-icons i {
  font-size: 3rem;
  color: #F2E900;
  text-shadow: 0 0 20px #d77eff, 0 0 40px #a94aff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.tech-icons i:hover {
  transform: scale(1.2);
  color: #fff;
}

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

.certifications-box li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
}

.certifications-box i {
  color: #b84cff;
  font-size: 22px;
  margin-right: 8px;
}
.interests-box i{
    color: #da4076;
    font-size: 22px;
    margin-right: 8px;
}

#projects {
  background: linear-gradient(180deg, #0d0b1a, #1a0f2f);
  padding: 100px 10%;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.timeline-container {
  position: relative;
  margin-top: 50px;
  padding-left: 20px;
  padding-right: 20px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #a020f0, #00fff2);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 30px 20px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 40px;
  width: 20px;
  height: 20px;
  background: #00fff2;
  border: 3px solid #a020f0;
  border-radius: 50%;
  z-index: 1;
  left: calc(50% - 12px);
}

.timeline-year {
  font-weight: 800;
  color: #00fff2;
  text-shadow: 0 0 5px #00fff2, 0 0 10px #a020f0;
  margin-bottom: 10px;
}

.timeline-content {
  background: rgba(25, 15, 45, 0.7);
  border-radius: 10px;
  border: 1px solid rgba(160, 32, 240, 0.4);
  padding: 20px;
  box-shadow: 0 0 15px rgba(155, 0, 255, 0.3);
  display: inline-block;
  max-width: 300px;
}

.timeline-content img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 242, 0.4);
}

.timeline-content h3 {
  margin: 5px 0;
  color: #00fff2;
  text-shadow: 0 0 5px #00fff2, 0 0 10px #a020f0;
}

.timeline-content p {
  color: #ccc;
  font-size: 0.95rem;
}

footer {
  background: linear-gradient(180deg,#1a0f2f,#0d0b1a );  
  padding: 60px 10%;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-form, .social-links {
  flex: 1;
  min-width: 280px;
}

.contact-form h2, .social-links h2 {
  font-size: 1.8rem;
  color: #00fff2;
  text-shadow: 0 0 10px #00fff2, 0 0 20px #a020f0;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #a020f0;
  border-radius: 8px;
  background: rgba(20, 10, 40, 0.7);
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #d4c2ff;
}

.contact-form button {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #00fff2;
  border-radius: 30px;
  background: transparent;
  color: #00fff2;
  font-weight: 600;
  cursor: pointer;
  transition: 0.4s;
}

.contact-form button:hover {
  background: linear-gradient(90deg, #a020f0, #00fff2);
  color: #0d0b1a;
  box-shadow: 0 0 20px #00fff2, 0 0 35px #a020f0;
  transform: translateY(-3px);
}

.social-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 100px);
  grid-template-rows: repeat(2, 100px);
  gap: 20px;
  margin-top: 20px;
}

.social-icons-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: #00fff2;
  background: rgba(0, 255, 242, 0.1);
  border: 2px solid #00fff2;
  border-radius: 12px;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(0, 255, 242, 0.3), 0 0 25px rgba(160, 32, 240, 0.2);
}

.social-icons-grid a:hover {
  background: linear-gradient(135deg, #00fff2, #a020f0);
  color: #0d0b1a;
  box-shadow: 0 0 25px #00fff2, 0 0 35px #a020f0;
  transform: scale(1.1);
}


.footer-copy {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #ccc;
}

@media (max-width: 900px) {
  .menu-icon {
    display: block;
    font-size: 2rem;
    color: #d4c2ff;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(15, 10, 25, 0.95);
    width: 220px;
    border-left: 2px solid #9b4dff;
    border-bottom: 2px solid #00fff2;
    border-radius: 10px 0 10px 10px;
    padding: 25px 0 25px 10px;
    gap: 25px;
    box-shadow: 0 0 20px rgba(155, 0, 255, 0.3);
  }

  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .home-section {
    flex-direction: column;
    text-align: center;
    padding: 120px 5%;
  }

  .home-container {
    flex-direction: column;
    gap: 40px;
  }

  .home-text {
    text-align: center;
  }

  .home-image img {
    width: 250px;
    height: 250px;
  }

  .shape {
    opacity: 0.2;
  }

  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text,
  .hobbies {
    text-align: center;
  }

  .hobbies ul {
    align-items: center;
  }

  .about-text {
    padding: 25px;
  }

  .about-text p {
    font-size: 1rem;
  }

  .skills-container {
    flex-direction: column;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    text-align: left !important;
  }

  .timeline-item::after {
    left: 20px;
  }

  .timeline-container::before {
    left: 20px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
  }

  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .contact-form form {
    max-width: 90%;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .contact-form button {
    width: 100%;
    padding: 10px;
    font-size: 0.9rem;
  }

  .social-icons-grid {
    grid-template-columns: repeat(2, 60px);
    grid-template-rows: repeat(2, 60px);
    gap: 12px;
  }

  .social-icons-grid a {
    font-size: 1.8rem;
  }

  .floating-square {
    width: 150px;
    height: 150px;
    top: -30px;
    right: -30px;
  }
}

@media (max-width: 400px) {
  .home-section {
    padding: 100px 5%;
  }

  .home-image img {
    width: 200px;
    height: 200px;
  }

  .home-text h1 {
    font-size: 2rem;
  }

  .home-text h2 {
    font-size: 1rem;
  }

  .about-container {
    gap: 20px;
  }

  .about-text,
  .hobbies {
    padding: 15px;
  }

  .about-text p,
  .hobbies li {
    font-size: 0.9rem;
  }

  .hobbies ul {
    gap: 10px;
  }

  .skills-container {
    gap: 20px;
  }

  .timeline-item {
    padding-left: 20px;
    padding-right: 20px;
  }

  .timeline-item::after {
    left: 10px;
  }

  .timeline-container::before {
    left: 10px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 15px;
  }

  .footer-container h2 {
    text-align: center;
    width: 100%;
  }

  .contact-form form {
    width: 100%;
    text-align: center;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    font-size: 0.85rem;
    padding: 8px 10px;
    display: block;
    margin: 0 auto 10px auto;
  }

  .contact-form button {
    width: 100%;
    padding: 10px;
    font-size: 0.9rem;
  }

  .social-links {
    text-align: center;
  }

  .social-icons-grid {
    display: grid;
    grid-template-columns: repeat(2, 60px);
    grid-gap: 15px;
    justify-content: center;
    margin: 0 auto;
  }

  .social-icons-grid a i {
    font-size: 2rem;
  }

  .footer-copy {
    font-size: 0.8rem;
    text-align: center;
  }
}

