/* Wayfinder Digital Tech — page-specific styles */

.dmax-row .kt-row-column-wrap,
.editor-styles-wrapper .dmax-row .kt-row-column-wrap {
  width: unset;      
}

/* ── S1: Hero ─────────────────────────────────────────────── */
.single-content h1.kt-adv-headingwfherotitle,
.editor-styles-wrapper h1.kt-adv-headingwfherotitle {
  /* font-size: clamp(42px, 7vw, 64px); */
  font-size: clamp(52px, 7.5vw, 64px);
  line-height: 1.15;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 24px;
}

.dmax-wayfinder-hero-subtitle {
  font-size: clamp(20px, 3.5vw, 28px);
  line-height: clamp(28px, 4.5vw, 36px);
  margin-top: 0;
  margin-bottom: 40px;
  color: #ffffff;
}

@media (max-width: 767px) {
  .single-content h1.kt-adv-headingwfherotitle,
  .editor-styles-wrapper h1.kt-adv-headingwfherotitle {
    /* font-size: 42px; */
    line-height: 1.2;
    /* margin-bottom: 20px; */
  }
  .dmax-wayfinder-hero-subtitle {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 35px;
    padding-inline: 10px;
  }
  .dmax-row.dmax-section-tall,
  .editor-styles-wrapper .dmax-row.dmax-section-tall {
    /* min-height: 80vh; */
    /* padding-top: 100px; */
    /* padding-bottom: 80px; */
  }
}

/* S1 Wayfinder hero buttons — shared radius */
.dmax-section-dark .wp-block-kadence-advancedbtn .wp-block-button__link {
  border-radius: 27px;
  text-align: center;
}

/* Desktop hero buttons: side-by-side, fixed-width */
@media (min-width: 1025px) {
  .dmax-hero-btns.wp-block-kadence-advancedbtn .wp-block-kadence-singlebtn,
  .editor-styles-wrapper .dmax-hero-btns.wp-block-kadence-advancedbtn .wp-block-kadence-singlebtn {
    margin: 0 10px;
  }
  .dmax-hero-btns .wp-block-button__link,
  .dmax-hero-btns.wp-block-kadence-advancedbtn .wp-block-button__link,
  .editor-styles-wrapper .dmax-hero-btns.wp-block-kadence-advancedbtn .wp-block-button__link {
    width: 270px;
  }
}

/* Mobile/Tablet hero buttons: stacked, max-width */
@media (max-width: 1024px) {
  .dmax-hero-btns.wp-block-kadence-advancedbtn,
  .editor-styles-wrapper .dmax-hero-btns.wp-block-kadence-advancedbtn {
    flex-direction: column;
    align-items: center;
  }
  .dmax-hero-btns .wp-block-kadence-singlebtn,
  .dmax-hero-btns.wp-block-kadence-advancedbtn .wp-block-kadence-singlebtn,
  .dmax-hero-btns .wp-block-kadence-singlebtn .tooltip-ref-wrap,
  .dmax-hero-btns.wp-block-kadence-advancedbtn .wp-block-kadence-singlebtn .tooltip-ref-wrap {
    width: 100%;
    /* max-width: 300px; */
  }
}

/* ── S2: Hardware ─────────────────────────────────────────── */
.dmax-wayfinder-hardware-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 50px auto 0;
  max-width: 650px;
}

.dmax-wayfinder-hardware-item {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 20px;
}

