.ai-hover,
.wp-block-heading.ai-hover,
.ai-hover h1, .ai-hover h2, .ai-hover h3, .ai-hover h4 {
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.25s ease;
}
/* Desktop: hide hamburger, show full navigation */
@media (min-width: 1025px) {
  .menu-toggle,
  button.menu-toggle {
    display: none !important;
  }

  .main-navigation {
    display: block !important;
  }
}

/* Hover: color + glow + slight scale */
.wp-block-heading.ai-hover:hover,
.ai-hover:hover,
.ai-hover h1:hover, .ai-hover h2:hover, .ai-hover h3:hover, .ai-hover h4:hover,
.ai-hover a:hover, .ai-hover span:hover {
  color: #FFFFFF !important;
  text-shadow: 0 0 12px rgba(0,122,255,0.7);
  transform: scale(1.08);
}
/* ===========================
   EXCELLENCE AI SOLUTIONS — INTERACTIVE SECTION STYLING
   =========================== */




/* 🧱 2. Card lift + soft blue glow on hover */
.ai-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
}
.ai-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,122,255,0.25);
}

/* ✴️ 3. Gradient glow headings — color shift, scale + pulse */
@keyframes aiPulse {
  0%, 100% { text-shadow: 0 0 8px rgba(0,122,255,0.3); }
  50% { text-shadow: 0 0 16px rgba(0,122,255,0.7); }
}
.ai-hover,
.wp-block-heading.ai-hover,
.ai-hover h1, .ai-hover h2, .ai-hover h3, .ai-hover h4 {
  background: linear-gradient(90deg, #00AFFF, #007AFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: aiPulse 4s ease-in-out infinite;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.25s ease;
}
.wp-block-heading.ai-hover:hover,
.ai-hover:hover,
.ai-hover h1:hover, .ai-hover h2:hover, .ai-hover h3:hover, .ai-hover h4:hover {
  transform: scale(1.08);
  text-shadow: 0 0 16px rgba(0,122,255,0.9);
  background: linear-gradient(90deg, #007AFF, #00AFFF);
}

/* 🩵 Optional underline slide-in effect for hover */
.ai-hover::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: #00AFFF;
  transition: width .25s ease;
}
.ai-hover:hover::after { width: 100%; }
/* 🌟 Testimonial Section */
.ai-testimonials-section {
  background: linear-gradient(135deg, #000a1f 0%, #001f66 45%, #0033cc 100%);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  border-radius: 20px;
}

.ai-section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #00AFFF, #007AFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowTitle 4s ease-in-out infinite alternate;
}

@keyframes glowTitle {
  0%,100% { text-shadow: 0 0 6px rgba(0,122,255,0.4); }
  50% { text-shadow: 0 0 14px rgba(0,122,255,0.8); }
}

/* 🌟 Testimonials Grid */
.ai-testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 60px;
}

.ai-testimonial {
  flex: 1 1 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 25px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 15px rgba(0,122,255,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,122,255,0.35);
}

.ai-testimonial p {
  font-style: italic;
  color: #dfe7ff;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.ai-testimonial strong {
  color: #fff;
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}

.ai-stars {
  color: #00AFFF;
  letter-spacing: 2px;
  font-size: 1.2rem;
}

/* 📈 Results Table */
.ai-results-table {
  margin: 0 auto;
  max-width: 700px;
  background: rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 0 20px rgba(0,122,255,0.25);
}

.ai-results-table h3 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.6rem;
}

.ai-results-table table {
  width: 100%;
  border-collapse: collapse;
}

.ai-results-table th,
.ai-results-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #dfe7ff;
}

.ai-results-table th {
  color: #fff;
  font-weight: bold;
}

.ai-number {
  color: #00AFFF;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(0,122,255,0.5);
}
/* ----- Excellence AI Header Upgrade ----- */
header.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(15, 23, 42, 0.85); /* transparent navy */
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
  transition: all 0.3s ease;
}

