/*
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);
    }
}

.green-txt{
  color: #A8CF45;
}

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

.bosc-banner{
    height: 100vh;
}

.wp-block-post-content 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);
}

.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: 15px;
  width: 40px;
  height: 40px;
  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 {
  padding: 0 20px 20px;
  color: #555;
  font-size: 14px;
}

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

/* 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 {
  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;
}

/* 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;
}

.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: 50%;
}

.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;
}

.we-work-hvr .service-card .sol-svg{
  transition: background 0.35s ease;
}
.we-work-hvr .service-card svg path{
  transition: stroke 0.35s ease;
}
.we-work-hvr .service-card:hover .sol-svg{
  background: #A8CF45;
}
.we-work-hvr .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{
  letter-spacing: 0.5px;
  margin: 20px 0;
  font-size: 18px;
  line-height: 32px;
  color: #444;
}
.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;
}

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