:root {
  --bs-success-rgb: 0, 221, 181;
  --bs-dark-rgb: 0, 0, 0;
  --bs-tertiary-bg-rgb: 0, 0, 0 !important;
  --theme-blue: #0094A8;
  --theme-blue-light: #00B9B9;
  --theme-blue-extra-light: #00f1f1;
  --grad-start: #0094A8;
  --grad-end: #00C29F;
  --dark-sea-green: #006674;
  --light-sea-green: #baf4fc;
  --theme-muted: #343a40;
  --vh: 100%;
}

.hero-section {
  height: calc(var(--vh, 1vh) * 78);
}

.small-section {
  height: calc(var(--vh, 1vh) * 10);
  display: flex;
  align-items: center;
}


/* COMMON */
.theme-bg-muted {
  background-color: var(--theme-muted);
}

.theme-bg-blue-light {
  background-color: var(--theme-blue-light);
}

.theme-bg-green-light {
  background-color: var(--light-sea-green);
}

.theme-bg-dark {
  background-color: var(--dark-sea-green);
}

.theme-bg-dark-2 {
  background-color: var(--grad-start) !important;
}

.theme-blue-button {
  background-color: var(--theme-blue-light);
  transition: 0.3s;
}

.theme-blue-button:hover {
  background-color: var(--grad-start);
}

.text-success-light{
  color: var(--theme-blue-extra-light);
}

.text-success {
  color: var(--theme-blue-light) !important;
}

.focus-gradient-background {
  background: linear-gradient(45deg, var(--grad-start), var(--grad-end));
}

.focus-card {
  background: linear-gradient(45deg, var(--grad-start), var(--grad-end));
  border-radius: 1.7rem;
  position: relative;
  padding: 2px
}

.border-theme-green {
  border-color: var(--theme-blue-light) !important;
}

.focus-card-white-bg {
  border-radius: 1.5rem;
  width: 100%;
  height: 100%;
  background-color: white;
}

