.logo-size {
    width: 868px;
    height: 37px;
    aspect-ratio: auto 868 / 37;
}

.button-align {
    display: flex;
    justify-content: center;
}

/* Client name slider */
.client-section .grid {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 30px 20px;
    text-align: center;
    min-height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.client-section .grid span {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Manrope", sans-serif;
}

/* ================= PRODUCTS SIDEBAR ================= */

.product-list {
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

/* item */
.product-list li {
    position: relative;
    border: 1px solid #e7e7e7;
    margin-bottom: 12px;
    padding: 10px 20px 10px 25px;
    /* smaller height */
    cursor: pointer;
    font-size: 15px;
    /* compact */
    font-weight: 600;
    color: #444;
    line-height: 24px;
    background: #fff;
    border-radius: 4px;
    transition: all 300ms ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* right arrow icon injected by JS/HTML */
.product-list li i {
    font-size: 14px;
    transition: all 300ms ease;
    color: #ff5e15;
}

/* hover / active state */
.product-list li:hover,
.product-list li.active {
    background: #ff5e15;
    border-color: #ff5e15;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(255, 94, 21, 0.2);
}

.product-list li:hover i,
.product-list li.active i {
    color: #ffffff;
}

/* ================= PRODUCT CONTENT ================= */

.product-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.product-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Custom Product List Styling */

.custom-product-list {
    margin-bottom: 0px;
}

.custom-product-list li {
    background: #fff;
    border: 1px solid #f2f2f2;
    padding: 18px 25px 18px 42px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 26px;
    border-radius: 0;
    margin-bottom: 15px;
}

.custom-product-list li::before {
    display: none;
}

.custom-product-list li::after {
    display: none;
}

.custom-product-list li::marker {
    display: none;
}

.custom-product-list li::selection {
    background: transparent;
}

.custom-product-list li::after-bg {
    display: none;
}

.custom-product-list li.active {
    background: #ff5e15;
    border-color: #ff5e15;
    color: #fff;
}

.custom-product-list li:hover {
    background: #ff5e15;
    border-color: #ff5e15;
    color: #fff;
}

/* Arrow inside the list item */
.custom-product-list li::before {
    content: "▸";
    font-family: Arial;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #444;
    transition: all 300ms ease;
    z-index: 2;
    background: none;
    width: auto;
    height: auto;
    opacity: 1;
    visibility: visible;
}

.custom-product-list li:hover::before,
.custom-product-list li.active::before {
    color: #fff;
}

.custom-product-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000B47;
}

.custom-product-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #687693;
    margin-bottom: 30px;
}

.custom-product-content .product-images {
    display: flex;
    gap: 30px;
}

.custom-product-content .product-images img {
    width: calc(50% - 15px);
    border-radius: 0;
}

.custom-product-list li {
    font-size: 14px;
}

.custom-product-list li::before {
    font-size: 16px;
}

.custom-product-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.custom-product-content.active {
    display: block;
    /* Removed flex since structure handles it now */
}

.custom-product-content .content-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    /* Optional: subtle rounding */
}

.custom-product-content .content-text {
    flex: 1;
    /* takes remaining space */
}

/* Specific resets for h2, p inside flex container */
.custom-product-content .content-text h2 {
    margin-top: 0;
}

/* Enhanced Horizontal Filter Styling */
.custom-product-list.horizontal-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    padding: 0;
    border: none;
}

.custom-product-list.horizontal-filter li {
    background: transparent;
    border: 1px solid #e7e7e7;
    padding: 10px 25px;
    font-size: 15px;
    font-weight: 600;
    color: #444;
    border-radius: 30px;
    transition: all 0.4s ease;
    cursor: pointer;
    margin-bottom: 0;
}

.custom-product-list.horizontal-filter li:hover,
.custom-product-list.horizontal-filter li.active {
    background: #ff5e15;
    border-color: #ff5e15;
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 94, 21, 0.3);
    transform: translateY(-2px);
}

.custom-product-list.horizontal-filter li::before,
.custom-product-list.horizontal-filter li::after,
.custom-product-list.horizontal-filter li::after-bg {
    display: none;
}

/* Stunning Animation for Content Details */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

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

.custom-product-content {
    display: none;
}

.custom-product-content.active {
    animation: slideUpFade 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}



