/* IT Services inner page styling matched to UDesign theme reference */

.it-page-shell {
  background: #111;
  color: #f8f8f8;
}

.it-page-main {
  background: #fff;
  color: #333;
  min-height: calc(100vh - 96px);
  position: relative;
}

/* Page Hero Banner */
.it-page-hero-rail {
  background: #111;
  position: relative;
  margin: 0;
  z-index: 1;
}

.it-page-banner {
  width: 100%;
  max-width: 1764px;
  height: 320px;
  margin: 0 auto -60px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(rgba(17, 17, 17, 0.65), rgba(17, 17, 17, 0.65)), url("assets/theme/business-consulting-6/wp-content/uploads/sites/87/2022/10/bg-1.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.it-page-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(1px);
}

.it-page-banner h1 {
  margin: 0 0 12px;
  color: #fff;
  font: 600 46px/1.1 Poppins, var(--font-body);
  letter-spacing: -1.2px;
}

.it-page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #bebebe;
  font: 400 16px/1.5 Poppins, var(--font-body);
}

.it-page-breadcrumb a {
  color: #696969;
  transition: color 0.3s ease;
}

.it-page-breadcrumb a:hover,
.it-page-breadcrumb a:focus {
  color: #bebebe;
}

.it-page-breadcrumb .delimiter {
  color: #696969;
  font-size: 15px;
}

/* Main Section Body */
.it-page-body {
  position: relative;
  background: #fcfcfc;
  padding: 160px 30px 100px;
  overflow: visible;
}

.it-container {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 65px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* Left Column Content */
.it-info h2 {
  margin: 0 0 24px;
  color: #38383a;
  font: 600 38px/1.2 Poppins, var(--font-body);
  letter-spacing: -0.7px;
}

.it-lead {
  margin: 0 0 24px;
  color: #555;
  font: 400 16px/1.8 Poppins, var(--font-body);
}

.it-copy {
  margin: 0 0 36px;
  color: #929292;
  font: 400 14px/1.8 Poppins, var(--font-body);
}

/* Checklist */
.it-checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.it-check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #777;
  font: 400 15px/1.5 Poppins, var(--font-body);
}

.it-check-item .check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #ed7041;
  display: grid;
  place-content: center;
  color: #ed7041;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Right Column Accordion Widget */
.it-accordion-wrap {
  position: relative;
  z-index: 2;
  padding-top: 10px;
}

.it-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.it-accordion .accordion-item {
  border-radius: 0;
  overflow: hidden;
}

