* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}
.main-header {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.header-content {
  text-align: center;
  z-index: 2;
}

.main-header h1 {
  font-size: 8rem;
  background: #00ff88;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textReveal 2s ease-in-out;
}

.git-links {
  color: #00ff88;
}

.subtitle {
  font-size: 1.5rem;
  color: #888;
  margin-top: 1rem;
  animation: fadeIn 2s ease-in-out;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0f0f0f;
  color: #fff;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 15, 0.95);
  padding: 1rem;
  z-index: 1000;
}

.navbar ul {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #00ff88;
}
@keyframes textReveal {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.section {
  min-height: 100vh;
  padding: 5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
  position: relative;
  z-index: 1;
}

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

.content {
  max-width: 1200px;
  width: 100%;
}

h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
  position: relative;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #00ff88;
}

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

.tech-card {
  background: #1a1a1a;
  padding: 2rem;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s;
}

.tech-card:hover {
  transform: translateY(-10px);
}

.tech-card i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00ff88;
}

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

.about-content a {
  text-decoration: none; /* Remove underline */
  font-family: "Arial", sans-serif; /* Change font */
  color: #00ff88; /* Change color to match the theme */
}

.about-content a:hover {
  color: #fff; /* Change color on hover */
}

.profile-img {
  width: 100%;
  border-radius: 10px;
  animation: float 3s ease-in-out infinite;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 2rem;
  min-height: 800px; /* This ensures enough vertical space for two rows */
}

.project-card {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card h3 {
  padding: 1rem;
}

.project-card p {
  padding: 0 1rem 1rem;
  color: #888;
}

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

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

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

.main-header {
  z-index: 2;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  animation: zoomIn 0.3s ease;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #00ff88;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Add this to ensure project images are clickable */
.project-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

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