/* ==========================================================================
   DIGIMOZO - CONSUMER ENGAGEMENT PAGE STYLESHEET
   Matches Figma design 100% with Playfair Display headings, teal accents,
   refined cards, journey workflows, case study slider, and interactive FAQ.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600;1,700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

.ce-page {
  padding-top: calc(var(--nav-height, 72px) + 32px);
  padding-bottom: 90px;
  background-color: #FAFCFB;
  color: #111A18;
  overflow-x: hidden;
}

.ce-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Overrides for 100% Figma Match */
.ce-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #5A6E68;
  margin-bottom: 16px;
}

.ce-heading {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.14;
  color: #111A18;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.ce-heading em {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: italic;
  font-weight: 700;
  color: #00BFA5;
  display: inline;
}

.ce-subheading {
  font-family: 'Poppins', sans-serif !important;
  font-size: 16px;
  line-height: 1.65;
  color: #475551;
  max-width: 580px;
  margin-bottom: 32px;
}

/* Button Styles matching Figma */
.ce-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ce-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #00BFA5;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 191, 165, 0.25);
  border: 1px solid transparent;
}

.ce-btn-primary:hover {
  background-color: #00A892;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 191, 165, 0.35);
}

.ce-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: transparent;
  color: #111A18;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid #D4DCD7;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ce-btn-outline:hover {
  background-color: #F0F5F2;
  border-color: #111A18;
  transform: translateY(-2px);
}

/* ==========================================================================
   1. HERO SECTION & 2. WHAT IT MEANS SECTION
   ========================================================================== */
.ce-split-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  margin-bottom: 100px;
}

.ce-split-content {
  max-width: 560px;
}

.ce-split-media {
  position: relative;
  width: 100%;
}

.ce-split-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: 0 16px 36px -10px rgba(18, 95, 80, 0.12);
  display: block;
  background: #EAEFEA;
}

/* ==========================================================================
   3. WHAT WE BUILD - 6 CARDS GRID
   ========================================================================== */
.ce-section-header {
  margin-bottom: 44px;
}

.ce-build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 110px;
}

.ce-build-card {
  background: #FFFFFF;
  border: 1px solid #EBF0EC;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.ce-build-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(18, 95, 80, 0.08);
}

.ce-build-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

.ce-badge-teal {
  background: #D5F7EE;
  color: #00BFA5;
}

.ce-badge-gold {
  background: #FFF4DC;
  color: #D99B00;
}

.ce-badge-cyan {
  background: #E0F3FE;
  color: #0284C7;
}

.ce-badge-mint {
  background: #E2FBEF;
  color: #059669;
}

.ce-badge-coral {
  background: #FFE8E5;
  color: #E11D48;
}

.ce-build-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 18px;
  font-weight: 700;
  color: #111A18;
  margin-bottom: 10px;
}

.ce-build-desc {
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px;
  line-height: 1.6;
  color: #5A6E68;
}

/* ==========================================================================
   4. JOURNEY / HOW IT WORKS - 6 CIRCULAR ICONS FLOW
   ========================================================================== */
.ce-journey-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 110px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.ce-journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.ce-journey-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #00BFA5;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(0, 191, 165, 0.25);
  transition: transform 0.25s ease;
}

.ce-journey-step:hover .ce-journey-icon {
  transform: scale(1.08);
}

.ce-journey-label {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px;
  font-weight: 700;
  color: #111A18;
}

/* ==========================================================================
   5. HOW IT CAN WORK - 6 PROCESS CARDS WITH ARROWS
   ========================================================================== */
.ce-cards-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 110px;
  position: relative;
}

.ce-process-card-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.ce-process-card {
  background: #FFFFFF;
  border: 1px solid #E6ECE8;
  border-radius: 18px;
  padding: 10px;
  flex: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
  text-align: center;
}

.ce-process-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: #EAEFEA;
}

.ce-process-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ce-process-number-overlay {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Poppins', sans-serif !important;
  font-size: 20px;
  font-weight: 800;
  color: #00BFA5;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.ce-process-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px;
  font-weight: 700;
  color: #00BFA5;
  margin-top: 10px;
  margin-bottom: 4px;
}

.ce-process-desc {
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px;
  line-height: 1.45;
  color: #64748B;
}

.ce-process-arrow {
  color: #00BFA5;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   6. TECHNOLOGY SECTION - 8 MODULAR TECH CARDS
   ========================================================================== */
.ce-tech-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-bottom: 110px;
}

.ce-tech-card {
  background: #FFFFFF;
  border: 1px solid #EBF0EC;
  border-radius: 16px;
  padding: 24px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ce-tech-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 191, 165, 0.08);
}

.ce-tech-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #EAF9F5;
  color: #00BFA5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ce-tech-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #111A18;
}

