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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

.bg-animation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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="1" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  background-size: 100px 100px;
  animation: float 20s linear infinite;
}

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

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

/* Navigation */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 15px 30px;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%) scale(1.05);
}

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

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  background: rgba(64, 224, 208, 0.2);
  color: #40e0d0;
}

nav a.active {
  background: linear-gradient(45deg, #40e0d0, #1e90ff);
  color: #fff;
}

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

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid rgba(64, 224, 208, 0.5);
  object-fit: cover;
  margin-bottom: 30px;
  animation: pulse 2s infinite;
  box-shadow: 0 0 50px rgba(64, 224, 208, 0.3);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 50px rgba(64, 224, 208, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 80px rgba(64, 224, 208, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 50px rgba(64, 224, 208, 0.3);
  }
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #40e0d0, #1e90ff, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    filter: drop-shadow(0 0 20px rgba(64, 224, 208, 0.5));
  }
  to {
    filter: drop-shadow(0 0 30px rgba(30, 144, 255, 0.8));
  }
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
}

.typewriter {
  display: inline-block;
  border-right: 2px solid #40e0d0;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    border-color: #40e0d0;
  }
  51%,
  100% {
    border-color: transparent;
  }
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(45deg, #40e0d0, #1e90ff);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 10px;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.cta-button::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;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(64, 224, 208, 0.4);
}

/* Sections */
.section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section h2 {
  font-size: 3rem;
  margin-bottom: 50px;
  text-align: center;
  background: linear-gradient(45deg, #40e0d0, #1e90ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass Card Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  margin: 20px 0;
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(64, 224, 208, 0.3);
}

.glass-card h3 {
  color: #40e0d0;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.glass-card ul {
  list-style: none;
  padding: 0;
}

.glass-card li {
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.9);
}

/* FitFlow Image Container */
.fitflow-img-container {
  width: 100%;
  max-width: 1200px;
  height: auto;
  overflow: hidden;
  margin: 20px auto;
  border-radius: 15px;
}

.fitflow-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.fitflow-img:hover {
  transform: scale(1.05);
}

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

.skill-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.skill-item:hover {
  background: rgba(64, 224, 208, 0.1);
  transform: scale(1.05);
}

.skill-item h3 {
  color: #40e0d0;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.skill-item p {
  color: rgba(255, 255, 255, 0.9);
}

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

.project-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(64, 224, 208, 0.2);
}

.project-card-content {
  padding: 30px;
}

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

.project-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
}

/* Experience Timeline */
.timeline {
  position: relative;
  margin: 50px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #40e0d0, #1e90ff);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 50px 0;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 55%;
  margin-right: 0;
}

.timeline-content {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(64, 224, 208, 0.2);
}

.timeline-content h3 {
  color: #40e0d0;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: #40e0d0;
  border-radius: 50%;
  border: 4px solid #0a0a0a;
  z-index: 10;
}

.experience-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.experience-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(64, 224, 208, 0.4);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #40e0d0;
  box-shadow: 0 0 20px rgba(64, 224, 208, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Scroll Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, #40e0d0, #1e90ff);
  z-index: 1001;
  transition: width 0.3s ease;
}

/* Certifications Grid */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.certification-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.certification-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(64, 224, 208, 0.2);
  border-color: rgba(64, 224, 208, 0.3);
}

.certification-content {
  padding: 30px;
  text-align: center;
}

.certification-content h3 {
  color: #40e0d0;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.certification-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.certification-image-container {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.certification-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.certification-image:hover {
  transform: scale(1.05);
}

.certification-document {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Experience Image Container */
.experience-image-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  width: 100%;
}

.silicon-ranch-container {
  display: flex;
  justify-content: center;
  margin: 25px 0;
  width: 100%;
}

.silicon-ranch-container .experience-image {
  width: 200px;
  height: 120px;
  object-fit: contain;
  border-radius: 15px;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 25px rgba(64, 224, 208, 0.3);
}

.silicon-ranch-container .experience-image:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(64, 224, 208, 0.5);
}

.timeline-content {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
}

/* === Section Header Accent === */
.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #40e0d0, #1e90ff);
  border-radius: 2px;
}

/* Enhanced Timeline for Mobile */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

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

  .timeline-dot {
    left: 20px;
  }
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glass-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Enhanced Hover Effects */
.project-card:hover .project-card-content h3 {
  color: #fff;
  text-shadow: 0 0 10px rgba(64, 224, 208, 0.8);
}

.certification-card:hover .certification-content h3 {
  color: #fff;
  text-shadow: 0 0 10px rgba(64, 224, 208, 0.8);
}

/* Simple Education Stats */
.education-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 30px 0;
  padding: 20px 0;
}

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

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(64, 224, 208, 0.1);
  border-color: rgba(64, 224, 208, 0.3);
}

.highlight-stat {
  background: linear-gradient(
    135deg,
    rgba(64, 224, 208, 0.2),
    rgba(30, 144, 255, 0.2)
  );
  border: 1px solid rgba(64, 224, 208, 0.4);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #40e0d0;
  margin-bottom: 5px;
  text-shadow: 0 0 10px rgba(64, 224, 208, 0.5);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .education-stats {
    grid-template-columns: 1fr;
  }
}
