/* MultiEdge Solutions - layout and header refinements */

/* Header */
.infetech-header-area .header-wrapper {
  column-gap: 0;
  min-height: 120px;
}

.infetech-header-area .templates-logo {
  flex: 0 0 285px;
  width: 285px;
  min-height: 120px;
  display: flex;
  align-items: center;
  padding: 28px 38px;
}

.infetech-header-area .templates-logo a {
  width: 100%;
}

.infetech-header-area .templates-logo img {
  width: 34px;
  height: 34px !important;
  object-fit: contain;
  max-width: 34px;
}

.infetech-header-area .templates-logo p {
  font-size: 26px !important;
  font-weight: 500;
  letter-spacing: -.3px;
}

.infetech-header-area .header-box {
  min-width: 0;
}

.infetech-header-area .header-box .header-topbar {
  min-height: 48px;
  height: 48px;
}

.header-topbar-text p {
  margin: 0;
  line-height: 48px;
  white-space: nowrap;
}

.header-topbar-info-wrapper {
  height: 48px;
  gap: 20px;
}

.header-topbar-info-wrapper .header-topbar-info {
  margin-right: 0 !important;
}

.header-topbar-info-wrapper .header-topbar-info ul {
  gap: 22px;
}

.header-topbar-info-wrapper .header-topbar-info ul li.header-contact-item {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 13px;
}

.header-topbar-info-wrapper .header-topbar-info ul li.header-contact-item i {
  padding-right: 0;
  font-size: 13px;
}

.header-contact-label {
  font-weight: 600;
  color: #4b4655;
}

.header-topbar-info-wrapper .header-topbar-info ul li.header-contact-item a {
  color: #6c6a72;
  font-weight: 500;
  text-decoration: none;
}

.header-topbar-info-wrapper .header-topbar-info ul li.header-contact-item a:hover {
  color: #5f2dee;
}

.header-topbar-info-wrapper .header-topbar-social {
  height: 48px;
  padding: 0 24px !important;
  display: flex;
  align-items: center;
}

.header-topbar-info-wrapper .header-topbar-social ul {
  gap: 18px;
}

.header-main-nav {
  height: 72px;
}

.header-main-nav-box ul li {
  margin-right: 30px;
  padding: 25px 0;
}

.header-main-nav-box ul li a {
  font-size: 15px;
}

.header-main-info .header-main-info-contact {
  min-width: 190px;
  margin-right: 22px;
  padding-left: 58px;
}

.header-main-info .header-main-info-contact .icon {
  width: 42px;
  height: 42px;
  line-height: 42px;
}

.header-main-info .header-main-info-contact .icon img {
  width: 20px;
  height: 20px;
}

.header-main-info .header-main-info-contact .content span {
  font-size: 11px;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #817b8c;
}

.header-main-info .header-main-info-contact .content a {
  font-size: 15px;
  line-height: 21px;
  white-space: nowrap;
  font-weight: 600;
}

/* More balanced page spacing */
.breadcrumb-area {
  margin-top: 120px;
  padding: 105px 0 90px;
}

.breadcrumb-item .title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 36px;
  line-height: 1.2;
}

.infetech-projects-grid-area {
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}

.infetech-blog-details-area {
  padding-top: 60px !important;
  padding-bottom: 90px !important;
}

/* Clean project cards */
.multiedge-project-card {
  height: 100%;
  background: #fff;
  border: 1px solid #ebe8f2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(29, 23, 41, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.multiedge-project-card:hover {
  transform: translateY(-5px);
  border-color: #ded4f4;
  box-shadow: 0 16px 36px rgba(29, 23, 41, .11);
}

.multiedge-project-image {
  display: block;
  height: 245px;
  overflow: hidden;
  background: #f5f3f9;
}

.multiedge-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.multiedge-project-card:hover .multiedge-project-image img {
  transform: scale(1.04);
}

.multiedge-project-content {
  padding: 22px 24px 24px;
}

.multiedge-project-category {
  display: inline-block;
  margin-bottom: 8px;
  color: #6b35e8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.multiedge-project-title {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.3;
}

.multiedge-project-title a {
  color: #1d1729;
  text-decoration: none;
}

.multiedge-project-title a:hover {
  color: #5f2dee;
}

.multiedge-project-content p {
  margin: 0 0 16px;
  color: #6c6a72;
  font-size: 14px;
  line-height: 1.65;
}

.multiedge-project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5f2dee;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.multiedge-project-link:hover {
  color: #1d1729;
}

/* Blog content readability */
.blog-content-preview {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.blog-content-preview h2 {
  font-size: 27px;
}

.blog-content-preview h3 {
  font-size: 22px;
}

@media (max-width: 1200px) {
  .infetech-header-area .templates-logo {
    flex-basis: 230px;
    width: 230px;
    padding-left: 28px;
    padding-right: 28px;
  }
  .header-topbar-text p {
    font-size: 12px;
  }
  .header-main-nav-box ul li {
    margin-right: 20px;
  }
  .header-main-info .header-main-info-contact {
    min-width: 175px;
    margin-right: 10px;
  }
}

@media (max-width: 991px) {
  .infetech-header-area .templates-logo {
    flex-basis: 210px;
    width: 210px;
    min-height: 78px;
    padding: 18px 24px;
  }
  .infetech-header-area .header-box .header-topbar {
    display: none;
  }
  .infetech-header-area .header-wrapper {
    min-height: 78px;
  }
  .header-main-nav {
    height: 78px;
  }
  .header-main-info .header-main-info-contact {
    display: none;
  }
  .breadcrumb-area {
    margin-top: 78px;
    padding: 80px 0 70px;
  }
}

@media (max-width: 767px) {
  .infetech-header-area .templates-logo {
    width: 100%;
    min-height: 64px;
    padding: 14px 20px;
    justify-content: center;
  }
  .infetech-header-area .templates-logo a {
    justify-content: center;
  }
  .infetech-header-area .templates-logo p {
    font-size: 24px !important;
  }
  .infetech-header-area .header-wrapper {
    min-height: 64px;
  }
  .header-main-nav {
    height: 56px;
  }
  .breadcrumb-area {
    margin-top: 120px;
    padding: 70px 0 55px;
  }
  .breadcrumb-item .title {
    font-size: 27px;
  }
  .infetech-projects-grid-area {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
  }
  .multiedge-project-image {
    height: 220px;
  }
}
