/* Q3 brand tweaks on top of Mitech theme */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
  --q3-primary: #086ad8;
}

body {
  font-family: "Inter", sans-serif;
}

.header__logo img,
.footer-widget__logo img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.q3-page-title-area {
  background-image: url("/assets/images/bg/title-bar-01-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Light title-bar background → dark hero type (company & inner pages) */
.q3-page-title-area .breadcrumb-title,
.q3-page-title-area .breadcrumb-title.text-white {
  color: #333333 !important;
}

.q3-page-title-area .q3-breadcrumb-list,
.q3-page-title-area .q3-breadcrumb-list a,
.q3-page-title-area .breadcrumb-list,
.q3-page-title-area .breadcrumb-list a,
.q3-page-title-area .breadcrumb-list span {
  color: #333333 !important;
  opacity: 1;
}

.q3-page-title-area .q3-breadcrumb-sep {
  color: #777777 !important;
  opacity: 1;
}

.q3-service-content {
  max-width: 760px;
}

.q3-service-content ul {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
}

.q3-service-content li {
  margin-bottom: 0.65rem;
  color: #696969;
  line-height: 1.7;
}

.q3-contact-form .form-control {
  min-height: 52px;
  border: 1px solid #ededed;
  border-radius: 5px;
  margin-bottom: 20px;
  padding: 12px 20px;
  font-family: inherit;
}

.q3-contact-form textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

/* Home hero: network backdrop + transparent person cutout */
.q3-hero-cutout-wrap {
  min-height: 420px;
}

.q3-hero-cutout-wrap .infotechno-inner-one {
  top: 0;
  left: 0;
  max-width: 92%;
  opacity: 0.95;
  pointer-events: none;
}

.q3-hero-cutout-wrap .infotechno-inner-two {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.q3-hero-cutout-wrap .q3-hero-cutout {
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: 0 !important;
  background: transparent;
  filter: drop-shadow(0 18px 28px rgba(8, 106, 216, 0.18));
}

@media (max-width: 767px) {
  .infotechno-hero-text h1 {
    font-size: 2rem;
  }

  .q3-hero-cutout-wrap {
    min-height: 300px;
  }

  .q3-hero-cutout-wrap .q3-hero-cutout {
    max-width: 260px;
  }
}

/* Client logos */
.q3-client-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 28px 16px 22px;
  height: 100%;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.q3-client-card:hover {
  box-shadow: 0 10px 30px rgba(0, 47, 166, 0.08);
  transform: translateY(-4px);
}

.q3-client-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}

.q3-client-logo-wrap--compact {
  min-height: 48px;
  padding: 8px;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.q3-client-logo-wrap--compact:hover {
  filter: none;
  opacity: 1;
}

.q3-client-logo {
  max-height: 48px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.q3-client-initials {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #eef5ff;
  color: #086ad8;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Case study filter motion polish */
.messonry-button button {
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.messonry-button button:hover,
.messonry-button button.is-checked {
  transform: translateY(-2px);
}

.projects-wrap.style-01 .projects-image-box {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.projects-wrap.style-01:hover .projects-image-box {
  transform: translateY(-6px);
}

.ht-btn--outline {
  background: transparent !important;
  border: 1px solid #086ad8;
  color: #086ad8 !important;
}

.ht-btn--outline:hover {
  background: #086ad8 !important;
  color: #fff !important;
}

/* Services home — white type on dark photo hero */
.service-hero-text h3,
.service-hero-text h1,
.service-hero-text p {
  color: #ffffff !important;
}

.service-hero-wrapper .select-item {
  cursor: pointer;
}

/* Service detail: graphic icon beside intro, not a stretched photo */
.modern-number-01 .box-image img {
  max-width: 120px;
  height: auto;
}

.q3-service-hero {
  position: relative;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.q3-service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 22, 55, 0.55);
  z-index: 0;
}

.q3-service-hero > .container {
  position: relative;
  z-index: 1;
}

.service-projects-wrapper .service-project-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #696969;
  line-height: 1.7;
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #086ad8;
  position: absolute;
  left: 0;
  top: 0.15rem;
}

/* ---------- Responsive / mobile ---------- */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

.q3-page-title-area .breadcrumb_box {
  padding: 100px 0 80px;
}

.q3-page-title-area .breadcrumb-title {
  word-break: break-word;
  padding: 0 12px;
}

.q3-breadcrumb-list {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  color: #fff;
}

.q3-breadcrumb-list a {
  color: #fff;
}

.q3-breadcrumb-list .q3-breadcrumb-sep,
.q3-breadcrumb-list span {
  opacity: 0.85;
}

.q3-breadcrumb-list .q3-breadcrumb-sep {
  opacity: 0.7;
}

.hero-button,
.button-group-wrap,
.feature-list-button-box,
.inner-button-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-button .ht-btn.ml-3,
.feature-list-button-box .ht-btn.ml-3 {
  margin-left: 0 !important;
}

.header-top-wrap .top-message {
  font-size: 13px;
  line-height: 1.5;
  padding: 0 10px;
}

.messonry-button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 4px;
}

.messonry-button button {
  margin: 0 !important;
}

.service-hero-text .service-solution-form-wrap {
  width: 100%;
  max-width: 600px;
  padding: 0 16px;
}

.service-project-slide-info {
  padding-right: 0;
}

.rv-video-section {
  overflow: hidden;
}

.q3-services-side-visual {
  max-width: 560px;
  margin-left: auto;
}

.q3-services-side-visual img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 16px 40px rgba(0, 47, 166, 0.12);
}

.projects-wrap.style-01,
.ht-box-images,
.ht-box-icon {
  max-width: 100%;
}

.tm-timeline-thumbnail img,
.team-image img,
.resources-images img {
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 1199px) {
  .header__logo img {
    height: 40px;
    max-width: 160px;
  }
}

@media only screen and (max-width: 991px) {
  .service-hero-space {
    height: auto !important;
    min-height: 420px;
    padding: 120px 0 80px;
  }

  .q3-service-hero.banner-space,
  .about-banner-wrap.banner-space {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .gradation-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .faq-custom-col {
    padding: 0 15px;
    margin-bottom: 40px;
  }

  .conact-us-wrap-one.managed-it {
    margin-bottom: 24px;
  }

  .resources-left-box,
  .resources-right-box {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media only screen and (max-width: 767px) {
  .q3-page-title-area .breadcrumb_box {
    padding: 72px 12px 48px !important;
  }

  .q3-page-title-area .breadcrumb-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .breadcrumb-list {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 4px;
    font-size: 13px;
  }

  .infotechno-hero {
    padding-bottom: 40px;
  }

  .infotechno-hero-text {
    float: none !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    text-align: center;
  }

  .infotechno-hero-text h1 {
    font-size: 2rem !important;
    line-height: 1.2;
  }

  .infotechno-hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-button,
  .button-group-wrap,
  .feature-list-button-box {
    justify-content: center;
  }

  .hero-button .ht-btn,
  .button-group-wrap .ht-btn,
  .feature-list-button-box .ht-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    margin: 0 !important;
  }

  .service-hero-space {
    min-height: 0;
    padding: 110px 0 60px;
  }

  .service-hero-text h1 {
    font-size: 2.4rem !important;
    line-height: 1.15 !important;
  }

  .service-hero-text h3 {
    font-size: 1.15rem !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
  }

  .service-hero-text p {
    padding: 0 12px;
    font-size: 14px !important;
  }

  .section-title-wrap .heading,
  .gradation-title-wrap .heading,
  .modern-number-01 .heading {
    font-size: 1.5rem;
    line-height: 1.35;
  }

  .modern-number-01 .mark-text {
    font-size: 3rem;
  }

  .ht-gradation.style-01 {
    padding-left: 0;
  }

  .messonry-button button span.filter-text {
    font-size: 13px;
  }

  .messonry-button button span.filter-counter {
    font-size: 11px;
  }

  .projects-wrap.style-01 .content .heading,
  .ht-box-images.style-04 .heading {
    font-size: 1.05rem;
  }

  .footer-area .footer-widget {
    margin-bottom: 30px;
  }

  .contact-info-one .call-us {
    font-size: 1.5rem;
    word-break: break-word;
  }

  .q3-contact-form .form-control {
    width: 100%;
  }

  .pe-5 {
    padding-right: 15px !important;
  }

  .col-lg-6.pe-5 {
    margin-bottom: 30px;
  }

  .timeline-area .tm-timeline-content {
    padding: 0 0 20px;
  }

  .ht-team-member .team-info p {
    padding: 0 4px;
  }

  .mobile-menu-overlay__body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.q3-leader-initials-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: linear-gradient(160deg, #e8f1fb 0%, #f7fafc 55%, #eef6f1 100%);
  border-radius: 5px;
}

.q3-leader-initials {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b3d91;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.q3-product-photo-card .box-image {
  width: 100%;
  max-width: none;
  margin-bottom: 18px;
}

.q3-product-photo-card .box-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 5px;
}

.ht-team-member .team-image img,
.q3-social-card .box-image img,
.projects-image img,
.tm-timeline-thumbnail img {
  object-fit: cover;
}

.q3-social-hero-image {
  position: relative;
  padding: 20px 20px 40px 0;
}

.q3-social-hero-image > img {
  width: 100%;
  border-radius: 5px;
}

.q3-social-hero-float {
  position: absolute;
  left: -20px;
  bottom: 0;
  width: 48%;
  max-width: 260px;
  box-shadow: 0 16px 40px rgba(0, 22, 55, 0.18);
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}

.q3-social-card .box-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media only screen and (max-width: 991px) {
  .q3-social-hero-image {
    margin-top: 30px;
    padding: 0 0 30px;
  }

  .q3-social-hero-float {
    left: 12px;
    width: 42%;
  }
}

@media only screen and (max-width: 575px) {
  .service-hero-text h1 {
    font-size: 2rem !important;
  }

  .q3-social-card .box-image img {
    height: 180px;
  }

  .ht-btn.ms-2 {
    margin-left: 0 !important;
    margin-top: 12px;
  }

  .header-btn {
    display: none !important;
  }

  .q3-client-logo {
    max-height: 40px;
    max-width: 96px;
  }

  .q3-client-card {
    padding: 20px 12px 16px;
  }

  .top-message {
    font-size: 12px;
  }
}

.projects-wrapper .heading,
.service-projects-wrapper .heading {
  white-space: normal;
}

.q3-social-card .text {
  white-space: normal;
  overflow: visible;
}
