/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS Variables */
:root {
  --primary-color: #00ffff;
  --secondary-color: #0080ff;
  --accent-color: #8a2be2;
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --glass-bg: rgba(0, 255, 255, 0.05);
  --glass-border: rgba(0, 255, 255, 0.2);
  --shadow-glow: rgba(0, 255, 255, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  background-image: 
    radial-gradient(at 0% 0%, rgba(0, 255, 255, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(0, 128, 255, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(138, 43, 226, 0.05) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(255, 20, 147, 0.05) 0px, transparent 50%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Animated background particles */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(0, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(0, 128, 255, 0.3), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(0, 255, 255, 0.2), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(138, 43, 226, 0.3), transparent);
  background-size: 200% 200%;
  background-position: 0% 0%;
  animation: particleMove 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

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

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  box-shadow: 0 8px 32px rgba(0, 255, 255, 0.12);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.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: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00ffff, #0080ff, #8a2be2);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
  letter-spacing: -0.5px;
}

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

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

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: #00ffff;
  transform: translateY(-2px);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ffff, #0080ff, #8a2be2);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link.active {
  color: #00ffff;
}

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

.bar {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(0, 255, 255, 0.03) 50%, transparent 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%2300ffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(20px, 20px); }
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

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

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #00ffff 50%, #0080ff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGradient 5s ease infinite;
  letter-spacing: -2px;
  line-height: 1.1;
  text-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
}

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

.typing-text {
  display: inline-block;
  animation: typing 3s steps(20) infinite;
}

@keyframes typing {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.7; }
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #00ffff;
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.3s both;
}

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

.hero-description {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 2rem;
  line-height: 1.8;
}

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

.btn {
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00ffff, #0080ff);
  color: #000000;
  font-weight: 700;
  box-shadow: 
    0 4px 15px rgba(0, 255, 255, 0.3),
    0 2px 8px rgba(0, 128, 255, 0.2);
  border: 2px solid transparent;
}

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

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 30px rgba(0, 255, 255, 0.5),
    0 4px 15px rgba(0, 128, 255, 0.3);
  background: linear-gradient(135deg, #00ffff, #0080ff, #00ccff);
}

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

.btn-primary i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.btn-primary:hover i {
  transform: translateX(3px);
}

.btn-secondary {
  background: rgba(0, 255, 255, 0.08);
  color: #00ffff;
  border: 2px solid rgba(0, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 255, 255, 0.1);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(0, 255, 255, 0.1);
  transition: width 0.3s ease;
  z-index: 0;
}

.btn-secondary:hover::before {
  width: 100%;
}

.btn-secondary:hover {
  background: rgba(0, 255, 255, 0.15);
  border-color: #00ffff;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(0, 255, 255, 0.4),
    0 0 20px rgba(0, 255, 255, 0.2);
}

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

.btn-secondary i,
.btn-secondary span {
  position: relative;
  z-index: 1;
}

.btn-secondary:hover i {
  transform: scale(1.1);
}

.profile-card {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.profile-image {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00ffff, #0080ff, #8a2be2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #000000;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-shadow: 
    0 0 30px rgba(0, 255, 255, 0.5),
    0 0 60px rgba(0, 128, 255, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  border: 3px solid transparent;
  background-clip: padding-box;
}

.profile-image::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #00ffff, #0080ff, #8a2be2, #00ffff);
  background-size: 400% 400%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

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

@keyframes rotateBorder {
  0% { background-position: 0% 50%; transform: rotate(0deg); }
  100% { background-position: 100% 50%; transform: rotate(360deg); }
}

.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  color: #00ffff;
  animation: orbit 8s linear infinite;
}

.floating-icon:nth-child(1) {
  top: 20%;
  left: 80%;
  animation-delay: var(--delay);
}

.floating-icon:nth-child(2) {
  top: 80%;
  left: 20%;
  animation-delay: var(--delay);
}

.floating-icon:nth-child(3) {
  top: 20%;
  left: 20%;
  animation-delay: var(--delay);
}

.floating-icon:nth-child(4) {
  top: 80%;
  left: 80%;
  animation-delay: var(--delay);
}

@keyframes orbit {
  0% { transform: rotate(0deg) translateX(50px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

/* Section Styles */
section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 4rem;
  background: linear-gradient(135deg, #ffffff 0%, #00ffff 50%, #0080ff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-weight: 800;
  letter-spacing: -1px;
  animation: titleGradient 5s ease infinite;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #00ffff, #0080ff, #8a2be2, #0080ff, #00ffff);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: gradientShift 3s ease infinite;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* About Section */
.about {
  background: #111111;
}

.about-text p {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Skills Section */
.skills {
  background: #0a0a0a;
}

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

.skill-category {
  background: rgba(0, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.skill-category:hover::before {
  left: 100%;
}

.skill-category:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 15px 40px rgba(0, 255, 255, 0.2),
    0 0 20px rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.4);
}

.skill-category h3 {
  color: #00ffff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-category h3 i {
  font-size: 1.5rem;
}

.skill-category ul {
  list-style: none;
}

.skill-category li {
  color: #cccccc;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}

.skill-category li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: #00ffff;
  font-size: 0.8rem;
}

/* Education Section */
.education {
  background: #111111;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  width: 2px;
  height: 80%;
  background: linear-gradient(135deg, #00ffff, #0080ff);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-item:nth-child(1) {
  padding-right: 1rem;
}

.timeline-item:nth-child(2) {
  padding-left: 1rem;
}

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

.timeline-item:nth-child(1) .timeline-marker {
  right: -1rem;
  left: auto;
  transform: translateX(50%);
}

.timeline-item:nth-child(2) .timeline-marker {
  left: -1rem;
  transform: translateX(-50%);
}

.timeline-content {
  background: rgba(0, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  position: relative;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.4);
}

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

.timeline-content h4 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.timeline-date {
  color: #888888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
}

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

/* Experience Section */
.experience {
  background: #0a0a0a;
}

.experience-grid {
  display: grid;
  gap: 2rem;
}

.experience-card {
  background: rgba(0, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.experience-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00ffff, #0080ff, #8a2be2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.experience-card:hover::after {
  transform: scaleX(1);
}

.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 50px rgba(0, 255, 255, 0.2),
    0 0 30px rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.4);
}

.experience-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.company-logo {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00ffff, #0080ff);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.5rem;
  color: #000000;
}

.experience-info h3 {
  color: #00ffff;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.experience-info h4 {
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.experience-date {
  color: #888888;
  font-size: 0.9rem;
}

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

.experience-description ul {
  list-style: none;
  color: #cccccc;
}

.experience-description li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.experience-description li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: #00ffff;
  font-size: 0.8rem;
}

/* Projects Section */
.projects {
  background: #111111;
}

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

.project-card {
  background: rgba(0, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

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

.project-content {
  position: relative;
  z-index: 2;
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, #00ffff, #0080ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #000000;
}

.project-content {
  padding: 2rem;
}

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

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

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

.tech-tag {
  background: rgba(0, 255, 255, 0.2);
  color: #00ffff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  color: #00ffff;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.project-link:hover {
  color: #ffffff;
}

/* Certifications Section */
.certifications {
  background: #0a0a0a;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.cert-card {
  background: rgba(0, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.cert-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 
    0 20px 50px rgba(0, 255, 255, 0.2),
    0 0 30px rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.4);
}

.cert-icon {
  font-size: 3rem;
  color: #00ffff;
  margin-bottom: 1rem;
}

.cert-card h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.cert-card p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.cert-date {
  color: #00ffff;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background: #111111;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  color: #00ffff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #cccccc;
}

.contact-item i {
  color: #00ffff;
  font-size: 1.2rem;
  width: 20px;
}

.contact-item a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #00ffff;
}

.contact-form {
  background: rgba(0, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-form:hover {
  border-color: rgba(0, 255, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 255, 255, 0.2);
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #00ffff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group label i {
  font-size: 0.85rem;
  opacity: 0.8;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(0, 255, 255, 0.2);
  border-radius: 10px;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  line-height: 1.5;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: rgba(0, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.07);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00ffff;
  box-shadow: 
    0 0 0 3px rgba(0, 255, 255, 0.1),
    0 4px 12px rgba(0, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-note {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-note i {
  color: #00ffff;
  opacity: 0.7;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
}

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

.footer-content p {
  color: #888888;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #888888;
  font-size: 1.3rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.social-links a:hover {
  color: #00ffff;
  background: rgba(0, 255, 255, 0.15);
  border-color: #00ffff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Loading Screen */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

body:has(.loader:not(.hidden)) {
  overflow: hidden;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader[style*="display: none"] {
  display: none !important;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 400px;
  padding: 2rem;
}

.loader-logo {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 1rem;
}

.logo-circle {
  position: absolute;
  inset: 0;
  border: 5px solid rgba(0, 255, 255, 0.15);
  border-top-color: #00ffff;
  border-right-color: #0080ff;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.logo-text-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #00ffff, #0080ff, #8a2be2);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
  letter-spacing: -2px;
}

.loader-text-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.loader-text {
  color: #00ffff;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.loader-subtext {
  color: rgba(0, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0;
}

.loader-progress-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.loader-progress {
  width: 100%;
  height: 6px;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.loader-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00ffff, #0080ff, #8a2be2);
  background-size: 200% 100%;
  width: 0%;
  animation: loadingProgress 2s ease-in-out forwards, gradientShift 2s ease infinite;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.loader-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

.loader-percentage {
  color: rgba(0, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: right;
  margin-top: 0.25rem;
}

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

@keyframes loadingProgress {
  to { width: 100%; }
}

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

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Stats Section */
.stats {
  background: var(--bg-secondary);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

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

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 
    0 20px 50px var(--shadow-glow),
    0 0 30px rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.4);
}

.stat-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.2) rotate(5deg);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-note {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.5px;
  color: rgba(0, 255, 255, 0.7);
  margin-top: 0.25rem;
}

/* Enhanced Skills with Progress Bars */
.skills-container {
  margin-top: 3rem;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.skill-header span:first-child {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.skill-percent {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
}

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

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, #00ffff, #0080ff, #8a2be2);
  border-radius: 10px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.skill-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

.skill-progress.animate {
  width: var(--progress-width);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-actions {
    margin-right: 1rem;
  }

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

  .nav-menu.active {
    left: 0;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  .timeline {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 0;
  }

  .timeline::before {
    left: 20px;
    top: 0;
    bottom: 0;
    height: 100%;
    transform: translateX(-50%);
  }

  .timeline-item {
    padding: 0;
  }

  .timeline-item:nth-child(1) .timeline-marker,
  .timeline-item:nth-child(2) .timeline-marker {
    left: 20px;
    right: auto;
    transform: translateX(-50%);
  }

  .timeline-content {
    margin-left: 10%;
    margin-right: 0;
    width: 80%;
    text-align: left;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

  .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
  
  .profile-image {
    width: 180px;
    height: 180px;
  }
  
  .profile-photo {
    width: 180px;
    height: 180px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .stat-card {
    padding: 2rem 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .nav-actions {
    margin-left: 1rem;
  }
}

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

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

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

  .certifications-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  
  .loader-content {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  
  .loader-logo {
    width: 100px;
    height: 100px;
  }
  
  .logo-text-loader {
    font-size: 2rem;
  }
  
  .loader-text {
    font-size: 0.95rem;
  }
  
  .loader-subtext {
    font-size: 0.8rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #00ffff, #0080ff, #8a2be2);
  z-index: 9999;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Enhanced tech tags */
.tech-tag {
  background: rgba(0, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  color: #00ffff;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
  display: inline-block;
}

.tech-tag:hover {
  background: rgba(0, 255, 255, 0.25);
  border-color: #00ffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 255, 0.2);
}

/* Enhanced profile photo styling */
.profile-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid transparent;
  background: linear-gradient(135deg, #00ffff, #0080ff, #8a2be2) padding-box,
              linear-gradient(135deg, #00ffff, #0080ff, #8a2be2) border-box;
  box-shadow: 
    0 0 30px rgba(0, 255, 255, 0.5),
    0 0 60px rgba(0, 128, 255, 0.3);
}

/* Loading animation enhancement */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading-shimmer {
  background: linear-gradient(
    90deg,
    rgba(0, 255, 255, 0.1) 0%,
    rgba(0, 255, 255, 0.3) 50%,
    rgba(0, 255, 255, 0.1) 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}