header.site-header:hover {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
}

/* Menu items */
header .main-navigation a {
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 12px 18px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

header .main-navigation a:hover {
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}
/* Push content down so hero isn't cut behind fixed header */
body,
.wp-site-blocks {
    padding-top: 120px !important;   /* Adjust if header is taller */
}

/* CTA button on right */
header .menu-item.cta a {
  background: linear-gradient(90deg, #00d4ff 0%, #0078ff 100%);
  color: #fff;
  border-radius: 40px;
  padding: 10px 22px;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

header .menu-item.cta a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}
header, .wp-block-group, .wp-site-blocks > header {
  position: relative !important;
  top: auto !important;
  z-index: 10 !important;
}
/* =============================
   EXCELLENCE OS — INSANE VERSION
   ============================= */

.eos-process-insane {
  padding: 130px 20px;
  background: linear-gradient(180deg, #020617 0%, #000000 90%);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

/* Header */
.eos-insane-header {
  text-align: center;
  margin-bottom: 80px;
}

.eos-insane-header h2 {
  font-size: 2.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: #e0f2fe;
  text-shadow: 0 0 20px rgba(56,189,248,0.45);
}

.eos-insane-header p {
  font-size: 1.12rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* CONTAINER */
.eos-insane-container {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

/* ANIMATED TIMELINE BAR */
.eos-energy-line {
  width: 100%;
  height: 4px;
  background: rgba(56,189,248,0.25);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 4px;
  overflow: hidden;
}

/* PULSE ANIMATION */
.eos-energy-line::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 100%;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  animation: pulse-move 2.3s infinite linear;
  filter: blur(3px);
}

@keyframes pulse-move {
  0% { left: -120px; }
  100% { left: 100%; }
}

/* GRID */
.eos-insane-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 80px;
}

/* STEP CARD */
.eos-insane-step {
  width: 30%;
  background: rgba(15,23,42,0.75);
  padding: 40px 28px;
  border-radius: 20px;
  border: 1px solid rgba(56,189,248,0.15);
  box-shadow: 0 0 35px rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* GLOW NODES */
.eos-step-glow {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 25px rgba(56,189,248,0.9);
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}

/* Hover Effects */
.eos-insane-step:hover {
  transform: translateY(-12px);
  border-color: rgba(56,189,248,0.55);
  box-shadow: 0 0 50px rgba(56,189,248,0.35);
}

/* Typography */
.eos-insane-step h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: #e0f2fe;
}

.eos-insane-step p {
  font-size: 0.97rem;
  line-height: 1.6;
  color: #94a3b8;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .eos-insane-grid {
    flex-direction: column;
  }
  .eos-insane-step {
    width: 100%;
  }
}
/* Prevent new sections from overlapping Section 2 */
.ea-section {
  position: relative;
  z-index: 5;
}

.eos-process-insane {
  z-index: 4;
  position: relative;
}
/* Add breathing room to "What We Automate" section */
#what-we-automate, 
.what-we-automate-section, 
.ea-automate-section {
  padding-top: 140px !important;
  position: relative;
  z-index: 10;
}
.eos-process-insane .eos-energy-line {
  max-width: 100%;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.eos-process-insane {
  overflow: hidden;
}
/* FINAL HERO CLEANUP – NO BLACK SPACE */
@media (max-width: 768px) {

    /* Perfect minimal height */
    .wp-block-cover {
        min-height: 38vh !important;
        height: 38vh !important;
        padding: 0 !important;
    }

    /* Fit video without zoom + without empty space */
    .wp-block-cover__video-background,
    .wp-block-cover__image-background {
        object-fit: contain !important;
        object-position: center top !important;
        height: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Remove internal padding that creates black gaps */
    .wp-block-cover__inner-container {
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Push next section up snugly */
    .wp-block-cover + * {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
/* ---------- MOBILE-ONLY ACCORDION ---------- */
@media (max-width: 768px) {

  

  /* Accordion container */
  .ex-mobile-accordion {
      padding: 20px;
      margin-top: 10px;
  }

  /* Individual dropdowns */
  .ex-mobile-accordion details {
      background: #0d141c;
      border: 1px solid #1f2b3a;
      border-radius: 10px;
      padding: 14px 16px;
      margin-bottom: 12px;
      color: white;
      font-family: inherit;
      transition: all 0.2s ease;
  }

  .ex-mobile-accordion details[open] {
      background: #12202f;
  }

  .ex-mobile-accordion summary {
      cursor: pointer;
      font-size: 18px;
      font-weight: 600;
      list-style: none;
  }

  /* Remove triangle marker */
  .ex-mobile-accordion summary::-webkit-details-marker {
      display: none;
  }

  /* Content inside dropdowns */
  .ex-mobile-accordion p,
  .ex-mobile-accordion li {
      font-size: 16px;
      line-height: 1.45;
      padding-top: 10px;
      color: #cbd3e1;
  }

  /* Make lists clean */
  .ex-mobile-accordion ul {
      padding-left: 18px;
      margin: 0;
  }
}
/* HIDE MOBILE ACCORDION ON DESKTOP */
@media (min-width: 769px) {
   .ex-mobile-accordion {
      display: none !important;
   }
}
/* ============================================================
   EXCELLENCE MOBILE PREMIUM UI
   Dark gradient + glowing dropdowns + smooth animations
   ============================================================ */
@media (max-width: 768px) {

  /* Mobile background wrapper */
  .ex-mobile-accordion {
      padding: 22px;
      background: linear-gradient(180deg, #0d1117 0%, #0b0f15 100%);
      border-radius: 0;
      margin-top: 0;
  }

  /* Dropdown container (each details block) */
  .ex-mobile-accordion details {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(88, 194, 255, 0.2);
      border-radius: 14px;
      padding: 16px 18px;
      margin-bottom: 14px;
      color: white;
      font-family: inherit;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      transition: all 0.25s ease;
      box-shadow: 0px 0px 12px rgba(88, 194, 255, 0.08);
  }

  /* Glow when opened */
  .ex-mobile-accordion details[open] {
      background: rgba(88, 194, 255, 0.08);
      border-color: rgba(88, 194, 255, 0.35);
      box-shadow: 0px 0px 18px rgba(88, 194, 255, 0.18);
      transform: scale(1.01);
  }

  /* Summary (the "button") styles */
  .ex-mobile-accordion summary {
      cursor: pointer;
      font-size: 18px;
      font-weight: 600;
      list-style: none;
      color: #e7f2ff;
      display: flex;
      align-items: center;
      justify-content: space-between;
  }

  /* Remove default arrow */
  .ex-mobile-accordion summary::-webkit-details-marker {
      display: none;
  }

  /* Animated arrow icon */
  .ex-mobile-accordion summary::after {
      content: "▸";
      font-size: 18px;
      color: #58c2ff;
      transition: transform 0.25s ease;
  }

  .ex-mobile-accordion details[open] summary::after {
      transform: rotate(90deg);
  }

  /* Dropdown content */
  .ex-mobile-accordion p,
  .ex-mobile-accordion li {
      font-size: 15px;
      line-height: 1.45;
      margin-top: 12px;
      color: #c8d5e5;
  }

  /* Clean list formatting */
  .ex-mobile-accordion ul {
      padding-left: 18px;
      margin: 0;
  }

  /* HIDE THIS ENTIRE SECTION ON DESKTOP */
}
@media (min-width: 769px) {
   .ex-mobile-accordion {
      display: none !important;
   }
}
@media (max-width: 768px) {
   .hide-on-mobile {
      display: none !important;
   }
}
/* ==========================================
   UNIVERSAL MOBILE FIX — EXCELLENCE OS
   Makes every section scale correctly
   ========================================== */
@media (max-width: 768px) {

    /* Force all columns to stack + fit */
    .wp-block-columns,
    .wp-block-column,
    .ea-container,
    .ea-section,
    .wp-block-group {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Fix the cards that are too tall + skinny */
    .ea-card,
    .ea-process-step,
    .ea-feature-card,
    .ea-results-card,
    .ea-system-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        height: auto !important;
        padding: 20px !important;
    }

    /* Fix text boxes overflowing */
    .wp-block-group p,
    .wp-block-group h1,
    .wp-block-group h2,
    .wp-block-group h3,
    .wp-block-group h4 {
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: left !important;
    }

    /* Fix those SUPER tall vertical text bubbles */
    .ea-vertical-text,
    .ea-tall-text {
        writing-mode: horizontal-tb !important;
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        display: block !important;
        text-align: left !important;
        padding: 16px !important;
    }

    /* Fix spacing between sections */
    section,
    .wp-block-group,
    .ea-section {
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }

    /* Ensure images scale properly */
    img {
        width: 100% !important;
        height: auto !important;
    }

    /* Video backgrounds: contain instead of zoom */
    .wp-block-cover__video-background,
    .wp-block-cover__image-background {
        object-fit: cover !important;
    }
}
/* ==== FIX ICON GRID FOR MOBILE ===== */
@media (max-width: 768px) {

  /* Force the 4-column grid into a vertical list */
  .grid-4 {
      display: flex !important;
      flex-direction: column !important;
      gap: 22px !important;
      width: 100% !important;
  }

  /* Make each bubble/card full width */
  .icon-card {
      width: 100% !important;
      max-width: 100% !important;
      padding: 22px !important;
      border-radius: 14px !important;
      text-align: left !important;
  }

  /* Fix text wrapping */
  .icon-card h4,
  .icon-card p {
      white-space: normal !important;
      word-wrap: break-word !important;
      text-align: left !important;
      margin: 0 !important;
  }
}
/* ==== FIX SPLIT BOXES FOR MOBILE ===== */
@media (max-width: 768px) {

  .split {
      display: flex !important;
      flex-direction: column !important;
      width: 100% !important;
      gap: 22px !important;
  }

  .split-box {
      width: 100% !important;
      max-width: 100% !important;
      padding: 24px !important;
      border-radius: 16px !important;
      text-align: left !important;
  }

  .split-box h3,
  .split-box p {
      white-space: normal !important;
      word-wrap: break-word !important;
      margin: 0 !important;
  }
}
/* ==== FIX SPLIT BOXES FOR MOBILE ===== */
@media (max-width: 768px) {

  .split {
      display: flex !important;
      flex-direction: column !important;
      width: 100% !important;
      gap: 22px !important;
  }

  .split-box {
      width: 100% !important;
      max-width: 100% !important;
      padding: 24px !important;
      border-radius: 16px !important;
      text-align: left !important;
  }

  .split-box h3,
  .split-box p {
      white-space: normal !important;
      word-wrap: break-word !important;
      margin: 0 !important;
  }
}
/* ==== FIX SPLIT BOXES FOR MOBILE ===== */
@media (max-width: 768px) {

  .split {
      display: flex !important;
      flex-direction: column !important;
      width: 100% !important;
      gap: 22px !important;
  }

  .split-box {
      width: 100% !important;
      max-width: 100% !important;
      padding: 24px !important;
      border-radius: 16px !important;
      text-align: left !important;
  }

  .split-box h3,
  .split-box p {
      white-space: normal !important;
      word-wrap: break-word !important;
      margin: 0 !important;
  }
}
/* =======================
    RESULTS PAGE MOBILE FIX
   ======================= */
@media (max-width: 768px) {

  /* HERO */
  .results-hero {
    padding: 120px 20px !important;
    text-align: center !important;
  }
  .results-hero h1 {
    font-size: 38px !important;
    line-height: 1.2 !important;
  }
  .results-hero p {
    font-size: 16px !important;
    max-width: 100% !important;
  }

  /* DASHBOARD GRID → STACK */
  .dashboard {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .metric-box {
    padding: 22px !important;
    width: 100% !important;
  }
  .metric-num {
    font-size: 34px !important;
  }
  .metric-label {
    font-size: 16px !important;
  }

  /* CASE STUDY GRID → STACK */
  .case-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  .case-card {
    width: 100% !important;
    padding: 22px !important;
  }
  .case-title {
    font-size: 20px !important;
  }
  .case-stats {
    font-size: 16px !important;
  }

  /* BEFORE/AFTER GRAPH */
  .graph-box {
    padding: 26px !important;
  }
  .graph-title {
    font-size: 24px !important;
  }
  .graph-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  .graph-panel {
    padding: 20px !important;
  }
  .graph-panel h3 {
    font-size: 18px !important;
  }
  .graph-panel li {
    font-size: 15px !important;
  }

  /* REVIEWS GRID → STACK */
  .review-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .review-card {
    padding: 22px !important;
  }
  .review-text {
    font-size: 16px !important;
  }

  /* FINAL CTA */
  .final-cta {
    padding: 100px 20px !important;
  }
  .final-cta h2 {
    font-size: 32px !important;
  }
  .final-cta p {
    font-size: 16px !important;
  }
}
/* ================================
   RESULTS PAGE FINAL MOBILE FIXES
   ================================ */
@media (max-width: 768px) {

  /* --- HERO PARAGRAPH BOX --- */
  .results-hero p {
      padding: 16px !important;
      border: 2px solid #6fb4ff !important;
      border-radius: 12px !important;
      font-size: 15px !important;
      line-height: 1.45 !important;
      margin-top: 20px !important;
      margin-bottom: 28px !important;
  }

  /* --- METRIC CARDS (3–5x, 100%, etc.) --- */
  .metric-box {
      padding: 18px 16px !important;
      border-radius: 12px !important;
  }
  .metric-num {
      font-size: 28px !important;
  }
  .metric-label {
      font-size: 14px !important;
  }

  /* --- CASE STUDY CARDS --- */
  .case-card {
      padding: 18px !important;
      border-radius: 12px !important;
  }
  .case-title {
      font-size: 18px !important;
      margin-bottom: 8px !important;
  }
  .case-stats {
      font-size: 15px !important;
      line-height: 1.45 !important;
  }

}
/* ============================
   RESULTS PAGE CENTER FIX
   ============================ */

@media (max-width: 768px) {

/* ============================
   RESULTS PAGE CENTER FIX
   ============================ */

@media (max-width: 768px) {

/* ============================
   PRICING PAGE — COMPARISON TABLE MOBILE FIX
   ============================ */
@media (max-width: 768px) {

  /* Stack all columns */
  .compare-grid {
      display: flex !important;
      flex-direction: column !important;
      width: 100% !important;
      max-width: 100% !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      border-radius: 16px !important;
      overflow: hidden !important;
  }

  /* Make each row box full width */
  .compare-row {
      display: block !important;
      width: 100% !important;
  }

  /* Left column label */
  .compare-label {
      width: 100% !important;
      text-align: left !important;
      padding: 18px 20px !important;
      font-size: 16px !important;
      border-top: 1px solid rgba(80,120,200,0.4) !important;
  }

  /* Each cell becomes its own bubble under the label */
  .compare-cell {
      width: 100% !important;
      display: block !important;
      text-align: left !important;
      padding: 14px 20px !important;
      border-top: 1px solid rgba(80,120,200,0.2) !important;
      font-size: 15px !important;
  }

  /* Center headings better */
  .compare-header {
      text-align: center !important;
      font-size: 15px !important;
      padding: 18px 10px !important;
  }

  /* Checkmarks and dashes nicer on mobile */
  .compare-check {
      font-size: 18px !important;
      color: #4ade80 !important;
  }
  .compare-dash {
      font-size: 18px !important;
      color: #94a3b8 !important;
  }

}
/* ===============================
   PRICING PAGE — MOBILE TABLE FIX
   =============================== */

@media (max-width: 768px) {

  /* Stack the whole table vertically */
  .compare-grid {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      border-radius: 14px !important;
      overflow: hidden !important;
      border: 1px solid rgba(51,65,85,0.9) !important;
  }

  /* Hide the blank top-left header */
  .compare-header:first-child {
      display: none !important;
  }

  /* Make each header appear as its own block */
  .compare-header {
      display: block !important;
      width: 100% !important;
      text-align: center !important;
      padding: 14px 0 !important;
      border-bottom: 1px solid rgba(51,65,85,0.5) !important;
      background: rgba(15,23,42,0.92) !important;
  }

  /* Each feature row becomes its own block container */
  .compare-row {
      display: block !important;
      width: 100% !important;
      padding: 0 !important;
      border-bottom: 1px solid rgba(30,64,175,0.35) !important;
  }

  /* Feature label stays at the top of each row */
  .compare-label {
      width: 100% !important;
      display: block !important;
      padding: 14px 18px !important;
      background: rgba(15,23,42,0.95) !important;
      color: #e5e7eb !important;
      border-bottom: 1px solid rgba(30,64,175,0.35) !important;
      font-size: 15px !important;
      text-align: left !important;
  }

  /* Each plan value (the ✓ / text) becomes full width */
  .compare-cell {
      width: 100% !important;
      display: block !important;
      padding: 12px 18px !important;
      font-size: 15px !important;
      text-align: left !important;
      border-bottom: 1px solid rgba(51,65,85,0.25) !important;
  }

  /* Fix checkmark alignment */
  .compare-check,
  .compare-dash {
      font-size: 16px !important;
  }

  /* Remove double borders on last cell of each row */
  .compare-row .compare-cell:last-child {
      border-bottom: none !important;
  }
}
/* ============================================================
   FINAL — WORKING MOBILE FIX FOR PRICING COMPARISON TABLE
   OVERRIDES ALL OTHER MOBILE RULES
   ============================================================ */
@media (max-width: 768px) {

  /* RESET everything this table had before */
  .compare-grid,
  .compare-row,
  .compare-label,
  .compare-cell,
  .compare-header {
      all: unset;
      display: revert !important;
  }

  /* ---- GRID BECOMES A VERTICAL STACK ---- */
  .compare-grid {
      display: flex !important;
      flex-direction: column !important;
      width: 100% !important;
      max-width: 100% !important;
      border: 1px solid rgba(51,65,85,0.9) !important;
      border-radius: 16px !important;
      overflow: hidden !important;
      background: rgba(15,23,42,0.9) !important;
  }

  /* ---- HEADER CELLS ---- */
  .compare-header:first-child {
      display: none !important; /* remove the blank one */
  }

  .compare-header {
      width: 100% !important;
      text-align: center !important;
      padding: 14px 0 !important;
      font-size: 15px !important;
      color: #93c5fd !important;
      background: rgba(15,23,42,0.95) !important;
      border-bottom: 1px solid rgba(51,65,85,0.5) !important;
      text-transform: uppercase;
      letter-spacing: .12em;
  }

  /* ---- EACH FEATURE ROW ---- */
  .compare-row {
      display: block !important;
      width: 100% !important;
      border-bottom: 1px solid rgba(30,64,175,0.35) !important;
      background: rgba(15,23,42,0.92) !important;
  }

  /* ---- LABEL (FEATURE NAME) ---- */
  .compare-label {
      display: block !important;
      width: 100% !important;
      padding: 16px 20px !important;
      color: #e5e7eb !important;
      font-size: 16px !important;
      font-weight: 500 !important;
      border-bottom: 1px solid rgba(30,64,175,0.35) !important;
      background: rgba(15,23,42,0.95) !important;
  }

  /* ---- EACH PLAN VALUE ---- */
  .compare-cell {
      display: block !important;
      width: 100% !important;
      padding: 14px 20px !important;
      text-align: left !important;
      font-size: 15px !important;
      color: #cbd5e1 !important;
      border-bottom: 1px solid rgba(51,65,85,0.25) !important;
  }

  /* remove last border */
  .compare-row .compare-cell:last-child {
      border-bottom: none !important;
  }

  /* ---- ICONS ---- */
  .compare-check {
      color: #4ade80 !important;
      font-size: 18px !important;
  }
  .compare-dash {
      color: #94a3b8 !important;
      font-size: 18px !important;
  }
}
@media (max-width: 768px) {

/* ============================
   CONTACT PAGE — WHY CHOOSE US MOBILE FIX
   ============================ */
@media (max-width: 768px) {

  /* Stack the 3 boxes vertically */
  .why-container {
      display: flex !important;
      flex-direction: column !important;
      gap: 22px !important;
      max-width: 100% !important;
      width: 100% !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
  }

  /* Make each bubble full width, thicker, cleaner */
  .why-box {
      width: 100% !important;
      max-width: 100% !important;
      padding: 22px !important;
      border-radius: 14px !important;
      text-align: left !important;
  }

  .why-box h3 {
      font-size: 20px !important;
      margin-bottom: 8px !important;
  }

  .why-box p {
      font-size: 15px !important;
      line-height: 1.45 !important;
  }
}

/* ============================================================
   VOICE PAGE — MOBILE FIXES ONLY (DO NOT AFFECT DESKTOP)
   ============================================================ */
@media (max-width: 768px) {

  /* ====== SPLIT HERO ====== */
  .hero-wrap {
      display: flex !important;
      flex-direction: column !important;
      padding-top: 60px !important;
      padding-bottom: 80px !important;
      gap: 32px !important;
  }

  .hero-title {
      font-size: 38px !important;
      line-height: 1.15 !important;
      text-align: left !important;
  }

  .hero-left p {
      font-size: 18px !important;
      line-height: 1.45 !important;
      max-width: 100% !important;
  }

  .hero-visual {
      width: 100% !important;
      height: 180px !important;
      padding: 18px !important;
  }

  .wave {
      height: 90px !important;
  }



  /* ====== FEATURES (Make perfect readable stack) ====== */
  .features {
      margin: 30px auto !important;
      padding: 0 10px !important;
  }

  .feature {
      padding: 20px !important;
      margin-bottom: 18px !important;
      border-radius: 10px !important;
      transform: none !important;
  }

  .feature:hover {
      transform: none !important;
      box-shadow: none !important;
  }

  .feature h3 {
      font-size: 20px !important;
      margin-bottom: 6px !important;
  }

  .feature p {
      font-size: 16px !important;
      line-height: 1.45 !important;
  }



  /* ====== CALL FLOW MAP ====== */
  .flow-grid {
      display: flex !important;
      flex-direction: column !important;
      gap: 22px !important;
      width: 100% !important;
  }

  .flow-box {
      padding: 24px !important;
      border-radius: 12px !important;
      width: 100% !important;
  }

  .flow-box:hover {
      transform: none !important;
      box-shadow: none !important;
  }

  .flow-box h3 {
      font-size: 22px !important;
      margin-bottom: 12px !important;
  }

  .flow-step {
      font-size: 16px !important;
      padding: 10px 12px !important;
      margin-bottom: 8px !important;
  }



  /* ====== STATS SECTION ====== */
  .stats-wrap {
      display: flex !important;
      flex-direction: column !important;
      gap: 22px !important;
      margin: 40px auto !important;
      width: 100% !important;
      max-width: 100% !important;
  }

  .stat {
      width: 100% !important;
      padding: 26px !important;
      border-radius: 12px !important;
  }

  .stat-number {
      font-size: 42px !important;
  }

  .stat-label {
      font-size: 16px !important;
      margin-top: 6px !important;
  }
}
/* ============================================
   UNIVERSAL MOBILE ALIGNMENT FIX
   Forces all sections to center properly
   ============================================ */
@media (max-width: 768px) {

  /* Reset left/right padding added by theme */
  body,
  .wp-site-blocks,
  .wp-block-group,
  .wp-block-column,
  .wp-block-columns,
  section,
  div,
  .ea-section,
  .ea-container {
      padding-left: 0 !important;
      padding-right: 0 !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
  }

  /* Force ALL blocks to be centered */
  * {
      box-sizing: border-box !important;
  }

  /* Prevent accidental 90% width containers */
  .wp-block-group,
  .wp-block-column,
  .wp-block-columns {
      width: 100% !important;
      max-width: 100% !important;
  }
}
/* ============================================================
   EXCELLENCE AI SOLUTIONS — FIXED HEADER + DESKTOP NAV RESTORE
   ============================================================ */

/* ----- PREMIUM HEADER STYLE ----- */
header.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.85); /* transparent navy */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
  transition: all 0.3s ease;
}

header.site-header:hover {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
}

/* NAVIGATION LINKS */
header .main-navigation a {
  color: #ffffff !important;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 12px 18px !important;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

header .main-navigation a:hover {
  color: #00d4ff !important;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

/* PUSH PAGE CONTENT DOWN SO HERO IS NOT COVERED */
body,
.wp-site-blocks {
  padding-top: 120px !important; /* adjust if header grows */
}

/* CTA BUTTON */
header .menu-item.cta a {
  background: linear-gradient(90deg, #00d4ff 0%, #0078ff 100%);
  color: #fff !important;
  border-radius: 40px;
  padding: 10px 22px !important;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

header .menu-item.cta a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

/* --- GLOBAL DROPDOWN FIX — EXCELLENCE AI --- */

/* Make sure the header and nav are allowed to overflow */
header,
.site-header,
.wp-block-group,
.wp-block-navigation,
.wp-block-navigation__container {
    overflow: visible !important;
    z-index: 9999 !important;
}

/* Make sure submenus appear ABOVE everything */
.wp-block-navigation__submenu-container {
    position: absolute !important;
    z-index: 99999 !important;
    overflow: visible !important;
}
/* --- FIX: Prevent hero/cover blocks from clipping the dropdown --- */

.wp-block-cover,
.wp-block-cover-image,
.wp-block-cover__video-background,
.wp-block-cover__image-background,
.wp-block-group {
    overflow: visible !important;
    position: relative !important;
    z-index: auto !important;
}

/* Dropdown always on top */
.wp-block-navigation__submenu-container {
    z-index: 999999 !important;
    position: absolute !important;
    overflow: visible !important;
}

/* Entire header always on top */
header,
.site-header,
.wp-block-navigation {
    z-index: 1000000 !important;
    overflow: visible !important;
    position: relative !important;
}
/* FIX DROPDOWN CUTTING OFF:
   Remove clipping from the first section under the header */
.wp-block-group,
.wp-block-cover,
.wp-block-cover-image,
.wp-block-cover__inner-container {
    overflow: visible !important;
    z-index: auto !important;
    position: relative !important;
}

/* Force nav dropdown to appear above EVERYTHING */
.wp-block-navigation__submenu-container {
    position: absolute !important;
    z-index: 999999 !important;
    overflow: visible !important;
}

/* Make the whole header the highest element */
header,
.site-header,
.wp-block-navigation {
    z-index: 1000000 !important;
    position: relative !important;
    overflow: visible !important;
}












