/* Base Styles */
:root {
  --background: #000000;
  --foreground: #ffffff;
  --primary: #a855f7;
  --secondary: #ec4899;
  --accent: #f97316;
  --muted: #6b7280;
  --border: rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(to bottom right, #111827, #000000, #111827);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.nav-links {
  display: none;
}

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
}

.mobile-link {
  color: var(--foreground);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.mobile-link:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding-top: 100px;
  padding-bottom: 4rem;
}

.hero-content {
  display: grid;
  gap: 2rem;
}

.profile-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.profile-border {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
  animation: rotate 8s linear infinite;
}

.profile-image {
  position: absolute;
  width: 100%;
  border-radius: 50%;
  object-fit: contain;
  border: 4px solid var(--background);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.email-gradient {
  background: linear-gradient(45deg, #ff6b6b, #ff8e53);
}

.phone-gradient {
  background: linear-gradient(45deg, #4facfe, #00f2fe);
}

.location-gradient {
  background: linear-gradient(45deg, #43e97b, #38f9d7);
}

.birthday-gradient {
  background: linear-gradient(45deg, #fa709a, #fee140);
}

.info-item:hover {
  transform: translateY(-3px);
}

/* Social Links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--foreground);
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px) rotate(360deg);
}

.github {
  background: #333;
}
.linkedin {
  background: #0077b5;
}
.facebook {
  background: #1877f2;
}
.twitter {
  background: #1da1f2;
}
.instagram {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}
.youtube {
  background: #ff0000;
}
.fiverr {
  background: linear-gradient(45deg, #1e90ff, #00c853);
} /* Globe */

.whatsapp {
  background: #25d366;
} /* WhatsApp */
.tiktok {
  background: linear-gradient(#333);
}

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

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

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

.animate-bounce {
  animation: bounce 2s infinite;
}

.animate-pulse {
  animation: pulse 2s infinite;
}
/* Services Section */
.services {
  padding: 4rem 0;
}
.service-card img {
  width: 35px; /* Icon width */
  height: 35px; /* Icon height */
  object-fit: contain; /* Keep aspect ratio */
  margin: 0 auto; /* Center alignment */
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

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

.service-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* Skills Section */
.skills {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.3);
}

.skills-container {
  max-width: 768px;
  margin: 0 auto;
}

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

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-bar {
  height: 8px;
  background: #374151;
  border-radius: 9999px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
  width: 0;
  transition: width 1s ease-out;
}

/* Certificates Section */
.certificates {
  padding: 4rem 0;
}

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

.certificate-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.1);
}

.certificate-image {
  position: relative;
  height: auto;
  overflow: hidden;
}

.certificate-img {
  width: 100%;
  height: auto  ;
 
  transition: transform 0.3s ease;
}

.certificate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.certificate-overlay i {
  font-size: 2rem;
  color: var(--foreground);
}

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

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

.certificate-content {
  padding: 1.5rem;
}

.certificate-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.certificate-institute,
.certificate-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.certificate-institute i,
.certificate-date i {
  color: var(--primary);
}

.certificate-description {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 1rem;
}

/* Certificate Modal (for future enhancement) */
.certificate-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.certificate-modal.active {
  display: flex;
}

.certificate-modal-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.certificate-modal img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.certificate-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .certificates-grid {
    grid-template-columns: 1fr;
  }

  .certificate-image {
    height: auto;
  }
}

/* Experience & Education Timeline */
.timeline {
  max-width: 768px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.timeline-content {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.timeline-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  margin: 0.5rem 0;
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
}

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

.social-link {
  color: #9ca3af;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: var(--primary);
  transform: scale(1.2) rotate(360deg);
}

.copyright {
  text-align: center;
  color: #6b7280;
}

/* Utilities */
.gradient-text {
  background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

/* Responsive Design */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 2rem;
  }

  .mobile-menu-btn {
    display: none;
  }

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #9333ea, #db2777, #ea580c);
}
