* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  background: black;
}

/* Header */
.header {
  background-color: #111;
  color: white;
  padding: 15px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
.logo span {
  color: #ff4d4d;
}
.nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}
.nav a:hover {
  color: #ff4d4d;
}

/* Project Section */
.project-section {
  padding: 40px 10%;
 
  background: black;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: white;
}

.lgg{

  display: flex;
  justify-content: center;
  align-items: center;
}
#lg{
  width: 5%;
  height: 10%;
  border-radius: 50%;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.project-card {
  background:black;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 5px 0px white;
  transition: 0.3s ease;
  min-height: 30vh;
  display: flex;

  align-items: center;
}
.project-card:hover {
  transform: translateY(-5px);
}
.project-card img {
  width: 100%;
  height: auto;
}
.card-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
 

}
.card-content h2 {
  font-size: 1.4rem;
  color:red;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: bold;
}

.card-content h3 {
  font-size: .8rem;
  color: white;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: bold;
}

.card-content a{
  text-decoration: none;
  color: white;
  background: red;
  padding: 10px;
}

.card-content p {
  color: #666;
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}


.errorr{
  min-width: 60%;
  height: 30vh;
  background:#ff4d4d;
  position: fixed;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  border-radius: 20px;
  z-index: 99999;
  visibility: hidden;
  transition: 0.2s;

}

.ad{
visibility: visible;
  transition: 0.2s;

}

/* Responsive */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav {
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
  .card-content h2 {
    font-size: .8rem;
  }
}
