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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Added scroll effect using target pseudo-class */
.navbar:target {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo .logo-text {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(45deg, #00ffff, #0080ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Added mobile menu toggle functionality using checkbox */
.menu-toggle {
  display: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #00ffff, #0080ff);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #00ffff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.profile-image-container {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid #00ffff;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(0, 255, 255, 0.8);
}

.profile-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: linear-gradient(45deg, #00ffff, #0080ff, #00ffff);
  z-index: -1;
  opacity: 0.7;
}

.hero-title {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ffffff, #00ffff, #0080ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #00ffff;
  margin-bottom: 1.5rem;
  font-weight: 300;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.hero-description {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  position: relative;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(45deg, #00ffff, #0080ff);
  color: #000000;
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 255, 255, 0.6);
}

.btn-secondary {
  background: transparent;
  color: #00ffff;
  border: 2px solid #00ffff;
}

.btn-secondary:hover {
  background: #00ffff;
  color: #000000;
  transform: translateY(-3px);
}

.btn-glow {
  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;
}

.btn-primary:hover .btn-glow {
  left: 100%;
}

/* Background Animation */
.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Removed floating circles animation */

/* Section Styles */
.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
  background: linear-gradient(45deg, #ffffff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(45deg, #00ffff, #0080ff);
  border-radius: 2px;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: rgba(0, 0, 0, 0.3);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #cccccc;
  margin-bottom: 3rem;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: #00ffff;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: #cccccc;
  font-weight: 500;
}

/* Timeline Section */
.timeline-section {
  padding: 100px 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #00ffff, #0080ff);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  animation: slideInUp 0.6s ease forwards;
  animation-delay: calc(var(--item-index, 0) * 0.2s);
}

.timeline-item:nth-child(1) {
  --item-index: 1;
}
.timeline-item:nth-child(2) {
  --item-index: 2;
}
.timeline-item:nth-child(3) {
  --item-index: 3;
}
.timeline-item:nth-child(4) {
  --item-index: 4;
}
.timeline-item:nth-child(5) {
  --item-index: 5;
}
.timeline-item:nth-child(6) {
  --item-index: 6;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 50%;
  padding-right: 2rem;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 50%;
  padding-left: 2rem;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 20px;
  height: 20px;
  background: #00ffff;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
  z-index: 2;
}

.timeline-content {
  background: rgba(0, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.timeline-content h3 {
  color: #00ffff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #cccccc;
  line-height: 1.6;
}

/* Projects Section */
.projects-section {
  padding: 100px 0;
  background: rgba(0, 0, 0, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: rgba(0, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease forwards;
  animation-delay: calc(var(--card-index, 0) * 0.1s);
}

.project-card:nth-child(1) {
  --card-index: 1;
}
.project-card:nth-child(2) {
  --card-index: 2;
}
.project-card:nth-child(3) {
  --card-index: 3;
}
.project-card:nth-child(4) {
  --card-index: 4;
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.project-image img,
.project-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-image video {
  background-color: #1a1a1a;
}

.project-image video::-webkit-media-controls-panel {
  background-color: rgba(0, 0, 0, 0.8);
}

.project-card:hover .project-image img,
.project-card:hover .project-image video {
  transform: scale(1.1);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  color: #00ffff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.project-content p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-tech span {
  background: rgba(0, 255, 255, 0.2);
  color: #00ffff;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

/* Skills Section */
.skills-section {
  padding: 100px 0;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.skill-category {
  background: rgba(0, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease forwards;
  animation-delay: calc(var(--category-index, 0) * 0.2s);
}

.skill-category:nth-child(1) {
  --category-index: 1;
}
.skill-category:nth-child(2) {
  --category-index: 2;
}
.skill-category:nth-child(3) {
  --category-index: 3;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 255, 255, 0.2);
}

.skill-category h3 {
  color: #00ffff;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Replaced skill bars with skill tags layout */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.skill-tag {
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: default;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 255, 255, 0.1);
}

.skill-tag:hover {
  background: rgba(0, 255, 255, 0.2);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
  border-color: rgba(0, 255, 255, 0.5);
}

/* Added styling for creative skills list format */
.creative-skills-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.creative-skill-item {
  background: rgba(0, 255, 255, 0.08);
  padding: 1rem 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
  font-size: 1rem;
  line-height: 1.5;
}

.creative-skill-item:hover {
  background: rgba(0, 255, 255, 0.15);
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.4);
}

.creative-skill-item strong {
  color: #00ffff;
  font-weight: 600;
  margin-right: 0.5rem;
}

/* Experience Section */
.experience-section {
  padding: 100px 0;
  background: rgba(0, 0, 0, 0.3);
}

.experience-content {
  max-width: 800px;
  margin: 0 auto;
}

.experience-list {
  list-style: none;
}

.experience-item {
  background: rgba(0, 255, 255, 0.05);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.experience-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.experience-item h4 {
  color: #00ffff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.experience-item p {
  color: #cccccc;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  background: rgba(0, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.contact-item h4 {
  color: #00ffff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #cccccc;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  background: rgba(0, 255, 255, 0.1);
}

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

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.8);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  color: #cccccc;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 25px;
  background: rgba(0, 255, 255, 0.05);
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.social-link:hover {
  color: #000000;
  background: #00ffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
  border-color: #00ffff;
}

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

.social-link:hover::before {
  left: 100%;
}

.footer p {
  color: #cccccc;
  font-size: 1rem;
}

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

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

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

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  }
  to {
    text-shadow: 0 0 50px rgba(0, 255, 255, 0.8);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes fillBar {
  from {
    width: 0;
  }
  to {
    width: inherit;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.95);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    backdrop-filter: blur(20px);
  }

  /* Added pure CSS mobile menu toggle using checkbox */
  .menu-toggle:checked ~ .nav-menu {
    left: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

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

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

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 50px;
    margin-right: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
  }

  .timeline-dot {
    left: 20px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    gap: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 200px;
  }

  .social-links {
    gap: 1rem;
  }

  .social-link {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

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

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

  .skills-container {
    grid-template-columns: 1fr;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .social-link {
    width: 150px;
    text-align: center;
  }
}
