/* about-section */
.about-top {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* 🔳 Background: nise.gif grain */
.about-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url('./images/nise.gif');
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

/* 🔳 Bottom glowing border */
.about-top::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: #ffffff;
  box-shadow:
    0 0 9px rgba(255, 255, 255, 0.7),
    0 0 12px rgba(255, 255, 255, 0.9);
  z-index: 1;
}

.about-body-section {
  display: flex;
  gap: 50px;
  padding: 50px 40px;
  position: relative; /* Required for positioning the pseudo-element */
  z-index: 1;
}

.about-body-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: #ffffff;
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.7),
    0 0 12px rgba(255, 255, 255, 0.9);
  z-index: 2;
}
.about-grid {
  width: 50%;

  /* Transition setup */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.8s ease;
}

.about-grid.visible {
  opacity: 1;
  transform: translateY(0);
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  padding-bottom: 60px; /* same or more than image overlap */
}
.about-head {
  font-size: 40px;
  margin: 0;
  color: white;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.7s ease;
}

.about-head.visible {
  opacity: 1;
  transform: translateY(0);
}
.about-para {
  color: #bbb;
  margin: 0;
  font-size: 16px;
  line-height: 1.8rem;
  padding: 20px 0px;
  padding-bottom: 0px;

  /* Transition setup */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.8s ease;
}

/* When visible via JS */
.about-para.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-top {
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
}
.image-reveal {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 1s ease, opacity 1s ease;
  object-fit: cover;
  width: 100%;
}

.image-reveal.visible {
  height: 100%; /* or use a fixed height like 400px */
  opacity: 1;
}

.about-section .count {
  font-weight: 700;
  margin: 0;
  color: white;
  font-size: 45px;
  display: inline-flex;
  gap: 2px;
  overflow: hidden;
}
.image-group {
  position: relative;
  width: fit-content;
}
.image-height-reveal {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 1.8s ease, opacity 1.2s ease;
}

.image-height-reveal.visible {
  height: 100%;
  opacity: 1;
}

.lap,
.group {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.lap.visible,
.group.visible {
  opacity: 1;
  transform: translateY(0);
}

.lap {
  width: 400px;
  height: auto;
  display: block;
  filter: grayscale(100%);
}

.group {
  position: absolute;
  top: 100px;         /* adjust to fine-tune vertical position */
  left: 200px;        /* adjust to fine-tune horizontal position */
  width: 400px;
  height: auto;
  z-index: 1;
  filter: grayscale(100%);
}
.about-minihead {
  text-transform: uppercase;
  color: white;
  margin: 0;
  font-size: 16px;
  padding-bottom: 15px;

  /* Transition setup */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-minihead.visible {
  opacity: 1;
  transform: translateY(0);
}

.bussiness-grid {
  display: flex;
  padding-top: 50px;
  gap: 30px;

  /* Transition */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.9s ease;
}

.bussiness-grid.visible {
  opacity: 1;
  transform: translateY(0);
}

.bussiness-grid-left{
    width: 15%;
}
.bussiness-grid-right{
    width: 85%;
}
.grid-icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  border: 1px solid white;
  border-radius: 50%;
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.6),
    0 0 12px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.grid-icon-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('./images/nise.gif');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 1;
}

.grid-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  z-index: 2;
}

.grid-icon {
  width: 60px;               /* ✅ Fixed width */
  height: 60px;              /* ✅ Fixed height */
  object-fit: contain;       /* Ensures the icon scales correctly */
  border: 1px solid white;
  border-radius: 50%;
  padding: 10px;
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.6),
    0 0 12px rgba(255, 255, 255, 0.8);
  transition: box-shadow 0.3s ease;
}

.grid-mini-head {
  margin: 0;
  font-size: 14px;
  color: #bbb;
  line-height: 1.8rem;
  padding-top: 15px;
  text-transform: uppercase;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.7s ease;
}

.grid-mini-head.visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-bottom-section {
  display: flex;
  flex-direction: row-reverse;
  gap: 30px;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.7s ease;
}

.blog-bottom-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.arrow-text{
    font-size: 16px;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    padding: 15px 0px;
}
.arrow{
    height: 15px;
    padding-right: 15px;
    padding-top: 3px;
}

/* popular-section */
.popular-section {
  padding: 50px 40px;
  position: relative; /* Required for pseudo-element */
  z-index: 1;
}

/* Glowing border bottom */
.popular-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.6),
    0 0 10px rgba(255, 255, 255, 0.8),
    0 0 14px rgba(255, 255, 255, 1);
  z-index: 2;
}
.popular-box {
  padding: 50px 0px;

  /* Transition setup */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.9s ease;
}

.popular-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.popular-text{
    font-size: 18px;
    color: white;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    padding: 5px 0px;
    cursor: pointer;
}
.plus {
  height: 20px;
  padding-right: 15px;
  padding-top: 3px;
  transition: transform 0.4s ease;
}

/* Rotated state */
.popular-item.active .plus {
  transform: rotate(45deg);
  margin-top: 10px;
}
.line-section {
  position: relative;
  height: 2px; /* enough to hold both lines */
  width: 100%;
  margin: 20px 0; /* spacing around if needed */
}

.line-r {
  border: none;
  height: 0.3px;
  background-color: white;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.3; /* optional: make background line lighter */
}

.white-line {
  border: none;
  height: 1.2px;
  background-color: white;
  width: calc(100% - 100px);
  position: absolute;
  top: 0;
  left: 100px;
}
.popular-grid-para {
  margin: 0;
  font-size: 16px;
  color: #bbb;
  line-height: 1.8rem;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: 
    max-height 0.6s ease,
    opacity 0.6s ease,
    transform 0.8s ease;
}

/* When active (shown) */
.popular-item.active .popular-grid-para {
  padding: 15px 0px;
  max-height: 500px; /* Set large enough to fit the paragraph */
  opacity: 1;
  transform: translateY(0);
}