/* Image Enhancements */
.custom-product-content .content-image {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.custom-product-content .content-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.custom-product-content:hover .content-image img {
    transform: scale(1.08);
    /* slight zoom on hover for premium feel */
}

/* buttons on products page */
.center-slide-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.center-slide-btns .theme-btn {
    height: 46px;
    /* balanced height */
    line-height: 46px;
    /* vertical text centering */
    padding: 0 28px;
    /* equal horizontal size */
    font-size: 18px;
    /* slightly compact */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* ================= HOME PAGE PROJECT SECTION ================= */

.fx-projects-7-filter-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.fx-projects-7-filter-btn .filter-button {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000B47;
    background: #f5f5f5;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    /* Rectangular shape as requested */
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1.4;
}

.fx-projects-7-filter-btn .filter-button:hover,
.fx-projects-7-filter-btn .filter-button.active {
    background: #ff5e15;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 94, 21, 0.3);
}

.custom-project-card {
    height: 380px;
    overflow: hidden;
    position: relative;
    margin: 0;
}

.custom-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* No grayscale filter as requested by user */

.custom-project-card .content {
    position: absolute;
    bottom: -80px;
    left: 20px;
    right: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.custom-project-card:hover img {
    transform: scale(1.1);
}

.custom-project-card:hover .content {
    bottom: 20px;
    opacity: 1;
    visibility: visible;
}

.custom-project-card .content .item-subtitle {
    font-size: 13px;
    color: #ff5e15;
    margin-bottom: 5px;
    font-weight: 700;
}

.custom-project-card .content .item-title {
    font-size: 20px;
    color: #000B47;
    margin: 0;
    font-weight: 700;
}

.custom-project-card .content .item-btn {
    width: 45px;
    height: 45px;
    background: #ff5e15;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
}

.custom-project-card .content .item-btn:hover {
    background: #000B47;
    color: #fff;
}

/* Centering CSS for Project Section Heading */
.center-project-heading {
    text-align: center !important;
    margin: 0 auto;
    width: 100%;
}

.center-project-heading h2,
.center-project-heading h3 {
    text-align: center !important;
}

/* Ensure centering of the CTA section on all devices */
.wpo-project-section .theme-btn {
    margin: 0 auto;
    display: inline-block;
}

/* ===== CARD GAP FIX (SAFE FOR ISOTOPE) ===== */

/* Container pulls edges back so grid stays aligned */
.filter-grid {
    margin: -8px !important;
}

/* Individual card spacing */
.filter-grid > [class*="col-"] {
    padding: 8px !important;
}

/* Keep isotope happy */
.grid-item {
    margin: 0 !important;
}

/* ===== CURVED CORNER CARD STYLE ===== */

.custom-project-card {
    border-radius: 18px;          /* controls curve strength */
    overflow: hidden;             /* IMPORTANT: clips image & hover content */
}

/* Ensure image follows same curve */
.custom-project-card img {
    border-radius: 18px;
}

/* ===== 3 CARDS PER ROW WITH PREMIUM SPACING ===== */

/* Grid outer spacing */
.filter-grid {
    
    margin: -15px !important;   /* controls outer balance */
}

/* Card spacing */
.filter-grid > [class*="col-"] {
    padding: 15px !important;   /* spacing between cards */
}

/* Card styling stays intact */
.custom-project-card {
    height: 360px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
}

/* Image fills nicely */
.custom-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop: 3 cards per row */
@media (min-width: 1200px) {
    .filter-grid > .grid-item {
        width: 33.3333%;
    }
}

/* Tablet: 2 cards */
@media (max-width: 1199px) and (min-width: 768px) {
    .filter-grid > .grid-item {
        width: 50%;
    }
}

/* Mobile: 1 card */
@media (max-width: 767px) {
    .filter-grid > .grid-item {
        width: 100%;
    }
}
/* Make counter labels bold */
.counter-item p {
    font-weight: 700;   /* bold */
}


/* case studies */
.portfolio {
  padding: 100px 0;
}

.portfolio-grid .portfolio-item {
  position: relative;
  margin-bottom: 50px;
}

.portfolio__img {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.portfolio__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0), #1b1a1a);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.portfolio__img img {
  width: 100%;
  transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio__img img {
  transform: scale(1.1);
}

.portfolio__content {
  background: #fff;
  position: relative;
  margin-top: -30px;
  margin-right: 28px;
  padding-top: 30px;
  border-radius: 0 5px 0 0;
  z-index: 2;
}

.portfolio__title {
  font-size: 26px;
  line-height: 28px;
  margin-bottom: 10px;
}

.portfolio__title a {
  color: #1b1a1a;
  transition: color 0.3s ease;
}

.portfolio__title a:hover {
  color: #ff5e14;
}

.portfolio__cat {
  margin-bottom: 20px;
}

.portfolio__cat a {
  font-size: 14px;
  color: #ff5e14;
  margin-right: 6px;
  position: relative;
}

.portfolio__cat a::after {
  content: ",";
  position: absolute;
  right: -4px;
}

.portfolio__cat a:last-child::after {
  display: none;
}

.divider__line {
  height: 2px;
  margin-bottom: 22px;
  position: relative;
}

.divider__line::after {
  content: "";
  width: 70px;
  height: 2px;
  background: #eaeaea;
  position: absolute;
  left: 0;
}

.portfolio__desc {
  font-size: 14px;
  line-height: 24px;
  color: #9b9b9b;
  margin-bottom: 0;
}

.btn__link {
  display: flex;
  align-items: center;
  margin-top: 23px;
  font-weight: 700;
  color: #1b1a1a;
  transition: color 0.3s ease;
}

.btn__link i {
  width: 22px;
  height: 22px;
  line-height: 22px;
  background: #222;
  color: #fff;
  border-radius: 50%;
  margin-left: 8px;
  transition: all 0.3s ease;
}

.portfolio-item:hover .btn__link {
  color: #ff5e14;
}

.portfolio-item:hover .btn__link i {
  background: #ff5e14;
}

.portfolio-hidden {
  display: none;
}
@media (max-width: 767px) {
  .portfolio__content {
    margin-right: 0;
    padding-top: 15px;
  }

  .portfolio__title {
    font-size: 18px;
    line-height: 22px;
  }
}


/* single case-study */
/* ===============================
   TEXT CONTENT SECTION
================================ */
.text-content-section {
  padding: 80px 0;
}

.text-content-section h5 {
  font-size: 30px;
  margin-bottom: 20px;
  color: #1b1a1a;
}

/* ===============================
   SIDEBAR
================================ */
.sidebar {
  position: relative;
  margin-right: 20px;
}

.sidebar .widget {
  background: #f4f4f4;
  padding: 30px;
  border-radius: 4px;
  margin-bottom: 30px;
}

.widget:last-child {
  margin-bottom: 0;
}

/* ---------- Categories ---------- */
.widget-categories ul {
  background: #fff;
  box-shadow: 0 1px 30px rgba(0,0,0,0.08);
}

.widget-categories ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  color: #1b1a1a;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.widget-categories ul li a.active,
.widget-categories ul li a:hover {
  background-color: #ff5e14;
  color: #fff;
}

.widget-categories ul li:last-child a {
  border-bottom: none;
}

/* ===============================
   HELP WIDGET
================================ */
.widget-help {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.widget-help .bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-help::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 94, 20, 0.85);
}

.widget-help .widget__content {
  position: relative;
  z-index: 2;
}

.widget-help h5 {
  color: #fff;
  font-size: 26px;
}

.widget-help p {
  font-size: 15px;
  line-height: 25px;
}

/* ===============================
   DOWNLOAD WIDGET
================================ */
.widget-download .btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 65px;
  border-radius: 4px;
}

/* ===============================
   TEXT BLOCK
================================ */
.text__block-desc {
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 30px;
  color: #6f6f6f;
}

/* ---------- Section with Left Title ---------- */
.text__block-2 {
  position: relative;
  margin-bottom: 30px;
}

.text__block-2 .text__block-title {
  position: absolute;
  left: 0;
  top: 0;
}

.text__block-2 .text__block-desc {
  padding-left: 220px;
}

/* Responsive fix */
@media (max-width: 767px) {
  .text__block-2 .text__block-title {
    position: static;
  }
  .text__block-2 .text__block-desc {
    padding-left: 0;
  }
}

/* ===============================
   VIDEO BANNER
================================ */
.video-banner {
  position: relative;
  padding: 200px 0;
  border-radius: 5px;
  overflow: hidden;
}

.video-banner .bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 26, 26, 0.45);
}

