/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ================= BODY ================= */
body {
  background-color: #f5f5f5;
  color: #1f1f1f;
}

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #0a0a0a;
}

/* ================= NAVBAR ================= */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  background-color: #1f1f1f;

}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links .active {
  color: #ef233c;
}

/* ================= BUTTONS ================= */
.btn-primary {
  background-color: #b40421;
  color: #f5f5f5;
  padding: 8px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #ef233c;
}

/* ================= HERO ================= */
.hero-bg {
  position: relative;
  min-height: 65vh;
  background-image: url("../projects/institutional/1.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.65);
}

.hero-content {
  position: relative;
  max-width: 650px;
  color: #ffffff;
}

.hero-content h1 {
  font-size: 44px;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.9;
  color: #d3d3d3;
}

/* ================= PROJECT DETAILS ================= */
.project-details {
  padding: 90px 8%;
  text-align: center;
}

.project-details h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

/* PROJECT DESCRIPTION */
.project-info {
  max-width: 850px;
  margin: 0 auto 60px;
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}

/* ================= PROJECT GALLERY ================= */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.project-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
  cursor: pointer;
}

.project-gallery img:hover {
  transform: scale(1.05);
}

/* ================= BACK BUTTON ================= */
.project-back {
  margin-top: 60px;
}

.project-back a {
  display: inline-block;
  background-color: #b40421;
  color: #ffffff;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.project-back a:hover {
  background-color: #ef233c;
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 40px;
  color: #ffffff;
  cursor: pointer;
}

/* ================= FOOTER ================= */
.footer {
  background-color: #0a0a0a;
  color: #f5f5f5;
  padding: 30px;
  text-align: center;
  font-size: 13px;
  margin-top: 80px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .project-gallery img {
    height: 220px;
  }

  .project-details {
    padding: 70px 6%;
  }

  /* ================= MOBILE NAV FIX ================= */
@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .navbar img {
    width: 160px !important;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    padding-top: 10px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: 15px;
  }

  .btn-primary {
    align-self: flex-start;
    margin-top: 10px;
  }
}

}