.it-accordion .accordion-header {
  width: 100%;
  padding: 20px 26px;
  background: #fff;
  border: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #38383a;
  font: 500 17px/1.2 Poppins, var(--font-body);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.it-accordion .accordion-header:hover {
  border-color: #ed7041;
  color: #ed7041;
}

.it-accordion .accordion-header.active {
  background: #ed7041;
  border-color: #ed7041;
  color: #fff;
}

.it-accordion .accordion-icon {
  font-size: 14px;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.it-accordion .accordion-content {
  display: none;
  background: #fff;
  border: 1px solid #eaeaea;
  border-top: 0;
  padding: 26px 28px;
  color: #777;
  font: 400 14px/1.8 Poppins, var(--font-body);
}

.it-accordion .accordion-content.active {
  display: block;
}

/* Background Geometry Overlay Accents matched to inner pages */
.it-page-body:before {
  content: "";
  position: absolute;
  right: -125px;
  top: 89px;
  width: 250px;
  height: 250px;
  border: 1px solid #ed7041;
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 1;
}

.it-page-body:after {
  content: "";
  position: absolute;
  right: 0;
  top: 296px;
  width: 0;
  height: 0;
  border-top: 96px solid transparent;
  border-bottom: 96px solid transparent;
  border-left: 0;
  border-right: 95px solid #ed7041;
  pointer-events: none;
  z-index: 1;
}

/* IT Projects & Video Showcase Section (Dark Section) */
.it-projects-showcase-section {
  padding: 90px 30px;
  background: #18191d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  position: relative;
  z-index: 2;
}

.it-showcase-container {
  width: min(100%, 1240px);
  margin: 0 auto;
}

.it-showcase-heading {
  text-align: center;
  margin-bottom: 44px;
}

.it-showcase-heading p:first-child {
  color: #ed7041;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
}

.it-showcase-heading h2 {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}

.it-showcase-heading p:last-child {
  color: #9aa0a6;
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.it-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.it-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.it-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a0a0a8;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.it-filter-btn:hover,
.it-filter-btn.active {
  background: #ed7041;
  color: #ffffff;
  border-color: #ed7041;
  box-shadow: 0 6px 18px rgba(237, 112, 65, 0.35);
}

/* IT Project Card */
.it-project-card {
  background: #202126;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.it-project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(237, 112, 65, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(237, 112, 65, 0.15);
}

.it-project-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.it-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.it-project-card:hover .it-project-media img {
  transform: scale(1.08);
}

.it-video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.it-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 58px;
  background: rgba(237, 112, 65, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(237, 112, 65, 0.4);
  border: none;
}

.it-project-card:hover .it-play-btn {
  transform: scale(1.15);
  background: #ed7041;
  box-shadow: 0 12px 30px rgba(237, 112, 65, 0.6);
}

.it-project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.it-project-cat {
  color: #ed7041;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.it-project-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.it-project-desc {
  color: #9aa0a6;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.it-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 20px;
}

.it-tech-tag {
  background: rgba(255, 255, 255, 0.05);
  color: #d0d0d8;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.it-action-btns {
  display: flex;
  gap: 12px;
}

.it-btn-demo {
  flex: 1;
  padding: 10px;
  text-align: center;
  background: #ed7041;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
}

.it-btn-demo:hover {
  background: #d95e2f;
}

.it-btn-video {
  flex: 1;
  padding: 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
  cursor: pointer;
}

.it-btn-video:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Modal Popup Window */
.it-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.it-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.it-modal-box {
  background: #1b1c20;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  max-width: 860px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.it-modal-overlay.active .it-modal-box {
  transform: scale(1);
}

.it-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.it-modal-close:hover {
  background: #ed7041;
}

.it-modal-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.it-modal-video-wrap iframe,
.it-modal-video-wrap video {
  width: 100%;
  height: 100%;
  border: none;
}

.it-modal-video-wrap video {
  display: block;
  object-fit: contain;
  background: #000;
}

.it-modal-info {
  padding: 28px;
}

.it-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.it-modal-desc {
  color: #a0a0a8;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* IT CTA Section matched to cost-cta-section */
.it-cta-section {
  position: relative;
  background: #151515 url("assets/theme/business-consulting-6/wp-content/uploads/sites/87/2024/12/bg-2.jpg") center/cover no-repeat;
  color: #fff;
  margin: 0;
  padding: 115px 30px 125px;
  text-align: center;
  overflow: hidden;
}

.it-cta-content {
  max-width: 830px;
  margin: 0 auto;
}

.it-cta-content h2 {
  max-width: 570px;
  margin: 0 auto 17px;
  color: #fff;
  font: 400 45px/1.2 Poppins, var(--font-body);
  letter-spacing: -0.8px;
}

.it-cta-content p {
  max-width: 830px;
  margin: 0 auto 42px;
  color: #777;
  font: 400 16px/1.6 Poppins, var(--font-body);
}

.it-cta-content .button {
  background: transparent;
  border: 1px solid #ed7041;
  color: #ed7041;
  padding: 18px 37px;
  font: 500 16px/1 Poppins, var(--font-body);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.it-cta-content .button:hover,
.it-cta-content .button:focus-visible {
  background: #ed7041;
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .it-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 767px) {
  .it-page-banner {
    height: 265px;
    margin-bottom: -48px;
    padding: 0 22px;
  }
  .it-page-banner h1 {
    font-size: 38px;
  }
  .it-page-body {
    padding: 130px 22px 90px;
  }
  .it-page-body:before,
  .it-page-body:after {
    display: none;
  }
  .it-cta-section {
    padding: 95px 22px 85px;
  }
  .it-cta-content h2 {
    font-size: 34px;
  }
  .it-cta-content p {
    font-size: 14px;
    margin-bottom: 32px;
  }
  .it-cta-content .button {
    font-size: 14px;
    padding: 16px 28px;
  }
  .it-projects-showcase-section {
    padding: 70px 20px;
  }
  .it-showcase-heading h2 {
    font-size: 30px;
  }
  .it-showcase-heading p:last-child {
    font-size: 14px;
  }
  .it-projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .it-action-btns {
    flex-wrap: wrap;
  }
  .it-btn-demo,
  .it-btn-video {
    min-width: 140px;
  }
}