/* ==========================================================================
   7. END-TO-END EXECUTION - 6 STEPS WITH CONNECTING ARROWS
   ========================================================================== */
.ce-exec-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 110px;
}

.ce-exec-step-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.ce-exec-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.ce-exec-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #D8F7EF;
  color: #00BFA5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ce-exec-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px;
  font-weight: 700;
  color: #111A18;
  margin-bottom: 6px;
}

.ce-exec-desc {
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px;
  line-height: 1.45;
  color: #5A6E68;
  max-width: 170px;
}

.ce-exec-arrow {
  color: #00BFA5;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: -30px;
}

/* ==========================================================================
   8. ENGAGEMENT CASE STUDIES SECTION WITH CAROUSEL
   ========================================================================== */
.ce-case-studies-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.ce-case-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ce-case-pill {
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px;
  font-weight: 600;
  color: #111A18;
  border: 1px solid #111A18;
  padding: 6px 18px;
  border-radius: 9999px;
  background: #FFFFFF;
}

.ce-case-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 18px;
  font-weight: 700;
  color: #111A18;
}

.ce-case-btn-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000000;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ce-case-btn-all:hover {
  background: #222222;
  transform: translateY(-2px);
}

.ce-case-slider-wrap {
  position: relative;
  margin-bottom: 110px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0 16px;
  width: 100%;
}

.ce-case-slider-wrap::-webkit-scrollbar {
  display: none;
}

.ce-case-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 20px;
  margin-bottom: 24px;
  width: max-content !important;
}

.ce-case-card {
  position: relative;
  flex: 0 0 320px !important;
  width: 320px !important;
  max-width: 320px !important;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: #111A18;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  cursor: pointer;
}

.ce-case-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.ce-case-card:hover .ce-case-img {
  transform: scale(1.05);
}

.ce-case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ce-case-badge-top {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
}

.ce-case-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.ce-case-card-title {
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.ce-case-arrow-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.ce-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.ce-carousel-btn {
  background: none;
  border: none;
  font-size: 24px;
  font-weight: 700;
  color: #00BFA5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.ce-carousel-btn:hover {
  transform: scale(1.2);
}

.ce-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ce-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D4DCD7;
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.ce-carousel-dot.active {
  background: #00BFA5;
  width: 10px;
  height: 10px;
}

/* ==========================================================================
   9. FAQ SECTION - 2-COLUMN WITH GENTLEMAN PORTRAIT & ACCORDION
   ========================================================================== */
.ce-faq-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: stretch;
}

.ce-faq-image-wrap {
  width: 100%;
  height: 100%;
}

.ce-faq-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  max-height: 640px;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: 0 16px 36px -10px rgba(18, 95, 80, 0.12);
  display: block;
}

.ce-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ce-accordion-item {
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid #DCE4DF;
  transition: all 0.25s ease;
  overflow: hidden;
}

.ce-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: #111A18;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ce-accordion-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  transition: transform 0.25s ease;
}

.ce-accordion-content {
  display: none;
  padding: 0 24px 22px 24px;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px;
  line-height: 1.6;
}

/* Active Open Accordion State (Exact Figma Bright Teal Card) */
.ce-accordion-item.active {
  background: #00BFA5;
  border-color: #00BFA5;
  box-shadow: 0 10px 24px rgba(0, 191, 165, 0.25);
}

.ce-accordion-item.active .ce-accordion-header {
  color: #FFFFFF;
}

.ce-accordion-item.active .ce-accordion-icon {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.ce-accordion-item.active .ce-accordion-content {
  display: block;
  color: #FFFFFF;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE AUDIT)
   ========================================================================== */
@media (max-width: 1080px) {
  .ce-build-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ce-tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ce-cards-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .ce-process-arrow {
    display: none;
  }
  .ce-case-card {
    flex: 0 0 280px !important;
    width: 280px !important;
    max-width: 280px !important;
  }
}

@media (max-width: 860px) {
  .ce-split-section {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 70px;
  }
  .ce-split-content {
    max-width: 100%;
  }
  .ce-split-image {
    aspect-ratio: 16 / 10;
    border-radius: 24px;
  }
  .ce-journey-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 70px;
  }
  .ce-exec-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 70px;
  }
  .ce-exec-arrow {
    display: none;
  }
  .ce-faq-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ce-faq-image {
    min-height: 380px;
    max-height: 440px;
    border-radius: 24px;
  }
}

@media (max-width: 600px) {
  .ce-heading {
    font-size: 32px;
  }
  .ce-build-grid {
    grid-template-columns: 1fr;
  }
  .ce-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .ce-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ce-journey-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .ce-case-card {
    flex: 0 0 82vw !important;
    width: 82vw !important;
    max-width: 82vw !important;
  }
  .ce-exec-row {
    grid-template-columns: 1fr;
  }
  .ce-btn-group {
    flex-direction: column;
    align-items: stretch;
  }
}
