* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* NAVBAR */

.navbar {
  position: fixed;
  width: 100%;
  background: #fff;
  color: #000;
  padding: 25px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
}

nav a {
  color: orange;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
}

nav a:hover {
  color: orange;
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}


/* PROJECTS */

.projects {
  padding: 80px 20px;
  text-align: center;
}

.project-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns for desktop */
  gap: 25px;
  margin-top: 40px;
}

.project {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project img {
  width: 100%;
}

.project h4 {
  padding: 15px;
}

/* 📱 Tablet */
@media (max-width: 900px) {
  .project-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 📱 Mobile */
@media (max-width: 600px) {
  .project-box {
    grid-template-columns: 1fr; /* 1 column */
  }
}

/* RESPONSIVE */

@media(max-width:768px){

  .featured {
    transform: scale(1);
  }

  .pricing h2 {
    font-size: 2rem;
  }

}

/* STATS */

.stats {
  background: #111;
  color: white;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
  gap: 20px;
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  color: orange;
}


/* FOOTER */

.footer {
  background: #000;
  color: white;
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 30px;
}

.footer-box h3,
.footer-box h4 {
  color: orange;
  margin-bottom: 15px;
}

.footer-box p {
  color: #ccc;
  line-height: 1.6;
}


/* LINKS */

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 8px;
}

.footer-box ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-box ul li a:hover {
  color: orange;
}



/* FOOTER BOTTOM */

.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  margin-top: 40px;
  padding-top: 15px;
  font-size: 0.9rem;
  color: #888;
}


/* MOBILE */

@media(max-width:768px){

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-form {
    margin-top: 30px;
  }

}




/* CONTACT */

.contact {
  background: #111;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact textarea {
  padding: 12px;
  border-radius: 6px;
  border: none;
}


/* FOOTER */

footer {
  background: black;
  color: white;
  text-align: center;
  padding: 20px;
}


/* MOBILE */

@media(max-width:768px){

  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #111;
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: center;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 15px;
    border-bottom: 1px solid #333;
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
