
@media (max-width: 991px) {
  .bim-crd {
    margin-left: -3%;
    width: 95%;
  }
}

@media (max-width: 768px) {
  /* Stack everything */
  .tb_wcv_container {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  .tb_wcv_left,
  .tb_wcv_right,
  .tb_wcv_center {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Order: left -> center -> right */
  .tb_wcv_left {
    order: 1 !important;
  }
  .tb_wcv_center {
    order: 2 !important;
  }
  .tb_wcv_right {
    order: 3 !important;
  }

  /* Remove any connecting line on mobile */
  .tb_wcv_link {
    display: none !important;
  }

  /* Make side blocks stacked */
  .tb_wcv_side {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* Card = full width */
  .tb_wcv_item,
  .tb_wcv_item_r {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;

    padding: 14px 14px !important;
    border-radius: 16px !important;

    /* if your desktop uses absolute positioning */
    position: relative !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }

  /* Bubble should NOT be absolute on mobile */
  .tb_wcv_bubble {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;

    width: 44px !important;
    height: 44px !important;
    border-radius: 999px !important;

    flex: 0 0 44px !important;
    display: grid !important;
    place-items: center !important;

    margin-top: 2px !important;
  }

  .tb_wcv_bubble svg {
    width: 22px !important;
    height: 22px !important;
  }

  /* Text must take full width (this fixes "word-per-line" issue) */
  .tb_wcv_text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .tb_wcv_text h3 {
    margin: 0 !important;
  }

  .tb_wcv_text p {
    margin: 6px 0 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.45 !important;
    font-size: 14px !important;
  }

  /* Headings */
  .main-heading {
    font-size: 2rem !important;
    margin-bottom: 16px !important;
  }

  .short-heading-2 {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }


  .tb_wcv_banner {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
  }

  .tb_wcv_photo {
    width: 100% !important;
    aspect-ratio: 16/10 !important;
    border-radius: 16px !important;
    background-size: cover !important;
    background-position: center !important;
  }
}


@media (max-width: 420px) {
  .tb_wcv_banner {
    max-width: 100% !important;
  }
  .main-heading {
    font-size: 1.7rem !important;
  }
}


.ar-brand-area {
  width: 100%;
  overflow: hidden; 
}

.tp-brand-wrapper {
  width: 100%;
}

.swiper-container.tp-brand-active {
  width: 100%;
  overflow: hidden;
}

.tp-brand-active .swiper-wrapper {
  align-items: center;
}

.tp-brand-active .swiper-slide {
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tp-brand-item {
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap; 
}



@media (max-width: 767px) {
  .tp-brand-wrapper {
    padding: 10px 8px; 
  }

  .tp-brand-item {
    padding: 8px 14px;
  }

  .short-heading {
    font-size: 0.95rem; 
  }

  
  .red-bg {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  overflow-x: hidden !important;
}


.container-1830,
.container-1330 {
  max-width: 100% !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}






/* 3) HERO SECTION MOBILE FIX */
@media (max-width: 991px) {
  .cnt-hero-area {
    padding-top: 30px;
    padding-bottom: 20px;
  }

  .cnt-hero-title-box {
    text-align: center !important;
  }

  .cnt-hero-title-box h2 {
    text-align: center !important;
  }

  .cnt-hero-btn {
    display: flex;
    justify-content: center;
  }

  .cnt-hero-main-thumb {
    margin-top: 18px !important;
    margin-bottom: 10px !important;
    text-align: center;
  }

  .cnt-hero-main-thumb img {
    max-width: 360px !important;
    width: 100%;
    margin: 0 auto;
  }

  /* stats block */
  .cnt-hero-list-wrap {
    margin-bottom: 25px !important;
  }

  .cnt-hero-list {
    padding: 14px 14px !important;
    border-radius: 12px;
  }

  .cnt-hero-list-left {
    flex-wrap: wrap;
    gap: 8px;
  }

  .cnt-hero-list-num {
    font-size: 34px !important;
    line-height: 1 !important;
  }

  .cnt-hero-list-name {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
}

/* 4) ABOUT SECTION FIX (160px number breaks on mobile) */
@media (max-width: 991px) {
  .ar-about-area {
    padding-top: 70px !important;
  }

  .ar-about-title-wrap {
    margin-bottom: 25px !important;
  }

  .ar-about-title-box h3 {
    font-size: clamp(18px, 5vw, 28px) !important;
    line-height: 1.3 !important;
    padding-bottom: 14px !important;
    text-align: center;
  }

  .ar-about-thumb img {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .ar-about-content {
    margin-top: 20px;
    text-align: center;
  }

  .ar-about-content p {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
  }

  /* Experience box */
  .ar-about-exp-wrap {
    justify-content: center !important;
    margin-top: 20px;
  }

  .ar-about-exp-box {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 340px;
    text-align: center;
  }

  .ar-about-exp-box h4 {
    font-size: 84px !important;
    line-height: 0.9 !important;
  }

  .ar-about-exp-box span {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
}

/* 5) WHY CHOOSE US SECTION (already responsive, just tighten spacing) */
@media (max-width: 991px) {
  .tb_wcv_wrap {
    padding: 70px 0 !important;
  }

  .tb_wcv_side {
    gap: 22px !important;
  }

  .tb_wcv_item,
  .tb_wcv_item_r {
    gap: 12px !important;
    align-items: flex-start !important;
  }

  .tb_wcv_link {
    display: none !important; /* connector line looks messy on mobile */
  }

  .tb_wcv_photo {
    height: 320px !important;
    border-radius: 18px;
  }
}

/* 6) PORTFOLIO VIDEO SECTION FIX (cards overlap video on mobile) */
@media (max-width: 991px) {
  .cnt-portfolio-ptb {
    padding-top: 70px !important;
    padding-bottom: 50px !important;
  }

  .cnt-portfolio-heading {
    padding-bottom: 30px !important;
  }

  .cnt-portfolio-video-wrapper {
    border-radius: 16px;
    overflow: hidden;
  }

  .cnt-portfolio-video-wrapper video {
    width: 100%;
    height: 260px !important;
    object-fit: cover;
  }

  /* Make cards stack normally */
  .cnt-portfolio-video-card-wrapper {
    position: static !important;
    padding: 18px 16px !important;
    gap: 16px !important;
  }

  .cnt-portfolio-video-card {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px !important;
    padding: 18px 16px !important;
  }

  .cnt-portfolio-video-thumb img {
    width: 100%;
    border-radius: 12px;
  }
}

/* 7) TOOLS SLIDER FIX */
@media (max-width: 991px) {
  .ar-brand-item img {
    max-width: 140px !important;
    margin: 0 auto;
  }

  .ar-brand-area .main-heading {
    margin-bottom: 18px !important;
  }
}

/* 8) BLOG GRID FIX */
@media (max-width: 991px) {
  .tp-blog-gird-sidebar-ptb {
    padding-bottom: 60px !important;
  }

  .tp-blog-masonry-item {
    border-radius: 16px;
    overflow: hidden;
  }

  .tp-blog-masonry-title a {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  .tp-blog-masonry-content {
    padding: 0 6px 10px 6px;
  }
}

/* 9) REMOVE UNWANTED HORIZONTAL SCROLL (common issue) */
@media (max-width: 991px) {
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

html,
body,
input,
button,
textarea,
select {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.agntix-light .tp-blog-masonry-btn a {
  color: #4866a5;
}
.ar-brand-style .tp-brand-wrapper {
  margin-top: 1px;
  transform: rotate(0);
  padding: 30px 0 26px 0;
}

/* ✅ Make sure the video is visible and responsive */
.cnt-portfolio-video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.cnt-portfolio-video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.img-in-banner {
  width: 80px;
  margin-top: 42px;
}

.ar-brand-style .tp-brand-title {
  letter-spacing: 1px;
  text-transform: capitalize;
  color: #000;
}
.tp-btn-black-square.cnt-btn-style.btn-transparent {
  background-color: transparent;
  color: #4866a5;
  border: 1px solid #4866a5;
}
.ar-about-exp-box h4 {
  font-size: 160px;
  line-height: 0.69;
  margin-bottom: 0;
  text-transform: capitalize;
  color: #4866a5;
  font-family: var(--tp-ff-clash-semibold);
}
.ar-about-exp-box span {
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 17px;
  display: inline-block;
  letter-spacing: 1px;
  text-transform: capitalize;
  color: #4866a5;
  font-family: var(--tp-ff-clash-medium);
}
.ar-about-exp-box {
  margin-left: -30px;
  padding: 30px;
  background-position: bottom;
  background-repeat: no-repeat;
  display: inline-block;
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-top-color: rgba(20, 20, 20, 0.06);
  border-top-style: solid;
  border-top-width: 1px;
  border-top: 4px solid #4866a5;
}

.tb_wcv_wrap {
  padding: 90px 0;
  background: #ffffff;
  color: #0c0d0f;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  overflow: hidden;
  position: relative;
}

/* soft diagonal accents like reference */
.tb_wcv_wrap::before,
.tb_wcv_wrap::after {
  content: "";
  position: absolute;
  top: -25%;
  width: 42%;
  height: 170%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.02),
    rgba(0, 0, 0, 0)
  );
  pointer-events: none;
}
.tb_wcv_wrap::before {
  left: -18%;
  transform: rotate(12deg);
}
.tb_wcv_wrap::after {
  right: -18%;
  transform: rotate(-12deg);
}

.tb_wcv_container {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px 1fr;
  gap: 26px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Center banner */
.tb_wcv_banner {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: linear-gradient(
    180deg,
    rgba(45, 86, 161, 0.95),
    rgba(45, 86, 161, 0.6)
  );
}

.tb_wcv_bannerTop {
  padding: 32px 22px 18px;
  text-align: center;
  color: #fff;
}

.tb_wcv_title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 12px;
  text-transform: capitalize;
}
.tb_wcv_title span {
  font-weight: 500;
  opacity: 0.95;
}

.tb_wcv_sub {
  margin: 0 auto;
  max-width: 280px;
  font-size: 13.8px;
  line-height: 1.65;
  opacity: 0.95;
}

.tb_wcv_photo {
  height: 500px;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0)
    ),
    url("assets/img/bim_img/sl_1.png");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  position: relative;
}
/* subtle pattern overlay */
.tb_wcv_photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 35%,
    rgba(255, 255, 255, 0.18),
    transparent 55%
  );
  pointer-events: none;
}

/* Side items */
.tb_wcv_side {
  display: grid;
  gap: 60px;
}

.tb_wcv_item {
  display: grid;
  grid-template-columns: 1fr 48px 56px;
  gap: 12px;
  align-items: center;
}

.tb_wcv_item_r {
  grid-template-columns: 56px 48px 1fr;
}

.tb_wcv_text {
  background: transparent;
}

.tb_wcv_h {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tb_wcv_p {
  margin: 0;
  color: rgba(12, 13, 15, 0.66);
  font-size: 13.6px;
  line-height: 1.6;
}

/* Connector line */
.tb_wcv_link {
  height: 2px;
  width: 100%;
  background: radial-gradient(
      circle,
      rgba(0, 0, 0, 0.55) 1px,
      transparent 2px
    )
    0 0/10px 2px repeat-x;
  opacity: 0.55;
}

/* Icon bubbles */
.tb_wcv_bubble {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}
.tb_wcv_bubble svg {
  width: 26px;
  height: 26px;
}

.tb_wcv_bubble::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at 25% 25%,
    rgba(255, 255, 255, 0.22),
    transparent 60%
  );
  transform: rotate(12deg);
  pointer-events: none;
}

/* Colors like reference */
.tb_wcv_b1 {
  background: #5AA6EA;
}
.tb_wcv_b2 {
  background: #5AA6EA;
}
.tb_wcv_b3 {
  background: #5AA6EA;
}
.tb_wcv_b4 {
  background: #5AA6EA;
}

/* Align left side text */
.tb_wcv_left .tb_wcv_text {
  text-align: right;
}
.tb_wcv_right .tb_wcv_text {
  text-align: left;
}

/* Responsive */
@media (max-width: 980px) {
  .tb_wcv_container {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .tb_wcv_left .tb_wcv_text,
  .tb_wcv_right .tb_wcv_text {
    text-align: left;
  }
  .tb_wcv_item,
  .tb_wcv_item_r {
    grid-template-columns: 56px 48px 1fr;
  }
  .tb_wcv_center {
    order: -1;
  }
}

@media (max-width: 520px) {
  .tb_wcv_wrap {
    padding: 70px 0;
  }
  .tb_wcv_title {
    font-size: 34px;
  }
  .tb_wcv_photo {
    height: 300px;
  }
  .tb_wcv_h {
    font-size: 15px;
  }
}
.main-heading {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.05;
  margin-left: -4px;
  margin-bottom: 45px;
  text-transform: capitalize;
  color: var(--tp-common-black);
  font-family: var(--tp-ff-clash-medium);
}
.short-heading {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.05;
  margin-left: -4px;
  margin-bottom: 45px;
  text-transform: capitalize;
  color: var(--tp-common-black);
  font-family: var(--tp-ff-clash-medium);
}
.short-heading-2 {
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.05;
  margin-left: -4px;
  margin-bottom: 15px;
  text-transform: capitalize;
  color: var(--tp-common-black);
  font-family: var(--tp-ff-clash-medium);
}
@media (max-width: 991px) {
  .ar-about-content {
    margin-top: 63px;
    text-align: center;
  }
}
