/* About Hero Image */
.hero-section img {
    height: 50vh;
    object-fit: cover;
}

/* About Hero Typography */
.hero-section .hero-heading {
    font-size: 2.5rem;
}

.hero-section .hero-subtext {
    max-width: 720px;
    font-size: 1.05rem;
}

/* Tablet */
@media (max-width: 991.98px) {
    .hero-section .hero-heading {
        font-size: 2rem;
    }

    .hero-section .hero-subtext {
        font-size: 1rem;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .hero-section img {
        height: 45vh;
    }

    .hero-section .hero-heading {
        font-size: 1.6rem;
    }

    .hero-section .hero-subtext {
        font-size: 0.95rem;
    }
}

.certificate-card {
    max-height: 220px; /* adjust card height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.certificate-card p {
    color: #79839A;
}

.certificate-card img {
    object-fit: contain;
}

.company-bg-section {
    position: relative;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.9),
            rgba(255, 255, 255, 0.9)
        ),
        url("/assets/images/about/bottomimg.png");
    background-repeat: no-repeat;
    background-size: auto 85%;  /* reduce height to 45%, auto keeps aspect ratio */
    background-position: center 110%; /* move image slightly below section */
}

.company-bg-section > .row {
    position: relative;
    z-index: 1;
}


.why-choose-bg {
  position: relative;
  background: linear-gradient(
    120deg,
    #F4F7FF 0%,
    #FAFCFF 40%,
    #FFEEE4 100%
  );
  overflow: hidden;
}
.why-choose-bg::before,
.why-choose-bg::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

/* Top-left vector */
.why-choose-bg::before {
  top: -50px;
  left: -50px;
  width: 320px;
  height: 320px;
  background-image: url("/assets/images/about/molecule1.png");
  opacity: 0.12;
}

/* Bottom-right vector */
.why-choose-bg::after {
  bottom: -60px;
  right: -60px;
  width: 380px;
  height: 380px;
  background-image: url("/assets/images/about/refinary.png");
  opacity: 0.12;
}
.why-choose-bg .container {
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .why-choose-bg::before,
  .why-choose-bg::after {
    width: 200px;
    height: 200px;
    opacity: 0.08;
  }
}

.factory-section {
  position: relative;
  overflow: hidden;
}

/* Top-left decoration */
.factory-section::before {
  content: "";
  position: absolute;
 top: 15px;
    left: 20px;
  width: 250px;    /* adjust size */
  height: 250px;
  background-image: url("/assets/images/home/molecule.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.12;   /* subtle effect */
  pointer-events: none;
  z-index: 0;
}

/* Bottom-right decoration */
.factory-section::after {
  content: "";
  position: absolute;
  bottom: 22px;
    right: 0px;
  width: 300px;     /* adjust size */
  height: 300px;
  background-image: url("/assets/images/about/refinary.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.factory-section .container {
  position: relative;
  z-index: 1; /* ensures content stays above decorations */
}

/* Responsive */
@media (max-width: 768px) {
  .factory-section::before,
  .factory-section::after {
    width: 150px;
    height: 150px;
    opacity: 0.08;
  }
}

