/* =========================================================
   THIN FILM LAB - COMPACT HERO VERSION
   ========================================================= */

/* ===== PAGE BANNER - COMPACT ===== */
.page-banner {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--igf-primary) 0%,
    var(--igf-primary-dark) 100%
  );
  padding: 50px 0 40px;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(30, 126, 108, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.banner-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.banner-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 0.35rem 1.25rem;
  border-radius: 50px;
  font-size: var(--fs-tiny);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
  color: white;
}

.banner-badge i {
  margin-right: 6px;
  color: #5bb5a0;
}

.page-banner h1 {
  color: white;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-banner h1 .highlight {
  color: #5bb5a0;
}

.banner-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-body);
  max-width: 600px;
  margin-bottom: 0;
}

/* ===== LAB SECTION ===== */
.lab-section {
  padding: 50px 0;
}

.lab-section.bg-light {
  background: var(--igf-gray-50);
}

/* ===== SECTION BADGE ===== */
.section-badge {
  display: inline-block;
  background: rgba(30, 126, 108, 0.12);
  color: var(--igf-accent);
  padding: 0.3rem 1.1rem;
  border-radius: 50px;
  font-size: var(--fs-tiny);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--igf-primary);
}

.section-title .gradient-text {
  background: linear-gradient(135deg, var(--igf-accent) 0%, #5bb5a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: var(--igf-accent);
  border-radius: 2px;
  margin: 0.3rem 0 1.2rem;
}

.title-underline.mx-auto {
  margin: 0.3rem auto 1.2rem;
}

.section-subtitle {
  color: var(--igf-gray-600);
  font-size: var(--fs-body);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FEATURE BOX ===== */
.feature-box {
  background: rgba(30, 126, 108, 0.08);
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  margin-bottom: 0.6rem;
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--igf-primary);
}

.feature-box i {
  color: var(--igf-accent);
  margin-right: 8px;
}

/* ===== LAB IMAGE ===== */
.lab-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.lab-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.image-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--igf-accent);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: var(--fs-tiny);
}

.image-badge i {
  margin-right: 6px;
}

/* ===== EQUIPMENT CARD ===== */
.equipment-card {
  background: white;
  padding: 1.5rem;
  border-radius: 14px;
  text-align: center;
  border: 1px solid var(--igf-gray-200);
  transition: var(--transition-fast);
  height: 100%;
}

.equipment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(10, 61, 98, 0.08);
  border-color: var(--igf-accent);
}

.equipment-icon {
  font-size: var(--fs-h1);
  color: var(--igf-accent);
  margin-bottom: 0.75rem;
}

.equipment-card h4 {
  color: var(--igf-primary);
  font-weight: 700;
  font-size: var(--fs-h4);
  margin-bottom: 0.4rem;
}

.equipment-card p {
  color: var(--igf-gray-600);
  font-size: var(--fs-small);
  margin-bottom: 0;
}

/* ===== RESEARCH CARD ===== */
.research-card {
  display: flex;
  gap: 1rem;
  background: white;
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--igf-gray-200);
  transition: var(--transition-fast);
  height: 100%;
}

.research-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(10, 61, 98, 0.08);
  border-color: var(--igf-accent);
}

.research-number {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--igf-accent);
  opacity: 0.3;
  flex-shrink: 0;
  line-height: 1;
}

.research-content {
  flex: 1;
}

.research-content h4 {
  color: var(--igf-primary);
  font-weight: 700;
  font-size: var(--fs-h4);
  margin-bottom: 0.4rem;
}

.research-content p {
  color: var(--igf-gray-600);
  font-size: var(--fs-small);
  margin-bottom: 0.5rem;
}

.research-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.research-content ul li {
  font-size: var(--fs-small);
  color: var(--igf-gray-600);
  padding: 0.2rem 0;
}

.research-content ul li i {
  color: var(--igf-accent);
  margin-right: 6px;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  transition: var(--transition-fast);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px;
  font-size: var(--fs-small);
  text-align: center;
  font-weight: 500;
}

/* ===== CTA SECTION ===== */
.lab-cta {
  padding: 50px 0 60px;
  background: linear-gradient(
    135deg,
    var(--igf-primary) 0%,
    var(--igf-primary-dark) 100%
  );
  position: relative;
  overflow: hidden;
}

.lab-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(30, 126, 108, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: white;
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-content h2 .gradient-text {
  background: linear-gradient(135deg, #5bb5a0 0%, #e0b84d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-body);
  max-width: 500px;
  margin: 0 auto 1.25rem;
}

.cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-content .btn-primary {
  background: var(--igf-accent);
  border: none;
  padding: 0.7rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  font-size: var(--fs-body);
  transition: var(--transition-fast);
}

.cta-content .btn-primary:hover {
  background: #166b5b;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 126, 108, 0.4);
}

.cta-content .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 0.7rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  font-size: var(--fs-body);
  color: white;
}

.cta-content .btn-outline-light:hover {
  background: white;
  color: var(--igf-primary);
  transform: translateY(-3px);
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--igf-accent);
  border: none;
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition-fast);
  font-size: var(--fs-body);
}

.btn-primary:hover {
  background: #166b5b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 126, 108, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .page-banner {
    padding: 40px 0 30px;
  }

  .page-banner h1 {
  }

  .section-title {
  }

  .cta-content h2 {
  }
}

@media (max-width: 768px) {
  .page-banner {
    padding: 30px 0 25px;
    text-align: center;
  }

  .page-banner h1 {
  }

  .banner-description {
    max-width: 100%;
  }

  .lab-section {
    padding: 30px 0;
  }

  .section-title {
  }

  .research-card {
    flex-direction: column;
    gap: 0.3rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .gallery-item img {
    height: 150px;
  }

  .cta-content h2 {
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-content .btn-primary,
  .cta-content .btn-outline-light {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .page-banner h1 {
  }

  .banner-description {
  }

  .banner-badge {
    padding: 0.25rem 1rem;
  }

  .section-title {
  }

  .equipment-card {
    padding: 1.2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 200px;
  }

  .cta-content h2 {
  }

  .cta-content p {
  }
}