/* test */

@media screen and (min-width: 1380px) {
  .tooltip-inner {
    background-color: #0d47a1 !important; /* Your Figma Blue */
    font-family: "Poppins", sans-serif;
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }

  /* Make the arrow match the blue background */
  .bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #0d47a1 !important;
  }
  .tooltip {
    display: none !important;
    visibility: hidden !important;
  }
  .map-canada {
    position: relative;
    right: -180px;
  }
}
@media screen and (max-width: 1200px) {
  /* .cta-content::before {
    content: "";
  position: absolute;
  right: 109px;
  top: 57px;
  
  width: 140px;
  height: 70px;
  background: url("../img/arrow-curve.svg") no-repeat center;
  background-size: contain;
  opacity: 0.9;
  pointer-events: none;

  transform: scaleX(-1) rotate(14deg) !important;
    
    
    display: inline-block; 
    transition: transform 0.3s ease;
} */
  .cta-content::before {
    display: none;
  }
}
/* Mobile spacing */

@media screen and (max-width: 991px) {
  /* .cta-content::before {
    content: "";
  position: absolute;
  right: 109px;
  top: 57px;
  
  width: 140px;
  height: 70px;
  background: url("../img/arrow-curve.svg") no-repeat center;
  background-size: contain;
  opacity: 0.9;
  pointer-events: none;

  transform: scaleX(-1) rotate(14deg) !important;
    
    
    display: inline-block; 
    transition: transform 0.3s ease;
} */
  .cta-content::before {
    display: none;
  }
  .mt-res-60 {
    margin-top: 60px;
  }
  .section-iq {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .section-iq-bottom {
    padding-bottom: 50px;
  }
  .mt-100 {
    margin-top: 50px;
  }
  .social-link {
    width: 142px;
  }
}
@media screen and (max-width: 768px) {
  .cs-w-100 {
    width: 100% !important;
  }
  .mb-cs-20 {
    margin-bottom: 20px;
  }
  .form-title {
    padding-top: 24px;
  }
  .cta-section {
    padding: 32px 24px;
    text-align: center;
  }
  .cta-section-1 {
    padding: 32px 24px !important;
    text-align: center;
  }

  .cta-section .btn {
    margin-top: 20px;
  }
  .cta-content::before {
    display: none;
  }
  .contact-pill {
    flex-wrap: wrap;
    display: block;
  }
  .opacity-50 {
    display: none;
  }
  .col-left::after,
  .col-down::after,
  .col-right::after {
    display: none;
  }

  .case-content > .d-flex {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 450px) {
  .nav-group {
    display: none;
  }
  .top-app-canada {
    background-color: var(--pure-white);
    -webkit-border-top-left-radius: 30px;
    -webkit-border-top-right-radius: 30px;
    -moz-border-radius-topleft: 30px;
    -moz-border-radius-topright: 30px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }
}
@media screen and (max-width: 759px) {
  .contact-pill .cta-call-action:first-child {
    margin-bottom: 20px;
  }
  .card-arrow-icon {
    top: 9px;
    right: 9px;
  }
}
@media screen and (max-width: 550px) {
  .form-title {
    padding-top: 32px;
  }
  .testimonial-card .mt-auto {
    display: block !important;
  }
  .testimonial-card .read-more {
    padding-top: 20px;
  }
}
@media screen and (max-width: 450px) {
  .blue-bar {
    display: block;
  }
  .form-title {
    padding-top: 32px;
  }
}
@media screen and (max-width: 381px) {
  .btn-case-study {
    padding: 16px 24px;
  }
}
@media screen and (max-width: 399px) {
  .btn-quote {
    padding: 16px 10px;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1398px) {
  .cs-flex-wrap {
    flex-wrap: wrap;
    gap: 10;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .floating-badge {
    top: -75px;
  }
}
@media screen and (max-width: 1199px) {
  .mb-cs-space {
    margin-bottom: 12px;
  }
}

@media screen and (min-width: 1220px) and (max-width: 1400px) {
  .process-bar-size {
    max-width: 859px;
  }
}
@media screen and (min-width: 991px) and (max-width: 1220px) {
  .process-bar-size {
    max-width: 766px;
  }
}
@media screen and (max-width: 990px) {
  .process-bar-size {
    display: none;
  }
}

/* =================================================================================== */
/* Portfolio Filter Mobile Dropdown                                                     */
/* =================================================================================== */

/* Hide mobile dropdowns on desktop by default */
.portfolio-filter-mobile {
  display: none;
}

/* Mobile: hide button filters, show dropdowns */
@media screen and (max-width: 768px) {
  .portfolio-filters-desktop {
    display: none !important;
  }
  .portfolio-filter-mobile {
    display: block !important;
  }
  .portfolio-filter-mobile.d-none {
    display: none !important;
  }
}

/* --- Label Styling --- */
.portfolio-filter-mobile label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  background: linear-gradient(269deg, #2196f3 0%, #0d47a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-left: 2px;
}

/* --- Dropdown Container --- */
.portfolio-dropdown {
  position: relative;
  width: 100%;
  user-select: none;
}

/* --- Dropdown Trigger Button --- */
.portfolio-dropdown-selected {
  height: 54px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
  border: 1.5px solid #c5d8f0;
  border-radius: 16px 16px 5px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #0d47a1;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(13, 71, 161, 0.06);
  overflow: hidden;
}

.portfolio-dropdown-selected span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 18px;
  position: relative;
}

/* Gradient accent bar on the left */
.portfolio-dropdown-selected span::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -18px;
  bottom: -18px;
  width: 5px;
  background: linear-gradient(180deg, #2196f3 0%, #0d47a1 100%);
  border-radius: 0 4px 4px 0;
}

.portfolio-dropdown-selected:hover {
  border-color: #90bff0;
  background: linear-gradient(135deg, #f0f6ff 0%, #e4eeff 100%);
  box-shadow: 0 4px 16px rgba(13, 71, 161, 0.12);
}

/* Arrow icon */
.portfolio-dropdown-selected i {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 12px;
  color: #0d47a1;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 71, 161, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Open State --- */
.portfolio-dropdown.open .portfolio-dropdown-selected {
  border-radius: 16px 16px 0 0;
  border-color: #2196f3;
  background: linear-gradient(135deg, #edf3ff 0%, #dfeaff 100%);
  box-shadow: 0 4px 16px rgba(13, 71, 161, 0.12);
}

.portfolio-dropdown.open .portfolio-dropdown-selected i {
  transform: rotate(180deg);
  background: linear-gradient(269deg, #2196f3 0%, #0d47a1 100%);
  color: #fff;
}

/* --- Options List --- */
.portfolio-dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 0 0 5px 16px;
  box-shadow: 0 12px 32px rgba(13, 71, 161, 0.14);
  display: none;
  z-index: 1000;
  overflow: hidden;
  border: 1.5px solid #2196f3;
  border-top: none;
  max-height: 280px;
  overflow-y: auto;
}

.portfolio-dropdown.open .portfolio-dropdown-options {
  display: block;
  animation: portfolioDropdownSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes portfolioDropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Individual Option --- */
.portfolio-dropdown-option {
  padding: 13px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #3a3f47;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f2f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-dropdown-option:last-child {
  border-bottom: none;
}

.portfolio-dropdown-option:hover {
  background: #f0f6ff;
  color: #0d47a1;
  padding-left: 22px;
}

/* Active option with checkmark */
.portfolio-dropdown-option.active {
  background: linear-gradient(
    269deg,
    rgba(33, 150, 243, 0.08) 0%,
    rgba(13, 71, 161, 0.08) 100%
  );
  color: #0d47a1;
  font-weight: 700;
  border-left: 3px solid #0d47a1;
}

.portfolio-dropdown-option.active::after {
  content: "\f00c";
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  color: #0d47a1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 71, 161, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Custom Scrollbar --- */
.portfolio-dropdown-options::-webkit-scrollbar {
  width: 4px;
}

.portfolio-dropdown-options::-webkit-scrollbar-track {
  background: transparent;
}

.portfolio-dropdown-options::-webkit-scrollbar-thumb {
  background: #c5d8f0;
  border-radius: 10px;
}

.portfolio-dropdown-options::-webkit-scrollbar-thumb:hover {
  background: #0d47a1;
}

/* --- Desktop Portfolio Swiper Styling --- */
.portfolio-desktop-swiper {
  padding: 10px 45px !important; /* Space for arrows */
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-desktop-swiper::before,
.portfolio-desktop-swiper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.portfolio-desktop-swiper::before {
  left: 0;
  background: linear-gradient(90deg, #f8f9fa 20%, transparent);
}
.portfolio-desktop-swiper::after {
  right: 0;
  background: linear-gradient(270deg, #f8f9fa 20%, transparent);
}

.portfolio-slider-next,
.portfolio-slider-prev {
  width: 38px !important;
  height: 38px !important;
  background: #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.15) !important;
  color: #0d47a1 !important;
  transition: all 0.3s ease !important;
  margin-top: -19px !important;
}

.portfolio-slider-next {
  right: 0 !important;
}

.portfolio-slider-prev {
  left: 0 !important;
}

.portfolio-slider-next:hover,
.portfolio-slider-prev:hover {
  background: linear-gradient(135deg, #2196f3 0%, #0d47a1 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.25) !important;
  transform: scale(1.05);
}

.portfolio-slider-next::after,
.portfolio-slider-prev::after {
  font-size: 16px !important;
  font-weight: 900 !important;
}

.portfolio-filters-desktop .btn {
  border-radius: 16px 16px 5px 16px !important;
  padding: 14px 15px !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 16px !important;
  letter-spacing: 0px !important;
  border: 1px solid transparent !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: #fff;
  color: #4f5356 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

.portfolio-filters-desktop .btn:hover {
  color: #0d47a1 !important;
  border-color: #2196f3 !important;
  background: #f4f8ff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(33, 150, 243, 0.15) !important;
}

.portfolio-filters-desktop .btn.active {
  background: linear-gradient(90deg, #0d47a1 0%, #2196f3 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.25) !important;
  transform: translateY(-1px);
  padding: 14px 40px !important;
  border-radius: 16px 16px 5px 16px !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 16px !important;
  letter-spacing: 0px !important;
}

/* =================================================================================== */
/* Portfolio Page Case Study Button                                                     */
/* =================================================================================== */

.portfolio-card .btn-case-study {
  background: #ffffff;
  color: #131415 !important;
  padding: 14px 28px;
  border-radius: 16px 16px 5px 16px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* border: 2px solid #0d47a1; */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-card .btn-case-study:hover {
  background: #0d47a1;
  color: #ffffff !important;
  border-color: #0d47a1;
  box-shadow: 0 12px 25px rgba(13, 71, 161, 0.3);
}

.portfolio-card .btn-case-study img {
  width: 20px;
  margin: 0;
  transition: all 0.9s ease;
}

.portfolio-card .btn-case-study:hover img {
  filter: brightness(0) invert(1);
  transform: rotate(-10deg);
}

@media (max-width: 768px) {
  .portfolio-card .btn-case-study {
    padding: 12px 20px;
    font-size: 14px;
    width: 50%; /* Make it full width on mobile for better visibility */
  }
}

/* =================================================================================== */
/* Portfolio Hire Tabs (Domain / Technology)                                           */
/* =================================================================================== */

.portfolio-hire-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  margin-top: 20px;
}

.portfolio-hire-tabs {
  background: #ffffff !important;
  padding: 6px !important;
  overflow: visible;
  border-radius: 16px 16px 5px 16px !important;
  display: inline-flex !important;
  flex-direction: row !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.portfolio-hire-tabs .nav-item {
  margin: 0 !important;
}

.portfolio-hire-tabs .nav-link {
  border-radius: 16px 16px 5px 16px !important;
  padding: 22px 70px !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  line-height: 16px !important;
  justify-content: center;
  box-sizing: border-box !important;
  color: #0d47a1 !important;
  background: transparent !important;
  text-transform: uppercase !important;
  letter-spacing: 0px !important;
  border: 2px solid #ffffff !important;
}

.portfolio-hire-tabs .nav-link::before {
  content: " " !important;
  border: none !important;
}

.portfolio-hire-tabs .nav-link.active::after {
  display: none !important;
}

.portfolio-hire-tabs .nav-link:not(.active):hover {
  color: #2196f3 !important;
  border: 2px solid #2196f3 !important;
  padding: 22px 70px !important;
  transform: none !important;
  overflow: hidden;
  box-sizing: border-box !important;
  background: #ffffff !important;
  /* transition: all 0.3s ease-in-out !important; */
}

.portfolio-hire-tabs .nav-link.active {
  border: 2px solid #2196f3 !important;
  background: #2196f3 !important;
  color: #ffffff !important;
  /* border: none !important; */
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3) !important;
  transform: none !important;
}

@media (max-width: 768px) {
  .portfolio-hire-tabs-wrapper {
    margin-bottom: 20px;
    margin-top: 10px;
    padding: 0 15px;
  }
  .portfolio-hire-tabs {
    width: 100% !important;
    display: flex !important;
    padding: 4px !important;
    border-radius: 12px 12px 5px 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  }
  .portfolio-hire-tabs .nav-item {
    flex: 1;
  }
  .portfolio-hire-tabs .nav-link {
    padding: 12px 10px !important;
    font-size: 15px !important;
    line-height: 16px !important;
    width: 100%;
    text-align: center;
    border-radius: 12px 12px 5px 12px !important;
    border: 2px solid transparent !important;
  }
  .portfolio-hire-tabs .nav-link:not(.active):hover {
    color: #2196f3 !important;
    border: 2px solid #2196f3 !important;
    padding: 12px 10px !important;
  }
}

/* ============================================================================ */
/* ========================= PORTFOLIO PAGE STYLES =========================== */
/* ============================================================================ */

/* Portfolio Content Adjustments */
.portfolio-content-pad {
  padding: 60px 40px 60px 60px;
}
.portfolio-content-pad1 {
  padding: 30px 40px 20px 60px !important;
}
@media (max-width: 991px) {
  .portfolio-content-pad1 {
    padding: 35px 25px !important;
  }
}
@media (max-width: 991px) {
  .portfolio-content-pad {
    padding: 35px 25px !important;
  }
  .btn-submit-gradient {
    /* padding: 14px 35px !important; */
    font-size: 16px !important;
  }
  .portfolio-card .d-flex.align-items-center.flex-wrap.gap-4.mb-3 {
    flex-wrap: nowrap !important;
    gap: 15px !important;
  }
  .portfolio-card .col-lg-6.align-items-stretch {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .btn-submit-gradient {
    /* padding: 12px 24px !important; */
    font-size: 14px !important;
  }
  .portfolio-card .d-flex.align-items-center.flex-wrap.gap-4.mb-3 {
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }
}

/* --- Portfolio Header Background (portfolio.php - header section) --- */
.portfolio-header-bg {
  background: linear-gradient(180deg, #d2deff 0%, #f3f6fe 100%);
}

/* --- Portfolio Card Title (portfolio.php - h2 inside .portfolio-card) --- */
.portfolio-card-title {
  font-family: "Poppins", sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 3.5vw + 12px, 48px) !important;
  line-height: 100% !important;
  color: #ffffff !important;
  letter-spacing: 0px !important;
}

/* --- Portfolio Card Description (portfolio.php - p inside .portfolio-card) --- */
.portfolio-card-desc {
  font-family: "Poppins", sans-serif !important;
  font-weight: 400 !important;
  font-size: clamp(14px, 0.4vw + 13px, 18px) !important;
  line-height: clamp(22px, 0.8vw + 20px, 30px) !important;
  color: #ffffff !important;
  letter-spacing: 0px !important;
}

/* --- Portfolio Card Sub-heading (portfolio.php - Industry/Technology h3) --- */
.portfolio-card-subheading {
  font-family: "Poppins", sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(18px, 1.2vw + 14px, 30px) !important;
  line-height: clamp(20px, 1.2vw + 16px, 30px) !important;
  color: #ffffff !important;
  letter-spacing: 0px !important;
}

/* --- Portfolio Industry Pill Badge (portfolio.php - industry tags span) --- */
.portfolio-industry-pill {
  background-color: rgba(255, 255, 255, 0.2);
  font-family: "Poppins", sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(13px, 0.5vw + 11px, 18px) !important;
  padding: clamp(6px, 0.4vw + 4px, 10px) clamp(12px, 0.8vw + 8px, 20px) !important;
  line-height: 18px !important;
  color: #ffffff !important;
  letter-spacing: 0px !important;
}

/* --- Portfolio Tech Icon Container (portfolio.php - tech stack icon wrapper) --- */
.portfolio-tech-icon-box {
  width: 40px;
  height: 40px;
}

/* --- Portfolio Tech Icon Image (portfolio.php - tech stack img) --- */
.portfolio-tech-icon-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cta-section-1 {
  background-image: url("../img/cta-bg-photo.jpg");
  background-repeat: no-repeat;
  background-position: right;
  background-size: cover;

  border-radius: 16px;
  padding: 40px 58px;
  margin-top: 40px;
  color: #fff;

  position: relative;
  overflow: hidden;
}

/* Content layout */
.cta-section-1 .cta-content-1 {
  gap: 24px;
  position: relative;
}

/* Text styles */
.cta-section-1 h3 {
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
}

.cta-section-1 p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: normal;

  margin-top: 12px;
}

/* --- Portfolio Card Background Variants (portfolio.php - each card has unique gradient + bg image) --- */

/* 3rd_index_page_styles */
.portfolio-bg-event-booking1 {
  background: #8d34ff;
  background-size: cover;
  background-position: center;
  color: white;
}

/* 4th_index_page_styles */
.portfolio-bg-law-firms1 {
  background: #00a8ca;
  background-size: cover;
  background-position: center;
  color: white;
}

/* 2nd_index_page_styles */
.portfolio-bg-healthcare1 {
  background: #17d969d9;
  background-size: cover;
  background-position: center;
  color: white;
}

/* 5th_index_page_styles */
.portfolio-bg-live-streaming1 {
  background: #8d34ff;
  background-size: cover;
  background-position: center;
  color: white;
}

/* 1st_index_page_styles */
.portfolio-bg-fitness1 {
  background: #ff826f;
  background-size: cover;
  background-position: center;
  color: white;
}

/* 2nd_portfolio_page_styles */
.portfolio-bg-law-firms {
  background: #10caf0 url(../img/portfolio-bg/law-firms-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}

/* 1st_portfolio_page_styles */
.portfolio-bg-event-booking {
  background: #8d34ff url(../img/portfolio-bg/event-booking-windows-bg.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}

/* 3rd_portfolio_page_styles */
.portfolio-bg-live-streaming {
  background: #5a23b9 url(../img/portfolio-bg/live-streaming-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}

/* 4th_portfolio_page_styles */
.portfolio-bg-shopping-app {
  background: #7152ce url(../img/portfolio-bg/shopping-app-1-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}

/* 5th_portfolio_page_styles */
.portfolio-bg-restaurant-user {
  background: #08b67b url(../img/portfolio-bg/restaurant-user-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}

/* 6th_portfolio_page_styles */
.portfolio-bg-restaurant-business {
  background: #08b67b url(../img/portfolio-bg/restaurant-busi-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}
/* 7th_portfolio_page_styles */
.portfolio-bg-commercial-movers {
  background: #ff9700 url(../img/portfolio-bg/commercial-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}

/* 8th_portfolio_page_styles */
.portfolio-bg-erp-web {
  background: #5798f9 url(../img/portfolio-bg/erp-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}

/* 9th_portfolio_page_styles */
.portfolio-bg-taxi {
  background: #b69061 url(../img/portfolio-bg/smart-ride-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}

/* 10th_portfolio_page_styles */
.portfolio-bg-dating {
  background: #fa69b9 url(../img/portfolio-bg/modern-match-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}

/* 11th_portfolio_page_styles */
.portfolio-bg-on-demand {
  background: #5f65f7 url(../img/portfolio-bg/on-demand-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}

/* 12th_portfolio_page_styles */
.portfolio-bg-travel {
  background: #41d0ff url(../img/portfolio-bg/travel-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}

/* 13th_portfolio_page_styles */
.portfolio-bg-logistics {
  background: #7d7aff url(../img/portfolio-bg/driver-track-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}

/* 14th_portfolio_page_styles */
.portfolio-bg-fitness {
  background: #ffa9b9 url(../img/portfolio-bg/mindfulness-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}

/* 15th_portfolio_page_styles */
.portfolio-bg-healthcare {
  background: #56c9f8 url(../img/portfolio-bg/patient-care-tablet-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  height: 650px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .portfolio-bg-event-booking,
  .portfolio-bg-law-firms,
  .portfolio-bg-live-streaming,
  .portfolio-bg-shopping-app,
  .portfolio-bg-restaurant-user,
  .portfolio-bg-restaurant-business,
  .portfolio-bg-commercial-movers,
  .portfolio-bg-erp-web,
  .portfolio-bg-taxi,
  .portfolio-bg-dating,
  .portfolio-bg-on-demand,
  .portfolio-bg-travel,
  .portfolio-bg-logistics,
  .portfolio-bg-fitness,
  .portfolio-bg-healthcare {
    background-position: right center !important;
  }
  .portfolio-content-pad {
    padding: 40px 20px 40px 40px !important;
  }
}

@media (max-width: 991px) {
  /* 1st_portfolio_page_styles */
  .portfolio-bg-event-booking,
  .portfolio-bg-event-booking1 {
    background: #8d34ff url(../img/portfolio-bg/event-booking-mobile-bg.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  /* 2nd_portfolio_page_styles */
  .portfolio-bg-law-firms,
  .portfolio-bg-law-firms1 {
    background: #10caf0 url(../img/portfolio-bg/law-firms-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  /* 3rd_portfolio_page_styles */
  .portfolio-bg-live-streaming,
  .portfolio-bg-live-streaming1 {
    background: #5a23b9 url(../img/portfolio-bg/live-stream-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  /* 4th_portfolio_page_styles */
  .portfolio-bg-shopping-app {
    background: #7152ce url(../img/portfolio-bg/shopping-app-1-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  /* 5th_portfolio_page_styles */
  .portfolio-bg-restaurant-user {
    background: #08b67b url(../img/portfolio-bg/restaurant-user-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  /* 6th_portfolio_page_styles */
  .portfolio-bg-restaurant-business {
    background: #08b67b url(../img/portfolio-bg/restaurant-busi-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  /* 7th_portfolio_page_styles */
  .portfolio-bg-commercial-movers {
    background: #ff9700 url(../img/portfolio-bg/commercial-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  /* 8th_portfolio_page_styles */
  .portfolio-bg-erp-web {
    background: #5798f9 url(../img/portfolio-bg/erp-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  /* 9th_portfolio_page_styles */
  .portfolio-bg-taxi {
    background: #b69061 url(../img/portfolio-bg/smart-ride-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  /* 10th_portfolio_page_styles */
  .portfolio-bg-dating {
    background: #fa69b9 url(../img/portfolio-bg/modern-match-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  /* 11th_portfolio_page_styles */
  .portfolio-bg-on-demand {
    background: #5f65f7 url(../img/portfolio-bg/on-demand-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  /* 12th_portfolio_page_styles */
  .portfolio-bg-travel {
    background: #41d0ff url(../img/portfolio-bg/travel-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  /* 13th_portfolio_page_styles */
  .portfolio-bg-logistics {
    background: #7d7aff url(../img/portfolio-bg/driver-track-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }
  /* 14th_portfolio_page_styles */
  .portfolio-bg-fitness,
  .portfolio-bg-fitness1 {
    background: #ffa9b9 url(../img/portfolio-bg/mindfulness-mobile.png);
    background-size: cover;
    background-position: bottom;
    justify-content: flex-start;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  /* 15th_portfolio_page_styles */
  .portfolio-bg-healthcare,
  .portfolio-bg-healthcare1 {
    background: #56c9f8 url(../img/portfolio-bg/patient-care-tablet-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }
}

@media (max-width: 991px) {
  .portfolio-content-pad {
    justify-content: flex-start !important;
    padding: 30px 20px !important;
  }
}

.casestudy-scroll-wrapper {
  width: 120%;
  height: 180%;
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%) rotate(-20deg);
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  pointer-events: none;
}

.casestudy-scroll-wrapper1 {
  width: 160%;
  height: 180%;
  position: absolute;
  top: 50%;
  left: 68%;
  transform: translate(-50%, -50%) rotate(-20deg);
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  pointer-events: none;
}

.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 0.3s opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
}

.casestudy-scroll-wrapper2 {
  width: 150%;
  height: 150%;
  position: absolute;
  top: 50%;
  left: 65%;
  transform: translate(-50%, -50%) rotate(-20deg);
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  pointer-events: none;
}

.casestudy-column {
  width: 35%;
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  will-change: transform;
}

.casestudy-column img {
  width: 100%;
  transition: transform 0.3s ease;
}

.casestudy-scroll-wrapper:hover {
  pointer-events: auto;
}

.column-down {
  animation: scroll-down 25s linear infinite;
}

.column-up {
  animation: scroll-up 25s linear infinite;
  margin-top: -80px;
}

@keyframes scroll-down {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes scroll-up {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.casestudy-scroll-wrapper:hover .casestudy-column {
  animation-play-state: paused;
}

@media (min-width: 992px) {
  .portfolio-card {
    height: 700px;
  }

  .section-iq {
    padding: 40px 0 !important;
  }

  .iqlanceCaseStudySlider {
    padding-bottom: 20px !important;
  }

  .section-iq h2 {
    margin-bottom: 10px;
  }

  .section-iq p.pb-20 {
    padding-bottom: 10px !important;
    margin-bottom: 20px;
  }

  .portfolio-tablet-container {
    transition: transform 0.5s ease;
  }

  .portfolio-tablet-container:hover {
    transform: scale(1.03);
  }
}

.iqlanceCaseStudySlider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.iqlanceCaseStudySlider .swiper-slide {
  height: auto !important;
  display: flex;
}

.iqlanceCaseStudySlider .portfolio-item {
  width: 100%;
  display: flex;
}

.iqlanceCaseStudySlider .portfolio-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.iqlanceCaseStudySlider .portfolio-card > .row {
  flex: 1;
}

/* --- Portfolio Desktop Image Reset (portfolio.php - desktop portfolio images) --- */
.portfolio-reset-img {
  max-width: none !important;
  display: block;
  height: auto;
}
/* --- Portfolio Desktop Image Reset (portfolio.php - desktop portfolio images) --- */
.portfolio-reset-img1 {
  align-self: center;
  display: block;
  height: auto;
}

/* --- Portfolio Responsive Image (portfolio.php - mobile responsive images) --- */
.portfolio-responsive-img {
  object-fit: cover;
  overflow: visible;
  object-position: center right;
}

/* --- Portfolio Review Card (portfolio.php - testimonial/review cards between portfolio items) --- */
.review-card {
  background-color: #f3f6fe !important;
  border: none !important;
  border-radius: 20px !important;
  box-shadow: none !important;
}

.review-card p:not(.mb-0) {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 48px;
  letter-spacing: 0%;
  color: #131415;
}

.rating-logo img {
  max-width: 300px;
  height: auto;
  object-fit: contain;
}
@media (max-width: 767px) {
  .rating-logo img {
    max-width: 200px;
  }
}

.rating-score {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #131415;
}

.rating-stars svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 991px) {
  .review-card p:not(.mb-0) {
    font-size: 26px;
    line-height: 38px;
  }
}

@media (max-width: 767px) {
  .review-card p:not(.mb-0) {
    font-size: 18px;
    line-height: 28px;
  }
}

.clientname {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
/* --- Portfolio Client Name (portfolio.php - .clientname h5) --- */
.clientname h5 {
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  font-size: 28px !important;
  line-height: 18px !important;
  color: #131415 !important;
  letter-spacing: 0px !important;
}

/* --- Portfolio Client Role (portfolio.php - .clientname p) --- */
.clientname p {
  font-family: "Poppins", sans-serif !important;
  font-weight: 400 !important;
  font-size: 20px !important;
  line-height: 18px !important;
  color: #1565c0 !important;
  letter-spacing: 0px !important;
}

/* --- Portfolio Client Link (portfolio.php - .clientname a) --- */
.clientname a {
  font-family: "Poppins", sans-serif !important;
  font-weight: 400 !important;
  font-size: 20px !important;
  line-height: 18px !important;
  color: #1565c0 !important;
  letter-spacing: 0px !important;
}

/* --- Portfolio Header Description --- */
.portfolio-header-bg .portfolio-card-desc {
  font-family: "Poppins", sans-serif !important;
  font-weight: 400 !important;
  font-size: 20px !important;
  line-height: 33px !important;
  color: #000000 !important;
  letter-spacing: 0px !important;
}

/* --- Portfolio Tech Stack Labels --- */
.portfolio-card .d-flex.flex-column .small.fw-semibold {
  font-family: "Poppins", sans-serif !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  line-height: 16px !important;
  color: #ffffff !important;
  letter-spacing: 0px !important;
}