.josefin-sans-mg {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.josefin-sans-mg-bold {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.josefin-sans-mg-light {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

.josefin-sans-mg-200 {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.josefin-sans-mg-300 {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.theme-gradient-bg {
  background: linear-gradient(45deg, black, #0094A8);
}

.font-20 {
  font-size: 20px;
}

/* Show main dropdown on hover */
.dropdown-hover:hover>.dropdown-menu {
  display: block;
  margin-top: 0;
}

/* Show nested dropdown on hover */
.dropdown-submenu:hover>.dropdown-menu {
  display: block;
  left: 100%;
  top: 0;
  margin-top: -1px;
}

/* Ensure proper alignment */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  position: absolute;
  left: 100%;
  top: 0;
  display: none;
  margin-top: 0;
}



/* FLIP */
.flip-container {
  perspective: 1000px;
}

.flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flip-container:hover .flipper {
  transform: rotateY(180deg);
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}

.front {
  background-color: #343a40;
  /* theme-bg-dark-2 equivalent */
  color: white;
}

.back {
  background-color: #555;
  color: white;
  transform: rotateY(180deg);
}



/* SCROLL SNAP  */
.animatable {
  opacity: 0;
  transform: translateY(100px);
}

.main-container {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh;
  /* scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;
}


/* IMAGE GALLERY
.image-gallery-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.image-gallery-wrapper>div>img, .image-gallery-wrapper>div>a>img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  
  vertical-align: middle;
  display: inline-block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-gallery-wrapper>div:hover>img, .image-gallery-wrapper>div>a:hover>img {
  transform: scale(1.1);
}

.image-gallery-wrapper>div, .image-gallery-wrapper>div>a {
  display: flex;
  justify-content: center;
  align-items: top;
  overflow: hidden;
  position: relative;
}

.image-gallery-wrapper {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
} */


/* IMAGE GALLERY */
.image-gallery-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
}

.image-gallery-wrapper>div {
  height: 100%;
  /* Ensures the div takes up the entire height of the grid cell */
}

.image-gallery-wrapper>div>a {
  width: 100%;
  height: 100%;
  display: block;
  /* Ensures the <a> tag takes up the entire height of the parent div */
}

.image-gallery-wrapper>div>img,
.image-gallery-wrapper>div>a>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Ensures the top part is always in view */
  display: block;
  /* Ensures the image takes up the entire height of the <a> tag */
  transition: transform 0.3s ease;
}

.object-position-top {
  object-position: center top !important;
}

.image-gallery-wrapper>div:hover>img,
.image-gallery-wrapper>div>a:hover>img {
  transform: scale(1.1);
}

.image-gallery-wrapper .wide {
  grid-column: span 2;
}

.image-gallery-wrapper .tall {
  grid-row: span 2;
}



.scrolling-gallery {
  overflow: hidden;
  position: relative;
  width: 100vw;
}

.scrolling-track {
  display: flex;
  animation: scroll-left 70s linear infinite;
  width: fit-content;
}

.scrolling-content {
  display: flex;
  gap: 10px;
}

.scrolling-gallery:hover .scrolling-track {
  animation-play-state: paused;
}

.image-wrapper {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-container {
  height: 200px;
  width: 300px;
  overflow: hidden;
  border-radius: 10px;
  flex: none;
}

.image-container.tall {
  height: 410px;
}

.image-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.image-container:hover img {
  transform: scale(1.1);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media screen and (max-width: 767px) {
  .image-gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
  }
}



.form-control {
  border: 1px solid #969fa8;
}


/* BOOTSTRAP */
.carousel-indicators {
  bottom: -60px;
}


/* BLOG */
.blog-image {
  height: 220px
}


/* PARAGRAPH WRAM IMAGE */
.paragraph-container {
  position: relative;
  margin: 0 auto;
}

.paragraph-container .right-child {
  float: right;
  margin: 0 0 20px 20px;
  max-width: 30%;
  height: auto;
}

.custom-fixed {
  position: absolute !important;
  top: 0;
  width: 100%;
  z-index: 1030;
  /* Same as Bootstrap's fixed elements */
}


#category .nav-link {
  color: black;
  margin-right: 5px;
  transition: 0.3s ease;
}

#category .nav-link.active {
  background-color: var(--theme-blue-light) !important;
}

#category .nav-link:hover {
  background-color: #e3e9ee;
}

.no-scroll-bar {
  scrollbar-width: none;
  /* Firefox */
}

.no-scroll-bar::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.min-vh-100 {
  min-height: 100vh !important;
}

.bg-grad-dark {
  background: linear-gradient(to right, black 30%, #043c3c 70%);
  background-size: 200% 100%;
  background-position: left center;
  animation: smoothPulse 8s ease-in-out infinite;
}

/* Smooth left-to-right breathing feel */
@keyframes smoothPulse {
  0% {
    background-size: 180% 100%;
    background-position: left center;
  }

  50% {
    background-size: 250% 100%;
    background-position: center center;
  }

  100% {
    background-size: 180% 100%;
    background-position: left center;
  }
}




/* WORK WITH MANOJ */
.work-with-cards {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

/* Gradient overlay from bottom up */
.work-with-cards::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  /* You can adjust this based on how high the text goes */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1;
}

/* Make sure text sits above the gradient */
.work-with-cards h5 {
  position: relative;
  z-index: 2;
}

.work-with-cards.btsg {
  background-image: url('../images/work-with-manoj/work-card-bg-1.jpg?q1');
}

.work-with-cards.crta {
  background-image: url('../images/work-with-manoj/work-card-bg-4.jpg?q1');
}

.work-with-cards.mnaa {
  background-image: url('../images/work-with-manoj/work-card-bg-3.jpg?q1');
}

.work-with-cards.lmrw {
  background-image: url('../images/work-with-manoj/work-card-bg-2.jpg?q1');
}

.work-with-cards.elca {
  background-image: url('../images/work-with-manoj/work-indi-card-bg-1.jpg?q3');
}

.work-with-cards.pbtl {
  background-image: url('../images/work-with-manoj/work-indi-card-bg-3.jpg?q1');
}

.work-with-cards.clc {
  background-image: url('../images/work-with-manoj/work-indi-card-bg-4.jpg?q1');
}

.work-with-cards.eabs {
  background-image: url('../images/work-with-manoj/work-indi-card-bg-2.jpg?q1');
}

/* Animation keyframes */
@keyframes bgScroll {
  0% {
    background-position: 50% center;
  }

  50% {
    background-position: 0% center;
  }

  100% {
    background-position: 100% center;
  }
}

/* Hover effect */
.work-with-cards:hover {
  animation: bgScroll 5s linear infinite;
}


@media screen and (max-width:767px) {
  .font-xs-20 {
    font-size: 20px !important;
  }

  .font-xs-15 {
    font-size: 15px !important;
  }

  .min-height-xs-50-vh {
    min-height: 50vh;
  }

  .image-gallery-wrapper {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on mobile */
    grid-auto-rows: 150px;
    /* Adjust row height if necessary */
  }

  .blog-image {
    height: 100px
  }

  .custom-fixed {
    top: auto;
    bottom: 0;
    width: 100%;
    z-index: 1030;
  }

  .dropdown-submenu:hover>.dropdown-menu {
    left: 0 !important;
    top: 39px;
    width: 100%;
  }


  /* WORK WITH MANOJ */
  .work-with-cards {
    min-height: 200px
  }
}