.video__btn {
  position: relative;
  z-index: 2;
}

.video__player {
  width: 75px;
  height: 75px;
  background: #fff;
  color: #1b1a1a;
  border-radius: 50%;
  line-height: 75px;
  text-align: center;
  font-size: 20px;
}

/* ===============================
   ACCORDION
================================ */
.accordion-item {
  border: 1px solid #ededed;
  border-radius: 3px;
  padding: 25px;
  margin-bottom: 20px;
}

.accordion__item-title {
  font-size: 22px;
  font-weight: 500;
  cursor: pointer;
  color: #222;
}

.accordion-item.opened {
  border-color: #ff5e14;
}

.accordion-item.opened .accordion__item-title {
  color: #ff5e14;
}

/* ===============================
   PORTFOLIO
================================ */
.portfolio-item {
  background: #fff;
}

.portfolio__img img {
  width: 100%;
  border-radius: 4px;
}

.portfolio__content {
  padding-top: 20px;
}

.portfolio__title {
  font-size: 24px;
}

.portfolio__cat a {
  font-size: 14px;
  color: #ff5e14;
  margin-right: 5px;
}

/* for images in certifications */
.cert-images {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

.cert-images img {
    width: 100%;          /* take full available width */
    max-width: 280px;     /* 🔥 increase this if needed */
    height: auto;
    object-fit: contain;
}
