body {
  font-family: Arial, sans-serif;
  background-color: #131313;
  color: #fff;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
}

.main {
  padding-bottom: 100px;
}

.circle {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.587);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #161616;
  color: white;
  padding: 24px 5vw;
  border-bottom: 2px solid rgb(210, 210, 210);
  flex-wrap: wrap;
}

.logo {
  font-size: 29px;
  font-weight: bold;
  margin: 0;
}

.menu {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.menu li a {
  text-decoration: none;
  color: white;
  position: relative;
  font-size: 16px;
  transition: color 0.3s;
}

.menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.menu li a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("./image/pf.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.title1 {
  font-size: 70px;
  font-family: Arial, sans-serif;
  line-height: 60px;
  margin: 0;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  padding: 0 5vw;
  box-sizing: border-box;
}

.desc {
  font-size: 20px;
  color: #e0e0e0;
  margin-top: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 0 5vw;
  box-sizing: border-box;
}

.footer {
  background-color: #111;
  padding: 50px 5vw;
  color: #ccc;
  border-top: 2px solid rgb(210, 210, 210);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
}

.footer-left {
  max-width: 500px;
}

.footer-logo {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}

.footer-desc {
  margin: 15px 0;
  line-height: 1.6;
  font-size: 14px;
}

.footer-copy {
  margin-top: 20px;
  font-size: 13px;
  color: #777;
}

.footer-right {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-column h4 {
  margin-bottom: 10px;
  color: #fff;
}

.footer-column a {
  display: block;
  text-decoration: none;
  color: #aaa;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.3s;
  position: relative;
}

.footer-column a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.footer-column a:hover::after {
  transform: scaleX(1);
}

.icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
  filter: brightness(0.8);
  transition: filter 0.3s;
}

.icon:hover {
  filter: brightness(1.2);
}

.project-section {
  padding: 60px 5vw;
}

.project-heading {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.gradient-text {
  color: #ffffff;
}

.parent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

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

.project-content {
  padding: 15px;
}

.project-content h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
}

.project-content p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.4;
}

/* === RESPONSIVE FIXED === */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .menu {
    flex-direction: column;
    gap: 10px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .project-card img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .project-card img {
    height: 140px;
  }

  .footer {
    padding: 30px 5vw;
  }

  .footer-logo {
    font-size: 24px;
  }
}
