* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Product Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: black;
}

/* Header */
header {
  background-color: rgba(0, 0, 0, 0);
  /* box-shadow: none; */
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.nav-links {
  position: relative;
}

.nav-links a {
  color: black;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 900;
  padding: 10px;
  position: relative;
  background-color: #39ff14;
  border-radius: 5px;
  /* transition: background-color 0.3s, border-color 0.3s; */
}

.nav-links a:hover {
  background-color: #fc09e0;
}

.nav-links a::after {
  content: " ";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #ffa600;
  left: 0;
  bottom: -5px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: none;
}

.nav-links .logo {
  background: none;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 750px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  font-weight: 700;
  text-shadow: 2px 5px 10px rgb(0, 255, 21);
}

.hero p {
  font-size: 20px;
  margin-bottom: 50px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 2px 5px 10px rgb(232, 8, 142);
}

.btn {
  background-color: #89f500;
  color: rgb(0, 0, 0);
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #ec07ca;
}

/* Projects Section */
.projects {
  padding: 10px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 10px;
  font-size: 45px;
  color: var(--dark);
  font-weight: 700;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.project-card {
  flex: 1 1 300px;
  max-width: 300px;
  height: 400px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.8), 0 0 40px rgba(57, 255, 20, 0.6);
}

.project-img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.project-content {
  padding: 10px;
  color: white;
  height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #430e89;
  border-radius: 0 0 10px 10px;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #3bff16;
  font-weight: 500;
}

/* Skills Section */
.skills {
  background-color: var(--light);
  padding: 5rem 2rem;
}

.skills-container {
  max-width: 1200px;
  margin: 0 auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.skill-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  animation: fadeIn 0.5s ease-out;
  animation-fill-mode: both;
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(145deg, #ffffff, #f6f6f6);
}

.skill-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.skill-item:hover i {
  transform: scale(1.1);
}

.skill-item h3 {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.skill-item p {
  color: #666;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background-color: rgb(7, 164, 36);
  color: white;
  padding: 3rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-weight: 500;
}

.social-links a {
  color: white;
  margin-right: 1rem;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.social-links a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 20px;
  }

  .nav-links {
    display: none;
  }
}

nav .nav-links .logo img {
  height: 50px;
  width: auto;
  display: block;
}
