/* ── Hero Slider ───────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0ece6 0%, #e8e2d8 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}
.hero__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.hero__title {
  font-family: var(--font-head);
  font-size: 31px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.8px;
}
.hero__desc {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #2f2f2f;
}
.hero__img {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  object-fit: cover;
  opacity: 0.7;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--charcoal);
  transition: all var(--transition);
}
.hero-arrow:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.hero-arrow--prev {
  left: 12px;
}
.hero-arrow--next {
  right: 12px;
}
.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition);
}
.hero-dot.active {
  background: var(--orange);
}

/* Slides */
.slides {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}
.slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  padding: 64px 0;
}
.slider-wrap {
  overflow: hidden;
  width: 100%;
}

/* ── Case Studies Cards ─────────────────────── */
.cs-section {
  background: var(--bg-light);
}
.cs-title {
  font-family: var(--font-head);
  font-size: 2rem;
  letter-spacing: 1px;
  /* text-transform: uppercase; */
  margin-bottom: 19px;
  font-weight: 200;
  text-align: left;
}
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 768px) {
  .cs-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Services Overview ──────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.service-item {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: all var(--transition);
}
.service-item:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.service-item__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.service-item h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: var(--dark);
}

/* Orange divider bar */
.orange-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-dark) 100%);
}

.cs-grid .card__body {
  height: 313px;
}

.cs-grid a.btn.btn--primary {
  position: absolute;
  bottom: 20px;
}
.divider {
  margin-bottom: 28px !important;
  margin-top: 12px !important;
}

.roadshow-body-custom {
  margin-bottom: 20px;
}
/* Header */
.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.product-header h1 {
  font-size: 1.8rem;
  font-family: var(--font-head);
  color: #333;
  font-weight: 400;
}
.sidebar-box__head.inactive a {
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 4px;
}
/* Button */
.demo-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  transition: all 0.4s ease;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.demo-btn:hover {
  box-shadow: inset 200px 0 0 0 #105291;
  color: #fff;
}

/* Layout */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

/* Left content */
.product-content {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
}

.product-content .intro {
  margin-bottom: 16px;
}

.feature {
  margin-bottom: 14px;
}
section.section.pt-custom {
  padding-top: 32px;
}
.feature strong {
  margin-right: 3px;
  color: #222;
  margin-bottom: 2px;
}

/* Right images */
.product-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-images img {
  width: 221px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* MATRIX SECTION */

/* Intro */
.matrix-intro h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #222;
}

.matrix-intro p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Middle layout */
.matrix-middle {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  margin-top: 20px;
}

/* Bottom layout */
.matrix-bottom {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  margin-top: 30px;
}

/* Text */
.matrix-text p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Images */
.matrix-image img {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .matrix-middle,
  .matrix-bottom {
    grid-template-columns: 1fr;
  }
}

/* ─── ROAD SHOW MANAGER ─── */
.roadshow-intro {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 20px;
}
.roadshow-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}
.roadshow-body img {
  width: 100%;
  border: 1px solid #ccc;
}
.roadshow-body-text {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.75;
}
.roadshow-features {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.8;
}
.roadshow-features ul {
  list-style: none;
  padding: 0;
}
.roadshow-features ul li {
  padding: 3px 0 3px 16px;
  position: relative;
}
.roadshow-features ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--black);
}
.roadshow-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  align-items: start;
  margin-top: 20px;
}
.roadshow-bottom-grid img {
  width: 100%;
  border: 1px solid #ccc;
}
@media (max-width: 640px) {
  .roadshow-body,
  .roadshow-bottom-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── E-PLATFORM ─── */
.eplatform-intro {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 16px;
}
.eplatform-grid {
  display: grid;
  grid-template-columns: 1fr 377px;
  gap: 28px;
  align-items: start;
  margin-bottom: 24px;
}
.eplatform-grid img {
  width: 100%;
  border: 1px solid #ccc;
}
.eplatform-roles {
  margin-top: 16px;
}
.eplatform-roles h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: #222;
  margin-bottom: 8px;
}
.eplatform-role {
  margin-bottom: 12px;
}
.eplatform-role strong {
  color: #222;
  font-size: 0.88rem;
}
.eplatform-role p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.7;
  margin-top: 3px;
}
.eplatform-features {
  font-size: 0.88rem;
  line-height: 1.75;
}
.eplatform-features ul {
  list-style: none;
  padding: 0;
}
.eplatform-features ul li {
  padding: 3px 0 3px 16px;
  position: relative;
}
.eplatform-features ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--black);
}
.eplatform-cms-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
  margin-top: 24px;
}
.eplatform-cms-grid img {
  width: 100%;
  border: 1px solid #ccc;
}
.eplatform-cms h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: #222;
  margin-bottom: 8px;
}
.eplatform-cms p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 10px;
}
@media (max-width: 640px) {
  .eplatform-grid,
  .eplatform-cms-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── SERVICES (shared header) ─── */
.services-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 16px;
}
.services-header-text h1 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.5px;
}
.services-header img {
  max-width: 100%;
  border-radius: 4px;
}
.services-intro-text {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 14px;
}
.services-list {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}
.services-list li {
  padding: 3px 0 3px 16px;
  position: relative;
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.7;
}
.services-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--black);
}

