.hero-about-page {
  position: relative;
  height: 50vh;
  padding: 0 7%;
  background:
    linear-gradient(
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.45)
    ),
    url('../img/project5.jpg') center/cover;
    z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-about-page h2 {
  color: #fff;
}

.hero-about-content {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-about-content h2 {
  text-transform: uppercase;
}

/* ==================================
   ABOUT PAGE HERO
================================== */

.projects-hero {
  padding: 120px 7%;
}

.projects-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.projects-hero-content .section-tag {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  background: rgba(255,255,255,.1);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.projects-hero-content h1 {
  font-size: 55px;
  color: #000;
  line-height: 1.3;
  margin-bottom: 20px;
}

.projects-hero-content h1 span {
  color: var(--primary-color);
}

.projects-hero-content p {
  color: #666;
  line-height: 1.8;
  font-size: 18px;
}



/* ==================================
   FILTER SECTION
================================== */

.projects-filter {
  padding: 60px 8% 20px;
  text-align: center;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.filter-btn {
  padding: 12px 22px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: .3s;
}

.filter-btn:hover {
  border-color: #FE0700;
  color: #FE0700;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #FE0700;
  color: #fff;
  border-color: #FE0700;
}


/* ==================================
   PROJECT GRID
================================== */

.projects-grid-section {
  padding: 80px 8%;
  background: #f8f9fb;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 25px;
}

/* PROJECT CARD */

.project-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,.08);
  transition: .4s ease;
  background: #fff;
}

.project-card img {
  width: 100%;
  height: 100%;
  display: block;
  transition: .4s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

/* OVERLAY */

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.85),
    rgba(0,0,0,.2)
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  opacity: 0;
  transition: .4s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay span {
  font-size: 13px;
  color: #FE0700;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-overlay h2 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.project-overlay a {
  display: inline-block;
  padding: 10px 15px;
  background: #FE0700;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  width: fit-content;
  transition: .3s;
}

.project-overlay a:hover {
  background: #c90300;
  transform: translateY(-2px);
}


/* ==================================
   CTA SECTION
================================== */

.projects-cta {
  padding: 100px 8%;
  background: linear-gradient(135deg,#FE0700,#c90300);
  text-align: center;
}

.projects-cta-content {
  max-width: 800px;
  margin: auto;
}

.projects-cta h2 {
  color: #fff;
  font-size: 45px;
  margin-bottom: 20px;
}

.projects-cta p {
  color: rgba(255,255,255,.9);
  margin-bottom: 30px;
  line-height: 1.8;
}

.cta-btn {
  display: inline-block;
  padding: 15px 35px;
  background: #fff;
  color: #FE0700;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: .4s;
}

.cta-btn:hover {
  transform: translateY(-5px);
}


/* ==================================
   RESPONSIVE
================================== */

@media (max-width: 992px) {

  .projects-hero-content h1 {
    font-size: 40px;
  }

  .projects-cta h2 {
    font-size: 32px;
  }

}

@media (max-width: 768px) {

  .projects-hero-content h1 {
    font-size: 30px;
  }

  .projects-hero-content p {
    font-size: 16px;
  }

  .projects-grid-section {
    padding: 60px 5%;
  }

}

/* LIGHTBOX BACKDROP */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

/* IMAGE */
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  animation: zoomIn .3s ease;
}

/* CLOSE BUTTON */
.close-lightbox {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: .3s;
}

.close-lightbox:hover {
  color: #FE0700;
}

/* ANIMATION */
@keyframes zoomIn {
  from {
    transform: scale(.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===========================
   BEFORE AFTER SECTION
=========================== */

.before-after-premium {
  padding: 100px 8%;
  background: #f8f9fb;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: auto;
  margin-bottom: 60px;
}

.section-header .section-tag {
  color: #FE0700;
  font-weight: 600;
  letter-spacing: 1px;
}

.section-header h1 {
  font-size: 42px;
  margin: 15px 0;
  line-height: 1.3;
}

.section-header p {
  color: #666;
  line-height: 1.8;
}

/* GRID */

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

/* CARD */

.ba-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 15px;
}

.ba-card h3 {
  text-align: center;
  margin-top: 15px;
  font-size: 16px;
  color: #333;
}

/* CONTAINER */

.ba-container {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 15px;
}

/* IMAGES */

.ba-container img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.after-img {
  clip-path: inset(0 50% 0 0);
  transition: 0.2s ease;
}

/* SLIDER */

.ba-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

/* LABELS */

.ba-label {
  position: absolute;
  top: 15px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border-radius: 5px;
}

.ba-label.before {
  left: 15px;
  background: rgba(0,0,0,.6);
}

.ba-label.after {
  right: 15px;
  background: #FE0700;
}