.dmax-wayfinder-hardware-icon {
  flex-shrink: 0;
  width: 120px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dmax-wayfinder-hardware-icon img {
  width: 60px;
  height: 60px;
  display: block;
}

.dmax-wayfinder-hardware-content {
  font-size: 24px;
  line-height: 1.4;
  color: #000000;
}

.dmax-wayfinder-hardware-content strong {
  font-weight: 700;
  display: inline-block;
  margin-bottom: 2px;
}

@media (max-width: 767px) {
  .dmax-wayfinder-hardware-list {
    margin-top: 30px;
    gap: 20px;
  }
  .dmax-wayfinder-hardware-item {
    gap: 15px;
  }
  .dmax-wayfinder-hardware-icon {
    width: 80px;
    height: 80px;
  }
  .dmax-wayfinder-hardware-icon img {
    width: 40px;
    height: 40px;
  }
  .dmax-wayfinder-hardware-content {
    font-size: 18px;
  }
}

/* ── S3+S4: Services Grid ─────────────────────────────────── */
.dmax-wayfinder-services {
  background-color: #ffffff;
}

.dmax-services-grid {
  /* margin-top: 1rem; */
  padding-top: 1rem;
}

.dmax-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dmax-service-card > .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  padding: 40px 25px !important;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid #eaeaea;
}

.dmax-service-card-title,
.single-content h3.dmax-service-card-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #0b1f33;
  margin-bottom: 20px;
  text-align: center;
}

@media (min-width: 1025px) {
  .dmax-service-card-title {
    min-height: 60px; /* Aligns card content horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.dmax-service-card-image,
.dmax-service-card-image.wp-block-kadence-image:not(:last-child) {
  margin-bottom: 28px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dmax-service-card-image img {
  max-height: 100%;
  width: auto;
  display: block;
}

ul.dmax-service-card-list,
.single-content ul.dmax-service-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--global-md-spacing) 0;
  text-align: left;
  width: 100%;
  flex-grow: 1; /* Pushes button to bottom */
}

.dmax-service-card-list li {
  position: relative;
  padding-left: 25px;
  font-size: 16px;
  line-height: 1.5;
  color: #444444;
  margin-bottom: 15px;
}

.dmax-service-card-list li:last-child {
  margin-bottom: 0;
}

.dmax-service-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #61a9fd;
  font-weight: 900;
  font-size: 18px;
}

/* Services card buttons styling */
.dmax-service-card .wp-block-kadence-advancedbtn {
  width: 100%;
  margin-top: auto;
}

.dmax-service-card .wp-block-kadence-advancedbtn .wp-block-button__link {
  width: 100%;
  text-align: center;
  border-radius: 27px;
  font-weight: 700;
}