/* ─── MCM CALL CENTER ─── */
.mcm-intro {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* ─── .NET ─── */
.net-intro h1 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 14px;
}
.net-intro p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* ─── GRAPHICS ─── */
.graphics-top {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
}
.graphics-title {
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}
.graphics-title .graphic {
  color: #c0047a;
  font-style: italic;
  display: block;
}
.graphics-title .design {
  color: #555;
  font-size: 2.2rem;
  letter-spacing: 4px;
  font-style: normal;
  display: block;
}
.graphics-cmyk {
  display: flex;
  gap: 4px;
  margin-top: 10px;
}
.graphics-cmyk span {
  width: 18px;
  height: 18px;
}
.graphics-top img {
  width: 120px;
}
.graphics-intro p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 12px;
}
.graphics-samples h4 {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.graphics-grid {
  display: grid;
  gap: 8px;
}
.graphics-grid img {
  width: 100%;
  margin-top: 0;
}

.field-item.even p {
  margin-bottom: 13px;
  font-size: 14px;
}
.graphics-samples {
  margin-top: 22px;
}
@media (max-width: 640px) {
  .graphics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .graphics-top {
    grid-template-columns: 1fr;
  }
}

/* ─── OPEN SOURCE PHP ─── */
.php-content h1 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 14px;
}
.php-content p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* ─── CASE STUDIES ─── */
.casestudies-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 16px;
}
.casestudies-header-text h1 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.5px;
}
.casestudies-header img {
  max-width: 294px;
  border-radius: 4px;
}
.casestudy-item {
  margin-bottom: 24px;
}
.casestudy-item h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--orange);
  margin-bottom: 8px;
}
.casestudy-item p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.75;
}
.casestudies-diagram {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}
.casestudies-diagram img {
  max-width: 300px;
  border: 1px solid #ccc;
}

/* Responsive  */

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__img {
    position: relative;
    width: 100%;
    height: 240px;
    margin-top: 20px;
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .cs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-images {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-images img {
    width: 45%;
  }
}

@media (max-width: 640px) {
  .product-images img {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .roadshow-body,
  .roadshow-bottom-grid,
  .eplatform-grid,
  .eplatform-cms-grid {
    grid-template-columns: 1fr;
  }

  .roadshow-body img,
  .eplatform-grid img,
  .eplatform-cms-grid img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .graphics-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .width_cust {
    width: 93% !important;
    max-width: 100% !important;
  }
  .graphics-title {
    font-size: 2rem;
  }

  .graphics-title .design {
    font-size: 1.5rem;
  }
  .slide .container {
    flex-wrap: wrap;
    flex-direction: column;
  }
  .slide {
    padding: 10px 0;
  }
}

@media (max-width: 1024px) {
  .hero__title {
    font-size: 26px;
  }

  .cs-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 640px) {
  .hero__title {
    font-size: 22px;
  }

  .hero__desc {
    font-size: 16px;
  }

  .product-header h1 {
    font-size: 1.4rem;
  }
  .casestudies-header {
    flex-wrap: wrap;
  }

  .casestudies-header img {
    width: 100%;
  }
}
a.btn.btn--primary {
  transition: all 0.4s ease;
  padding: 6px 20px;
}
a.btn.btn--primary:hover {
  box-shadow: inset 200px 0 0 0 #105291;
  color: #fff;
}
.demo-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  transition: all 0.4s ease;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}
h5.modal-title {
  color: white;
  font-size: 17px;
}
.form-label {
  margin-bottom: 0;
  font-size: 13px;
}
.form-control {
  font-size: 13px;
}
.modal-header {
  padding: 9px 14px;
}
.demo-btn svg {
  width: 16px;
  height: 16px;
}
.btn-close-white {
  padding: 0 11px;
  font-size: 12px;
  opacity: inherit;
}
