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

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #1a1a2e);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: #fff;
  overflow-x: hidden;
}

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

/* Custom Cursor */
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid #00d4ff;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s cubic-bezier(0.17, 0.67, 0.83, 0.67),
    background 0.2s ease, border-color 0.2s ease;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(2px);
  mix-blend-mode: difference;
}

.cursor-trail {
  width: 8px;
  height: 8px;
  background: #00d4ff;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.3s cubic-bezier(0.1, 0.8, 0.2, 1), opacity 0.3s ease,
    width 0.3s ease, height 0.3s ease;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  mix-blend-mode: difference;
}

.cursor.hover {
  transform: translate(-50%, -50%) scale(2);
  background: rgba(0, 212, 255, 0.1);
  border-color: #ff6b6b;
}

.cursor.click {
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(255, 107, 107, 0.2);
}

.cursor-trail.hover {
  width: 30px;
  height: 30px;
  opacity: 0.3;
}

.cursor-trail.click {
  width: 40px;
  height: 40px;
  opacity: 0.2;
  background: #ff6b6b;
}

/* Floating particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #00d4ff;
  border-radius: 50%;
  opacity: 0.5;
  animation: float 6s infinite ease-in-out;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Header */
header {
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00d4ff;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

nav ul li a:hover {
  background: rgba(26, 26, 46, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Hero Section */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  background: linear-gradient(45deg, #b5f4ff, #7c7c7cb7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background: rgba(26, 26, 46, 0.8);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
section {
  padding: 100px 0;
  position: relative;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  background: linear-gradient(45deg, #c3dee3, #8e8d8d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto;
}

.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #00d4ff;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.8);
  }
  100% {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
  }
}

.about-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  flex: 1;
}

/* Projects Section */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.project-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  transform: translateY(0);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #00d4ff;
}

.project-card p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-card a {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.project-card a:hover {
  color: #00d4ff;
}

/* YouTube Section */
#youtube {
  background: rgba(0, 0, 0, 0.2);
}

.youtube-video {
  text-align: center;
  margin-top: 30px;
}

.youtube-video iframe {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
#contact {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 212, 255, 0.1) 0%,
    transparent 50%
  );
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(0,212,255,0.1)"/></svg>')
    repeat;
  animation: moveStars 20s linear infinite;
  z-index: 1;
}
a {
  text-decoration: none;
  color: whitesmoke;
}

@keyframes moveStars {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100px);
  }
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-info {
  padding: 40px;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00d4ff;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.contact-info p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-method:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateX(10px);
  box-shadow: 0 5px 25px rgba(0, 212, 255, 0.2);
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  min-width: 40px;
}

.contact-method-text {
  flex: 1;
}

.contact-method-text h4 {
  color: #00d4ff;
  margin-bottom: 5px;
}

.contact-method-text p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.95rem;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(0, 212, 255, 0.1),
    transparent
  );
  animation: rotate 10s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  pointer-events: none;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 20px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: #00d4ff;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: 0;
  left: 15px;
  font-size: 0.85rem;
  color: whitesmoke;
  background: rgba(59, 64, 76, 0.81);
  padding: 5px 10px;
  border-radius: 5px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 20px;
}

.form-group textarea + label {
  top: 30px;
}

.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: 0;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 30px;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00d4ff;
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.5);
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    margin-top: 10px;
    gap: 10px;
  }

  nav ul li a {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    padding: 20px;
    text-align: center;
  }

  .contact-form-container {
    padding: 30px 20px;
  }

  .social-links {
    justify-content: center;
  }
}

/* Additional Advanced Styles */
.glitch-effect {
  position: relative;
  color: #00d4ff;
  font-size: 4rem;
  font-weight: bold;
  text-transform: uppercase;
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0%,
  100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
}

.neon-box {
  border: 2px solid #00d4ff;
  border-radius: 15px;
  padding: 20px;
  background: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5),
    inset 0 0 10px rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
}

.neon-box:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.8),
    inset 0 0 20px rgba(0, 212, 255, 0.2);
  transform: translateY(-5px);
}

.typing-effect {
  border-right: 2px solid #00d4ff;
  animation: typing 3s steps(40, end), blink 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #00d4ff;
  }
}

.holographic-effect {
  background: linear-gradient(45deg, #00d4ff, #ff6b6b, #4ecdc4, #45b7d1);
  background-size: 400% 400%;
  animation: holographic 4s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes holographic {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  animation: float-around 15s infinite ease-in-out;
}

@keyframes float-around {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
  }
  75% {
    transform: translateY(-20px) rotate(270deg);
  }
}

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  margin: 50px 0;
  animation: pulse-width 2s infinite;
}

@keyframes pulse-width {
  0%,
  100% {
    width: 0%;
    margin-left: 50%;
  }
  50% {
    width: 100%;
    margin-left: 0%;
  }
}

/* Advanced Button Styles */
.advanced-btn {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  border: 2px solid #00d4ff;
  color: #00d4ff;
  text-decoration: none;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
}

.advanced-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.8),
    transparent
  );
  transition: left 0.5s ease;
}

.advanced-btn:hover::before {
  left: 100%;
}

.advanced-btn:hover {
  background: #00d4ff;
  color: #000;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

/* Matrix Rain Effect */
.matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.1;
}

.matrix-column {
  position: absolute;
  top: -100%;
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: #00d4ff;
  animation: matrix-fall 10s linear infinite;
}

@keyframes matrix-fall {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}