/* Bottom CTA wrapper */
.dmax-services-cta-wrap {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.dmax-services-cta-btn .wp-block-button__link {
  width: 280px;
  border-radius: 27px;
}

@media (max-width: 1024px) {
  .dmax-service-card > .kt-inside-inner-col {
    padding: 30px 20px !important;
  }
  .dmax-service-card-title {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .dmax-services-cta-btn .wp-block-button__link {
    width: 100%;
    max-width: 300px;
  }
}

/* ── S5: Testimonials ──────────────────────────────────── */
/* Pagination handled globally by 11-splide.css via dmax-section-dark class */

/* ─ Card: horizontal layout — photo LEFT, content RIGHT ─ */
.dmax-wayfinder-testimonials .kt-testimonial-item-wrap,
.dmax-wayfinder-testimonials div.wp-block-kadence-testimonials div.kt-testimonial-item-wrap {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  text-align: left;
  /* reset global 12-testimonials.css card styles */
  max-width: 820px;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  border-radius: 14px;
}

/* Suppress hover transform on dark cards */
.dmax-wayfinder-testimonials .kt-testimonial-item-wrap:hover,
section.dmax-wayfinder-testimonials .wp-block-kadence-testimonials .kt-testimonial-item-wrap:hover {
  transform: none;
  border-color: rgba(60, 188, 230, 0.45);
  box-shadow: 0 0 0 1px rgba(60, 188, 230, 0.2);
}

/* Photo column — fixed width, pulled left via order */
.dmax-wayfinder-testimonials .kt-testimonial-meta-wrap {
  order: -1 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 140px !important;
  gap: 10px !important;
}

/* Content column — takes remaining space */
.dmax-wayfinder-testimonials .kt-testimonial-text-wrap {
  flex: 1 !important;
  min-width: 0;
}

/* ─ Photo: circular, no global cyan border ─ */
.dmax-wayfinder-testimonials .kt-testimonial-media-inner-wrap {
  border-radius: 100% !important;
  overflow: hidden !important;
  width: 120px !important;
  height: 120px !important;
  margin: 0 !important;
  /* override 12-testimonials.css cyan border — doesn't fit dark section */
  border: 3px solid rgba(60, 188, 230, 0.55) !important;
}

.dmax-wayfinder-testimonials .kadence-testimonial-image-intrinsic {
  padding-bottom: 100%;
}

.dmax-wayfinder-testimonials .kt-testimonial-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ─ Name / occupation: centered under photo ─ */
.dmax-wayfinder-testimonials .kt-testimonial-meta-name-wrap {
  text-align: center !important;
}

.dmax-wayfinder-testimonials .kt-testimonial-name {
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.dmax-wayfinder-testimonials .kt-testimonial-occupation {
  color: #aec8d8 !important;
  font-size: 0.85rem !important;
}

/* ─ Stars: gold, above quote ─ */
.dmax-wayfinder-testimonials .kt-testimonial-rating-wrap {
  color: #ffd700 !important;
  margin-bottom: 14px !important;
}

/* ─ Quote text ─ */
.dmax-wayfinder-testimonials .kt-testimonial-content {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(15px, 1.6vw, 18px) !important;
  line-height: 1.65 !important;
  font-style: italic !important;
  margin-bottom: 0 !important;
}

/* ─ Mobile: stack vertically, photo on top centered ─ */
@media (max-width: 767px) {
  .dmax-wayfinder-testimonials .kt-testimonial-item-wrap {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }
  .dmax-wayfinder-testimonials .kt-testimonial-meta-wrap {
    width: auto !important;
    order: -1 !important;
  }
  .dmax-wayfinder-testimonials .kt-testimonial-media-inner-wrap {
    width: 100px !important;
    height: 100px !important;
  }
  .dmax-wayfinder-testimonials .kt-testimonial-text-wrap {
    text-align: center !important;
  }
}

/* ── S6: About / Mission ─────────────────────────────────── */
.dmax-wayfinder-about {
  background: #212e73;
  /* background: #07090f; */
}

.dmax-wayfinder-about > .kt-row-column-wrap {
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.dmax-wayfinder-about-badge-col > .kt-inside-inner-col {
  display: flex;
  justify-content: flex-start;
}

.dmax-wayfinder-about-badge,
.dmax-wayfinder-about-badge.wp-block-kadence-image:not(:last-child) {
  width: min(100%, 460px);
  margin: 0;
}

.dmax-wayfinder-about-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.dmax-wayfinder-about-copy-col > .kt-inside-inner-col {
  max-width: 680px;
}

.dmax-wayfinder-about-title {
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  margin: 0 0 18px;
}

.dmax-wayfinder-about-intro {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  margin: 0 0 clamp(44px, 4vw, 62px);
}

.dmax-wayfinder-about-details {
  width: 100%;
}

.dmax-wayfinder-about-detail > .kt-inside-inner-col {
  border-left: 3px solid #5e17eb;
  padding-left: 22px;
}

.dmax-wayfinder-about-detail-title {
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.dmax-wayfinder-about-copy {
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 1024px) {
  .dmax-wayfinder-about > .kt-row-column-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .dmax-wayfinder-about-badge-col > .kt-inside-inner-col {
    justify-content: center;
  }
  .dmax-wayfinder-about-copy-col > .kt-inside-inner-col {
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .dmax-wayfinder-about-badge,
  .dmax-wayfinder-about-badge.wp-block-kadence-image:not(:last-child) {
    width: min(82vw, 320px);
  }
  .dmax-wayfinder-about-title,
  .dmax-wayfinder-about-intro {
    text-align: center;
  }
  .dmax-wayfinder-about-intro {
    margin-bottom: 28px;
  }
  .dmax-wayfinder-about-detail > .kt-inside-inner-col {
    padding-left: 18px;
  }
}

/* Hide/show Hardware card buttons based on viewport */
@media (min-width: 1025px) {
  .dmax-card-btn-mobile {
    display: none !important;
  }
}

.dmax-card-btn-desktop,
.single-content .wp-block-kadence-advancedbtn.dmax-card-btn-desktop {
  margin-bottom: 0;
}
@media (max-width: 1024px) {
  .dmax-card-btn-desktop {
    display: none !important;
  }
}

.dmax-wayfinder-partners,
.editor-styles-wrapper .dmax-wayfinder-partners {
  background-image: linear-gradient(90deg, rgba(172, 190, 208, 0.85) 10%, rgba(255, 255, 255, 0.85) 30%), url('/wp-content/uploads/2025/10/background-hexagons.png.webp');
  background: linear-gradient(90deg,#acbed0 10%,#fff 30%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

/* Background image for larger screens */
@media (min-width: 960px) {
  .dmax-wayfinder-partners::before,
  .editor-styles-wrapper .dmax-wayfinder-partners::before,
  .kb-row-layout-wrap.dmax-wayfinder-partners:before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/wp-content/uploads/2025/10/devices.png.webp');
    background-repeat: no-repeat;
    background-position: center left;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    margin-left: -200px;
  }
  .dmax-wayfinder-partners > .kt-row-column-wrap,
  .editor-styles-wrapper .dmax-wayfinder-partners > .kt-row-column-wrap {
    position: relative;
    z-index: 1;
  }
}

.dmax-wayfinder-partners-title,
.editor-styles-wrapper .dmax-wayfinder-partners-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #0b1f33;
  margin-bottom: 8px;
}

.dmax-wayfinder-partners-subtitle,
.editor-styles-wrapper .dmax-wayfinder-partners-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #333333;
  margin-top: 0;
  margin-bottom: 0;
}

/* Hide empty column on tablet and mobile, and stretch content column */
@media (max-width: 1024px) {
  .dmax-wayfinder-partners-empty-col {
    display: none !important;
  }
  .dmax-wayfinder-partners-content-col,
  .editor-styles-wrapper .dmax-wayfinder-partners-content-col {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.dmax-wayfinder-partners-logo > .kt-inside-inner-col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.dmax-wayfinder-partners-img,
.dmax-wayfinder-partners-img figure,
.wp-block-kadence-rowlayout .block-editor-block-list__layout .block-editor-block-list__block.dmax-wayfinder-partners-img {
  max-width: 240px;
  height: auto;
}

.dmax-wayfinder-partners-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .dmax-wayfinder-partners-logos .dmax-wayfinder-partners-logo > .kt-inside-inner-col {
    min-height: 80px;
    padding: 10px 0;
  }
  .dmax-wayfinder-partners-logos .dmax-wayfinder-partners-img,
  .dmax-wayfinder-partners-logos .dmax-wayfinder-partners-img figure {
    max-width: 120px;
  }
}
/* S7 */
.dmax-wayfinder-partners-logo {
  text-align: center;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  background-color: #e1dfdf;
  border-radius: 20px 20px 20px 20px;
}

/* ==================== Contact Form Section ==================== */

.dmax-wayfinder-contact-form,
.editor-styles-wrapper .dmax-wayfinder-contact-form {
  background-color: #1a2744;
}

.dmax-wayfinder-contact-badge,
.editor-styles-wrapper .dmax-wayfinder-contact-badge {
  margin-bottom: 20px;
}

.dmax-wayfinder-contact-badge img,
.editor-styles-wrapper .dmax-wayfinder-contact-badge img {
  margin: 0 auto;
}
