/*
Theme Name: BOSC Tech Labs
Theme URI: 
Author: The BOSC Team
Author URI: 
Description: Just another block theme for BOSC
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bosc-tech-labs
Tags: 
*/

.home header,
.single-service header {
  position: absolute;
}

header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: all 0.4s ease;
  transform: translateY(0);
}

header.scrolled {
  position: fixed;
  background: #000000;
  /* change if dark site */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: slideDown 0.4s ease forwards;
}

header.scrolled .header-row {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

h3 a {
  /* font-size: 1.38rem; */
  font-size: clamp(0.918rem, 0.918rem + ((1vw - 0.2rem) * 0.739), 1.38rem);
}

h3 a:hover {
  color: #1c4d86;
}

.green-txt {
  color: #A8CF45;
}

.blue-txt {
  color: #1c4d86;
}

.bosc-banner {
  height: 100vh;
}

.wp-block-post-content p a {
  color: #1c4d86 !important;
}

.hero-case-study p a {
  color: #A8CF45 !important;
}

ul.mega-sub-menu {
  margin-top: 20px !important;
}

.mega-second-level-heading>a:first-child,
.ft-links-heading {
  position: relative !important;
  padding-bottom: 12px !important;
  font-weight: 500 !important;
}

.mega-second-level-heading>a:first-child i {
  font-size: 24px;
  color: #a8cf45;
}

.mega-second-level-heading>a:first-child::before,
.ft-links-heading::before {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 40px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #a8cf45, transparent) !important;
  border-radius: 2px !important;
  transition: width 0.3s ease !important;
}

li.mega-menu-column-standard {
  position: relative !important;
  padding: 20px 10px !important;
  border-radius: 16px !important;
  transition: all 0.3s ease !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
  border: 1px solid transparent !important;
  /* width: 20% !important; */
}

li.mega-menu-column-standard:hover {
  transform: translateY(-5px) !important;
  background: linear-gradient(135deg, rgba(168, 207, 69, 0.08), rgba(28, 77, 134, 0.08)) !important;
  box-shadow: 0 10px 30px rgba(28, 77, 134, 0.1) !important;
}

li.widget_custom_html.mega-menu-column-standard:hover {
  background: linear-gradient(135deg, rgba(168, 207, 69, 0), rgba(28, 77, 134, 0)) !important;
  box-shadow: 0 10px 30px rgba(28, 77, 134, 0) !important;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-column-standard li.mega-menu-item>a.mega-menu-link {
  border-radius: 10px;
}

.mega-menu-featured {
  /* margin-top: 30px; */
  padding: 20px;
  background: linear-gradient(135deg, rgba(28, 77, 134, 0.08), rgba(168, 207, 69, 0.08));
  border-radius: 16px;
  border: 1px solid rgba(168, 207, 69, 0.3);
  position: relative;
  overflow: hidden;
  height: fit-content;
  /* display: none; */
}

.mega-menu-featured::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(168, 207, 69, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

.mega-menu-featured-content {
  position: relative;
  z-index: 1;
}

.mega-menu-featured h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1c4d86;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-menu-featured h4 i {
  color: #a8cf45;
}

.mega-menu-featured p {
  font-size: 13px;
  color: #3d3d3d;
  margin-bottom: 15px;
  line-height: 1.6;
}

.mega-menu-featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #1c4d86, #a8cf45);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(28, 77, 134, 0.3);
}

.mega-menu-featured-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(28, 77, 134, 0.4);
  color: white;
}

.mega-menu-featured-btn i {
  transition: transform 0.3s ease;
}

.mega-menu-featured-btn:hover i {
  transform: translateX(5px);
}

.wp-block-list.is-style-no-bullets {
  list-style: none;
  padding-left: 0;
}

.wp-block-list.is-style-no-bullets li {
  margin-bottom: 0.5rem;
}

/* Flyout menu */
.mega-menu-flyout .mega-sub-menu li a {
  padding: 10px 12px !important;
  border-radius: 10px !important;
}

.is-style-outline a {
  display: inline-block;
  transition: all 0.2s ease-in;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
}

.is-style-outline a:before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleY(1) scaleX(1.25);
  top: 100%;
  width: 140%;
  height: 180%;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.is-style-outline a:after {
  content: "";
  position: absolute;
  left: 55%;
  transform: translateX(-50%) scaleY(1) scaleX(1.45);
  top: 180%;
  width: 160%;
  height: 190%;
  background: linear-gradient(90deg, #f8ff00 0%, #3ad59f 100%);
  ;
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.is-style-outline a:hover {
  color: #000 !important;
  border: 2px solid #a8cf45;
}

.is-style-outline a:hover:before {
  top: -35%;
  background-color: #a8cf45;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.is-style-outline a:hover:after {
  top: -45%;
  background-color: #a8cf45;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.hero-title .gradient,
.home-cta .gradient {
  color: #a8cf45;
  font-weight: 500;
  display: inline-block;
  background: linear-gradient(90deg, #f8ff00 0%, #3ad59f 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientMove 3s ease infinite;
}

/* .hero-title .gradient .char {
	background: linear-gradient(90deg, #f8ff00 0%, #3ad59f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
} */


@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

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

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

.hero-title,
.hero-text {
  line-height: 1.1;
}

.hero-text {
  margin-top: 1rem;
  max-width: 60ch;
}

.word {
  display: inline-block;
  white-space: nowrap;
}

.char {
  display: inline-block;
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.space {
  display: inline-block;
  width: 0.3em;
}

/* .hero-cta {
	opacity: 0;
	transform: translateY(14px) scale(0.96);
	will-change: transform, opacity;
} */

/* Logo Slider */
@keyframes slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.33%);
  }
}

.logos {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  content: "";
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logos:before {
  left: 0;
  background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
}

.logos:after {
  right: 0;
  background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-flex;
  align-items: center;
  /* animation: 15s slide infinite linear; */
  animation: marquee 14s linear infinite;
}

.logos-slide figure {
  display: inline-block;
  margin: 0 40px;
  flex-shrink: 0;
  transition: filter 0.3s ease;
}

/* Make all logos greyscale by default */
.logos-slide img {
  height: auto;
  width: 70%;
  /* filter: grayscale(100%) brightness(0.8); */
  transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(0%) brightness(1);
}

/* .logos-slide figure:hover img {
  filter: grayscale(0%) brightness(1);
} */

/* Optional: If you want the entire slider to pause when hovering over any logo */
.logos-slide figure:hover {
  animation-play-state: paused;
}

/* Capabilities */
.wp-block-button.is-style-round-icon .wp-block-button__link {
  width: inherit;
  height: inherit;
  border: none !important;
  z-index: 2;
}

/* Card container */
.service-card {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.service-card:hover {
  border-color: #A8CF45 !important;
}

.service-card:hover .sol-svg {
  background: #1C4D86;
}

.service-card:hover svg path {
  stroke: #fff;
}

.service-card:hover h3.service-card-content {
  color: #1c4d86 !important;
}

/* Icon container */
.service-card .is-style-round-icon {
  position: absolute;
  right: 2.25rem;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #A8CF45;
  background-color: transparent;
  color: #A8CF45;
  z-index: 3;
  /* Highest */
  cursor: pointer;
  transition: all 0.4s ease;
}

.service-card:hover .is-style-round-icon {
  transform: rotate(45deg);
  background-color: #A8CF45;
}

.service-card .is-style-round-icon:hover {
  color: white;
}

/* Expanding background - FIX: Changed z-index to 1 */
/* .service-card .is-style-round-icon::before {
  content: " ";
  position: absolute;
  z-index: 1; /* This was -1, now it's 1 */
top: 0;
right: 0;
background: linear-gradient(90deg, #b7ff00 0%, #3ad59f 100%);
height: 100%;
width: 100%;
border-radius: 50%;
transform: scale(1);
transform-origin: 50% 50%;
transition: transform 0.5s ease-out,
opacity 0.3s ease;
opacity: 0;
}

*/ .service-card .is-style-round-icon:hover::before {
  opacity: 1;
  transform: scale(25);
}

.service-card-content {
  position: relative;
  z-index: 5;
  transition: color 0.3s ease-out;
}

/* Shiny text */
.shine-text {
  background: linear-gradient(to right, #4d4d4d 40%, #ffffff 50%, #4d4d4d 60%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: -200% center;
  }
}

/* Project slider */
:root {
  --gap: 1.25rem;
  --speed: 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --closed: 5rem;
  --open: 60rem;
  --accent: #a8cf45;
}

.project-slider-head {
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.nav-btn-p-slider {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: #a8cf4552;
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}

.nav-btn-p-slider:hover {
  background: var(--accent);
}

.nav-btn-p-slider:disabled {
  opacity: 0.3;
  cursor: default;
}

.slider {
  max-width: 1400px;
  margin: auto;
  overflow: hidden;
}

.controls {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.track {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
  justify-content: center;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  /* padding-bottom: 40px; */
}

.track::-webkit-scrollbar {
  display: none;
}

.project-card {
  position: relative;
  flex: 0 0 var(--closed);
  height: 30rem;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: flex-basis var(--speed), transform var(--speed);
  background-image: linear-gradient(to right top, #2b5876, #4e4376, #7d2f5a, #96232d, #9d3c12);
}

.project-card[active] {
  flex-basis: var(--open);
  /* transform: translateY(-6px); */
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.project-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(75%);
  transition: filter 0.3s, transform var(--speed);
}

.project-card:hover .project-card__bg {
  filter: brightness(0.9) saturate(100%);
  transform: scale(1.06);
}

.project-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  padding: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 2;
}

.project-card__title {
  color: #fff;
  font-weight: 500;
  font-size: 1.35rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.project-card__thumb,
.project-card__desc,
.project-card__btn,
.result-card {
  display: none;
}

.project-card[active] .project-card__content {
  flex-direction: row;
  align-items: center;
  padding: 1.2rem 2rem;
  gap: 1.1rem;
}

.project-card[active] .project-card__title {
  writing-mode: horizontal-tb;
  transform: none;
  /* font-size: 2.4rem; */
}

.project-card[active] .project-card__thumb,
.project-card[active] .project-card__desc,
.project-card[active] .project-card__btn,
.project-card[active] .result-card {
  display: block;
}

.project-card__thumb {
  /* width: 133px; */
  height: 269px;
  border-radius: 0.45rem;
  object-fit: cover;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); */
}

.project-card__desc {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.4;
  /* max-width: 16rem; */
}

.project-card__btn {
  padding: 0.55rem 1.3rem;
  border: none;
  border-radius: 9999px;
  border: 2px solid var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s ease;
}

.project-card__btn:hover {
  background: #a8cf45;
  color: #000;
}

.dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 20px 0;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

p.project-card__desc.h4 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 1rem;
}

.project-card__content .btn-group {
  display: flex;
  gap: 1rem;
}

.result-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.result-group .result-card {
  color: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
}

.result-group .result-card span {
  font-size: 1.3rem;
  font-weight: 500;
}

.result-group .result-card p {
  margin: 0;
  font-size: 0.9rem;
}

.latest-posts-modern .wp-block-latest-posts__featured-image img {
  border-radius: 10px;
}

.latest-posts-modern.wp-block-latest-posts {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.latest-posts-modern li {
  flex: 0 0 calc(33.333% - 17px);
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.latest-posts-modern li:hover {
  /* transform: translateY(-8px); */
  box-shadow: 0 20px 40px rgb(14 32 116 / 30%);
}


.latest-posts-modern img {
  width: 100%;
  height: auto;
  display: block;
}

.latest-posts-modern a {
  display: block;
  padding: 20px 20px 10px;
  font-size: 17px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
}

.latest-posts-modern .wp-block-latest-posts__featured-image a,
.latest-posts-modern .wp-block-latest-posts__post-excerpt a {
  padding: 0;
}

.latest-posts-modern .wp-block-latest-posts__post-excerpt,
.latest-posts-modern .wp-block-group .wp-block-post-excerpt .wp-block-post-excerpt__excerpt {
  padding: 0 20px 20px;
  color: #555;
  font-size: 14px;
}

.latest-posts-modern time {
  padding: 0px 20px 0;
  display: block;
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

/* Default state */
.latest-posts-modern .wp-block-latest-posts__post-title,
.latest-posts-modern .wp-block-latest-posts__read-more {
  color: #111;
  /* default color */
  transition: color 0.3s ease;
}

/* Hover state */
.latest-posts-modern .wp-block-latest-posts__post-title:hover,
.latest-posts-modern .wp-block-latest-posts__read-more:hover,
.latest-posts-modern .wp-block-post-title a:hover {
  color: #a8cf45;
}

.latest-posts-modern .wp-block-latest-posts__read-more {
  position: relative;
  margin-top: 1rem;
}

.latest-posts-modern .wp-block-latest-posts__read-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #a8cf45;
  transition: width 0.3s ease;
}

.latest-posts-modern .wp-block-latest-posts__read-more:hover::after {
  width: 25%;
}

.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
  text-decoration: none !important;
}

/* FAQs */

/* ===== Accordion Container ===== */
.wp-block-accordion {
  max-width: 820px;
  margin: 0 auto;
}

/* ===== Item ===== */
.wp-block-accordion-item {
  border-bottom: 1px solid #e5e5e5;
}

/* ===== Button ===== */
.wp-block-accordion-heading__toggle {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: 0;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* Hover */
.wp-block-accordion-heading__toggle-title {
  transition: color .2s ease;
}

.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
  color: #a8cf45;
}

/* Icon */
.wp-block-accordion-heading__toggle-icon {
  transition: transform .3s ease;
}

.wp-block-accordion-item.active .wp-block-accordion-heading__toggle-icon {
  transform: rotate(45deg);
}

/* ===== Bootstrap-like Collapse Classes ===== */

.wp-block-accordion-panel {
  overflow: hidden;
  transition: height .35s ease;
}

.collapse {
  display: none;
}

.collapse.show {
  display: block;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height .35s ease;
}

/* Footer form */
/* Section Background */
.custom-contact-form {
  padding: 60px 40px;
  border-radius: 6px;
  max-width: 1100px;
  margin: auto;
}

/* Row Layout */
.custom-contact-form .form-row {
  display: flex;
  gap: 40px;
  margin-bottom: 15px;
}

.custom-contact-form .form-row.full-width {
  flex-direction: column;
}

/* Form Groups */
.custom-contact-form .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Labels */
.custom-contact-form label {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #333;
}

/* Inputs & Textarea */
.custom-contact-form input,
.custom-contact-form textarea {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  border: 2px solid #dcdcdc;
  background-color: #fff !important;
  width: 100%;
  box-sizing: border-box;
}

/* Textarea Height */
.custom-contact-form textarea {
  min-height: 160px;
  resize: none;
  font-family: inherit !important;
}

/* Submit Button */
.custom-contact-form .form-submit {
  text-align: center;
  margin-top: 20px;
}

.custom-contact-form input[type="submit"] {
  background-color: #9ac43c !important;
  /* Green button */
  color: #000;
  font-size: 16px;
  padding: 14px 35px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
  width: 35%;
}

.custom-contact-form input[type="submit"]:hover {
  background-color: #1c4d86 !important;
  color: #fff;
}

.custom-contact-form.blog-form {
  padding: 10px;
  border: 1px solid #1c4d86;
}

.custom-contact-form.blog-form h3 {
  margin: 0;
}

.custom-contact-form.blog-form input,
.custom-contact-form.blog-form textarea {
  border: none;
  border-bottom: 1px solid #dcdcdc;
  padding: 10px 10px;
}

.custom-contact-form.blog-form input[type="submit"] {
  width: 50%;
}

.cf7-sticky {
  position: sticky;
  top: 100px;
}

.capabilities .service-card {
  margin-top: 1rem !important;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7 form.submitting .wpcf7-spinner {
  display: inline-block;
}

.sol-svg {
  background: #1C4D8610;
  padding: 15px;
  display: flex;
  border-radius: 50px;
}

.is-style-fill a {
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.is-style-fill:hover a {
  background-color: #1c4d86;
  color: #fff !important;
}

.industry-col {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.industry-col figure.wp-block-image,
.industry-col figure.wp-block-image img {
  width: 100%;
}

.industry-col .wp-block-image img {
  transition: all 1s ease-in-out;
}

.industry-col:hover .wp-block-image img {
  transform: scale(1.25);
}

.industry-col::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to top, #000000 0%, #00000000 100%);
  transition: height 0.6s ease;
  z-index: 1;
  border-radius: 10px;
}

.industry-col .industry-content {
  position: absolute;
  z-index: 2;
  bottom: 0;
  padding: 25px;
  width: 100%;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
}

.industry-col .industry-content h4 {
  margin: 0;
}

.industry-col .industry-content p {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(15px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    max-height 0.4s ease;
  margin-top: 10px;
}

.industry-col:hover::before {
  height: 100%;
}

.industry-col:hover .industry-content {
  transform: translateY(-10px);
}

.industry-col:hover .industry-content h4 {
  color: #A8CF45;
}

.industry-col:hover .industry-content p {
  opacity: 1;
  transform: translateY(0);
  max-height: 200px;
}

.icon-hvr-green-bg-grey .service-card .sol-svg {
  background: #DFDFDF;
}

.we-work-hvr .service-card .sol-svg,
.icon-hvr-green-bg-grey .service-card .sol-svg {
  transition: background 0.35s ease;
}

.we-work-hvr .service-card svg path,
.icon-hvr-green-bg-grey .service-card svg path {
  transition: stroke 0.35s ease;
}

.we-work-hvr .service-card:hover .sol-svg,
.icon-hvr-green-bg-grey .service-card:hover .sol-svg {
  background: #A8CF45;
}

.we-work-hvr .service-card:hover svg path,
.icon-hvr-green-bg-grey .service-card:hover svg path {
  stroke: #fff;
}

.green-right {
  list-style: none;
  padding-left: 0;
}

.green-right li {
  position: relative;
  padding-left: 42px;
  margin-top: 30px;
}

.green-right li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='32' height='32' rx='16' fill='%23A8CF45'/%3E%3Cpath d='M11.2 15.9999L14.4 19.1999L20.8 12.7999' stroke='%23F8F8F8' stroke-width='1.28' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.case-study-testi .kudos .problem-list p,
.case-study-testi .problem-list p {
  font-weight: 400;
  font-size: 1rem;
}

.tech-gallery figure {
  border: 1px solid #abb8c3;
  padding: 1rem;
}

.impact-table th,
.impact-table td {
  padding: 1em;
}

.impact-table tr td:nth-child(2) {
  color: #ff8d00;
  border-color: #fff;
}

.impact-table tr td:nth-child(3) {
  color: #A8CF45;
  border-color: #fff;
}

.star-divider-grid {
  position: relative;
}

.star-divider-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;

  background:
    linear-gradient(to right, transparent, #A8CF45 40%, #A8CF45 60%, transparent),
    linear-gradient(to bottom, transparent, #A8CF45 40%, #A8CF45 60%, transparent);

  background-size: 100% 1px, 1px 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.service-challenge-card {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.service-challenge-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, #4c885c 0%, #1c4d86 100%);
  transform: translate(-100%, 100%);
  transition: transform 0.6s ease;
  z-index: 0;
  border-radius: 10px;
}

.service-challenge-card:hover::before {
  transform: translate(0, 0);
}

.service-challenge-card>* {
  position: relative;
  z-index: 1;
}

.service-challenge-card p {
  transition: color 0.4s ease;
}

.service-challenge-card:hover p {
  color: #fff !important;
}

div#ez-toc-container {
  border: none;
  padding: 0;
  border: solid 1px #1c4d86;
  border-radius: 5px;
  padding: 32px;
  background-color: #fff;
  /* position: sticky;
  top: 100px; */
}

.ez-toc-title-container {
  margin-bottom: 12px;
}

div#ez-toc-container ul li {
  margin-top: 12px;
}

.wp-block-post-author {
  align-items: center;
}

.wp-block-post-author img.avatar {
  border-radius: 5rem;
}

.single-post .single-blog-content p,
.single-post .single-blog-content ul,
.single-post .single-blog-content ol {
  letter-spacing: 0.5px;
  margin: 20px 0;
  font-size: 18px;
  line-height: 32px;
  color: #444;
}

.single-post .single-blog-content ul,
.single-post .single-blog-content ol {
  padding-left: 1.5rem;
}

.single-post .single-blog-content pre {
  margin-top: 0;
  margin-bottom: 16px;
  overflow: auto;
  -ms-overflow-style: scrollbar;
  padding: 20px;
  background-color: #5d9ce417;
  border: 2px solid #d9e5f3;
}

.posted-on-date .wp-block-post-date::before {
  content: "\f508";
  font-family: "dashicons";
  color: #1c4d86;
  font-size: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.modified-on-date .wp-block-post-date::before {
  content: "\f145";
  font-family: "dashicons";
  color: #1c4d86;
  font-size: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.post-reading-time p::before {
  content: "\f469";
  font-family: "dashicons";
  color: #1c4d86;
  font-size: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.wp-block-gallery.has-nested-images.tech-gallery {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  justify-content: center;
  gap: 25px;
}

.wp-block-gallery.has-nested-images.tech-gallery figure {
  width: 100px !important;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-r8-ttl {
  margin-left: -10rem !important;
  z-index: 1;
}

.cs-r8-ttl h2 a:hover {
  color: #fff;
}

/* MAIN SCROLL CONTAINER */

.scroll-under {
  position: relative;
  max-height: 520px;
  /* adjust based on your column height */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 12px;
  scroll-behavior: smooth;
}

/* STACK ALL COLUMN ROWS */

.scroll-under .su-col {
  /* flex-direction:column; */
  gap: 28px;
  margin-bottom: 28px;
}

/* COLUMN CARD STYLE */

.scroll-under .su-col {
  background: #fff;
  border-radius: 16px;
  /* padding:25px; */
  box-shadow: 0 5px 20px rgba(0, 0, 0, .06);
  transition: .35s;
  border: 1px solid rgba(0, 0, 0, .04);
}

/* HOVER EFFECT */


/* PREMIUM FADE BOTTOM */

.scroll-under::after {
  content: "";
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, #ffffff);
  pointer-events: none;
}

/* TOP FADE */

.scroll-under::before {
  content: "";
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(#ffffff, transparent);
  z-index: 2;
  pointer-events: none;
}

/* MODERN SCROLLBAR */

.scroll-under::-webkit-scrollbar {
  width: 6px;
}

.scroll-under::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-under::-webkit-scrollbar-thumb {
  background: linear-gradient(#dcdcdc, #bfbfbf);
  border-radius: 20px;
}

.scroll-under::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* OPTIONAL: nicer spacing for content */

.scroll-under p {
  margin-bottom: 0;
}

/* OPTIONAL: smooth reveal feel */

.scroll-under .su-col {
  animation: fadeUp .6s ease;
}

@keyframes fadeUp {
  from {
    opacity: .6;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-round img {
  border: 1px solid #1c4d86;
  padding: 10px;
  border-radius: 50px;
}

.expert-hire figure img {
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #fff;
}

.hire-sub-title {
  position: relative;
  display: table;
  /* margin:0 auto;
text-align:center; */
  padding: 0 60px;
}

/* LEFT */
.hire-sub-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #a8cf45);
  border-radius: 2px;
  transform: translateY(-50%);
}

/* RIGHT */
.hire-sub-title::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #a8cf45, transparent);
  border-radius: 2px;
  transform: translateY(-50%);
}

/* .hrprc-img{
  padding: 10px;
  background-color: #fff;
} */
.hrmdl-img {
  padding: 10px;
  border: 1px solid #1c4d86;
  border-radius: 5px;
}

.terms p,
.privacy-p p {
  margin-bottom: 1rem;
}

.terms ul,
.privacy-p ul {
  padding-left: 2rem;
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* BLOG TABLE DESIGN */

.single-post .wp-block-post-content table,
.single-post .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e6eaf0;
}

/* header */
.single-post .wp-block-post-content th,
.single-post .wp-block-table th {
  background: #f7f9fc;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  color: #0a223d;
  border-bottom: 1px solid #e6eaf0;
}

/* cells */
.single-post .wp-block-post-content td,
.single-post .wp-block-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #eef2f6;
  color: #4a5568;
}

/* zebra rows */
/* .wp-block-post-content tr:nth-child(even){
    background:#fbfdff;
} */

/* hover */
.single-post .wp-block-post-content tr:hover {
  background: #f3f7fc;
  transition: .2s;
}

/* first column highlight */
/* .wp-block-post-content td:first-child{
    font-weight:500;
    color:#0a223d;
} */

/* mobile scroll */
.wp-block-table {
  overflow-x: auto;
}

.wp-block-table::-webkit-scrollbar {
  height: 6px;
}

.wp-block-table::-webkit-scrollbar-thumb {
  background: #d6dee8;
  border-radius: 10px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.stats-grid .stat-item p::first-letter {
  text-transform: uppercase;
}

@media(max-width:900px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
}




/* ============================================
   Pagination — bosc-pagination-design
   ============================================ */

/* Outer wrapper — single row: prev | numbers | next */
.bosc-pagination-design {
  display: flex;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px 16px;
}

/* Force block query pagination children into a row */
.bosc-pagination-design .wp-block-query-pagination-previous,
.bosc-pagination-design .wp-block-query-pagination-numbers,
.bosc-pagination-design .wp-block-query-pagination-next {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

/* ---- Shared button base ---- */
.bosc-pagination-design .page-numbers,
.bosc-pagination-design .wp-block-query-pagination-previous,
.bosc-pagination-design .wp-block-query-pagination-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(168, 207, 69, 0.4);
  border-radius: 6px;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

/* Number boxes — fixed square */
.bosc-pagination-design .page-numbers {
  width: 40px;
  padding: 0;
  color: #000;
}

/* ---- Hover ---- */
.bosc-pagination-design .page-numbers:hover,
.bosc-pagination-design .wp-block-query-pagination-previous:hover,
.bosc-pagination-design .wp-block-query-pagination-next:hover {
  background: #a8cf45;
  color: #0a1628;
  border-color: #a8cf45;
}

/* ---- Current / active ---- */
.bosc-pagination-design .page-numbers.current {
  background: #a8cf45;
  color: #0a1628;
  border-color: #a8cf45;
  font-weight: 700;
  cursor: default;
  pointer-events: none;
}

/* ---- Dots ---- */
.bosc-pagination-design .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  cursor: default;
  width: auto;
  color: #000;
}

/* ---- Prev / Next colour ---- */
.bosc-pagination-design .wp-block-query-pagination-previous,
.bosc-pagination-design .wp-block-query-pagination-next,
.bosc-pagination-design .page-numbers.prev,
.bosc-pagination-design .page-numbers.next {
  color: #a8cf45;
  border-color: rgba(168, 207, 69, 0.4);
}

.bosc-pagination-design .page-numbers.prev:hover,
.bosc-pagination-design .page-numbers.next:hover {
  background: #a8cf45;
  color: #0a1628;
  border-color: #a8cf45;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 480px) {
  .bosc-pagination-design {
    gap: 4px;
    padding: 20px 12px;
  }

  .bosc-pagination-design .page-numbers {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .bosc-pagination-design .wp-block-query-pagination-previous,
  .bosc-pagination-design .wp-block-query-pagination-next,
  .bosc-pagination-design .page-numbers.prev,
  .bosc-pagination-design .page-numbers.next {
    padding: 0 10px;
    font-size: 13px;
  }

  .bosc-pagination-design .page-numbers:not(.current):not(.prev):not(.next):not(.dots) {
    display: none;
  }

  .bosc-pagination-design .page-numbers.current,
  .bosc-pagination-design .page-numbers.current+.page-numbers,
  .bosc-pagination-design .page-numbers:has(+ .current) {
    display: inline-flex;
  }
}



.solution-desing-home h3 a {
  font-size: var(--wp--preset--font-size--medium) !important;
}

.solution-desing-home h3 a:hover {
  color: #1c4d86 !important;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-item>a.mega-menu-link {
  cursor: pointer !important;
}

/* header right button */
.header-btn-r8 a {
  position: relative;
  /* padding: 30px 60px; */
  /* box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.4); */
  /* color: #999; */
  text-decoration: none;
  /* text-transform: uppercase; */
  /* letter-spacing: 4px; */
  /* font: 700 30px consolas; */
  overflow: hidden;
  border: none !important
}

.header-btn-r8 a span:nth-child(1) {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #17161800, #a8cf45);
  animation: animate1 2s linear infinite;
}

@keyframes animate1 {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.header-btn-r8 a span:nth-child(2) {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(to bottom, #17161800, #a8cf45);
  animation: animate2 2s linear infinite;
  animation-delay: 1s;
}

@keyframes animate2 {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}

.header-btn-r8 a span:nth-child(3) {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to left, #17161800, #a8cf45);
  animation: animate3 2s linear infinite;
}

@keyframes animate3 {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.header-btn-r8 a span:nth-child(4) {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(to top, #17161800, #a8cf45);
  animation: animate4 2s linear infinite;
  animation-delay: 1s;
}

@keyframes animate4 {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(-100%);
  }
}

.servicesSwiper .swiper-slide {
  max-width: 305px !important;
}

.dedicated-dev .hire-techie {
  transition: box-shadow 0.3s ease;
}

.dedicated-dev .hire-techie:hover {
  box-shadow: 0 16px 32px -4px rgba(0, 0, 0, 0.15);
}

.team-embed .team-embed-col {
  position: relative;
  border: 2px solid #1C4D8610;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.team-embed .team-embed-col::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg, #1C4D86, #000);

  -webkit-mask: linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-embed .team-embed-col:hover::before {
  opacity: 1;
}

.team-embed .team-embed-col:hover svg path {
  fill: url(#iconGradient);
}

.team-embed .team-embed-col:hover .team-embed-number {
  color: #1C4D86 !important;
}

.wp-block-aab-accordion-item .aagb__accordion_head {
  background-color: transparent !important;
  border-left: 3px solid #A8CF45;
  ;
}

.wp-block-aab-accordion-item .aagb__accordion_head .aagb__accordion_heading .aagb__accordion_title {
  color: #3D3D3D;
  letter-spacing: 2px;
}

/* case study template css */

.postid-30361 header {
  position: absolute;
}

.gtxt {
  color: #A8CF45;
}

.service-card.challenge-main {
  border-bottom: 0;
}

.service-card.challenge-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;


}

.service-card.challenge-main:hover {
  border: 2px solid #A8CF45 !important;
}

.li-nubers li {
  padding-left: 55px;
}



/* 1. Default list styling aur counter reset karein */
ul.li-numbers {
  list-style-type: none !important;
  /* Default bullets remove karne ke liye */
  counter-reset: custom-list-counter;
  /* Naya counter initialize kiya */
  padding-left: 0;
  margin-left: 0;
}

/* 2. List items ki positioning aur spacing */
ul.li-numbers>li {
  position: relative;
  counter-increment: custom-list-counter;
  /* Har <li> ke sath counter badhayega */
  padding-left: 3.5rem;
  /* Circle ke liye left me space */
  margin-bottom: 1.5rem;
  color: #4a4a4a;
  /* Text color */
  line-height: 1.6;
  transition: all 0.1s ease;
}

/* 3. Numbers ke liye circle design (Default state) */
ul.li-numbers>li::before {
  content: counter(custom-list-counter);
  /* Counter ki value print karega */
  position: absolute;
  left: 0;
  top: -2px;
  /* Text ke sath properly align karne ke liye adjust karein */
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #F8F8F8 !important;
  color: #333333 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  /* transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);  */
  background-image: none;

}

/* 4. Hover state for the circle */
ul.li-numbers>li:hover::before {
  background: linear-gradient(90deg,
      #1C4D86 0%,
      #000000 71%);
  color: #ffffff !important;
  /* White text on hover */
  box-shadow: 0 4px 10px rgba(10, 25, 47, 0.2);
  /* Thoda 3D pop effect */
  transform: scale(1.05);
  /* Hover pe thoda bada hoga */
}

.architecture-block figure {
  left: 0;
  top: -2px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #F8F8F8 !important;
  color: #333333 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  background-image: none;
}

.architecture-block figure:hover {

  box-shadow: 0 4px 10px rgba(10, 25, 47, 0.2);
  /* Thoda 3D pop effect */
  transform: scale(1.05);
  /* Hover pe thoda bada hoga */
  background-color: #A8CF45 !important;
}

/* system architecture */
/* wrapper */
.architecture-block {
  overflow: visible !important;
}

/* each card/column */
.architecture-block>.wp-block-column.steps-wrap {
  position: relative;
  overflow: visible !important;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

/* arrow after every box except last */
.architecture-block>.wp-block-column.steps-wrap:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -40%;
  width: 90px;
  height: 56px;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
  background: url("/wp-content/uploads/2026/06/arrow.svg") no-repeat center center;
  background-size: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

/* hover border */
.architecture-block>.wp-block-column.steps-wrap:hover {
  border-color: #A8CF45;
}

/* hover arrow color */
.architecture-block>.wp-block-column.steps-wrap:hover::after {
  filter: brightness(0) saturate(100%) invert(79%) sepia(29%) saturate(561%) hue-rotate(42deg) brightness(95%) contrast(90%);
}

/* icon / figure hover */
.architecture-block>.wp-block-column.steps-wrap:hover figure {
  box-shadow: 0 4px 10px rgba(10, 25, 47, 0.2);
  transform: scale(1.05);
  background-color: #A8CF45 !important;
}

/* if icon is img or svg inside figure */
/* .architecture-block > .wp-block-column.steps-wrap:hover figure img,
.architecture-block > .wp-block-column.steps-wrap:hover figure svg {
  filter: brightness(0) saturate(100%) invert(79%) sepia(29%) saturate(561%) hue-rotate(42deg) brightness(95%) contrast(90%);
  transition: filter 0.3s ease;
} */

/* optional text hover */
.architecture-block>.wp-block-column.steps-wrap:hover h1,
.architecture-block>.wp-block-column.steps-wrap:hover h2,
.architecture-block>.wp-block-column.steps-wrap:hover h3,
.architecture-block>.wp-block-column.steps-wrap:hover p {
  color: inherit;
}


/* key features */
.key-features .key-boxes h3 {
  padding-right: 60px;
}

/* business impact */

.case-study-table tr th:nth-child(1),
.case-study-table tr th:nth-child(2) {
  background-color: #1C4D86;
  font-size: 22px;
  font-weight: normal;
  color: #fff;
}

.case-study-table tr th:nth-child(3) {
  background-color: #A8CF45;
  font-size: 22px;
  font-weight: normal;
  color: #fff;
}

.case-study-table tbody tr td:nth-child(1),
.case-study-table tbody tr td:nth-child(3) {
  font-weight: 500;
}

.case-study-table tbody tr td:nth-child(3) {
  color: #1C4D86;
}

.case-study-table thead {
  border-bottom: 0;
}

.case-study-table th,
.case-study-table td {
  border: none;
  line-height: 25px;
  padding-top: 10px;
  padding-bottom: 10px;

}

.case-study-table tbody tr {
  border-bottom: 2px solid #C3C6D6;
}

.case-study-table tbody tr td:nth-child(2),
.case-study-table tbody tr td:nth-child(3) {

  padding-right: 50px;
}

.case-study-table thead tr th {
  padding: 20px;

}

.case-study-table tbody tr td {
  padding: 20px;
}

.case-study-table thead tr th {
  padding-left: 15px;
}

.case-study-table tbody tr:last-child {
  border-bottom: none;
}


/* new grid items */
.single-case-study .is-layout-grid figure {

  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 0.8rem;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
  aspect-ratio: 1 / 0.6;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0px 16px 32px -4px rgba(12, 12, 13, 0.1), 0px 4px 4px -4px rgba(12, 12, 13, 0.05);
}


.single-case-study .is-layout-grid figure:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 22px -10px rgba(28, 77, 134, 0.35);
}


/* cloud cost optimization */

.tech-tab-new .tabs-container {
  padding: 15px 22px;
  background: #F8F8F8;
}

.tech-tab-new .tab-pill {
  background: #E2E7ED;
  border: 0;

}

.ft-social li {
  border-radius: 5px;
  border: 1px solid;
}

.ft-social li a svg {
  height: 1.5em;
  width: 1.5em;
}

.ft-logo-box {
  display: flex;
  flex-direction: column;
}



/* case study css */
/* ===== Case Study Info Boxes — Tablet & Mobile ===== */
/* Parent: .cs-boxes-cls */

/* ---------- Reset ALL inline border/margin/padding coming from theme columns ---------- */
@media (max-width: 1024px) {

  .cs-boxes-cls,
  .cs-boxes-cls .wp-block-columns,
  .cs-boxes-cls .wp-block-column {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Kill theme's inline border-right on columns completely */
  .cs-boxes-cls .wp-block-column {
    border-right: none !important;
    border-left: none !important;
    border-top: none !important;
    border-bottom: none !important;
  }
}

/* ---------- MOBILE (up to 767px) ---------- */
@media (max-width: 767px) {
  .cs-boxes-cls {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .cs-boxes-cls .wp-block-columns {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .cs-boxes-cls .wp-block-column {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;

    background: #ffffff;
    border: 1.5px solid #1C4D86 !important;
    border-radius: 10px;
    padding: 16px 18px;
    box-shadow: 0 2px 6px rgba(28, 77, 134, 0.08);

    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  :root :where(.is-layout-flow)> :last-child {
    display: flow-root;
  }

  .case-study-table tr th:nth-child(1),
  .case-study-table tr th:nth-child(2),
  .case-study-table tr th:nth-child(3) {
    font-size: 1rem;
  }
}

/* ---------- TABLET (768px to 1024px) ---------- */
@media (min-width: 768px) and (max-width: 1024px) {
  .cs-boxes-cls {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .cs-boxes-cls .wp-block-columns {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .cs-boxes-cls .wp-block-column {
    flex: 1 1 calc(50% - 8px) !important;
    width: calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
    box-sizing: border-box !important;

    background: #ffffff;
    border: 1.5px solid #1C4D86 !important;
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 2px 8px rgba(28, 77, 134, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;

    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .cs-boxes-cls .wp-block-column:hover {
    box-shadow: 0 4px 14px rgba(28, 77, 134, 0.15);
    transform: translateY(-2px);
  }
}

/* ---------- Label / Value styling (both breakpoints) ---------- */
@media (max-width: 1024px) {
  .cs-boxes-cls .wp-block-column * {
    text-align: center;
  }

  .cs-boxes-cls .wp-block-column p:first-child {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 4px;
  }

  .cs-boxes-cls .wp-block-column p:not(:first-child) {
    color: #1C4D86;
    font-weight: 600;
    margin-top: 0;
  }

  .architecture-block>.wp-block-column.steps-wrap:not(:last-child)::after {
    display: none;
  }

  .architecture-block figure {
    margin: 0 auto;
  }
}


/* Fix case study table on mobile/tablet - horizontal scroll instead of squished columns */
@media (max-width: 1024px) {
  .case-study-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .case-study-table figure.wp-block-table {
    margin: 0;
  }

  .case-study-table table.has-fixed-layout {
    table-layout: auto;
    min-width: 650px;
  }

  .case-study-table th,
  .case-study-table td {
    white-space: normal;
    word-break: normal;
    padding: 12px 16px;
  }


  .case-study-table::-webkit-scrollbar {
    height: 6px;
  }

  .case-study-table::-webkit-scrollbar-thumb {
    background: #c3c6d6;
    border-radius: 3px;
  }
}


/* Footer css */

@media (max-width: 1024px) {

  .footer-new .first-column {
    margin-top: 10px !important;
  }

  .footer-new .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    margin-bottom: 20px;
  }

  .footer-logo-icon {
    text-align: center;
    margin-bottom: 20px !important;
  }

}

/* footer email fix */
@media (max-width: 1024px) {


  .footer-boxes {
    font-size: 0.9rem !important;
  }

  .footer-boxes p {
    font-size: 0.85rem !important;
  }

  .footer-boxes a {
    font-size: 0.85rem !important;
  }


  .footer-boxes .wp-block-columns {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;

    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  .footer-boxes .wp-block-columns>.wp-block-column:first-child {
    flex: 0 0 24px !important;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    text-align: left !important;
    padding-top: 2px !important;

  }


  .footer-boxes .wp-block-columns>.wp-block-column:last-child {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
  }


  .footer-boxes .wp-block-columns img {
    width: 16px !important;
    height: 16px !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-boxes .wp-block-columns figure {
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-boxes .wp-block-columns figure.aligncenter {
    text-align: left !important;
  }

  .footer-boxes .wp-block-columns p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

}

/* footer logos  */
@media (max-width: 1024px) {

  /* Allow wrapping now - we WANT 2 logos on row 1, and glassdoor to drop to row 2 */
  .ft-col-1 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    /* allows the 3rd item to wrap to next line */
    justify-content: center !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 16px 8px !important;
    /* row-gap 16px, column-gap 8px */
    padding: 0 !important;
    overflow: visible !important;
  }

  /* Clutch (1st) and Google (2nd) - each takes ~45% so exactly 2 fit on row 1 */
  .ft-col-1>.wp-block-column:nth-child(1),
  .ft-col-1>.wp-block-column:nth-child(2) {
    flex: 0 0 45% !important;
    max-width: 45% !important;
    width: 45% !important;
  }

  /* Glassdoor (3rd) - takes close to full width so it cannot fit next to the first two,
     forcing it onto row 2, then centers itself there */
  .ft-col-1>.wp-block-column:nth-child(3) {
    flex: 0 0 45% !important;
    max-width: 45% !important;
    width: 45% !important;
    margin: 0 auto !important;
    /* centers this single item on its own row */
  }

  /* Common styles for all 3 columns */
  .ft-col-1>.wp-block-column {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    padding: 0 4px !important;
  }

  /* Bigger fixed height box for the logo image - now that each logo has more room */
  .ft-col-1 .wp-block-column figure.wp-block-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 56px !important;
    /* increased from 36px */
    width: 100% !important;
    margin: 0 0 6px 0 !important;
  }

  /* Bigger logo image size */
  .ft-col-1 .wp-block-column img {
    max-width: 100px !important;
    /* increased from 60px */
    max-height: 56px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  /* Bigger text under each logo */
  .ft-col-1 .wp-block-column h2,
  .ft-col-1 .wp-block-column h3,
  .ft-col-1 .wp-block-column h4,
  .ft-col-1 .wp-block-column h5,
  .ft-col-1 .wp-block-column p {
    font-size: 1rem !important;
    /* increased from 0.8rem */
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

}

@media (max-width: 480px) {

  /* Small phones - still bigger than before, but slightly reduced from tablet size */
  .ft-col-1 .wp-block-column figure.wp-block-image {
    height: 46px !important;
  }

  .ft-col-1 .wp-block-column img {
    max-width: 85px !important;
    max-height: 46px !important;
  }

  .ft-col-1 .wp-block-column h2,
  .ft-col-1 .wp-block-column h3,
  .ft-col-1 .wp-block-column h4,
  .ft-col-1 .wp-block-column h5,
  .ft-col-1 .wp-block-column p {
    font-size: 0.9rem !important;
  }

}

/* mobile version fix scroll to top */
@media (max-width: 767px) {
  #scrollTopBtn {
    bottom: 7px !important;
    right: 16px !important;
  }

  .mobile-grid-counter-boxes .stats-grid {
    padding-bottom: 0px !important;
  }

  h3.service-card-content, p.service-card-content{
    text-align: left !important;
  }

  .sol-svg{
    padding:10px;
  }

}