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

body {
  background: #f5f7fa;
  color: #333;
}

/* Navbar */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}


.hero-logo img {
  height: 40px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  font-weight: 500;
  color: #000;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #808000;
}

/* Projects Section */
.projects {
  padding: 60px 80px;
  text-align: center;
}

.projects h3 {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #808000;
  margin-bottom: 10px;
}

.projects h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* Project Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  justify-items: center;
}

.project-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 320px;
}

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

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

.project-info {
  padding: 20px;
  text-align: left;
}

.project-info h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-info p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.project-link {
  color: #808000;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.project-link:hover {
  color: #000;
}

/* Footer */
.footer {
  background: #2b3035;
  color: #dcdcdc;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left .social-logos,
.footer-right .social-logos {
  display: flex;
  gap: 12px;
}

.footer-left .social-logos a,
.footer-right .social-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #444;
  border-radius: 50%;
  transition: transform 0.3s, background 0.3s;
  text-decoration: none;
  color: #fff;
}

.footer-left .social-logos a:hover {
  transform: scale(1.1);
  background: #808000;
}
.footer-right .social-logos a:hover {
  transform: scale(1.1);
  background: #808000;
}

.footer-right .social-logos a img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.footer-center {
  text-align: center;
  flex: 1;
}

.footer-center p {
  margin: 3px 0;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 13px;
  text-align: center;
  color: #aaa;
}

/* Responsive */
@media (max-width: 992px) {
  header {
    padding: 15px 30px;
  }

  nav ul {
    gap: 20px;
  }

  .projects {
    padding: 40px 30px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 15px;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 20px 0;
    display: none;
  }

  header {
    flex-wrap: wrap;
  }

  .projects {
    padding: 30px 20px;
  }

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

/* ===== Hamburger ===== */
.menu-toggle {
  display: none;
  /* Hidden on desktop */
  font-size: 26px;
  cursor: pointer;
  color: #333;
  z-index: 200;
}

/* Navbar */
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  transition: all 0.4s ease-in-out;
}

nav ul li a {
  text-decoration: none;
  font-weight: 500;
  color: #000;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #808000;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {

  /* Show hamburger */
  .menu-toggle {
    display: block;
    position: absolute;
    right: 25px;
    top: 20px;
  }

  /* Mobile nav menu */
  nav {
    position: fixed;
    top: 70px;
    /* adjust depending on header height */
    right: -100%;
    width: 70%;
    height: calc(100vh - 70px);
    background: #fff;
    box-shadow: -3px 0 12px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    display: flex;
    justify-content: center;
    padding-top: 50px;
    z-index: 100;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  nav ul li {
    margin: 15px 0;
  }
}
.project-btn {
  display: inline-block;
  background-color: #4f6364;
  color: #e6e0e0;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s, transform 0.2s;
}

.project-btn:hover {
  background-color: #808000;
  color:#000;
  transform: translateY(-2px);
}
