/* Professional Portfolio Styles */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

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

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

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background: rgba(15, 23, 42, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  transition: transform 0.3s ease;
}

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

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.025em;
}

nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
}

nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

nav a:hover::before {
  width: 80%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 25%,
    #334155 50%,
    #475569 75%,
    #64748b 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  position: relative;
  overflow: hidden;
}

.hero::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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(59,130,246,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-left {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  animation: fadeInUp 1s ease;
}

.hero h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff, #60a5fa, #8b5cf6);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-title {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  font-weight: 500;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #94a3b8;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.8s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:not(.secondary) {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn:not(.secondary):hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  animation: fadeInUp 1s ease 1s both;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Right - Photo Section */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease 0.5s both;
}

.hero-image {
  position: relative;
  width: 400px;
  height: 400px;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

.photo-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6, #06b6d4);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  animation: glow 3s ease-in-out infinite alternate;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  font-size: 1.25rem;
  animation: float 4s ease-in-out infinite;
  animation-delay: var(--delay);
}

.floating-icon:nth-child(1) {
  top: 10%;
  left: -10%;
}
.floating-icon:nth-child(2) {
  top: 20%;
  right: -15%;
}
.floating-icon:nth-child(3) {
  bottom: 30%;
  left: -5%;
}
.floating-icon:nth-child(4) {
  bottom: 10%;
  right: -10%;
}

/* Section Styles */
section {
  padding: 6rem 0;
}

section h2 {
  font-size: 3.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* About Section */
.about {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  color: #ffffff;
  position: relative;
}

.about::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"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(59,130,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

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

.about-text {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.about-text p {
  font-size: 1.125rem;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

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

.highlight {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.highlight:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.highlight i {
  font-size: 3rem;
  color: #60a5fa;
  margin-bottom: 1.5rem;
}

.highlight h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.highlight p {
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.6;
}

.skills {
  text-align: center;
}

.skills h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #ffffff;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem 0.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.skill-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.skill-item:hover::before {
  transform: scaleX(1);
}

.skill-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.skill-item i {
  font-size: 1.5rem;
  color: #60a5fa;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.skill-item:hover i {
  transform: scale(1.1);
  color: #8b5cf6;
}

.skill-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
  transition: color 0.3s ease;
}

.skill-item:hover h4 {
  color: #60a5fa;
}

.skill-item p {
  color: #cbd5e1;
  font-size: 0.65rem;
  line-height: 1.3;
  margin: 0;
  transition: color 0.3s ease;
}

.skill-item:hover p {
  color: #e2e8f0;
}

/* Projects Section */
.projects {
  background: #0f172a;
  position: relative;
}

.projects::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.section-subtitle {
  text-align: center;
  color: #94a3b8;
  font-size: 1.25rem;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.7;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(-8px);
}

.project-image {
  position: relative;
  overflow: hidden;
  background: #1e293b;
}

.project-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.9),
    rgba(139, 92, 246, 0.9)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(4px);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.project-card:hover .project-links {
  transform: translateY(0);
}

.project-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  color: #3b82f6;
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.25rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-link:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-content {
  padding: 2.5rem;
  position: relative;
  padding-bottom: 5rem;
}

.project-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1.3;
}

.project-content p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 1rem;
}

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

