
:root {
  --primary: #88FF55;
  --secondary: #0C0F1D;
  --accent: #88FF55;
  --light: #F8F8F8;
  --dark: #0C0F1D;
  --text: #E0E0E0;
  --gray: #7A7A7A;
  --dark-bg: #121420;
  --card-bg: #1A1C2B;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--dark);
  scroll-behavior: smooth;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.section:last-child {
  border-bottom: none;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--secondary);
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 1rem auto;
  border-radius: 2px;
}
/* Metrics Section */
.metrics-section {
  background: linear-gradient(to bottom, #121420 0%, #0C0F1D 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: white;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}
.metrics-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none; /* For Firefox */
}

.metrics-grid::-webkit-scrollbar {
  display: none; /* For Chrome/Safari */
}

.metric-card {
  min-width: 250px;
  flex: 1;
}
.metric-card {
  background: rgba(24, 26, 42, 0.6);
  border: 1px solid rgba(136, 255, 85, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(30px);
  flex-shrink: 0;
}
.metric-card:nth-child(1) { animation: fadeInUp 1s ease forwards 0.2s; }
.metric-card:nth-child(2) { animation: fadeInUp 1s ease forwards 0.4s; }
.metric-card:nth-child(3) { animation: fadeInUp 1s ease forwards 0.6s; }
.metric-card:nth-child(4) { animation: fadeInUp 1s ease forwards 0.8s; }

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(136, 255, 85, 0.15);
  border-color: rgba(136, 255, 85, 0.3);
}

.metric-value {
  font-size: 3rem;
  font-weight: 700;
  color: #88FF55;
  margin-bottom: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}

.metric-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}

.metric-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at center, rgba(136, 255, 85, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.metric-card:hover .metric-glow {
  opacity: 1;
}

/* Explore Section */
.explore-section {
  padding: 6rem 0;
  background: #121420;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.explore-card {
  background: rgba(24, 26, 42, 0.8);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: white;
  border: 1px solid rgba(136, 255, 85, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.explore-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(136, 255, 85, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.explore-card:hover::before {
  opacity: 1;
}
.explore-card:nth-child(1) { animation: fadeInUp 1s ease forwards 0.2s; }
.explore-card:nth-child(2) { animation: fadeInUp 1s ease forwards 0.4s; }
.explore-card:nth-child(3) { animation: fadeInUp 1s ease forwards 0.6s; }
.explore-card:nth-child(4) { animation: fadeInUp 1s ease forwards 0.8s; }

.explore-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(136, 255, 85, 0.3);
}

.card-icon {
  font-size: 2.5rem;
  color: #88FF55;
  margin-bottom: 1.5rem;
}

.explore-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.explore-card p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.card-link {
  color: #88FF55;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.explore-card:hover .card-link {
  transform: translateX(5px);
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(to right, #0C0F1D 0%, #121420 100%);
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.cta-text {
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.3s;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.6s;
}

.cta-button {
  padding: 1rem 2.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button.primary {
  background: #88FF55;
  color: #0C0F1D;
  box-shadow: 0 4px 15px rgba(136, 255, 85, 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(136, 255, 85, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1024px) {
  .explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .explore-grid {
    grid-template-columns: 1fr;
  }
.cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    text-align: center;
  }
}
/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

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

.social-links a {
  color: var(--secondary);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
/* Skills Section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.skill-category h3 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.skill-meter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill {
  position: relative;
  height: 30px;
  background: #e0e0e0;
  border-radius: 15px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: white;
  overflow: hidden;
}

.skill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--primary);
  width: 0;
  border-radius: 15px;
  transition: width 1s ease;
  z-index: 1;
}

.skill::after {
  content: attr(data-percent)'%';
  position: absolute;
  right: 15px;
  z-index: 2;
  color: var(--dark);
}

/* Core Competencies */
.core-competencies {
  margin-top: 4rem;
}

.core-competencies h3 {
  text-align: center;
  color: var(--secondary);
  margin-bottom: 3rem;
  font-size: 2rem;
}

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

.competency-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.competency-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.competency-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.competency-card h4 {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.competency-card p {
  color: var(--gray);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .competencies-grid {
    grid-template-columns: 1fr;
  }
}
/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--primary);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 1rem 2rem;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-date {
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--dark);
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.timeline-content {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.submit-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
}

.submit-btn:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

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

.section {
  animation: fadeInUp 0.8s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }
  
  .timeline::before {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
}

/* ParticleJS Background */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: transparent;
  background-image: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
