/* PAGE LOADER CSS */
.cssload-loader {
  width: 244px;
  height: 49px;
  line-height: 49px;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  font-family: helvetica, arial, sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 18px;
  color: var(--pd-accent);
  letter-spacing: 0.2em;
}
.cssload-loader::before,
.cssload-loader::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background: rgb(34, 34, 34);
  position: absolute;
  animation: cssload-load 0.81s infinite alternate ease-in-out;
  -o-animation: cssload-load 0.81s infinite alternate ease-in-out;
  -ms-animation: cssload-load 0.81s infinite alternate ease-in-out;
  -webkit-animation: cssload-load 0.81s infinite alternate ease-in-out;
  -moz-animation: cssload-load 0.81s infinite alternate ease-in-out;
}
.cssload-loader::before {
  top: 0;
}
.cssload-loader::after {
  bottom: 0;
}
@keyframes cssload-load {
  0% {
    left: 0;
    height: 29px;
    width: 15px;
  }
  50% {
    height: 8px;
    width: 39px;
  }
  100% {
    left: 229px;
    height: 29px;
    width: 15px;
  }
}
@-o-keyframes cssload-load {
  0% {
    left: 0;
    height: 29px;
    width: 15px;
  }
  50% {
    height: 8px;
    width: 39px;
  }
  100% {
    left: 229px;
    height: 29px;
    width: 15px;
  }
}
@-ms-keyframes cssload-load {
  0% {
    left: 0;
    height: 29px;
    width: 15px;
  }
  50% {
    height: 8px;
    width: 39px;
  }
  100% {
    left: 229px;
    height: 29px;
    width: 15px;
  }
}
@-webkit-keyframes cssload-load {
  0% {
    left: 0;
    height: 29px;
    width: 15px;
  }
  50% {
    height: 8px;
    width: 39px;
  }
  100% {
    left: 229px;
    height: 29px;
    width: 15px;
  }
}
@-moz-keyframes cssload-load {
  0% {
    left: 0;
    height: 29px;
    width: 15px;
  }
  50% {
    height: 8px;
    width: 39px;
  }
  100% {
    left: 229px;
    height: 29px;
    width: 15px;
  }
}
/* ================================================================
================== Theme CSS ==================================
===================================================================*/
.page-id-9 header#masthead {
  background-image: linear-gradient(180deg, black, transparent);
  z-index: 99;
}
.wow {
  visibility: hidden;
}
.wow.animate__animated {
  visibility: visible;
}
/* ================================================================
================== HOME PAGE CSS ==================================
===================================================================*/
#homePage .heroSection {
  /* background: var(--pd-gradient-dark); */
  position: relative;
  background-color: #0f355a;
}
#homePage .heroSection::before {
  content: url("https://padahsolutions.trigitalsolutions.in/wp-content/uploads/2025/12/topbgstroke.png");
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}
#homePage .heroSection::after {
  content: url(/wp-content/uploads/2025/12/bottombgstroke.png);
  position: absolute;
  z-index: 0;
  pointer-events: none;
  right: 0;
  bottom: 0;
}
#homePage .herobottom img {
  display: inline-block;
  transform: scale(0);
}
#homePage .headerSection {
  padding-top: 10rem;
  padding-bottom: 8rem;
}
.padahSymbol img{
  z-index: 9999;
  position: relative;
  display: inline-block;
}
.padahSymbol {
    position: absolute;
    left: -6%;
    bottom: -20%;
    animation: rotate 6s linear 0s infinite;
    max-width: 300px;
}
.gradientText {
  background: -webkit-linear-gradient(
    0deg,
    var(--pd-light-1),
    var(--pd-light-2)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#homePage .sec2 {
  margin-top: -10rem;
}
/* HOVER VERTICAL TABS STARTS */
.r-hover-tabs {
  display: flex;
  gap: 14px;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
  min-height: 450px;
}
.r-hover-tabs .tab {
  flex: 1;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.r-hover-tabs .tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.r-hover-tabs .tab::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.25));
}
/* CONTENT */
.r-hover-tabs .content {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  color: #fff;
}
/* ✅ ALWAYS VISIBLE TITLE */
.r-hover-tabs .title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}
.r-hover-tabs .tab.active .desc {
  display: block;
}
/*  Hidden by default */
.r-hover-tabs .desc {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.4s ease;
  display: none;
}
/* EXPAND ON HOVER */
.r-hover-tabs .tab:hover {
  flex: 3;
}
.r-hover-tabs .tab:hover::before {
  transform: scale(1.1);
}
.r-hover-tabs .tab:hover .desc {
  opacity: 1;
  transform: translateY(0);
  display: block;
}
/* DEFAULT ACTIVE */
.r-hover-tabs .tab.active {
  flex: 3;
}
.r-hover-tabs .tab.active .desc {
  opacity: 1;
  transform: translateY(0);
}
/* COLLAPSE ACTIVE WHEN ANOTHER TAB IS HOVERED */
.r-hover-tabs:has(.tab:hover:not(.active)) .tab.active {
  flex: 1;
}
.r-hover-tabs:has(.tab:hover:not(.active)) .tab.active .desc {
  opacity: 0;
  transform: translateY(12px);
  display: none;
}
/* Expand ONLY hovered tab */
.r-hover-tabs .tab:hover {
  flex: 3;
}
@media (max-width: 900px) {
  .r-hover-tabs {
    flex-direction: column;
    gap: 16px;
  }
  /* Let height be content-driven */
  .r-hover-tabs .tab {
    flex: unset !important;
    min-height: unset; /* ❌ remove fixed height */
    height: auto; /* ✅ auto height */
  }
  /* Background image stays fine */
  .r-hover-tabs .tab::before {
    position: absolute;
  }
  /* 🔑 Content becomes normal flow */
  .r-hover-tabs .content {
    position: relative; /* ❌ absolute → relative */
    bottom: unset;
    left: unset;
    right: unset;
    padding: 24px;
  }
  /* Always visible content */
  .r-hover-tabs .desc {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }
  /* Stronger overlay for readability */
  .r-hover-tabs .tab::after {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.95),
      rgba(0, 0, 0, 0.4)
    );
  }
}
.dview {
  display: block;
}
.mview {
  display: none;
}
.prefooterLogos .item img {
  max-width: 150px;
  display: block;
}

/* HOVER VERTICAL TABS ENDS */
@media screen and (max-width: 767px) {
  div[class^="col-"] {
    margin-bottom: 20px;
  }
  .dview {
    display: none;
  }
  .mview {
    display: block;
  }
  .col-reverse {
    flex-direction: column-reverse;
  }
  #homePage .headerSection {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
  #homePage .sec2 {
    margin-top: 0;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-cols-2 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-cols-3 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-cols-4 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-cols-5 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-cols-6 {
    grid-template-columns: repeat(1, 1fr);
  }
  .paddingTop{
    padding-top: 3rem;
  }
  .paddingBottom{
    padding-bottom: 3rem;
  }
  .padahSymbol {
  display: none;
}
}