.project-tech span {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

.project-tech span:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

.project-github-link {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.25rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.project-github-link:hover {
  background: rgba(59, 130, 246, 0.3);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Resume Section */
.resume {
  background: #f9fafb;
  text-align: center;
}

.resume p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.resume-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Certifications Section */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cert-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cert-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.cert-image {
  position: relative;
  overflow: hidden;
}

.cert-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.cert-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: #3b82f6;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
}

.cert-content {
  padding: 2rem;
  text-align: center;
}

.cert-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.cert-issuer {
  color: #3b82f6;
  font-weight: 500;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.cert-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #ffffff;
}

.contact-intro {
  text-align: center;
  color: #cbd5e1;
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.contact-icon {
  font-size: 1.5rem;
  color: #60a5fa;
  width: 40px;
  text-align: center;
}

.contact-label {
  font-weight: 600;
  color: #ffffff;
  min-width: 80px;
}

.contact-value {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value:hover {
  color: #60a5fa;
}

.contact-actions {
  text-align: center;
  margin: 2rem 0;
}

.resume-download-btn {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 1rem 2rem !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
}

.resume-download-btn:hover {
  background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4) !important;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.contact-cta {
  text-align: center;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.contact-cta p {
  font-size: 1.125rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-btn {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Footer */
footer {
  background: #0f172a;
  padding: 2rem 0;
  color: #ffffff;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
}

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

.footer-content p {
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #60a5fa;
}

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

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

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

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

@keyframes glow {
  from {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  }
  to {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-left {
    text-align: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .hero-image {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 0;
  }

  .nav {
    flex-direction: column;
    gap: 1.5rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat {
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

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

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .project-card {
    margin: 0 1rem;
  }

  .project-content {
    padding: 2rem;
    padding-bottom: 4rem;
  }

  .project-content h3 {
    font-size: 1.25rem;
  }

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

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

  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }

  .skill-item {
    padding: 0.75rem 0.5rem;
  }

  .hero-image {
    width: 250px;
    height: 250px;
  }
}

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

  section {
    padding: 3rem 0;
  }

  /* Header */
  header {
    padding: 0.75rem 0;
  }

  .nav {
    gap: 0.75rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  /* Hero Section */
  .hero {
    padding-top: 120px;
  }

  .hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .hero-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  .btn {
    max-width: 250px;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }

  .hero-image {
    width: 200px;
    height: 200px;
  }

  /* About Section */
  .about h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .about-text p {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }

  /* Skills Section */
  .skills h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0 0.5rem;
  }

  .skill-item {
    padding: 0.5rem 0.25rem;
  }

  .skill-item i {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }

  .skill-item h4 {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }

  .skill-item p {
    font-size: 0.55rem;
    line-height: 1.2;
  }

  /* Projects Section */
  .projects h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .project-grid {
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .project-content {
    padding: 1.5rem;
    padding-bottom: 3.5rem;
  }

  .project-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .project-content p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .project-tech {
    gap: 0.4rem;
    margin-bottom: 1rem;
  }

  .project-tech span {
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
  }

  .project-github-link {
    width: 40px;
    height: 40px;
    bottom: 1.25rem;
    right: 1.25rem;
    font-size: 1rem;
  }

  /* Contact Section */
  .contact h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .contact-content {
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .contact-item {
    padding: 1.25rem;
  }

  .contact-item i {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .contact-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .contact-item p {
    font-size: 0.8rem;
  }

  /* Footer */
  .footer-content {
    padding: 1.5rem 0;
    gap: 0.75rem;
  }

  .footer-content p {
    font-size: 0.85rem;
  }
}

@media (max-width: 360px) {
  .container {
    width: 98%;
    padding: 0 5px;
  }

  .hero h2 {
    font-size: 1.75rem;
  }

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

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

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-content {
    padding: 1.25rem;
    padding-bottom: 3rem;
  }

  .project-github-link {
    width: 35px;
    height: 35px;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.9rem;
  }
}

/* Core mobile content hiding for cleaner experience */
@media (max-width: 768px) {
  /* Hide project descriptions on mobile for cleaner look */
  .project-content p {
    display: none;
  }

  /* Hide skill descriptions on mobile for cleaner look */
  .skill-item p {
    display: none;
  }

  /* Adjust project content padding since description is hidden */
  .project-content {
    padding: 1.5rem;
    padding-bottom: 3.5rem;
  }

  /* Adjust skill item padding since description is hidden */
  .skill-item {
    padding: 1rem 0.5rem;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* Make skill icons larger on mobile */
  .skill-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  /* Make skill titles larger on mobile */
  .skill-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0;
    text-align: center;
  }

  /* Improve project tech stack visibility on mobile */
  .project-tech {
    margin-bottom: 1rem;
  }

  .project-tech span {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  /* Hide about text paragraphs on very small screens */
  .about-text p:not(:first-child) {
    display: none;
  }

  .about-text p:first-child {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Adjust skill item padding for smaller screens */
  .skill-item {
    padding: 0.75rem 0.25rem;
    min-height: 70px;
  }

  .skill-item i {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
  }

  .skill-item h4 {
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  /* Hide all about text on ultra-small screens */
  .about-text p {
    display: none;
  }

  /* Show only about heading */
  .about h2 {
    margin-bottom: 1rem;
  }

  /* Adjust skill item padding for ultra-small screens */
  .skill-item {
    padding: 0.4rem 0.2rem;
    min-height: 60px;
  }

  .skill-item i {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .skill-item h4 {
    font-size: 0.7rem;
  }
}
