/* RESET & BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.25em;
}

/* GENERIC HERO BASE */
.hero,
.hero-banner {
  margin-top: 0;
  position: relative;
  height: 82vh;
  min-height: 480px;
  background:
    url("../image/gangagen-about-section.jpg")
      center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.hero-title {
  font-size: 3em;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* RESPONSIVE HERO TITLE */
@media (max-width: 768px) {
  .hero-title {
    font-size:1.6em;
  }
}

/* PAGE-SPECIFIC HEROES */

/* Services */
.hero-services {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/services-001.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-services-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-services-content {
  position: relative;
  z-index: 1;
}

/* Novel */
.hero-novel {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gangagen-food-safety.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-novel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-novel-content {
  position: relative;
  z-index: 1;
}

/* bacteriophages */
.hero-bacteriophages {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/3a.-Bacteriocin-Models-for-website.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-bacteriophages-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-bacteriophages-content {
  position: relative;
  z-index: 1;
}

/* plat-bacteriophages */
.hero-plat-bacteriophages {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/platform-bacteriophage-img.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-plat-bacteriophages-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-plat-bacteriophages-content {
  position: relative;
  z-index: 1;
}

/* plat-bacteriophages */
.hero-Bacteriocins {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gangagen-009.jpg")
      center center / cover no-repeat;
  overflow: hidden;
  color: #ffffff;
  opacity: 0.7 !important;
}

.hero-Bacteriocins-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-Bacteriocins-content {
  position: relative;
  z-index: 1;
}

/* posterspres */
.hero-posterspres {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gangen-pres-posters.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-posterspres-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-posterspres-content {
  position: relative;
  z-index: 1;
}

/* researchpublications */
.hero-researchpublications {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gangagen-articles.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-researchpublications-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-researchpublications-content {
  position: relative;
  z-index: 1;
}


/* pipeline */
.hero-pipeline {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gg-pipeline.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-pipeline-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-pipeline-content {
  position: relative;
  z-index: 1;
}

/* gangagen-bacteria */
.hero-ectolysins-gram {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gangagen-bacteria-default.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-ectolysins-gram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-ectolysins-gram-content {
  position: relative;
  z-index: 1;
}


/* protein-antibacterials */
.hero-protein-antibacterials {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gangagen-cadaceus.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-protein-antibacterials-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-protein-antibacterials-content {
  position: relative;
  z-index: 1;
}


/* About */
.hero-aboutus {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gangagen-about-section.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-aboutus-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-aboutus-content {
  position: relative;
  z-index: 1;
}

/* Board of Directors */
.hero-bod {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gangagen-board.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-bod-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-bod-content {
  position: relative;
  z-index: 1;
}

/* Scientific Advisory Board */
.hero-sab {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gangagen-scientific-advisory.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-sab-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-sab-content {
  position: relative;
  z-index: 1;
}

/* Phages main */
.hero-phages {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gangagen-about-section.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-phages-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-phages-content {
  position: relative;
  z-index: 1;
}

/* Phage library (server room style) */
.hero-phage-library {
  position: relative;
  min-height: 320px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../image/gangagen-009.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.hero-phage-library-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.hero-phage-library-content {
  position: relative;
  z-index: 1;
}

/* P128 hero */
.hero-p128 {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gangagen-p128.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.hero-p128-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-p128-content {
  position: relative;
  z-index: 1;
}

/* Careers hero */
.hero-career {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gg-fork-in-road.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.hero-career-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-career-content {
  position: relative;
  z-index: 1;
}

/* Careers hero */
.hero-business {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gg-business.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.hero-business-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-business-content {
  position: relative;
  z-index: 1;
}

/* Collaboration hero */
.hero-collab {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gg-collaboration.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-collab-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-collab-content {
  position: relative;
  z-index: 1;
}

/* Collaboration hero */
.hero-posterspres-bact {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/3a.-Bacteriocin-Models-for-website.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-posterspres-bact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-posterspres-bact-content {
  position: relative;
  z-index: 1;
}

/* Ectolysins hero */
.hero-ectolysins {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gangagen-bacteria.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-ectolysins-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-ectolysins-content {
  position: relative;
  z-index: 1;
}

/* Lysins hero */
.hero-lysins {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/bacteria-culture-banner-2.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-lysins-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-lysins-content {
  position: relative;
  z-index: 1;
}

/* Office location hero */
.hero-office {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/bengaluru-urban.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-office-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-office-content {
  position: relative;
  z-index: 1;
}

/* News hero */
.hero-news {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/gg-newspaper.jpg")
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-news-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-news-content {
  position: relative;
  z-index: 1;
}

/* Bacteriocins banner example */
.hero-banner.bacteriocins {
  min-height: 380px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../image/2a-Peptide-Bacteriocins.jpg.jpg")
      center center / cover no-repeat;
}

/* CONTACT BOXES (office page) */
.contact-box {
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.6);
}

/* NEWS CARDS */
.news-card a:hover .bg-white {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* FOOTER */
.footer {
  background: #12a020;
  color: #ffffff;
  text-align: center;
  padding: 30px 10px 80px;
  font-size: .9em;
  position: relative;
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #0c7417;
  width: 100px;
  height: 70px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: .8em;
  text-align: center;
  gap: 6px;
  z-index: 999;
}

.back-to-top-arrow {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 16px solid #ffffff;
}

/* .bg-white:hover  {
  background-color:#db850e !important;
  color: #ffffff !important;
} */

.news-card a {
  display: block;
}

.news-card a:hover h2,
.news-card a:hover p {
  color: #ffffff !important;
  
}

.news-card a:hover .bg-white {
  background-color: #db850e !important;
  color: #ffffff !important;
}


  /* === NAVBAR STYLES === */
    .navbar {
      padding-top: 0;
      padding-bottom: 0;
      background-color: #ffffff;
    }

    .navbar-nav {
      flex-direction: row;       /* horizontal on desktop */
    }

    .navbar-nav .nav-link {
      color: #2d8a23;
      font-weight: 600;
      text-transform: uppercase;
      font-size: 14px;
      padding: 18px 20px;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus,
    .navbar-nav .nav-link.active,
    .navbar-nav .nav-item.show > .nav-link {
      color: #ffffff;
      background-color: #139700;
    }

    .navbar-nav .dropdown-toggle::after {
      vertical-align: middle;
      margin-left: 0.25rem;
    }

    .navbar .dropdown-menu {
      border-radius: 0;
      border: none;
      padding: 10px 0;
      margin-top: 0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.25);
      min-width: 260px;
    }

    .navbar .dropdown-item {
      font-size: 15px;
      text-transform: uppercase;
      color: #139700;
      padding: 10px 28px;
      white-space: normal;
    }

    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus {
      background-color: #139700;
      color: #ffffff;
    }

    /* mobile: stack vertically */
    @media (max-width: 991.98px) {
      .navbar-nav {
        flex-direction: column;
      }
      .navbar-nav .nav-link {
        padding: 12px 15px;
      }
    }

/* active state */



/* SCROLL-IN ANIMATION (GLOBAL) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease-out;
}


/* Contact hero (add to your main CSS) */
.hero-contact {
  position: relative;
  min-height: 82vh;
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('../image/gangagen-009.jpg')
      center center / cover no-repeat;
  overflow: hidden;
}

.hero-contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  pointer-events: none;
}

.hero-contact-content {
  position: relative;
  z-index: 1;
}

/* Simple card style for form */
.contact-form {
  background:#ffffff;
  padding:24px 20px;
  border-radius:4px;
  box-shadow:0 4px 12px rgba(0,0,0,0.06);
}

/* Scroll animation already used on other pages */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:translateY(0); }
}

.animate-on-scroll {
  opacity:0;
  transform:translateY(30px);
}

.animate-on-scroll.visible {
  opacity:1;
  transform:translateY(0);
  animation:fadeInUp 0.6s ease-out;
}
