.elementor-kit-5{--e-global-color-primary:#004FFF;--e-global-color-secondary:#000000;--e-global-color-text:#FFFFFF;--e-global-color-accent:#FFFFFF99;--e-global-color-6e448e0:#262626;--e-global-color-1c2b7eb:#1A1A1A73;--e-global-color-694a2c0:#FFFFFF0D;--e-global-color-2c7fa0b:#FFFFFF24;background-color:var( --e-global-color-secondary );color:var( --e-global-color-accent );--e-preloader-animation:pulse;--e-preloader-animation-duration:1500ms;--e-preloader-delay:0ms;--e-preloader-width:20%;--e-preloader-max-width:28%;}.elementor-kit-5 e-page-transition{background-color:var( --e-global-color-secondary );}.elementor-kit-5 h1{color:var( --e-global-color-text );}.elementor-kit-5 h2{color:#FFFFFF;}.elementor-kit-5 h3{color:var( --e-global-color-text );}.elementor-kit-5 h4{color:var( --e-global-color-text );}.elementor-kit-5 h5{color:var( --e-global-color-text );}.elementor-kit-5 h6{color:var( --e-global-color-text );}.elementor-kit-5 button,.elementor-kit-5 input[type="button"],.elementor-kit-5 input[type="submit"],.elementor-kit-5 .elementor-button{border-style:none;}.elementor-kit-5 img{border-style:none;border-radius:30px 30px 30px 30px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:100%;}.e-con{--container-max-width:100%;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.elementor-lightbox{background-color:var( --e-global-color-secondary );--lightbox-text-color:var( --e-global-color-accent );}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */:root {
  --cta-bg: #fff;
  --cta-text: #0b57ff;
  --cta-icon-bg: #004fff;
  --cta-icon-color: #ffffff;
  --bg-main: #000000;
  --bg-panel: rgba(26, 26, 26, 0.45);
  --bg-panel-level-3: rgba(26, 26, 26, 0.95);
  --bg-hover: rgba(255, 255, 255, 0.05);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --border-soft: rgba(255, 255, 255, 0.14);
  --radius-lg: 30px;
  --radius-md: 16px;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  /* --font-heading: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif; */
  /* --font-heading: 'Aldrich', 'Helvetica Neue', Arial, sans-serif; */
   --font-heading: 'Rethink Sans', system-ui, -apple-system, sans-serif; 
  /* --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; */
  /*--font-heading: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;*/
  /* --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; */
  --font-body: 'Rethink Sans', system-ui, -apple-system, sans-serif;
  /* --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif; */
  --font-mono: 'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', monospace;
  --font-code: 'IBM Plex Mono', Consolas, 'Courier New', monospace;
}

/* ========== BASE SETUP ========== */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

/* ========== GLOBAL RESETS ========== */
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */

/* ========== FONT FAMILY SETUP ========== */

h1,
h2,
h3
{
  font-family: var(--font-heading)!important;
  /* letter-spacing: -2px */
}

h4,
h5,
h6
{
  font-family: var(--font-body)!important;
  /* letter-spacing: .01em; */
}

body,
p,
span,
div,
li,
a,
button,
input,
textarea,
select {
  font-family: var(--font-body)!important;
}

.elementor-kit-5 h2 {
    color: #FFFFFF;
    font-family: var(--font-heading)!important;;
     /* letter-spacing: -2px */
}

/* ========== BODY STYLES ========== */
body {
  background-color: var(--bg-main);
  color: var(--text-muted);
  line-height: 1.2;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Body text color specifications */
body {
  color: var(--text-muted);
}

/* Headings Color - Main */
/* h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-main);
  max-width: 65ch;
  margin-inline: auto;
  text-align: center;
} */

/* Slightly tighter for large hero titles */
/* h1 {
  max-width: 22ch;
} */

/* -------------------------------
   PARAGRAPHS (ALL)
-------------------------------- */

p {
  max-width: 65ch;
  margin-inline: auto;
  text-align: center;

  /* Remove legacy accent styles */
  border-left: none !important;
  padding-left: 0 !important;

  /* Responsive breathing room */
  /* padding-inline: clamp(1rem, 4vw, 3rem); */
}

/* Remove decorative pseudo-elements globally */
p::before,
p::after {
  content: none !important;
}

/* ========== BODY TEXT SIZES ========== */
/* Phone (≤767px) */
body {
  font-size: 1rem; /* 16px */
  line-height: 1.2;
}

/* Tablet (768px-1023px) */
@media (min-width: 768px) {
  body {
    font-size: 1.0625rem; /* 17px */
   line-height: 1.2;
  }
}

/* Mini Desktop (1024px-1199px) */
@media (min-width: 1024px) {
  body {
    font-size: 1.125rem; /* 18px */
  line-height: 1.2;
  }
}

/* Monitor (1200px-1599px) */
@media (min-width: 1200px) {
  body {
    font-size: 1.1875rem; /* 19px */
    line-height: 1.2;
  }
}

/* Super Large (≥1600px) */
@media (min-width: 1600px) {
  body {
    font-size: 1.25rem; /* 20px */
    line-height: 1.2;
  }
}

/* ========== HEADINGS ========== */
/* Phone (≤767px) */
h1,
.elementor-widget-heading h1.elementor-heading-title {
  font-size: 2.5rem; /* 32px */
  line-height: 1.2;
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading)!important;;
}

h2,
.elementor-widget-heading h2.elementor-heading-title {
  font-size: 2rem; /* 28px */
  line-height: 1.25;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading)!important;;
}

h3,
.elementor-widget-heading h3.elementor-heading-title {
  font-size: 1.5rem; /* 24px */
  line-height: 1.3;
  text-align: center!important;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: var(--font-heading)!important;;
}

h4,
.elementor-widget-heading h4.elementor-heading-title {
  font-size: 1.25rem; /* 20px */
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-family: var(--font-body)!important;
}

h5,
.elementor-widget-heading h5.elementor-heading-title {
  font-size: 1.125rem; /* 18px */
  line-height: 1.2;
  margin-bottom: 0.375rem;
  font-weight: 500;
  font-family: var(--font-body)!important;
}

h6,
.elementor-widget-heading h6.elementor-heading-title {
  font-size: 1rem; /* 16px */
  line-height: 1.5;
  margin-bottom: 0.375rem;
  font-weight: 500;
  font-family: var(--font-body)!important;
}

/* Tablet (768px-1023px) */
@media (min-width: 768px) {
  h1,
  .elementor-widget-heading h1.elementor-heading-title {
    font-size: 2.25rem; /* 36px */
    line-height: 1.2;
    margin-bottom: 0.875rem;
    font-family: var(--font-heading)!important;;
  }

  h2,
  .elementor-widget-heading h2.elementor-heading-title {
    font-size: 1.875rem; /* 30px */
   line-height: 1.2;
    margin-bottom: 0.875rem;
    font-family: var(--font-heading)!important;;
  }

  h3,
  .elementor-widget-heading h3.elementor-heading-title {
    font-size: 1.625rem; /* 26px */
    line-height: 1.2;
    margin-bottom: 0.625rem;
    font-family: var(--font-heading)!important;;
  }

  h4,
  .elementor-widget-heading h4.elementor-heading-title {
    font-size: 1.25rem; /* 20px */
    line-height: 1.2;
    margin-bottom: 0.625rem;
    font-family: var(--font-body)!important;
  }

  h5,
  .elementor-widget-heading h5.elementor-heading-title {
    font-size: 1.25rem; /* 20px */
    line-height: 1.2;
    margin-bottom: 0.5rem;
    font-family: var(--font-body)!important;
  }

  h6,
  .elementor-widget-heading h6.elementor-heading-title {
    font-size: 1.125rem; /* 18px */
    line-height: 1.2;
    margin-bottom: 0.5rem;
    font-family: var(--font-body)!important;
  }
}

/* Mini Desktop (1024px-1199px) */
@media (min-width: 1024px) {
  h1,
  .elementor-widget-heading h1.elementor-heading-title {
    font-size: 2.5rem; /* 40px */
    line-height: 1.2;
    margin-bottom: 0.875rem;
  }

  h2,
  .elementor-widget-heading h2.elementor-heading-title {
    font-size: 2.25rem; /* 32px */
    line-height: 1.2;
    margin-bottom: 0.875rem;
  }

  h3,
  .elementor-widget-heading h3.elementor-heading-title {
    font-size: 1.3rem; /* 28px */
    line-height: 1.2;
    margin-bottom: 0.75rem !important;
    font-family: var(--font-heading)!important;;
  }

  h4,
  .elementor-widget-heading h4.elementor-heading-title {
   font-size: 1.25rem; /* 20px */
    line-height: 1.2;
    margin-bottom: 0.75rem;
    font-family: var(--font-body)!important;
  }

  h5,
  .elementor-widget-heading h5.elementor-heading-title {
    font-size: 1.375rem; /* 22px */
    line-height: 1.2;
    margin-bottom: 0.625rem;
    font-family: var(--font-body)!important;
  }

  h6,
  .elementor-widget-heading h6.elementor-heading-title {
    font-size: 1.25rem; /* 20px */
    line-height: 1.2;
    margin-bottom: 0.625rem;
    font-family: var(--font-body)!important;
  }
}

/* Monitor (1200px-1599px) */
@media (min-width: 1200px) {
  h1,
  .elementor-widget-heading h1.elementor-heading-title {
    font-size: 3.5rem; /* 48px */
    line-height: 1.2;
    margin-bottom: 1rem;
    /* letter-spacing: -2px */
  }
.app-hero .app-hero-titles h1 {
    text-align: left;
    /* letter-spacing: -2px */
}
  h2,
  .elementor-widget-heading h2.elementor-heading-title {
    font-size: 2.5rem; /* 36px */
    line-height: 1.2;
    margin-bottom: 1rem;
   /* letter-spacing: -2px */
  }

  h3,
  .elementor-widget-heading h3.elementor-heading-title {
    font-size: 1.375rem; /* 30px */
    line-height: 1.2;
    margin-bottom: 0.75rem !important;
  }
  .elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
}
  h4,
  .elementor-widget-heading h4.elementor-heading-title {
   font-size: 1.25rem; /* 20px */
   line-height: 1.2;
    margin-bottom: 0.75rem;
    font-family: var(--font-body)!important;
  }

  h5,
  .elementor-widget-heading h5.elementor-heading-title {
    font-size: 1.5rem; /* 24px */
    line-height: 1.2;
    margin-bottom: 0.625rem;
    font-family: var(--font-body)!important;
  }

  h6,
  .elementor-widget-heading h6.elementor-heading-title {
    font-size: 1.375rem; /* 22px */
    line-height: 1.2;
    margin-bottom: 0.625rem;
    font-family: var(--font-body)!important;
  }
}

/* Super Large (≥1600px) */
@media (min-width: 1600px) {
  h1,
  .elementor-widget-heading h1.elementor-heading-title {
    font-size: 4rem; /* 56px */
    line-height: 1.2;
    margin-bottom: 1.125rem;
  }
.app-hero .app-hero-titles h1 {
    text-align: left;
    letter-spacing: -2px;
}
  h2,
  .elementor-widget-heading h2.elementor-heading-title {
    font-size: 3rem; /* 40px */
    line-height: 1.2;
    margin-bottom: 1.125rem;
     /* letter-spacing: -2px */
  }

  h3,
  .elementor-widget-heading h3.elementor-heading-title {
    font-size: 2.5rem; /* 32px */
    line-height: 1.2;
    margin-bottom: 0.875rem;
    font-family: var(--font-heading)!important;;
  }
  .elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
}
  h4,
  .elementor-widget-heading h4.elementor-heading-title {
    font-size: 1.25rem; /* 20px */
    line-height: 1.2;
    margin-bottom: 0.875rem;
    font-family: var(--font-body)!important;
  }

  h5,
  .elementor-widget-heading h5.elementor-heading-title {
    font-size: 1.25rem; /* 20px */
    line-height: 1.2;
    margin-bottom: 0.75rem;
    font-family: var(--font-body)!important;
  }

  h6,
  .elementor-widget-heading h6.elementor-heading-title {
    font-size: 1.5rem; /* 24px */
    line-height: 1.2;
    margin-bottom: 0.75rem;
    font-family: var(--font-body)!important;
  }
}

/* ========== PORTFOLIO CONTAINER ========== */
body.portfolio-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.portfolio-container {
  display: flex;
  flex: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  gap: 60px;
  position: relative;
  height: 100vh;
}

/* ========== LEFT SIDEBAR ========== */
.sidebar {
  position: sticky;
  top: 40px;
  height: fit-content;
  width: 300px;
  flex-shrink: 0;
  background: var(--bg-panel);
  backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 25px 15px;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-item {
  margin-bottom: 6px;
}

.sidebar-link {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-weight: 400;
  font-size: 1.125rem;
  transition: all 0.3s var(--spring);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.sidebar-link:hover {
  color: var(--text-main);
  background: var(--bg-hover);
}

.sidebar-link:hover::before,
.sidebar-link.active::before {
  transform: translateX(0);
}

.sidebar-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--text-main);
  transform: translateX(-100%);
  transition: transform 0.3s var(--spring);
}

.sidebar-link.active {
  color: var(--text-main) !important;
  background: var(--bg-hover);
}

/* ========== CONTENT AREA ========== */
.content-area {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.content-controls {
  margin-top: auto;
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-end;
  z-index: 10;
}

.control-btn {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  color: var(--text-main) !important;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s var(--spring);
  backdrop-filter: blur(28px);
}

.control-btn:hover {
  background: var(--bg-hover) !important;
  border-color: var(--text-main) !important;
}

.content-scroll-container {
  flex: 1;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 20px;
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 45%,
    rgba(0, 0, 0, 0.9) 65%,
    rgba(0, 0, 0, 0.6) 80%,
    rgba(0, 0, 0, 0.25) 90%,
    transparent 100%
  );

  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 45%,
    rgba(0, 0, 0, 0.9) 65%,
    rgba(0, 0, 0, 0.6) 80%,
    rgba(0, 0, 0, 0.25) 90%,
    transparent 100%
  );
}

.content-wrapper {
  position: relative;
  max-height: 100vh;
  overflow: hidden;
  transition: max-height 0.8s var(--spring);
  padding-bottom: 150px;
}

.content-wrapper.expanded {
  max-height: none;
  overflow: visible;
}

/* ========== SECTIONS ========== */
.section {
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s var(--spring) forwards;
  scroll-margin-top: 20px;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section:nth-child(1) {
  animation-delay: 0.1s;
}
.section:nth-child(2) {
  animation-delay: 0.2s;
}
.section:nth-child(3) {
  animation-delay: 0.3s;
}
.section:nth-child(4) {
  animation-delay: 0.4s;
}
.section:nth-child(5) {
  animation-delay: 0.5s;
}
.section:nth-child(6) {
  animation-delay: 0.6s;
}
.section:nth-child(7) {
  animation-delay: 0.7s;
}

.section h2 {
  /* font-size: 2.5rem; */
  margin-bottom: 24px;
  line-height: 1.2;
}

.section h3 {
  /* font-size: 1.75rem; */
  margin: 30px 0 15px;
}

.section p {
  margin-bottom: 20px;
  font-size: 1.125rem;
  line-height: 1.2;
}

.section p.highlight {
  /* font-size: 1.25rem; */
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.8);
  padding-left: 20px;
  border-left: 3px solid var(--text-main);
  margin: 30px 0;
}

.highlight-text {
  color: var(--text-main);
  font-weight: 400;
}

ul.feature-list {
  list-style: none;
  margin: 20px 0;
}

ul.feature-list li {
  padding: 8px 0 8px 30px;
  position: relative;
}

ul.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--text-main);
  font-weight: 400;
}

/* ========== CLOSE BUTTON ========== */
.close-btn {
  display: none;
  position: relative;
  background: var(--bg-panel-level-3);
  border: 1px solid var(--border-soft);
  color: var(--text-main) !important;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s var(--spring);
  backdrop-filter: blur(28px);
}

.close-btn:hover {
  background: var(--bg-hover) !important;
  border-color: var(--text-main) !important;
}

/* ========== RELATED PROJECTS ========== */
.related-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.project-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.3s var(--spring);
}

.project-card:hover {
  background: var(--bg-hover);
  /* border-color: var(--text-main); */
  transform: translateY(-2px);
}

.project-card h4 {
  /* font-size: 1.125rem; */
  margin-bottom: 8px;
}

.project-card p {
  /* font-size: 0.9375rem; */
  opacity: 0.8;
}

/* ========== LET'S TALK SECTION ========== */
.cta-section {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-top: 40px;
}

.cta-section h2 {
  /* font-size: 2rem; */
  margin-bottom: 20px;
}

.cta-section p {
  /* font-size: 1.125rem; */
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== BUTTONS ========== */
/* CTA Button */
#change-btn-color {
  color: var(--cta-text);
  font-weight: 400;
  font-family: var(--font-heading)!important;;
   /* letter-spacing: -2px */
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0px 0px 0px 40px;
  gap: 14px;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-text);
  border: none;
  cursor: pointer;
  font-size: 18px;

  overflow: hidden;
  transition: transform 1s var(--ease-luxury);
  will-change: transform;
}

.cta-btn:hover {
  transform: scale(0.95);
}

/* ===============================
   BRAND BLUE BACKGROUND + HOT BORDER
================================ */

.glow-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* BRAND-BLUE AMBIENT BACKGROUND GLOW */
.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    1000px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(0, 79, 255, 0.55),
    rgba(0, 79, 255, 0.3) 35%,
    rgba(0, 79, 255, 0.15) 55%,
    transparent 75%
  );

  opacity: 0;
  transition: opacity 0.25s var(--spring);
  pointer-events: none;
  z-index: 0;
}

/* SHARPER, HOTTER BORDER GLOW */
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;

  background: radial-gradient(
    240px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(0, 79, 255, 1),
    rgba(0, 79, 255, 0.85) 20%,
    rgba(0, 79, 255, 0.55) 35%,
    transparent 55%
  );

  /* Border-only mask */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  transition: opacity 0.25s var(--spring);
  pointer-events: none;
  z-index: 1;
}

/* ACTIVATE */
.glow-card:hover::before,
.glow-card:hover::after {
  opacity: 1;
}

/* Content above glow */
.glow-card > * {
  position: relative;
  z-index: 2;
}

/* Portfolio CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 0 0 0 40px;
  gap: 14px;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-text) !important;
  border: none;
  cursor: pointer;
  /* font-size: 18px; */
  font-weight: 400;
  overflow: hidden;
  transition: transform 0.3s var(--ease-luxury);
  text-decoration: none;
}

.cta-button:hover {
  transform: scale(0.95);
}

/* CTA Text Animation */
.cta-text-wrap {
  position: relative;
  height: 1.2em;
  overflow: hidden;
}

.cta-text {
  display: block;
  line-height: 1.2;
  will-change: transform, opacity;
  transition: transform 0.5s var(--ease-luxury),
    opacity 0.35s var(--ease-luxury);
}

.cta-text-default {
  transform: translateY(0);
  opacity: 1;
}

.cta-text-hover {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%);
  opacity: 0;
}

.cta-btn:hover .cta-text-default {
  transform: translateY(-100%);
  opacity: 0;
}

.cta-btn:hover .cta-text-hover {
  transform: translateY(0);
  opacity: 1;
}

/* Icon Wrapper */
.cta-icon-wrap {
  width: 50px;
  height: 50px;
  background: var(--cta-icon-bg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  will-change: transform;
  transition: transform 0.35s var(--ease-luxury);
}

.cta-button:hover .cta-icon-wrap,
.cta-btn:hover .cta-icon-wrap {
  transform: rotate(45deg);
}

/* SVG Arrow */
.cta-icon {
  width: 20px;
  height: 20px;
  fill: var(--cta-icon-color);
  color: var(--cta-icon-color);
  display: block;
  transform: rotate(-20deg);
  transform-origin: center;
  will-change: transform;
  transition: transform 0.35s var(--ease-luxury);
}

.cta-btn:hover .cta-icon {
  transform: rotate(0deg);
}

/* Elementor Button Overrides */
[type="button"],
[type="submit"],
button {
  background-color: transparent;
  border: 1px solid #ffffff !important;
  border-radius: 3px;
  color: #004fff !important;
  display: inline-block;
  /* font-size: 1rem; */
  font-weight: 400;
  padding: 0.5rem 1rem;
  text-align: center;
  transition: all 0.3s;
  user-select: none;
  white-space: nowrap;
}

[type="button"]:focus:not(:focus-visible),
[type="submit"]:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

[type="button"]:focus,
[type="button"]:hover,
[type="submit"]:focus,
[type="submit"]:hover,
button:focus,
button:hover {
  background-color: #fff;
  color: #fff;
  text-decoration: none;
}

[type="button"]:not(:disabled),
[type="submit"]:not(:disabled),
button:not(:disabled) {
  cursor: pointer;
}

/* ========== ELEMENTOR THEME OVERRIDES ========== */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-heading)!important;
  font-weight: 600;
  color: var(--text-main) !important;
  /* letter-spacing: .01em; */
}

/* Dark Contact Button with Border */
/* .cta-btn-contact {
  display: inline-flex;
  align-items: center;
  padding: 0px 0px 0px 40px;
  gap: 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-soft) !important;
  cursor: pointer;
  font-size: 18px;
  overflow: hidden;
  transition: all 0.5s var(--ease-luxury);
  will-change: transform, background, border-color, color;
  text-decoration: none;
} */

/* Hover State - Light Theme */
/* .cta-btn-contact:hover {
  background: var(--cta-bg);
  color: var(--cta-text);
  border-color: transparent;
  transform: scale(0.95);
}

.cta-btn-contact:hover .cta-icon-wrap {
  background: var(--cta-icon-bg);
  transform: rotate(45deg);
}

.cta-btn-contact:hover .cta-icon {
  fill: var(--cta-icon-color);
  transform: rotate(0deg);
} */

/* Icon Wrapper - Transparent in dark state */
/* .cta-btn-contact .cta-icon-wrap {
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 50%;
  display: grid;
  place-items: center;
  will-change: transform, background;
  transition: all 0.35s var(--ease-luxury);
} */

/* SVG Arrow - White in dark state */
/* .cta-btn-contact .cta-icon {
  width: 20px;
  height: 20px;
  fill: var(--text-main);
  color: var(--text-main);
  display: block;
  transform: rotate(-20deg);
  transform-origin: center;
  will-change: transform, fill;
  transition: all 0.35s var(--ease-luxury);
} */

/* Text styles */
/* .cta-btn-contact .cta-text-wrap {
  position: relative;
  height: 1.2em;
  overflow: hidden;
}

.cta-btn-contact .cta-text {
  display: block;
  line-height: 1.2;
  will-change: transform, opacity;
  transition: transform 0.5s var(--ease-luxury), opacity 0.35s var(--ease-luxury);
  font-family: var(--font-heading) !important;
  font-weight: 400;
}

.cta-btn-contact .cta-text-default {
  transform: translateY(0);
  opacity: 1;
  color: var(--text-main);
}

.cta-btn-contact .cta-text-hover {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%);
  opacity: 0;
  color: var(--text-main);
}

.cta-btn-contact:hover .cta-text-default {
  transform: translateY(-100%);
  opacity: 0;
}

.cta-btn-contact:hover .cta-text-hover {
  transform: translateY(0);
  opacity: 1;
  color: var(--cta-text);
} */
/* .elementor * {
  font-family: 'Rethink Sans', sans-serif !important;
} */

/* Dark themed button for mega menu panels */
.mega-webdev .cta-btn-contact {
  display: inline-flex;
  align-items: center;
  padding: 0px 0px 0px 40px;
  gap: 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-soft) !important;
  cursor: pointer;
  font-size: 18px;
  overflow: hidden;
  transition: all 0.5s var(--ease-luxury);
  will-change: transform, background, border-color, color;
  text-decoration: none;
  width: auto;
}

/* Default state - arrow circle has --bg-hover */
.mega-webdev .cta-btn-contact .cta-icon-wrap {
  width: 50px;
  height: 50px;
  background: var(--bg-hover);  /* Changed from transparent to --bg-hover */
  border-radius: 50%;
  display: grid;
  place-items: center;
  will-change: transform, background;
  transition: all 0.35s var(--ease-luxury);
}

/* Default state - arrow is white */
.mega-webdev .cta-btn-contact .cta-icon {
  width: 20px;
  height: 20px;
  fill: var(--text-main);  /* White arrow */
  color: var(--text-main);
  display: block;
  transform: rotate(-20deg);
  transform-origin: center;
  will-change: transform, fill;
  transition: all 0.35s var(--ease-luxury);
}

/* Hover state - entire button background becomes --bg-hover */
.mega-webdev .cta-btn-contact:hover {
  background: var(--bg-hover);  /* Button background matches --bg-hover */
  border-color: transparent !important;
  transform: scale(0.95);
}

/* Hover state - arrow circle becomes white */
.mega-webdev .cta-btn-contact:hover .cta-icon-wrap {
  background: #ffffff;  /* White background on hover */
  transform: rotate(45deg);
}

/* Hover state - arrow becomes black */
.mega-webdev .cta-btn-contact:hover .cta-icon {
  fill: #000000;  /* Black arrow on hover */
  transform: rotate(0deg);
}

/* Text styles - keep same */
.mega-webdev .cta-btn-contact .cta-text-wrap {
  position: relative;
  height: 1.2em;
  overflow: hidden;
}

.mega-webdev .cta-btn-contact .cta-text {
  display: block;
  line-height: 1.2;
  will-change: transform, opacity;
  transition: transform 0.5s var(--ease-luxury), opacity 0.35s var(--ease-luxury);
  font-family: var(--font-heading) !important;
  font-weight: 400;
}

.mega-webdev .cta-btn-contact .cta-text-default {
  transform: translateY(0);
  opacity: 1;
  color: var(--text-main);
}

.mega-webdev .cta-btn-contact .cta-text-hover {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%);
  opacity: 0;
  color: var(--text-main);
}

.mega-webdev .cta-btn-contact:hover .cta-text-default {
  transform: translateY(-100%);
  opacity: 0;
}

.mega-webdev .cta-btn-contact:hover .cta-text-hover {
  transform: translateY(0);
  opacity: 1;
  color: var(--text-main);  /* Keep text white on hover */
}

.elementor-widget-text-editor,
.elementor-widget-button,
.elementor-widget-icon-box,
.elementor-widget-image-box,
.elementor-widget-counter,
.elementor-widget-progress,
.elementor-widget-testimonial,
.elementor-widget-tabs,
.elementor-widget-accordion,
.elementor-widget-toggle,
.elementor-widget-icon-list {
  font-family: var(--font-body) !important;
}

.elementor-field,
.elementor-field-label,
.elementor-button {
  font-family: var(--font-heading)!important; 
  /* letter-spacing: -2px */
}

p,
span,
div,
li,
td,
th,
.elementor-text-editor,
.elementor-widget-text-editor,
.elementor-widget-text-editor * {
  color: var(--text-muted);
  font-family: var(--font-body)!important;
}

.elementor-global-color-text,
.elementor-global-color-primary {
  color: var(--text-main) !important;
  font-family: var(--font-body)!important;
}

.elementor-icon-list-text {
  color: var(--text-muted);
  font-family: var(--font-body)!important;
}

.elementor-button,
.elementor-button-text {
  color: var(--text-main);
  font-family: var(--font-body)!important;;
   /* letter-spacing: -2px */
}

.elementor-nav-menu,
.elementor-nav-menu a,
.elementor-menu-toggle {
 font-family: var(--font-heading)!important;;
 /* letter-spacing: -2px */
}

input,
textarea,
select,
.elementor-field,
.elementor-field-label {
 font-family: var(--font-body)!important;
}

/* Elementor Images */
.elementor-image img,
.elementor-widget-image img,
.elementor-post__thumbnail img,
.elementor-post img {
  /* background: var(--bg-panel, rgba(26, 26, 26, 0.45)); */
  border: 2px solid var(--border-soft, rgba(255, 255, 255, 0.14))!important;
  border-radius: var(--radius-lg, 30px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px) saturate(160%);
  padding: 2px;
  transition: all 0.35s var(--spring, cubic-bezier(0.22, 1, 0.36, 1));
}

/* ========== FONT WEIGHT SPECIFICATIONS ========== */
body,
p,
li,
span,
div {
  font-weight: 400;
}

strong,
b,
.medium-text {
  font-weight: 400;
}

h4,
h5,
h6,
.semi-bold {
  font-weight: 600;
}

h1,
h2,
h3,
.bold {
  font-weight: 600;
}

.extra-bold {
  font-weight: 700;
}

/* ========== FONT LOAD FALLBACK ========== */
@font-face {
 font-family: var(--font-heading)!important;;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
   /* letter-spacing: -2px */
}

/* ========== CUSTOM SCROLLBAR ========== */
.content-scroll-container::-webkit-scrollbar {
  width: 8px;
}

.content-scroll-container::-webkit-scrollbar-track {
  background: var(--bg-panel);
  border-radius: 4px;
}

.content-scroll-container::-webkit-scrollbar-thumb {
  background: var(--border-soft);
  border-radius: 4px;
}

.content-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  .cta-btn,
  .cta-text,
  .cta-icon,
  .cta-icon-wrap {
    transition: none;
    transform: none;
  }

  .section {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ========== RESPONSIVE ========== */
/* @media (max-width: 1024px) {
  .portfolio-container {
    flex-direction: column;
    padding: 20px;
    gap: 30px;
    height: auto;
    min-height: 100vh;
  }

  .sidebar {
    position: static;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
  }

  .content-wrapper {
    max-height: 60vh;
  }

  .content-scroll-container {
    padding-right: 0;
  }

  .close-btn {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 768px) {
  .section h2 {
    font-size: 2rem;
  }

  .section h3 {
    font-size: 1.5rem;
  }

  .related-projects {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 30px 20px;
  }

  .content-controls {
    justify-content: center;
  }
}

@media (max-height: 900px) {
  .sidebar-item {
    margin-bottom: 4px;
  }
  
  .sidebar-link {
    padding: 8px 12px;
    font-size: 1.125rem;
  }
} */
@media (max-width: 768px) {
  .elementor-widget-masscie-image-marquee img {
    width: 250px !important;
    height: 100%;
  }
}

/*Charts styling*/

.d2m-charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.d2m-chart-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.35s var(--spring);
}

.d2m-chart-card:hover {
  transform: translateY(-4px);
}

.d2m-chart-title {
  margin-bottom: 16px;
}

.chart-wrapper {
  height: 280px;
  position: relative;
}

.chart-caption {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
/* ===============================
   MARKET INSIGHTS – LAYOUT FIX
   =============================== */

/* Constrain overall section width */
#market-insights {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Center section title */
#market-insights h2 {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 16px;
}

/* Constrain & center highlight paragraph */
#market-insights .highlight {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

/* ===============================
   CHART GRID (INDEPENDENT WIDTH)
   =============================== */

.d2m-charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  width: 100%;
}

/* Force 3-column behavior on large screens */
@media (min-width: 1100px) {
  .d2m-charts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===============================
   CHART CARDS
   =============================== */

.d2m-chart-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.35s var(--spring);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.d2m-chart-card:hover {
  transform: translateY(-4px);
}

/* ===============================
   CENTER ALL CHART TEXT
   =============================== */

.d2m-chart-title {
  text-align: center;
  margin-bottom: 16px;
}

.chart-caption {
  text-align: center;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===============================
   CHART WRAPPER
   =============================== */

.chart-wrapper {
  height: 280px;
  position: relative;
  margin: 0 auto;
  width: 100%;
}

/* ===============================
   GLOBAL PARAGRAPH BORDER RESET
   =============================== */

/* Remove left border from all paragraphs */
p {
  border-left: none !important;
  padding-left: 0 !important;
}

/* Remove decorative pseudo-elements if used */
p::before,
p::after {
  content: none !important;
}
/* ===============================
   HIGHLIGHT PARAGRAPH RESET
   =============================== */

.highlight {
  border-left: none !important;
  padding-left: 0 !important;
  text-align: center;
}

/*Core platform features*/

/* =========================================================
   CORE PLATFORM FEATURES — FINAL PRODUCTION
   Alignment fixed, behavior preserved
========================================================= */

/* ===== GRID ===== */
.core-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* ===== CARD ===== */
.core-feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 24px;

  /* CENTRALISE ALL CONTENT */
  text-align: center;

  transition: transform 0.2s ease;
}

.core-feature-card:hover {
  transform: translateY(-1px);
}

/* =========================================================
   ICON — WORKING VERSION (UNCHANGED BEHAVIOR)
========================================================= */

.core-feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  /* DEFAULT STATE */
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.core-feature-icon i {
  font-size: 32px;
  line-height: 1;
  color: #ffffff; /* WHITE ICON */

  transition: color 0.2s ease;
}

/* HOVER — INVERT */
.core-feature-card:hover .core-feature-icon {
  background: #ffffff;
}

.core-feature-card:hover .core-feature-icon i {
  color: #000000; /* BLACK ICON */
}

/* =========================================================
   TEXT ALIGNMENT — EXPLICIT & SAFE
========================================================= */

#core-platform-features h2,
#core-platform-features h4,
#core-platform-features p {
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .core-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .core-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #core-platform-features h2 {
  margin: 2rem 1rem!important;
}
}

@media (max-width: 520px) {
  .core-features-grid {
    grid-template-columns: 1fr;
  }
}
#core-platform-features h2 {
  margin: 2rem 5rem;
}
#core-platform-features .highlight {
  max-width: 65ch; /* optimal reading length */
  margin-inline: auto; /* center horizontally */
  text-align: center;

  /* Safety for very large screens */
  /* padding-inline: clamp(1rem, 4vw, 3rem); */
}

/*Our Process*/

/* =========================================================
   DEVELOPMENT SCOPE & PHASES — ADVANCED UI
   Mega-menu aligned interaction model
========================================================= */

.development-phases {
  display: grid;
  grid-template-columns: minmax(320px, 380px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

/* ===== LEFT PANEL ===== */
.development-sidebar {
  position: sticky;
  top: clamp(2rem, 6vh, 5rem);
}

.phase-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-left: 1.5rem;
}

/* Vertical progress line */
.phase-list::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-soft);
}

/* Progressive fill */
.phase-progress {
  position: absolute;
  left: 28px;
  top: 0;
  width: 2px;
  background: #ffffff;
  height: 0%;
  transition: height 0.4s ease;
}

/* ===== PHASE ITEM ===== */
.phase-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: center;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  transition: background-color 0.25s ease;
}

/* Hover / active like mega menu */
.phase-item:hover,
.phase-item.active {
  background-color: #b3b3b320;
}

/* ===== NUMBER BADGE (ICON BEHAVIOR) ===== */
.phase-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading)!important;;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  font-weight: 500;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.phase-item:hover .phase-number,
.phase-item.active .phase-number {
  background: #ffffff;
  color: #000000;
}

/* ===== TITLE + TIME ===== */
.phase-meta {
  display: flex;
  flex-direction: column;
}

.phase-title {
  font-weight: 600;
  font-family: var(--font-heading)!important;;
   /* letter-spacing: -2px */
}

.phase-title:hover {
  font-weight: 600;
  color: var(--text-main);
}

.phase-time {
  font-size: 0.85em;
  opacity: 0.75;
  font-family: var(--font-body)!important;
}

/* ===== RIGHT CONTENT ===== */
.phase-content-area {
  position: relative;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  align-content: space-around;
}

.phase-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.phase-label {
  opacity: 0.7;
}

.phase-panel {
  display: none;
  max-width: 70ch;
}

.phase-panel.active {
  display: block;
}

/* ===== FEATURE GRID ===== */
.phase-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.phase-feature {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

/* ===== SCROLL HINT ===== */
.scroll-hint {
  margin-top: 2rem;
  text-align: center;
  opacity: 0.6;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .development-phases {
    grid-template-columns: 1fr;
  }

  .phase-list::before,
  .phase-progress {
    display: none;
  }
}

/* =========================================================
   DEVELOPMENT SCOPE & PHASES — MOBILE OPTIMIZATION
   Best-practice responsive behavior
========================================================= */

/* ---------- TABLET & BELOW ---------- */
@media (max-width: 1024px) {
  /* Stack layout */
  .development-phases {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Sidebar becomes horizontal stepper */
  .development-sidebar {
    position: relative;
    top: auto;
  }

  .phase-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    overflow-x: auto;
    padding: 0 0 1rem 0;
    gap: 1rem;

    /* Smooth horizontal scrolling */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  /* Remove vertical line on mobile */
  .phase-list::before,
  .phase-progress {
    display: none;
  }

  /* Each phase becomes a snap card */
  .phase-item {
    grid-template-columns: 48px 1fr;
    min-width: 220px;
    scroll-snap-align: start;
    padding: 0.75rem;
  }

  .phase-number {
    width: 48px;
    height: 48px;
    font-size: 0.9em;
  }

  .phase-meta {
    gap: 0.15rem;
  }

  /* Content spacing */
  .phase-content-area {
    padding-top: 0.5rem;
  }

  .phase-panel {
    max-width: 100%;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 640px) {
  /* Reduce visual density */
  .phase-item {
    grid-template-columns: 44px 1fr;
    padding: 0.65rem;
  }

  .phase-number {
    width: 44px;
    height: 44px;
  }

  .phase-title {
    font-size: 0.95em;
  }

  .phase-time {
    font-size: 0.8em;
  }

  /* Phase header stacks cleanly */
  .phase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .phase-label {
    align-self: flex-end;
    font-size: 0.85em;
  }

  /* Feature grid adapts */
  .phase-feature-grid {
    grid-template-columns: 1fr;
  }

  /* Scroll hint smaller */
  .scroll-hint {
    font-size: 0.85em;
  }
}

/* =========================================================
   DEVELOPMENT PHASES — MOBILE FIXES
========================================================= */

/* ---------- FIX HORIZONTAL SCROLL ---------- */
@media (max-width: 1024px) {
  .phase-list {
    display: flex;
    flex-direction: row;
    gap: 1rem;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 1rem;

    /* Ensure scrolling actually happens */
    width: 100%;
  }

  .phase-item {
    flex: 0 0 auto; /* PREVENT shrinking */
    min-width: 240px; /* FORCE overflow */
  }

  /* Hide scrollbar but keep scroll */
  .phase-list::-webkit-scrollbar {
    display: none;
  }

  .phase-list {
    scrollbar-width: none;
  }
}

/* ---------- LOCK RIGHT CONTENT TO 2 COLUMNS ---------- */
.phase-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Keep 2 columns even on small phones */
@media (max-width: 640px) {
  .phase-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   DEVELOPMENT PHASES — HARD FIX (RESPONSIVE + SCROLL)
========================================================= */

/* ---------- ENSURE GRID DOES NOT CLIP ---------- */
@media (max-width: 1024px) {
  .development-phases {
    display: block; /* REMOVE GRID CONSTRAINT */
  }

  .development-sidebar {
    width: 100%;
    overflow: hidden; /* prevent grid clipping */
  }

  /* ---------- HORIZONTAL SCROLL (ACTUALLY WORKS) ---------- */
  .phase-list {
    display: flex;
    flex-wrap: nowrap;

    gap: 1rem;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 0 0 1rem 0;
    margin: 0;

    -webkit-overflow-scrolling: touch;
  }

  /* FORCE OVERFLOW */
  .phase-item {
    flex: 0 0 260px; /* CRITICAL */
    max-width: 260px;
  }

  /* Hide scrollbar but keep scroll */
  .phase-list::-webkit-scrollbar {
    display: none;
  }

  .phase-list {
    scrollbar-width: none;
  }

  /* REMOVE DESKTOP TIMELINE ELEMENTS */
  .phase-list::before,
  .phase-progress {
    display: none;
  }
}

/* ---------- CONTENT AREA RESPONSIVENESS ---------- */

/* Always 2 columns, responsive width */
.phase-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
}

/* Prevent cards from overflowing */
.phase-feature {
  min-width: 0;
}

/* =========================================================
   DEVELOPMENT PHASES — UX POLISH
   Edge fade + accessibility
========================================================= */

/* ---------- EDGE FADE GRADIENT (MOBILE) ---------- */
@media (max-width: 1024px) {
  .development-sidebar {
    position: relative;
  }

  .development-sidebar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0),
      var(--bg-main, #000)
    );
  }
}

/* ---------- KEYBOARD FOCUS ---------- */
.phase-item:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* ---------- ACTIVE CONTENT VISIBILITY ---------- */
.phase-panel {
  scroll-margin-top: 6rem; /* scroll-sync comfort */
}
/* =========================================================
   DEVELOPMENT PHASES — FINAL TOUCH FIX
   Enables drag + keeps click auto-scroll
========================================================= */

@media (max-width: 1024px) {
  /* ❌ DO NOT BLOCK TOUCH SCROLL */
  .development-sidebar {
    overflow: visible; /* CRITICAL */
  }

  /* ✅ ENABLE REAL HORIZONTAL DRAG */
  .phase-list {
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
  }
}
/* =========================================================
   HARD GUARANTEE: MOBILE HORIZONTAL SCROLL
========================================================= */

@media (max-width: 1024px) {
  /* 1. NEVER clip the scroll chain */
  .development-phases,
  .development-sidebar,
  .section {
    overflow: visible !important;
  }

  /* 2. The ACTUAL scroll container */
  .phase-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    touch-action: pan-x !important;
    -webkit-overflow-scrolling: touch;

    gap: 1rem;
  }

  /* 3. FORCE overflow */
  .phase-item {
    flex: 0 0 280px !important;
    max-width: 280px;
  }

  /* 4. Prevent pointer capture */
  .phase-item * {
    pointer-events: none;
  }

  .phase-item {
    pointer-events: auto;
  }

  /* 5. Hide scrollbar but keep scroll */
  .phase-list::-webkit-scrollbar {
    display: none;
  }

  .phase-list {
    scrollbar-width: none;
  }
}
/* =========================================================
   DEVELOPMENT PHASES — LAYOUT BALANCE & SEPARATION
========================================================= */

/* ---------- DESKTOP GRID BALANCE ---------- */
.development-phases {
  align-items: flex-start;
}

/* ---------- VERTICAL DIVIDER (DESKTOP ONLY) ---------- */
@media (min-width: 1025px) {
  .development-phases {
    position: relative;
  }

  .development-phases::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: clamp(360px, 28vw, 420px); /* aligns with sidebar width */
    width: 1px;
    background: var(--border-soft);
    opacity: 0.6;
    pointer-events: none;
  }
}

/* ---------- RIGHT CONTENT CONTAINER ---------- */
.phase-content-area {
  position: relative;

  /* CENTER CONTENT BLOCK */
  display: flex;
  justify-content: center;
}

/* ---------- CONTENT PANEL WIDTH & ALIGNMENT ---------- */
.phase-panel {
  width: 100%;
  max-width: 78ch; /* readable + balanced */
  margin-inline: auto;

  /* OPTIONAL SOFT PANEL FEEL */
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}

/* ---------- OPTIONAL RIGHT PANEL BORDER ---------- */
.phase-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  pointer-events: none;
  opacity: 0.5;
}

/* Ensure content stays above the border */
.phase-panel > * {
  position: relative;
  z-index: 1;
}

/* ---------- REMOVE DIVIDER ON MOBILE ---------- */
@media (max-width: 1024px) {
  .development-phases::after {
    display: none;
  }

  .phase-panel::before {
    display: none;
  }
}
/* =========================================================
   DEVELOPMENT PHASES — RESPONSIVE WIDTH & SEPARATION
========================================================= */

/* ---------- OVERALL SECTION WIDTH ---------- */
#development-scope-phases .development-phases {
  width: 85%;
  margin-inline: auto;
}

/* Small laptops */
@media (max-width: 1440px) {
  #development-scope-phases .development-phases {
    width: 90%;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  #development-scope-phases .development-phases {
    width: 90%;
  }
}

/* Phones */
@media (max-width: 640px) {
  #development-scope-phases .development-phases {
    width: 95%;
  }
}

/* ---------- LEFT SIDEBAR SEPARATOR ---------- */
.development-sidebar {
  border-right: 1px solid var(--border-soft);
  padding-right: clamp(1.5rem, 3vw, 2.5rem);
}

/* Remove any previously injected divider */
.development-phases::after {
  display: none !important;
}

/* ---------- RIGHT CONTENT ALIGNMENT ---------- */
.phase-content-area {
  display: flex;
  justify-content: center; /* center content horizontally */
}

/* Control readable width of content */
.phase-panel {
  width: 100%;
  max-width: 80ch;
  margin-inline: auto;
}

/* ---------- MOBILE CLEANUP ---------- */
@media (max-width: 1024px) {
  /* Remove sidebar border on mobile */
  .development-sidebar {
    border-right: none;
    padding-right: 0;
  }

  .phase-panel {
    max-width: 100%;
  }
}
#development-scope-phases .highlight {
  max-width: 65ch; /* optimal reading length */
  /* margin-inline: auto;  */
  text-align: center;
  border-width: 0px;
  /* Safety for very large screens */
  padding-inline: clamp(1rem, 4vw, 3rem);
}

#development-scope-phases h2 {
  text-align: center;
}

/* Pricing Table CSS here */

/* ===============================
   SECTION & TITLE
   =============================== */

.compare-section {
  max-width: 1200px;
  margin: 120px auto;
  padding: 0 20px;
}

.compare-title {
  text-align: center;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 56px;
}

.table-mask {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--bg-panel),
    var(--bg-panel-elevated)
  );
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  overflow: hidden;

  /* Disable fade by default */
  mask-image: none;
  -webkit-mask-image: none;
}
@media (max-width: 1024px) {
  .table-mask {
    -webkit-mask-image: linear-gradient(
      to right,
      black 0%,
      black 82%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      black 0%,
      black 82%,
      transparent 100%
    );
  }
}
@media (max-width: 768px) {
  .table-mask {
    -webkit-mask-image: linear-gradient(
      to right,
      black 0%,
      black 75%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      black 0%,
      black 75%,
      transparent 100%
    );
  }
}

/* ===============================
   SCROLL CONTAINER
   =============================== */

.table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.table-scroll::-webkit-scrollbar {
  display: none;
}

/* ===============================
   TABLE STYLES
   =============================== */

.compare-table {
  width: 100%;
  min-width: 1100px; /* forces horizontal scroll on mobile */
  border-collapse: collapse;
}

/* Header cells */
.compare-table thead th {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 24px;
  text-align: left;
  border-bottom: 2px solid var(--border-medium);
}

/* Column backgrounds */
.compare-table thead th:nth-child(3),
.compare-table tbody td:nth-child(3) {
  background: var(--bg-standard) !important;
}

.compare-table thead th:nth-child(4),
.compare-table tbody td:nth-child(4) {
  background: var(--bg-premium) !important;
  color: #000000 !important;
}

.compare-table thead th:nth-child(5),
.compare-table tbody td:nth-child(5) {
  background: var(--bg-enterprise) !important;
}

/* Body cells - Desktop font size */
.compare-table tbody td {
  font-size: 1.125rem; /* 18px on desktop */
  color: var(--text-secondary);
  padding: 28px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: none !important;
}

/* Mobile font size */
@media (max-width: 768px) {
  .compare-table tbody td {
    font-size: 1rem; /* 16px on mobile */
  }
}

/* Horizontal row separation */
.compare-table tbody tr {
  border-bottom: 1px solid var(--border-medium) !important;
}

/* Last row shouldn't have bottom border */
.compare-table tbody tr:last-child {
  border-bottom: none !important;
}

/* Section headers */
.compare-table tr.section-header {
  border-bottom: 2px solid var(--border-medium) !important;
  background: #1a1a1a !important; /* Just lighter than black */
}

.compare-table tr.section-header td {
  color: var(--text-primary) !important;
  font-weight: 400;
  font-size: 16px;
  padding: 20px 24px !important;
}

/* Ensure section headers work properly */
tr.section-header td:nth-child(3),
tr.section-header td:nth-child(4),
tr.section-header td:nth-child(5) {
  background: #1a1a1a !important;
  color: var(--text-primary) !important;
}

/* Add top border to first row after section for clear separation */
.compare-table tr.section-header + tr {
  border-top: 1px solid var(--border-medium);
}

/* Vertical separator between number and feature columns */
.compare-table td:nth-child(1) {
  border-right: 1px solid var(--border-medium) !important;
}

/* Feature number column */
.compare-table td:nth-child(1) {
  color: var(--text-muted) !important;
  font-size: 14px;
  text-align: center;
  padding: 28px 12px !important;
  width: 5%;
  background: transparent !important;
}

/* Vertical separator between feature and pricing columns */
.compare-table td:nth-child(2) {
  border-right: 1px solid var(--border-medium) !important;
}

/* Feature column width */
.compare-table td:nth-child(2) {
  width: 35%;
  background: transparent !important;
}

/* Pricing columns width */
.compare-table td:nth-child(3),
.compare-table td:nth-child(4),
.compare-table td:nth-child(5) {
  width: 20%;
  text-align: center;
}

/* Premium column text color */
.compare-table td:nth-child(4) {
  color: #000000 !important;
}

/* ===============================
   ROW HOVER POLISH (DESKTOP)
   =============================== */

@media (hover: hover) {
  .compare-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
  }

  /* Hover effects for standard and enterprise columns */
  .compare-table tbody tr:hover td:nth-child(3),
  .compare-table tbody tr:hover td:nth-child(5) {
    background: #1d1d1d !important;
  }

  /* Hover effect for premium column */
  .compare-table tbody tr:hover td:nth-child(4) {
    background: #f5f5f5 !important;
  }

  /* Light hover for feature column */
  .compare-table tbody tr:hover td:nth-child(1),
  .compare-table tbody tr:hover td:nth-child(2) {
    background: rgba(255, 255, 255, 0.03) !important;
  }
}

/* ===============================
   PRICING COMPONENT STYLES
   =============================== */

/* Feature title and description */
.feature-title {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.2;
}

.feature-description {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.2;
  margin-top: 6px;
}

/* Premium column text colors */
.compare-table td:nth-child(4) .feature-title {
  color: #000000 !important;
}

.compare-table td:nth-child(4) .feature-description {
  color: rgba(0, 0, 0, 0.6) !important;
}

/* Price styling */
.price-original {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  display: block;
  margin-top: 12px;
}

/* Premium column original price */
.compare-table td:nth-child(4) .price-original {
  color: rgba(0, 0, 0, 0.4) !important;
}

.price-current {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 400;
  display: block;
  margin: 8px 0;
}

/* Premium column current price */
.compare-table td:nth-child(4) .price-current {
  color: #000000 !important;
}

/* Button styling */
.btn-buy {
  display: inline-block;
  background: rgba(0, 79, 255, 0.2);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  margin-top: 16px !important;
  border: 1px solid rgba(0, 79, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-buy:hover {
  background: rgba(0, 79, 255, 0.3);
  border-color: rgba(0, 79, 255, 0.5);
}

/* Premium column button */
.compare-table td:nth-child(4) .btn-buy {
  background: rgba(0, 79, 255, 0.1);
  color: var(--text-blue) !important;
  border: 1px solid rgba(0, 79, 255, 0.2);
}

.compare-table td:nth-child(4) .btn-buy:hover {
  background: rgba(0, 79, 255, 0.15);
  border-color: rgba(0, 79, 255, 0.3);
}

/* Badge styling */
.badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  padding: 6px 12px !important;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  margin-top: 8px;
}

.badge-addon {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

/* Premium column badges */
.compare-table td:nth-child(4) .badge {
  background: rgba(0, 79, 255, 0.1);
  color: var(--text-blue) !important;
}

.compare-table td:nth-child(4) .badge-addon {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e !important;
}

/* Icon styling */
.icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  margin: 0 auto;
}

.icon-check svg {
  width: 16px;
  height: 16px;
}

.icon-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(0, 79, 255, 0.1);
  border-radius: 50%;
  color: white;
  margin: 0 auto;
}

.icon-cross svg {
  width: 16px;
  height: 16px;
}

/* Premium column icons - blue background with white icons */
.compare-table td:nth-child(4) .icon-check {
  background: rgba(0, 79, 255, 0.1) !important;
}

.compare-table td:nth-child(4) .icon-check svg {
  color: var(--text-blue) !important;
  fill: var(--text-blue) !important;
}

.compare-table td:nth-child(4) .icon-cross {
  background: rgba(0, 79, 255, 0.05) !important;
}

.compare-table td:nth-child(4) .icon-cross svg {
  color: var(--text-blue) !important;
  fill: var(--text-blue) !important;
}

/* ===============================
   OPTIONAL SCROLL HINT
   =============================== */

.table-mask::after {
  content: "Swipe →";
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

/* ===============================
   ADDITIONAL ENHANCEMENTS
   =============================== */

/* Text contrast in premium column */
.compare-table thead th:nth-child(4) {
  color: #000000 !important;
}

/* Ensure all text in premium column is visible */
.compare-table td:nth-child(4) {
  color: #000000 !important;
}

/* Table header styling */
.compare-table thead {
  background: var(--bg-panel-elevated);
}

/* Consistent padding for all table cells */
.compare-table td,
.compare-table th {
  padding: 28px 24px;
}

/* Adjust vertical alignment */
.compare-table td {
  vertical-align: middle;
}
/* ===============================
   PRICING TABLE SPECIFIC STYLES ONLY
   Minimal, non-conflicting CSS
   =============================== */

/* Only target our specific pricing table */
.pricing-table-container .compare-table {
  min-width: 1100px;
  border-collapse: collapse;
  width: 100%;
}

/* Table header */
.pricing-table-container .compare-table thead th {
  font-weight: 400;
  padding: 24px;
  text-align: left;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}

/* Column backgrounds */
.pricing-table-container .compare-table thead th.standard-col,
.pricing-table-container .compare-table tbody td.standard-col {
  background-color: #151515 !important;
}

.pricing-table-container .compare-table thead th.premium-col,
.pricing-table-container .compare-table tbody td.premium-col {
  background-color: #ffffff !important;
}

.pricing-table-container .compare-table thead th.enterprise-col,
.pricing-table-container .compare-table tbody td.enterprise-col {
  background-color: #151515 !important;
}

/* Body cells - Desktop font size */
.pricing-table-container .compare-table tbody td {
  padding: 28px 24px;
  border-bottom: none !important;
}

/* Horizontal row separation */
.pricing-table-container .compare-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Last row shouldn't have bottom border */
.pricing-table-container .compare-table tbody tr:last-child {
  border-bottom: none !important;
}

/* Section headers */
.pricing-table-container .compare-table tr.section-header {
  border-bottom: 2px solid rgba(255, 255, 255, 0.15) !important;
  background-color: #1a1a1a !important;
}

.pricing-table-container .compare-table tr.section-header td {
  font-weight: 400;
  padding: 20px 24px !important;
}

/* Column separators */
.pricing-table-container .compare-table td.number-col {
  border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
  width: 5%;
  text-align: center;
  padding: 28px 12px !important;
}

.pricing-table-container .compare-table td.feature-col {
  border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
  width: 35%;
}

/* Pricing columns width and alignment */
.pricing-table-container .compare-table td.standard-col,
.pricing-table-container .compare-table td.premium-col,
.pricing-table-container .compare-table td.enterprise-col {
  width: 20%;
  text-align: center;
}

/* ===============================
   TEXT COLORS
   =============================== */

/* Dark columns (Standard & Enterprise) */
.pricing-table-container .compare-table td.standard-col,
.pricing-table-container .compare-table td.enterprise-col,
.pricing-table-container .compare-table td.standard-col *,
.pricing-table-container .compare-table td.enterprise-col * {
  color: #ffffff !important;
}

/* Premium column (white background) */
.pricing-table-container .compare-table td.premium-col,
.pricing-table-container .compare-table td.premium-col * {
  color: #000000 !important;
}

/* Premium column header - BLUE */
.pricing-table-container .compare-table th.premium-col {
  color: #004fff !important;
}

/* Premium column current price - BLUE */
.pricing-table-container .compare-table td.premium-col .price-current {
  color: #004fff !important;
}

/* Premium column feature description - gray */
.pricing-table-container .compare-table td.premium-col .feature-description {
  color: rgba(0, 0, 0, 0.7) !important;
}

/* Section headers */
.pricing-table-container .compare-table tr.section-header td,
.pricing-table-container .compare-table tr.section-header td * {
  color: #ffffff !important;
}

/* ===============================
   BUTTON STYLES
   =============================== */

.pricing-table-container .btn-buy {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  margin-top: 16px !important;
  border: 1px solid;
  transition: all 0.3s ease;
}

/* Standard and Enterprise buttons - WHITE background, BLUE text */
.pricing-table-container .compare-table td.standard-col .btn-buy,
.pricing-table-container .compare-table td.enterprise-col .btn-buy {
  background-color: #ffffff !important;
  color: #004fff !important;
  border-color: #ffffff !important;
}

/* Premium button - BLUE background, WHITE text */
.pricing-table-container .compare-table td.premium-col .btn-buy {
  background-color: #004fff !important;
  color: #ffffff !important;
  border-color: #004fff !important;
}

/* ===============================
   ICON STYLES
   =============================== */

.pricing-table-container .icon-check,
.pricing-table-container .icon-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin: 0 auto;
}

.pricing-table-container .icon-check svg,
.pricing-table-container .icon-cross svg {
  width: 16px;
  height: 16px;
}

/* Dark columns icons */
.pricing-table-container .compare-table td.standard-col .icon-check,
.pricing-table-container .compare-table td.enterprise-col .icon-check {
  background-color: rgba(255, 255, 255, 0.1);
}

.pricing-table-container .compare-table td.standard-col .icon-cross,
.pricing-table-container .compare-table td.enterprise-col .icon-cross {
  background-color: rgba(0, 79, 255, 0.1);
}

/* Premium column icons - blue theme */
.pricing-table-container .compare-table td.premium-col .icon-check {
  background-color: rgba(0, 79, 255, 0.1) !important;
}

.pricing-table-container .compare-table td.premium-col .icon-check svg {
  color: #004fff !important;
  fill: #004fff !important;
}

.pricing-table-container .compare-table td.premium-col .icon-cross {
  background-color: rgba(0, 79, 255, 0.05) !important;
}

.pricing-table-container .compare-table td.premium-col .icon-cross svg {
  color: #004fff !important;
  fill: #004fff !important;
}

/* ===============================
   BADGE STYLES
   =============================== */

.pricing-table-container .badge {
  display: inline-block;
  padding: 6px 12px !important;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  margin-top: 8px;
}

/* Standard/Enterprise badges */
.pricing-table-container .compare-table td.standard-col .badge,
.pricing-table-container .compare-table td.enterprise-col .badge {
  background-color: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

/* Premium badges - blue theme */
.pricing-table-container .compare-table td.premium-col .badge {
  background-color: rgba(0, 79, 255, 0.1);
  color: #004fff !important;
}

/* ===============================
   TYPOGRAPHY
   =============================== */

/* Desktop font size */
.pricing-table-container .compare-table tbody td {
  font-size: 1.125rem;
}

/* Mobile font size */
@media (max-width: 768px) {
  .pricing-table-container .compare-table tbody td {
    font-size: 1rem;
  }
}

.pricing-table-container .feature-title {
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.2;
}

.pricing-table-container .feature-description {
  font-size: 13px;
  line-height: 1.2;
  margin-top: 6px;
}

/* Price styling */
.pricing-table-container .price-original {
  text-decoration: line-through;
  font-size: 14px;
  display: block;
  margin-top: 12px;
}

.pricing-table-container .price-current {
  font-size: 24px;
  font-weight: 400;
  display: block;
  margin: 8px 0;
}

/* Original prices - different opacity */
.pricing-table-container .compare-table td.standard-col .price-original,
.pricing-table-container .compare-table td.enterprise-col .price-original {
  color: rgba(255, 255, 255, 0.5) !important;
}

.pricing-table-container .compare-table td.premium-col .price-original {
  color: rgba(0, 0, 0, 0.5) !important;
}
/* ===============================
   COLOR & TYPOGRAPHY FIXES
   =============================== */

/* ---- HEADER TEXT FIXES ---- */

/* Standard & Enterprise header text (dark background) */
.pricing-table-container .compare-table th.standard-col,
.pricing-table-container .compare-table th.enterprise-col {
  color: #ffffff !important;
}

/* Premium header container text */
.pricing-table-container .compare-table th.premium-col {
  background-color: #ffffff !important;
}

/* Ensure ALL text inside premium header is visible */
.pricing-table-container .compare-table th.premium-col * {
  color: #000000 !important;
}

/* Premium plan title emphasis */
.pricing-table-container .compare-table th.premium-col > div {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #004fff !important;
}

/* Standard & Enterprise plan title emphasis */
.pricing-table-container .compare-table th.standard-col > div,
.pricing-table-container .compare-table th.enterprise-col > div {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

/* ---- PRICE VISIBILITY FIXES ---- */

/* Standard & Enterprise prices */
.pricing-table-container .compare-table th.standard-col .price-current,
.pricing-table-container .compare-table th.enterprise-col .price-current {
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 700 !important;
}

/* Premium prices */
.pricing-table-container .compare-table th.premium-col .price-current {
  color: #004fff !important;
  font-size: 24px !important;
  font-weight: 700 !important;
}

/* Original prices visibility */
.pricing-table-container .compare-table th.standard-col .price-original,
.pricing-table-container .compare-table th.enterprise-col .price-original {
  color: rgba(255, 255, 255, 0.6) !important;
}

.pricing-table-container .compare-table th.premium-col .price-original {
  color: rgba(0, 0, 0, 0.5) !important;
}

/* ---- BUTTON VISIBILITY FIXES ---- */

/* Header buttons alignment & spacing */
.pricing-table-container .compare-table th .btn-buy {
  margin-top: 16px !important;
  font-size: 14px !important;
}

/* Premium header button */
.pricing-table-container .compare-table th.premium-col .btn-buy {
  background-color: #004fff !important;
  color: #ffffff !important;
  border-color: #004fff !important;
}

/* Standard & Enterprise header buttons */
.pricing-table-container .compare-table th.standard-col .btn-buy,
.pricing-table-container .compare-table th.enterprise-col .btn-buy {
  background-color: #ffffff !important;
  color: #004fff !important;
  border-color: #ffffff !important;
}

/* ---- BADGE VISIBILITY FIX ---- */

.pricing-table-container .compare-table th .badge {
  display: inline-block;
  margin-top: 10px !important;
  font-size: 12px !important;
}

/* Premium badge contrast */
.pricing-table-container .compare-table th.premium-col .badge {
  background-color: rgba(0, 79, 255, 0.1) !important;
  color: #004fff !important;
}

/* ---- COLUMN BACKGROUND SAFETY ---- */

/* Force premium column body background */
.pricing-table-container .compare-table tbody td.premium-col {
  background-color: #ffffff !important;
}

/* Ensure text inside premium body is readable */
.pricing-table-container .compare-table tbody td.premium-col * {
  color: #000000 !important;
}

/* Restore emphasis colors */
.pricing-table-container .compare-table tbody td.premium-col .price-current {
  color: #004fff !important;
}
/* ===============================
   PLAN TITLE EMPHASIS
   =============================== */

/* Standard & Enterprise plan titles */
.pricing-table-container .compare-table th.standard-col > div,
.pricing-table-container .compare-table th.enterprise-col > div {
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  /* letter-spacing: -0.02em; */
  color: #ffffff !important;
}

/* Premium plan title (hero emphasis) */
.pricing-table-container .compare-table th.premium-col > div {
  font-size: 2rem !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  /* letter-spacing: -0.02em; */
  color: #004fff !important;
}

/* Charts CSS here */

/* =====================================================
   MARKET INSIGHTS – CHARTS (FULL PRODUCTION)
   ===================================================== */

/* -------------------------------
   SECTION CONTAINER
-------------------------------- */

#market-insights {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
}

/* Section title */
#market-insights h2 {
  margin-bottom: 16px;
}

/* Highlight / intro paragraph */
#market-insights .highlight {
  max-width: 65ch;
  margin-inline: auto;
  margin-bottom: 56px;
  text-align: center;
}

/* -------------------------------
   CHART GRID (INDEPENDENT WIDTH)
-------------------------------- */

.d2m-charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  width: 100%;
}

/* Lock to 3 columns on large screens */
@media (min-width: 1100px) {
  .d2m-charts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------
   CHART CARDS
-------------------------------- */

.d2m-chart-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s var(--spring);
}

.d2m-chart-card:hover {
  transform: translateY(-4px);
}

/* -------------------------------
   CHART TITLES
-------------------------------- */

.d2m-chart-title {
  text-align: center;
  max-width: 30ch;
  margin-inline: auto;
  margin-bottom: 16px;
}

/* -------------------------------
   CHART WRAPPER
-------------------------------- */

.chart-wrapper {
  height: 280px;
  width: 100%;
  position: relative;
  margin-inline: auto;
}

/* -------------------------------
   CHART CAPTIONS
-------------------------------- */

.chart-caption {
  max-width: 50ch;
  margin-inline: auto;
  margin-top: 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Core platform features css here */

/* =========================================================
   CORE PLATFORM FEATURES — FINAL PRODUCTION
   Alignment fixed, behavior preserved
========================================================= */

/* ===== GRID ===== */
.core-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* ===== CARD ===== */
.core-feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 24px;

  /* CENTRALISE ALL CONTENT */
  text-align: center;

  transition: transform 0.2s ease;
}

.core-feature-card:hover {
  transform: translateY(-1px);
}

/* =========================================================
   ICON — WORKING VERSION (UNCHANGED BEHAVIOR)
========================================================= */

.core-feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  /* DEFAULT STATE */
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.core-feature-icon i {
  font-size: 32px;
  line-height: 1;
  color: #ffffff; /* WHITE ICON */

  transition: color 0.2s ease;
}

/* HOVER — INVERT */
.core-feature-card:hover .core-feature-icon {
  background: #ffffff;
}

.core-feature-card:hover .core-feature-icon i {
  color: #000000; /* BLACK ICON */
}

/* =========================================================
   TEXT ALIGNMENT — EXPLICIT & SAFE
========================================================= */

#core-platform-features h2,
#core-platform-features h4,
#core-platform-features p {
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .core-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .core-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .core-features-grid {
    grid-template-columns: 1fr;
  }
}
#core-platform-features h2 {
  margin: 2rem 5rem;
}
#core-platform-features .highlight {
  max-width: 65ch; /* optimal reading length */
  margin-inline: auto; /* center horizontally */
  text-align: center;

  /* Safety for very large screens */
  padding-inline: clamp(1rem, 4vw, 3rem);
}

/* Our Process CSS here */

/* =========================================================
   DEVELOPMENT SCOPE & PHASES — ADVANCED UI
   Mega-menu aligned interaction model
========================================================= */

.development-phases {
  display: grid;
  grid-template-columns: minmax(320px, 380px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

/* ===== LEFT PANEL ===== */
.development-sidebar {
  position: sticky;
  top: clamp(2rem, 6vh, 5rem);
}

.phase-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-left: 1.5rem;
}

/* Vertical progress line */
.phase-list::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-soft);
}

/* Progressive fill */
.phase-progress {
  position: absolute;
  left: 28px;
  top: 0;
  width: 2px;
  background: #ffffff;
  height: 0%;
  transition: height 0.4s ease;
}

/* ===== PHASE ITEM ===== */
.phase-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: center;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  transition: background-color 0.25s ease;
}

/* Hover / active like mega menu */
.phase-item:hover,
.phase-item.active {
  background-color: #b3b3b320;
}

/* ===== NUMBER BADGE (ICON BEHAVIOR) ===== */
.phase-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  font-weight: 400;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.phase-item:hover .phase-number,
.phase-item.active .phase-number {
  background: #ffffff;
  color: #000000;
}

/* ===== TITLE + TIME ===== */
.phase-meta {
  display: flex;
  flex-direction: column;
}

.phase-title {
  font-weight: 400;
}

.phase-title:hover {
  font-weight: 400;
  color: var(--text-main);
}

.phase-time {
  font-size: 0.85em;
  opacity: 0.75;
}

/* ===== RIGHT CONTENT ===== */
.phase-content-area {
  position: relative;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2px 2px;
  align-content: space-around;
}

.phase-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.phase-label {
  opacity: 0.7;
}

.phase-panel {
  display: none;
  max-width: 70ch;
}

.phase-panel.active {
  display: block;
}

/* ===== FEATURE GRID ===== */
.phase-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.phase-feature {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

/* ===== SCROLL HINT ===== */
.scroll-hint {
  margin-top: 2rem;
  text-align: center;
  opacity: 0.6;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .development-phases {
    grid-template-columns: 1fr;
  }

  .phase-list::before,
  .phase-progress {
    display: none;
  }
}

/* =========================================================
   DEVELOPMENT SCOPE & PHASES — MOBILE OPTIMIZATION
   Best-practice responsive behavior
========================================================= */

/* ---------- TABLET & BELOW ---------- */
@media (max-width: 1024px) {
  /* Stack layout */
  .development-phases {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Sidebar becomes horizontal stepper */
  .development-sidebar {
    position: relative;
    top: auto;
  }

  .phase-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    overflow-x: auto;
    padding: 0 0 1rem 0;
    gap: 1rem;

    /* Smooth horizontal scrolling */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  /* Remove vertical line on mobile */
  .phase-list::before,
  .phase-progress {
    display: none;
  }

  /* Each phase becomes a snap card */
  .phase-item {
    grid-template-columns: 48px 1fr;
    min-width: 220px;
    scroll-snap-align: start;
    padding: 0.75rem;
  }

  .phase-number {
    width: 48px;
    height: 48px;
    font-size: 0.9em;
  }

  .phase-meta {
    gap: 0.15rem;
  }

  /* Content spacing */
  .phase-content-area {
    padding-top: 0.5rem;
  }

  .phase-panel {
    max-width: 100%;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 640px) {
  /* Reduce visual density */
  .phase-item {
    grid-template-columns: 44px 1fr;
    padding: 0.65rem;
  }

  .phase-number {
    width: 44px;
    height: 44px;
  }

  .phase-title {
    font-size: 0.95em;
  }

  .phase-time {
    font-size: 0.8em;
  }

  /* Phase header stacks cleanly */
  .phase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .phase-label {
    align-self: flex-end;
    font-size: 0.85em;
  }

  /* Feature grid adapts */
  .phase-feature-grid {
    grid-template-columns: 1fr;
  }

  /* Scroll hint smaller */
  .scroll-hint {
    font-size: 0.85em;
  }
}

/* =========================================================
   DEVELOPMENT PHASES — MOBILE FIXES
========================================================= */

/* ---------- FIX HORIZONTAL SCROLL ---------- */
@media (max-width: 1024px) {
  .phase-list {
    display: flex;
    flex-direction: row;
    gap: 1rem;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 1rem;

    /* Ensure scrolling actually happens */
    width: 100%;
  }

  .phase-item {
    flex: 0 0 auto; /* PREVENT shrinking */
    min-width: 240px; /* FORCE overflow */
  }

  /* Hide scrollbar but keep scroll */
  .phase-list::-webkit-scrollbar {
    display: none;
  }

  .phase-list {
    scrollbar-width: none;
  }
}

/* ---------- LOCK RIGHT CONTENT TO 2 COLUMNS ---------- */
.phase-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Keep 2 columns even on small phones */
@media (max-width: 640px) {
  .phase-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   DEVELOPMENT PHASES — HARD FIX (RESPONSIVE + SCROLL)
========================================================= */

/* ---------- ENSURE GRID DOES NOT CLIP ---------- */
@media (max-width: 1024px) {
  .development-phases {
    display: block; /* REMOVE GRID CONSTRAINT */
  }

  .development-sidebar {
    width: 100%;
    overflow: hidden; /* prevent grid clipping */
  }

  /* ---------- HORIZONTAL SCROLL (ACTUALLY WORKS) ---------- */
  .phase-list {
    display: flex;
    flex-wrap: nowrap;

    gap: 1rem;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 0 0 1rem 0;
    margin: 0;

    -webkit-overflow-scrolling: touch;
  }

  /* FORCE OVERFLOW */
  .phase-item {
    flex: 0 0 260px; /* CRITICAL */
    max-width: 260px;
  }

  /* Hide scrollbar but keep scroll */
  .phase-list::-webkit-scrollbar {
    display: none;
  }

  .phase-list {
    scrollbar-width: none;
  }

  /* REMOVE DESKTOP TIMELINE ELEMENTS */
  .phase-list::before,
  .phase-progress {
    display: none;
  }
}

/* ---------- CONTENT AREA RESPONSIVENESS ---------- */

/* Always 2 columns, responsive width */
.phase-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  flex-wrap: wrap!important;
}

/* Pour les écrans mobiles (max-width: 768px) */
@media (max-width: 768px) {
  .phase-feature-grid {
    /* Une seule colonne sur mobile */
    grid-template-columns: 1fr;
  }
}
    .elementor-597 .elementor-element.elementor-element-80165e1 {
        --width: 100%!important;
    }
/* Prevent cards from overflowing */
.phase-feature {
  min-width: 0;
}

/* =========================================================
   DEVELOPMENT PHASES — UX POLISH
   Edge fade + accessibility
========================================================= */

/* ---------- EDGE FADE GRADIENT (MOBILE) ---------- */
@media (max-width: 1024px) {
  .development-sidebar {
    position: relative;
  }

  .development-sidebar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0),
      var(--bg-main, #000)
    );
  }
}

/* ---------- KEYBOARD FOCUS ---------- */
.phase-item:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* ---------- ACTIVE CONTENT VISIBILITY ---------- */
.phase-panel {
  scroll-margin-top: 6rem; /* scroll-sync comfort */
}
/* =========================================================
   DEVELOPMENT PHASES — FINAL TOUCH FIX
   Enables drag + keeps click auto-scroll
========================================================= */

@media (max-width: 1024px) {
  /* ❌ DO NOT BLOCK TOUCH SCROLL */
  .development-sidebar {
    overflow: visible; /* CRITICAL */
  }

  /* ✅ ENABLE REAL HORIZONTAL DRAG */
  .phase-list {
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
  }
}
/* =========================================================
   HARD GUARANTEE: MOBILE HORIZONTAL SCROLL
========================================================= */

@media (max-width: 1024px) {
  /* 1. NEVER clip the scroll chain */
  .development-phases,
  .development-sidebar,
  .section {
    overflow: visible !important;
  }

  /* 2. The ACTUAL scroll container */
  .phase-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    touch-action: pan-x !important;
    -webkit-overflow-scrolling: touch;

    gap: 1rem;
  }

  /* 3. FORCE overflow */
  .phase-item {
    flex: 0 0 280px !important;
    max-width: 280px;
  }

  /* 4. Prevent pointer capture */
  .phase-item * {
    pointer-events: none;
  }

  .phase-item {
    pointer-events: auto;
  }

  /* 5. Hide scrollbar but keep scroll */
  .phase-list::-webkit-scrollbar {
    display: none;
  }

  .phase-list {
    scrollbar-width: none;
  }
}
/* =========================================================
   DEVELOPMENT PHASES — LAYOUT BALANCE & SEPARATION
========================================================= */

/* ---------- DESKTOP GRID BALANCE ---------- */
.development-phases {
  align-items: flex-start;
}

/* ---------- VERTICAL DIVIDER (DESKTOP ONLY) ---------- */
@media (min-width: 1025px) {
  .development-phases {
    position: relative;
  }

  .development-phases::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: clamp(360px, 28vw, 420px); /* aligns with sidebar width */
    width: 1px;
    background: var(--border-soft);
    opacity: 0.6;
    pointer-events: none;
  }
}

/* ---------- RIGHT CONTENT CONTAINER ---------- */
.phase-content-area {
  position: relative;

  /* CENTER CONTENT BLOCK */
  display: flex;
  justify-content: center;
}

/* ---------- CONTENT PANEL WIDTH & ALIGNMENT ---------- */
.phase-panel {
  width: 100%;
  max-width: 78ch; /* readable + balanced */
  margin-inline: auto;

  /* OPTIONAL SOFT PANEL FEEL */
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}

/* ---------- OPTIONAL RIGHT PANEL BORDER ---------- */
.phase-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  pointer-events: none;
  opacity: 0.5;
}

/* Ensure content stays above the border */
.phase-panel > * {
  position: relative;
  z-index: 1;
}

/* ---------- REMOVE DIVIDER ON MOBILE ---------- */
@media (max-width: 1024px) {
  .development-phases::after {
    display: none;
  }

  .phase-panel::before {
    display: none;
  }
}
/* =========================================================
   DEVELOPMENT PHASES — RESPONSIVE WIDTH & SEPARATION
========================================================= */

/* ---------- OVERALL SECTION WIDTH ---------- */
#development-scope-phases .development-phases {
  width: 100%;
  margin-inline: auto;
}

/* Small laptops */
@media (max-width: 1440px) {
  #development-scope-phases .development-phases {
    width: 90%;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  #development-scope-phases .development-phases {
    width: 90%;
  }
}

/* Phones */
@media (max-width: 640px) {
  #development-scope-phases .development-phases {
    width: 95%;
  }
}

/* ---------- LEFT SIDEBAR SEPARATOR ---------- */
.development-sidebar {
  border-right: 1px solid var(--border-soft);
  padding-right: clamp(1.5rem, 3vw, 2.5rem);
}

/* Remove any previously injected divider */
.development-phases::after {
  display: none !important;
}

/* ---------- RIGHT CONTENT ALIGNMENT ---------- */
.phase-content-area {
  display: flex;
  justify-content: center; /* center content horizontally */
}

/* Control readable width of content */
.phase-panel {
  width: 100%;
  max-width: 80ch;
  margin-inline: auto;
}

/* ---------- MOBILE CLEANUP ---------- */
@media (max-width: 1024px) {
  /* Remove sidebar border on mobile */
  .development-sidebar {
    border-right: none;
    padding-right: 0;
  }

  .phase-panel {
    max-width: 100%;
  }
}
#development-scope-phases .highlight {
  max-width: 65ch; /* optimal reading length */
  margin-inline: auto; /* center horizontally */
  text-align: center;
  border-width: 0px;
  /* Safety for very large screens */
  padding-inline: clamp(1rem, 4vw, 3rem);
}

#development-scope-phases h2 {
  text-align: center;
}

/* Technologies */
/* ===============================
   OUR TECHNOLOGIES – ADDITIONS
   =============================== */

.tech-section {
  max-width: 1200px;
  margin-inline: auto;
}

/* Main title uses native h2 styling */
.tech-section h2 {
  text-align: center;
}

/* Subtitle stays muted and centered */
.tech-subtitle {
  max-width: 65ch;
  margin-inline: auto;
  text-align: center;
  color: var(--text-muted);
}

/* ===============================
   SEARCH
   =============================== */

.search-box {
  display: block;
  margin: 0 auto 2rem;
  max-width: 420px;
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  color: var(--text-main);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.search-box::placeholder {
  color: var(--text-muted)!important;
}

.search-box:focus {
  outline: none;
  background: var(--bg-hover)!important;
  border-color: var(--border-soft)!important;
  color: var(--text-main);
}

/* ===============================
   FILTER TABS
   =============================== */

.filter-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft)!important;
  background: transparent;
  color: var(--text-muted)!important;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--bg-hover)!important;
  color: var(--text-main)!important;
  border-color: var(--border-soft)!important;
}

/* ===============================
   GRID
   =============================== */

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 1.25rem;
}

/* ===============================
   TECH ITEM
   =============================== */

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.75rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.tech-item:hover {
  background: var(--bg-hover);
  border-color: var(--border-soft);
}

/* Icon containment – no overflow */
.tech-logo,
.tech-icon-wrap {
  width: 40px;
  height: 40px;
  max-width: 50px;
  max-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.5rem;
  padding: 2px;
}

/* Text behavior */
.tech-name {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  transition: color 0.2s ease;
}

.tech-item:hover .tech-name {
  color: var(--text-main);
}

/* ===============================
   EMPTY STATE
   =============================== */

.tech-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 0;
}

/* ===============================
   MOBILE FIRST
   =============================== */

@media (max-width: 640px) {
  .stack-grid {
    gap: 1rem;
  }

  .tech-logo,
  .tech-icon-wrap {
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
  }
}



/* ===============================
   FAQ – STABLE TOGGLE ICON FIX
   =============================== */

/* Question row - with H3 styling */
.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: all 0.25s ease;
  text-align: left;
}

/* Apply H3 styles to the question text */
.faq-question h3 {
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
  color: inherit;
  flex: 1;
  text-align: left!important;
}

/* Question content container */
.question-content {
  display: flex;
  align-items: flex-start;
  flex: 1;
  text-align: left;
}

/* Hover → question text turns white and background becomes var(--bg-hover) */
.faq-item:hover .faq-question {
  color: #ffffff !important;
  background-color: var(--bg-hover);
}

/* Ensure question number and category also turn white on hover */
.faq-item:hover .question-number,
.faq-item:hover .category-indicator {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3);
}
.question-content .faq-h3:hover{
  color:#fff;
}
/* Answer with larger font size and left aligned */
.faq-answer {
  color: var(--text-muted);
  font-size: 1.125rem; /* 18px equivalent */
  line-height: 1.6;
  text-align: left;
}

/* Answer paragraphs should also be left aligned */
.faq-answer p {
  text-align: left;
  margin: 2rem 3rem;
}

/* ===============================
   PURE CSS PLUS / MINUS ICON
   =============================== */

.toggle-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.toggle-icon::before,
.toggle-icon::after {
  content: "";
  position: absolute;
  background: var(--text-muted);
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

/* Horizontal line */
.toggle-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Vertical line (creates +) */
.toggle-icon::after {
  width: 2px;
  height: 14px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* When open → minus */
.faq-item.active .toggle-icon::after {
  opacity: 0;
}

/* Toggle icon turns white on hover */
.faq-item:hover .toggle-icon::before,
.faq-item:hover .toggle-icon::after {
  background: #ffffff;
}

/* ===============================
   CATEGORY TAGS
   =============================== */

.category-indicator {
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-left: 0.75rem;
  background: var(--bg-hover);
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
  text-transform: uppercase;
  /* letter-spacing: 0.05em; */
  transition: all 0.25s ease;
  align-self: flex-start;
  margin-top: 0.15rem;
  white-space: nowrap;
}

/* ===============================
   QUESTION NUMBER
   =============================== */

.question-number {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-hover);
  color: var(--text-muted);
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 400;
  margin-right: 12px;
  transition: all 0.25s ease;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.1rem;
}

.faq-item:hover .question-number {
  background: rgba(255, 255, 255, 0.2);
}

/* ===============================
   FAQ ITEM STATES
   =============================== */

.faq-item {
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.25s ease;
}

/* Hover state for entire FAQ item */
.faq-item:hover {
  background-color: var(--bg-hover);
}

/* Active item should maintain hover background when expanded */
.faq-item.active:hover {
  background-color: var(--bg-hover);
}

.faq-item.active:hover .faq-question {
  background-color: var(--bg-hover);
}

/* Expand / collapse */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  text-align: left;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding-bottom: 1.25rem;
  padding-top: 0.25rem;
}

/* ===============================
   NO RESULTS
   =============================== */

.no-results {
  text-align: center;
  padding: 3rem 1rem;
  display: none;
}

.no-results h3 {
  color: var(--text-main);
  margin-bottom: 0.5rem;
  text-align: center;
}

.no-results p {
  color: var(--text-muted);
  font-size: 1.125rem;
  text-align: center;
}

/* ===============================
   BACK TO TOP BUTTON
   =============================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  font-size: 1.25rem;
  font-weight: bold;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ===============================
   SEARCH CONTAINER
   =============================== */

.search-container {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.search-box {
  width: 100%;
  padding: 1rem 1.25rem;
  padding: 1rem 1.25rem; 
  border: 1px solid var(--border-soft);
  border-radius: 50px;
  font-size: 1rem;
  background: var(--bg-main);
  color: var(--text-main);
  transition: all 0.25s ease;
  text-align: left;
}

.search-box:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 58, 123, 213), 0.1);
}

/* ===============================
   CONTAINER ALIGNMENT
   =============================== */

.container {
  text-align: left;
}

.faq-container {
  text-align: left;
}

/* ===============================
   MOBILE
   =============================== */

@media (max-width: 640px) {
  .faq-question {
    padding: 1rem 1.25rem;
    align-items: flex-start;
  }

  .faq-answer {
    padding: 0 1.25rem;
    font-size: 1rem;
  }
  
  .faq-item.active .faq-answer {
    padding-bottom: 1rem;
    padding-top: 0.25rem;
  }
  
  .question-number {
    min-width: 24px;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    margin-right: 10px;
    margin-top: 0.15rem;
  }
  
  .category-indicator {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    margin-left: 0.5rem;
    margin-top: 0.2rem;
  }
  
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.125rem;
  }
  
  /* Stack category indicator on mobile for better fit */
  @media (max-width: 480px) {
    .question-content {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .category-indicator {
      margin-left: 0;
      margin-top: 0.5rem;
      align-self: flex-start;
    }
  }
}
/* Hide extra FAQs initially */
.faq-item.hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  border-bottom: none;
}

/* ===============================
   SEE ALL BUTTON
   =============================== */

.see-all-container {
  text-align: center;
  margin: 2rem 0 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}
.see-all-btn {
  background: var(--bg-main);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.see-all-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(var(--primary-rgb, 58, 123, 213), 0.2);
}

.see-all-btn i {
  transition: transform 0.3s ease;
}

.see-all-btn.expanded i {
  transform: rotate(180deg);
}
.faq-item {
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.25s ease;
  max-height: 5000px; /* Large value for smooth expansion */
  overflow: hidden; /* Required for smooth height transitions */
}
@media (max-width: 640px) {
  /* ... existing mobile styles ... */
  
  .see-all-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}
/* 
Menu css Code */
/* ===============================
   THEME VARIABLES
   =============================== */
/*:root {*/
/*  --bg-main: #000000;*/
/*  --bg-panel: rgba(26, 26, 26, 0.45);*/
/*  --bg-panel-level-3: rgba(26, 26, 26, 0.95);*/
/*  --bg-hover: rgba(255, 255, 255, 0.05);*/
/*  --text-main: #ffffff;*/
/*  --text-muted: rgba(255, 255, 255, 0.6);*/

/*  --border-soft: rgba(255, 255, 255, 0.14);*/

/*  --radius-lg: 30px;*/
/*  --radius-md: 16px;*/

  /* SPRING-LIKE EASING */
/*  --spring: cubic-bezier(0.22, 1, 0.36, 1);*/
/*}*/
a {
  text-decoration: none;
  color: var(--text-main);
}

/* ===============================
   NAV BAR
   =============================== */
.d2m-nav {
  /* background: var(--bg-main); */
  padding: 0px;
  font-family: Rethink Sans;
}

.d2m-nav-list {
  display: flex;
  gap: 0px;
  list-style: none;
}

.nav-menu-items {
  background-color: transparent !important;
  font-family: Rethink Sans;
  padding: 0.5rem 0.5rem;
  color: var(--text-muted) !important;
  transition: color 0.25s ease;
}

/* Hover */
.nav-menu-items:hover {
  color: #ffffff !important;
}

/* Active / Open state */
.d2m-nav-item.open .nav-menu-items,
.nav-menu-items[aria-expanded="true"] {
  color: #ffffff !important;
}

/* ===============================
   TOP LEVEL
   =============================== */
.d2m-nav-item {
  position: relative;
}

.d2m-nav-trigger {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.d2m-nav-trigger:focus-visible {
  outline: 2px solid #4da3ff;
  outline-offset: 4px;
}

/* Invisible hover bridge */
.has-mega::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 30px;
}

/* ===============================
   MEGA PANEL
   =============================== */
.d2m-mega {
  position: absolute;
  top: 44px;
  left: 0;
  width: 300px;
  padding: 12px;
  border-radius: var(--radius-lg);

  /* background: var(--bg-panel);
  backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border-soft);

  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.08); */
      background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05);

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;

  transition: opacity 0.35s var(--spring), transform 0.35s var(--spring);
}

.d2m-nav-item.open .d2m-mega {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Apply same backdrop filter to Level 3 submenus */
.d2m-sub-submenu {
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Ensure webdev mega menu inherits the same */
.mega-webdev .d2m-mega {
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ===============================
   MEGA ITEMS
   =============================== */
.d2m-submenu {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.35s ease, transform 0.35s var(--spring);
}

.d2m-mega-item {
  border-radius: var(--radius-md);
}

.d2m-submenu:hover,
.d2m-submenu:focus-visible {
  background: var(--bg-hover);
  transform: translateY(-1px);
  outline: none;
}

.has-mega:hover .d2m-mega,
.has-mega:focus-within .d2m-mega {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#level-3-menu-item:hover,
#level-3-menu-item:focus-visible {
  background: var(--bg-hover);
  transform: translateY(-1px);
  outline: none;
}
/* #level-3-menu-item:hover {
  background-color:#fff;
} */

/* ===============================
   ICON
   =============================== */
.d2m-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  transition: background 0.25s ease;
}

.d2m-icon svg {
  width: 25px;
  height: 25px;
  fill: var(--text-main);
  transition: fill 0.25s ease;
}

.d2m-mega-item:hover .d2m-icon,
.d2m-mega-item:focus-visible .d2m-icon {
  background: #ffffff;
}

.d2m-mega-item:hover .d2m-icon svg,
.d2m-mega-item:focus-visible .d2m-icon svg {
  fill: #000000;
}

.d2m-mega-item .d2m-icon {
  background: var(--bg-hover);
}
/* ===============================
   LEVEL 3 ICON - d2m-icon-level-3
   =============================== */
.d2m-icon-level-3 {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg-hover);
  transition: background 0.25s ease;
}

.d2m-icon-level-3 svg {
  width: 25px;
  height: 25px;
  fill: var(--text-main);
  transition: fill 0.25s ease;
}

/* Hover effects for Level 3 icon */
.d2m-sub-submenu-item:hover .d2m-icon-level-3,
.d2m-sub-submenu-item:focus-visible .d2m-icon-level-3 {
  background: #ffffff;
}

.d2m-sub-submenu-item:hover .d2m-icon-level-3 svg,
.d2m-sub-submenu-item:focus-visible .d2m-icon-level-3 svg {
  fill: #000000;
}

/* Level-2 arrows CSS webdev */

.mega-webdev .d2m-level-2-item .d2m-hover-arrow,
.mega-webdev .d2m-level-3-panel .d2m-hover-arrow-level-3 {
  display: inline-block !important;
  opacity: 0 !important;
  margin-left: auto !important;
  transition: opacity 0.25s ease, transform 0.9s var(--spring) !important;
}

.mega-webdev .d2m-level-2-item:hover .d2m-hover-arrow,
.mega-webdev .d2m-level-3-panel .d2m-sub-submenu-item:hover .d2m-hover-arrow-level-3 {
  opacity: 1 !important;
  transform: translate(6px, -2px) !important;
}

/* level-2 icons css webdev */

/* Level 2 icons behave like Level 3 icons on hover */
.mega-webdev .d2m-level-2-item:hover .d2m-icon {
  background: #ffffff !important;
  transition: background 0.25s ease;
}

.mega-webdev .d2m-level-2-item:hover .d2m-icon svg {
  fill: #000000 !important;
  transition: fill 0.25s ease;
}

/* Keep default state matching Level 3 icons default */
.mega-webdev .d2m-level-2-item .d2m-icon {
  background: var(--bg-hover);
  transition: background 0.25s ease;
}

.mega-webdev .d2m-level-2-item .d2m-icon svg {
  fill: var(--text-main);
  transition: fill 0.25s ease;
}

/* ===============================
   TEXT
   =============================== */
.d2m-text .title {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
}

.d2m-text .desc {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.d2m-mega-item:hover .desc,
.d2m-mega-item:focus-visible .desc {
  color: var(--text-main);
}

/* Panel header and title */
.mega-webdev .d2m-panel-header {
  padding: 0 12px 12px 12px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 12px;
}

.mega-webdev .d2m-panel-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}
.mega-webdev .d2m-panel-header .d2m-panel-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  text-align: left!important;
  display: block;
  width: 100%;
}

.mega-webdev .d2m-panel-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  text-align: left;  /* Left-align the title text */
}
/* Panel items container - makes it scrollable if needed */
.mega-webdev .d2m-panel-items {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 16px;
}

/* Panel footer with CTA */
.mega-webdev .d2m-panel-footer {
  padding: 16px 12px 8px 12px;
  border-top: 1px solid var(--border-soft);
}

/* CTA button styling (keeping your existing cta classes) */
.mega-webdev .cta-btn {
  width: 100%;
  justify-content: center;
}


/* ===============================
   HIDDEN ARROW
   =============================== */
.d2m-hover-arrow {
  margin-left: auto;
  opacity: 0;
  transform: translate(0, 0);
  transition: opacity 0.25s ease, transform 0.9s var(--spring);
}

.d2m-hover-arrow svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.d2m-mega-item:hover .d2m-hover-arrow,
.d2m-mega-item:focus-visible .d2m-hover-arrow {
  opacity: 1;
  transform: translate(6px, -2px);
}

/* ===============================
   LEVEL 3 HOVER ARROW - d2m-hover-arrow-level-3
   =============================== */
.d2m-hover-arrow-level-3 {
  margin-left: auto;
  opacity: 0;
  transform: translate(0, 0);
  transition: opacity 0.25s ease, transform 0.9s var(--spring);
}

.d2m-hover-arrow-level-3 svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

/* Hover effects for Level 3 arrow */
.d2m-sub-submenu-item:hover .d2m-hover-arrow-level-3,
.d2m-sub-submenu-item:focus-visible .d2m-hover-arrow-level-3 {
  opacity: 1;
  transform: translate(6px, -2px);
}

/* ===============================
   LEVEL 3 SUB-SUBMENU - FIXED
   =============================== */

/* Container for Level 2 items that have sub-submenus */
.d2m-mega-item.has-sub-submenu {
  position: relative;
  cursor: pointer;
}

/* Sub-submenu panel - FIXED POSITION */
.d2m-sub-submenu {
  position: absolute;
  top: -12px; /* Changed from -12px to align better */
  left: 100%; /* Position to the right edge */
  margin-left: 8px; /* Add gap between Level 2 and Level 3 */
  width: 310px;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: var(--bg-panel-level-3);
  backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border-soft);

  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  z-index: 1001;

  transition: opacity 0.35s var(--spring), transform 0.35s var(--spring);
}

/* .d2m-nav-item.open .d2m-sub-submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
} */

/* Show sub-submenu on hover - FIXED: Only show when Level 2 is hovered */
.d2m-mega-item.has-sub-submenu:hover .d2m-sub-submenu,
.d2m-mega-item.has-sub-submenu:focus-within .d2m-sub-submenu {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Prevent Level 2 from closing when hovering Level 3 */
.d2m-mega-item.has-sub-submenu:hover,
.d2m-mega-item.has-sub-submenu:focus-within {
  background: var(--bg-hover);
}

/* FIX: Reset Level 3 items to default state (not hovered) */
.d2m-sub-submenu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--radius-md);
  text-decoration: none;
  background: transparent; /* Ensure no background by default */
  transition: background 0.35s ease, transform 0.35s var(--spring);
}

/* FIX: Level 3 items should only show hover state on actual hover */
.d2m-sub-submenu-item:hover,
.d2m-sub-submenu-item:focus-visible {
  background: var(--bg-hover);
  transform: translateY(-1px);
  outline: none;
}

/* FIX: Level 3 icons should be in default state until hovered */
.d2m-sub-submenu-item .d2m-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg-hover); /* Default state */
  transition: background 0.25s ease;
}

.d2m-sub-submenu-item .d2m-icon svg {
  width: 25px;
  height: 25px;
  fill: var(--text-main); /* Default state */
  transition: fill 0.25s ease;
}

/* FIX: Only apply hover styles to Level 3 items when they themselves are hovered */
.d2m-sub-submenu-item:hover .d2m-icon,
.d2m-sub-submenu-item:focus-visible .d2m-icon {
  background: #ffffff;
}

.d2m-sub-submenu-item:hover .d2m-icon svg,
.d2m-sub-submenu-item:focus-visible .d2m-icon svg {
  fill: #000000;
}

/* FIX: Level 3 text should be in default state */
.d2m-sub-submenu-item .d2m-text .title {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
}

.d2m-sub-submenu-item .d2m-text .desc {
  display: block;
  font-size: 13px;
  color: var(--text-muted); /* Default muted color */
  transition: color 0.25s ease;
}

/* FIX: Only change desc color on actual Level 3 item hover */
.d2m-sub-submenu-item:hover .desc,
.d2m-sub-submenu-item:focus-visible .desc {
  color: var(--text-main);
}

/* FIX: Level 3 arrows should be hidden by default */
.d2m-sub-submenu-item .d2m-hover-arrow {
  margin-left: auto;
  opacity: 0; /* Hidden by default */
  transform: translate(0, 0);
  transition: opacity 0.25s ease, transform 0.9s var(--spring);
}

.d2m-sub-submenu-item .d2m-hover-arrow svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

/* FIX: Only show arrow on Level 3 item hover */
.d2m-sub-submenu-item:hover .d2m-hover-arrow,
.d2m-sub-submenu-item:focus-visible .d2m-hover-arrow {
  opacity: 1;
  transform: translate(6px, -2px);
}

/* Invisible hover bridge for Level 3 - FIXED POSITION */
.d2m-mega-item.has-sub-submenu::after {
  content: "";
  position: absolute;
  top: 0;
  right: -8px; /* Adjusted to match margin-left on sub-submenu */
  width: 20px; /* Smaller bridge to prevent overlap */
  height: 100%;
  z-index: 999;
}

/* FIX: Ensure Level 2 hover state doesn't affect Level 3 items */
.d2m-mega-item.has-sub-submenu:hover {
  background: var(--bg-hover);
}

/* FIX: Level 2 hover should only affect Level 2 elements */
.d2m-mega-item.has-sub-submenu:hover > .d2m-icon {
  background: #ffffff;
}

.d2m-mega-item.has-sub-submenu:hover > .d2m-icon svg {
  fill: #000000;
}

.d2m-mega-item.has-sub-submenu:hover > .d2m-text .desc {
  color: var(--text-main);
}

/* FIX: Level 2 hover arrow - only show on Level 2 hover */
.d2m-mega-item.has-sub-submenu > .d2m-hover-arrow {
  opacity: 0;
}

.d2m-mega-item.has-sub-submenu:hover > .d2m-hover-arrow {
  opacity: 1;
  transform: translate(6px, -2px);
}

/* IMPORTANT: Ensure Level 3 items are not affected by Level 2 hover */
.d2m-mega-item.has-sub-submenu:hover .d2m-sub-submenu-item {
  background: transparent; /* Reset any inherited background */
}

.d2m-mega-item.has-sub-submenu:hover .d2m-sub-submenu-item .d2m-icon {
  background: var(--bg-hover); /* Default state for Level 3 icons */
}

.d2m-mega-item.has-sub-submenu:hover .d2m-sub-submenu-item .d2m-icon svg {
  fill: var(--text-main); /* Default state for Level 3 icons */
}

.d2m-mega-item.has-sub-submenu:hover .d2m-sub-submenu-item .d2m-hover-arrow {
  opacity: 0; /* Keep Level 3 arrows hidden until hovered */
}

/* Fix for Firefox backdrop-filter */
/* @supports not (backdrop-filter: blur(28px)) {
  .d2m-sub-submenu {
    background: rgba(26, 26, 26, 0.95);
  }
} */

/* FIX: Ensure proper z-index stacking */
.d2m-sub-submenu {
  z-index: 1001; /* Higher than Level 2 */
}

.d2m-mega {
  z-index: 1000; /* Lower than Level 3 */
}

/* Web Dev CSS Code */
/* ===============================
   TWO-COLUMN WEB DEV MEGA MENU ONLY
   =============================== */

.mega-webdev .d2m-mega {
  display: flex;
  gap: 16px;
  width: 750px; /* Fixed width for two columns */
  padding: 16px;
  min-height: 75vh;
}

.mega-webdev .d2m-level-2-container {
  width: 45%;
  border-right: 1px solid var(--border-soft);
  padding-right: 12px;
}

.mega-webdev .d2m-level-3-container {
  width: 55%;
  position: relative;
  min-height: 300px;
}

.mega-webdev .d2m-level-3-panel {
  position: absolute;
  inset: 0;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mega-webdev .d2m-level-3-panel.active {
  display: block;
  opacity: 1;
}

/* Level 2 items styling */
.mega-webdev .d2m-level-2-item {
  border-radius: var(--radius-md);
  margin-bottom: 4px;
  transition: background 0.25s ease;
}

.mega-webdev .d2m-level-2-item:hover,
.mega-webdev .d2m-level-2-item.active {
  background: var(--bg-hover);
}

.mega-webdev .d2m-level-2-item .d2m-submenu {
  background: transparent;
}

/* Remove arrows from Level 2 items */
.mega-webdev .d2m-level-2-item .d2m-hover-arrow {
  display: none;
}

/* Level 3 panel items */
.mega-webdev .d2m-level-3-panel .d2m-sub-submenu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 4px;
  transition: background 0.25s ease;
}

.mega-webdev .d2m-level-3-panel .d2m-sub-submenu-item:hover {
  background: var(--bg-hover);
}
/*PRICING TABLE CODE STARTS*/

/* ---------- Theme Variables ---------- */
:root {
  --bg-page: #000000;
  --bg-panel: #0b0b0b;
  --bg-panel-elevated: #101010;
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-faint: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.55);
  --blue-accent: #004fff;
}

.elementor-6 .elementor-element.elementor-element-c72d0b0{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--overlay-opacity:0.72;--margin-top:15px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:40px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-6 .elementor-element.elementor-element-c72d0b0::before, .elementor-6 .elementor-element.elementor-element-c72d0b0 > .elementor-background-video-container::before, .elementor-6 .elementor-element.elementor-element-c72d0b0 > .e-con-inner > .elementor-background-video-container::before, .elementor-6 .elementor-element.elementor-element-c72d0b0 > .elementor-background-slideshow::before, .elementor-6 .elementor-element.elementor-element-c72d0b0 > .e-con-inner > .elementor-background-slideshow::before, .elementor-6 .elementor-element.elementor-element-c72d0b0 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:var( --e-global-color-secondary );--background-overlay:'';}.elementor-6 .elementor-element.elementor-element-ab34c87{--display:flex;}.elementor-6 .elementor-element.elementor-element-1754296{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-6 .elementor-element.elementor-element-47cf4bc{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-widget-heading .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-6 .elementor-element.elementor-element-db0f20e{width:var( --container-widget-width, 88% );max-width:88%;--container-widget-width:88%;--container-widget-flex-grow:0;text-align:center;}.elementor-6 .elementor-element.elementor-element-db0f20e.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-6 .elementor-element.elementor-element-db0f20e .elementor-heading-title{font-size:70px;font-weight:600;line-height:1.1em;color:var( --e-global-color-text );}.elementor-widget-text-editor{color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-6 .elementor-element.elementor-element-8636652{width:var( --container-widget-width, 70.41% );max-width:70.41%;--container-widget-width:70.41%;--container-widget-flex-grow:0;text-align:center;color:var( --e-global-color-accent );}.elementor-6 .elementor-element.elementor-element-8636652.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-6 .elementor-element.elementor-element-c7c061d{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-6 .elementor-element.elementor-element-2ae2b81{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-6 .elementor-element.elementor-element-186c208 .masscie-item img{width:500px;}.elementor-6 .elementor-element.elementor-element-ac65a73 .masscie-item img{width:500px;}.elementor-6 .elementor-element.elementor-element-2778daf{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:4%;--padding-bottom:0%;--padding-left:0%;--padding-right:0%;}.elementor-6 .elementor-element.elementor-element-c5e2b8e{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-6 .elementor-element.elementor-element-c5e2b8e.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-6 .elementor-element.elementor-element-dac7eb2{--e-rating-justify-content:center;}.elementor-6 .elementor-element.elementor-element-990ad10{text-align:center;}.elementor-6 .elementor-element.elementor-element-990ad10 .elementor-heading-title{color:var( --e-global-color-accent );}.elementor-6 .elementor-element.elementor-element-6d59221 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-6 .elementor-element.elementor-element-9c3a6fe{--display:flex;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );}.elementor-6 .elementor-element.elementor-element-e987451{--display:flex;}:root{--page-title-display:none;}@media(max-width:1366px){.elementor-6 .elementor-element.elementor-element-db0f20e{width:var( --container-widget-width, 626.675px );max-width:626.675px;--container-widget-width:626.675px;--container-widget-flex-grow:0;}}@media(min-width:768px){.elementor-6 .elementor-element.elementor-element-c72d0b0{--width:100%;}.elementor-6 .elementor-element.elementor-element-ab34c87{--width:80%;}.elementor-6 .elementor-element.elementor-element-c7c061d{--width:100%;}.elementor-6 .elementor-element.elementor-element-2ae2b81{--width:95%;}.elementor-6 .elementor-element.elementor-element-2778daf{--width:100%;}.elementor-6 .elementor-element.elementor-element-c5e2b8e{--width:70%;}.elementor-6 .elementor-element.elementor-element-e987451{--width:100%;}}@media(max-width:767px){.elementor-6 .elementor-element.elementor-element-47cf4bc{--width:100%;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-6 .elementor-element.elementor-element-db0f20e .elementor-heading-title{font-size:30px;}.elementor-6 .elementor-element.elementor-element-2ae2b81{--width:90%;}}/* Start custom CSS for html, class: .elementor-element-5aec64f *//* ===============================
   FUTURE-READY PILL CTA
   =============================== */

.d2m-pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;

  padding: 5px 5px 5px 30px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  color: #cfd3d8;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;

  transition: background 0.3s ease;
}

/* TEXT */
.d2m-pill-text {
  white-space: nowrap;
  color: var(--e-global-color-accent);
  
  font-family: var(--font-body);
}

/* ICON CONTAINER */
.d2m-pill-icon {
  width: 30px;
  height: 30px;

  background: #004fff;
  border-radius: 50%;

  display: grid;
  place-items: center;

  flex-shrink: 0;
}

/* SVG ARROW */
.d2m-pill-icon svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

/* OPTIONAL HOVER (SUBTLE) */
.d2m-pill-cta:hover {
  background: rgba(255, 255, 255, 0.12);
}/* End custom CSS */
/* Start custom CSS for heading, class: .elementor-element-db0f20e */.max-width-header h1{
    max-width: 100%;
    padding-right:0px!important;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-812d047 */#change-btn-color{
    color:var(--cta-text);
      font-weight: 500;
    
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0px 0px 0px 40px;
  gap: 14px;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-text);
  border: none;
  cursor: pointer;
  font-size: 18px;

  overflow: hidden;
  transition: transform 1s var(--ease-luxury);
  will-change: transform;
}/* End custom CSS */
/* Start custom CSS for masscie-image-marquee, class: .elementor-element-186c208 */@media (max-width: 768px) {
  .elementor-widget-masscie-image-marquee img {
    width: 180px!important;
    height: 100%;
    border-radius:20px!important;
    border-width:2px;
}
}/* End custom CSS */
/* Start custom CSS for masscie-image-marquee, class: .elementor-element-6d59221 */#logo img{
    border-width:0px;
    border-radius:1px!important;
    width:150px;
}

@media (max-width: 768px){
  #logo img{
    
    width:100px!important;
}  
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-06f39ba *//* ============================================
   DIV-BASED PRICING TABLE - DIGITAL 2MORO
   FULL PRODUCTION VERSION
   ============================================ */



/* ---------- Module Container ---------- */
#taxi-app-page {
  width: 100%;
  background: var(--bg-page, #000000);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  float: left;
}

.taxi-app-page-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 60px) clamp(10px, 3vw, 10px);
}

/* ---------- PRICE_TABLE Container ---------- */
.PRICE_TABLE {
  display: table;
  width: 100%;
  border: 1px solid var(--border-soft, rgba(255, 255, 255, 0.08));
  border-radius: clamp(12px, 1.5vw, 20px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-panel, #0b0b0b), var(--bg-panel-elevated, #101010));
  margin-top: 20px;
}

/* ---------- Table Row ---------- */
.PRICE_TABLE ._TR_ {
  display: table-row;
}

/* ---------- Table Cell ---------- */
.PRICE_TABLE ._TD_ {
  display: table-cell;
  padding: clamp(15px, 2.5%, 24px) clamp(12px, 2%, 20px);
  border-style: solid;
  border-color: var(--border-soft, rgba(255, 255, 255, 0.08));
  border-width: 0 1px 1px 0;
  vertical-align: middle;
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--text-secondary, rgba(255, 255, 255, 0.72));
  line-height: 1.6;
  text-align: left;
}

.PRICE_TABLE ._TD_:last-child {
  border-right: none;
}

.best-value{
    color:#014fff!important;
    font-weight: 750!important;
}

.best-price{
    color:#014fff!important;
    font-weight: 800;
}
/* ---------- Column Widths ---------- */
.PRICE_TABLE ._TD_:first-child {
  width: 8%;
  min-width: auto;
  text-align: center;
  /* font-size: 11px!important; */
  padding: 6px !important;;
  color: var(--text-muted, rgba(255, 255, 255, 0.55));
  font-weight: 500;
  border-left-width: 0;
}

.PRICE_TABLE ._TD_:nth-child(2) {
  width: 35%;
  border-right-width: 0;
  border-left-width: 0;
}

.PRICE_TABLE ._TD_:nth-child(3),
.PRICE_TABLE ._TD_:nth-child(4),
.PRICE_TABLE ._TD_:nth-child(5) {
  width: 20%;
  text-align: center;
}

/* Column backgrounds */
.PRICE_TABLE ._TR_ ._TD_:nth-child(3) {
     background:rgb(93 93 93 / 12%);
}

.PRICE_TABLE ._TR_ ._TD_:nth-child(4) {
  background: rgba(255, 255, 255, 0.95);
  color: #000000;
}

.PRICE_TABLE ._TR_ ._TD_:nth-child(5) {
 background:rgb(93 93 93 / 12%);
}

/* ---------- Header Row ---------- */
.PRICE_TABLE ._TR_._HEAD_ ._TD_ {
  background-color: #1a1a1a !important;
  color: var(--text-primary, #ffffff) !important;
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 22px);
  position: relative;
  border-bottom: 2px solid var(--border-soft, rgba(255, 255, 255, 0.12)) !important;
}

.PRICE_TABLE ._TR_._HEAD_ ._TD_:first-child,
.PRICE_TABLE ._TR_._HEAD_ ._TD_:nth-child(2) {
  background-color: #1a1a1a !important;
}

/* ---------- General Title ---------- */
.PRICE_TABLE .general__title {
  margin: 0;
  padding: 0;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--text-primary, #ffffff);
  font-weight: 600;
  text-transform: uppercase;
  text-align: left;
}

.PRICE_TABLE .general__title span {
  color: var(--blue-accent, #004fff);
}

.PRICE_TABLE .general__title ~ p {
  color: var(--text-muted, rgba(255, 255, 255, 0.55));
  font-size: clamp(14px, 1.5vw, 18px);
  margin-top: 10px;
  line-height: 1.5;
}

/* ---------- Package Columns ---------- */
.PRICE_TABLE ._TD_.pachage-column {
  width: 20%;
  max-width: 249px;
  text-align: center;
  padding: 0;
  background: transparent;
  color: var(--text-primary, #ffffff);
}

.PRICE_TABLE ._TD_.pachage-column > div {
  padding: clamp(15px, 2.5%, 24px) clamp(10px, 1.5%, 20px);
  position: relative;
  min-height: 215px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Package styling */
.PRICE_TABLE ._TD_ .shape {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-primary, #ffffff);
}

.PRICE_TABLE ._TD_ .shape b.b {
  color: var(--text-primary, #ffffff);
  text-transform: capitalize;
  margin-bottom: 5px;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
}

.PRICE_TABLE ._TD_ .shape b {
  font-weight: 500;
  display: flex;
  justify-content: center;
  font-size: clamp(16px, 1.8vw, 20px);
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  color: var(--text-primary, #ffffff);
}

.PRICE_TABLE ._TD_ .shape span.diactive {
  font-weight: 500;
  display: block;
  position: relative;
  z-index: 1;
  font-size: clamp(8px, 1.5vw, 18px);
  color: var(--text-muted, rgba(255, 255, 255, 0.55));
  width: auto;
  margin: 5px 0 0 0;
  text-decoration: line-through;
}

/* Premium column text colors */
.PRICE_TABLE ._TD_.pachage-column.blue .shape,
.PRICE_TABLE ._TD_.pachage-column.blue .shape b,
.PRICE_TABLE ._TD_.pachage-column.blue .shape b.b {
  color: #000000;
}

.PRICE_TABLE ._TD_.pachage-column.blue .shape span.diactive {
  color: rgba(0, 0, 0, 0.5);
}

.PRICE_TABLE ._TD_.pachage-column.blue .shape small {
  color: rgba(0, 0, 0, 0.7);
}

.PRICE_TABLE ._TD_.pachage-column small.blink {
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: normal;
  color: #ff6b6b;
  display: block;
  margin: 3px 0 5px 0;
  text-transform: uppercase;
}

.PRICE_TABLE ._TD_.pachage-column.blue small.blink {
  color: var(--blue-accent, #004fff);
}

/* Discount label */
.PRICE_TABLE ._TD_.pachage-column span.discount-label {
  display: inline-block;
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: clamp(11px, 1.1vw, 13px);
  margin-top: 8px;
  line-height: normal;
}

.PRICE_TABLE ._TD_.pachage-column.blue span.discount-label {
  background: rgba(0, 79, 255, 0.1);
  color: var(--blue-accent, #004fff);
}

.PRICE_TABLE ._TD_.pachage-column span.discount-label .discoumt-txt {
  font-weight: 500;
}

.PRICE_TABLE ._TD_.pachage-column span.discount-label label {
  font-weight: 700;
  margin-right: 4px;
}

/* ---------- Buttons ---------- */
.plan_button {
  display: inline-block;
  padding: clamp(8px, 1.5%, 12px) clamp(16px, 3%, 24px);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(12px, 1.2vw, 14px);
  margin: 15px 0 0 0;
  border: 1px solid;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

/* Standard & Enterprise buttons */
.PRICE_TABLE ._TD_.pachage-column.orange .plan_button,
.PRICE_TABLE ._TD_.pachage-column.green .plan_button {
  background: #ffffff !important;
  color: var(--blue-accent, #004fff) !important;
  border-color: #ffffff !important;
}

.PRICE_TABLE ._TD_.pachage-column.orange .plan_button:hover,
.PRICE_TABLE ._TD_.pachage-column.green .plan_button:hover {
  background: #f0f0f0 !important;
  border-color: #f0f0f0 !important;
}

/* Premium button */
.PRICE_TABLE ._TD_.pachage-column.blue .plan_button {
  background: var(--blue-accent, #004fff) !important;
  color: #ffffff !important;
  border-color: var(--blue-accent, #004fff) !important;
}

.PRICE_TABLE ._TD_.pachage-column.blue .plan_button:hover {
  background: #0033cc !important;
  border-color: #0033cc !important;
}

/* Bottom buy buttons */
.PRICE_TABLE ._TD_ a.buy-package {
  margin: 0;
  padding: 0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: normal;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  height: 149px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.PRICE_TABLE ._TD_ a.buy-package.orange {
  background: rgba(59, 130, 246, 0.2) !important;
  color: #ffffff !important;
}

.PRICE_TABLE ._TD_ a.buy-package.orange:hover {
  background: rgba(59, 130, 246, 0.3) !important;
}

.PRICE_TABLE ._TD_ a.buy-package.blue {
  background: var(--blue-accent, #004fff) !important;
  color: #ffffff !important;
}

.PRICE_TABLE ._TD_ a.buy-package.blue:hover {
  background: #0033cc !important;
}

.PRICE_TABLE ._TD_ a.buy-package.green {
  background: rgba(139, 92, 246, 0.2) !important;
  color: #ffffff !important;
}

.PRICE_TABLE ._TD_ a.buy-package.green:hover {
  background: rgba(139, 92, 246, 0.3) !important;
}

/* ---------- Icon Styling ---------- */
.PRICE_TABLE ._TD_ img[src*="digital2moro.tech"] {
  width: 25px;
  height: 25px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

/* Override elementor image border */
/* .elementor-kit-5 img {
  border-style: solid;
  border-width: 5px 5px 5px 5px;
  border-color: #1a1a1a00;
  border-radius: 30px 30px 30px 30px;
} */

/* ---------- Feature List Styling ---------- */
.PRICE_TABLE ._TR_ ._TD_ ul.complisting {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
}

@media (max-width: 1200px) {
  .PRICE_TABLE ._TR_ ._TD_ ul.complisting {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .PRICE_TABLE ._TR_ ._TD_ ul.complisting {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .PRICE_TABLE ._TR_ ._TD_ ul.complisting {
    grid-template-columns: 1fr;
  }
}

.PRICE_TABLE ._TR_ ._TD_ ul.complisting li {
  position: relative;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
  width: 100%;
  flex-direction: column-reverse;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 4.44px rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary, rgba(255, 255, 255, 0.72));
  font-size: clamp(13px, 1.4vw, 15px);
}

.PRICE_TABLE ._TR_ ._TD_ ul.complisting li i {
  display: inline-flex;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
}

.PRICE_TABLE ._TR_ ._TD_ ul.complisting li i img {
  height: 45px;
  width: auto;
  filter: brightness(0) invert(1);
}

.PRICE_TABLE ._TR_ ._TD_ ul.complisting li small {
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 600;
  color: var(--text-primary, #ffffff);
  display: block;
  width: 100%;
}

.PRICE_TABLE ._TR_ ._TD_ ul.complisting li .video-main {
  display: block;
  text-align: right;
  width: 100%;
  position: absolute;
  right: 5px;
  top: 5px;
}

.PRICE_TABLE ._TR_ ._TD_ ul.complisting li .video-main .clientvideos img {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.PRICE_TABLE ._TR_ ._TD_ ul.complisting li .video-main .clientvideos:hover img {
  opacity: 1;
}

/* ---------- Highlighted Row ---------- */
/* .PRICE_TABLE ._TR_.hilighted ._TD_ {
  background: #ff !important;
}
 */
/* ---------- Section Number Classes ---------- */
.a_sec, .b_sec, .c_sec, .d_sec, .e_sec, .f_sec, .g_sec, .h_sec, .i_sec, .j_sec, .k_sec, .l_sec {
  font-weight: 600;
  color: var(--text-primary, #ffffff);
}

/* ---------- Strong/Bold Text ---------- */
.PRICE_TABLE ._TR_ strong {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--text-primary, #ffffff);
  font-weight: 600;
}

.PRICE_TABLE ._TD_:nth-child(4) strong {
  color: #000000;
}

/* ---------- Links ---------- */
.PRICE_TABLE ._TD_ a {
  color: var(--blue-accent, #004fff);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.PRICE_TABLE ._TD_ a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ---------- Last Row ---------- */
.PRICE_TABLE ._TR_:last-child ._TD_ {
  border-bottom: none;
  padding: 0;
}

.PRICE_TABLE ._TR_:last-child ._TD_:first-child,
.PRICE_TABLE ._TR_:last-child ._TD_:nth-child(2) {
  border: none;
}

/* ---------- Box Color for Headers ---------- */
.boxcolor12 {
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Extra Space ---------- */
.extra_space {
  margin: 5px 0;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 1024px) {
  .PRICE_TABLE ._TD_ {
    font-size: 1.5vw;
    padding: 1.5vw;
  }
  
  .PRICE_TABLE .general__title {
    font-size: 2.8vw;
  }
  
  .PRICE_TABLE .general__title ~ p {
    font-size: 1.5vw !important;
  }
  
  .PRICE_TABLE ._TR_ strong,
  .PRICE_TABLE ._TR_._HEAD_ ._TD_:nth-child(2) {
    font-size: 2.5vw;
  }
  
  .PRICE_TABLE ._TD_ .shape,
  .PRICE_TABLE ._TD_ .shape b.b,
  .PRICE_TABLE ._TD_ .shape b {
    font-size: 2.5vw;
  }
  
  .PRICE_TABLE ._TD_ img[src*="digital2moro.tech"] {
    width: 3vw;
    height: 3vw;
  }
  
  .PRICE_TABLE ._TD_.pachage-column {
    width: 19vw;
    max-width: 19vw;
  }
  
  .PRICE_TABLE ._TD_ a.buy-package {
    font-size: 2.2vw;
    height: 14.9vw;
  }
  
  .PRICE_TABLE ._TR_ ._TD_ ul.complisting li small {
    font-size: 1.5vw;
  }
  
  .plan_button {
    padding: 1.3vw 3vw;
    font-size: 1.5vw;
  }
}

@media screen and (max-width: 768px) {
  .PRICE_TABLE ._TD_ {
    font-size: 12px;
    padding: 10px;
  }
  
  .PRICE_TABLE .general__title {
    font-size: 20px;
  }
  
  .PRICE_TABLE .general__title ~ p {
    font-size: 11px !important;
  }
  
  .PRICE_TABLE ._TR_ strong {
    font-size: 11px;
  }
  
  .PRICE_TABLE ._TD_ img[src*="digital2moro.tech"] {
    width: 20px !important;
    height: 20px;
  }
  
  .PRICE_TABLE ._TR_ ._TD_ ul.complisting li small {
    font-size: 11px;
  }
  
  .PRICE_TABLE ._TR_ ._TD_ ul.complisting li i img {
    height: 30px;
  }
  
  .PRICE_TABLE ._TD_ a.buy-package {
    height: 100px;
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .PRICE_TABLE ._TR_ ._TD_ ul.complisting li {
    padding: 8px;
  }
  
  .PRICE_TABLE ._TR_ ._TD_ ul.complisting li i img {
    height: 25px;
  }
  
  .PRICE_TABLE ._TD_.pachage-column span.discount-label {
    font-size: 9px;
    padding: 3px 6px;
  }
  
  .PRICE_TABLE ._TD_ a.buy-package {
    height: 80px;
    font-size: 14px;
  }
}

/* ---------- Utility Classes ---------- */
.valign {
  vertical-align: top;
}

.colspan-2 {
  grid-column: span 2;
}
/* ---------- Font Awesome Icon Styling ---------- */
.PRICE_TABLE ._TR_ ._TD_ ul.complisting li i {
  font-size: 32px;
  color: #ffffff;
  display: inline-flex;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
}

/* Premium column icon colors */
.PRICE_TABLE ._TD_:nth-child(4) ul.complisting li i {
  color: #004fff;
}

/* Video play icon styling */
.PRICE_TABLE ._TR_ ._TD_ ul.complisting li .video-main i {
  font-size: 18px;
  color: #004fff;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  width: auto;
  height: auto;
  margin-bottom: 0;
}

.PRICE_TABLE ._TR_ ._TD_ ul.complisting li .video-main i:hover {
  opacity: 1;
}

/* Responsive icon sizing */
@media screen and (max-width: 1024px) {
  .PRICE_TABLE ._TR_ ._TD_ ul.complisting li i {
    font-size: 2.5vw;
    width: 4vw;
    height: 4vw;
  }
}

@media screen and (max-width: 768px) {
  .PRICE_TABLE ._TR_ ._TD_ ul.complisting li i {
    font-size: 24px;
    width: 35px;
    height: 35px;
  }
}

@media screen and (max-width: 480px) {
  .PRICE_TABLE ._TR_ ._TD_ ul.complisting li i {
    font-size: 20px;
    width: 30px;
    height: 30px;
  }
}

/* Table Collapse CSS */
/* =========================================
   DIGITAL 2MORO TABLE COLLAPSE SYSTEM
========================================= */

/* ---------- WRAPPER COLLAPSE (FULL TABLE) ---------- */

.pricing-collapse-wrapper {
  width: 100%;
  overflow: hidden;
  transition: max-height 0.6s ease;
  position: relative;
}

/* Initial collapsed height */
.pricing-collapse-wrapper.collapsed {
  max-height: 1000px; /* Adjust as needed */
}

/* Expanded */
.pricing-collapse-wrapper:not(.collapsed) {
  max-height: 20000px; /* Large enough for 217 rows */
}

/* Optional gradient fade */
.pricing-collapse-wrapper.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), #000);
  pointer-events: none;
}


/* ---------- TOGGLE BUTTON ---------- */

.pricing-toggle-wrapper {
  width: 100%;
  margin: 80px auto 60px auto;
  text-align: center;
}

.pricing-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 60px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 999px;
  border: none!important;
  cursor: pointer!important;
  background: linear-gradient(135deg, #004fff, #002ecc);
  color: #ffffff!important;
  box-shadow: 0 10px 30px rgba(0,79,255,0.35);
  transition: all 0.3s ease;
}

.pricing-toggle-btn:hover {
  transform: translateY(-3px);
/*   box-shadow: 0 18px 40px rgba(0,79,255,0.45); */
}


/* ---------- SECTION COLLAPSE ---------- */

/* Make headers clickable */
.PRICE_TABLE ._HEAD_ {
  cursor: pointer;
  transition: background 0.3s ease;
}

.PRICE_TABLE ._HEAD_:hover {
  background: #2a2a2a !important;
}

/* Arrow styling */
.section-arrow {
  float: right;
  transition: transform 0.3s ease;
}

._HEAD_.collapsed .section-arrow {
  transform: rotate(-90deg);
}
.section-arrow-text{
      font-size: clamp(10px, 1.3vw, 16px)!important;
  font-weight:400;
  
}

/* ===============================
   HORIZONTAL SCROLL FIX
=============================== */


.pricing-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

.PRICE_TABLE {
  width: 100%;
  table-layout: fixed;
}


/* PRICING TABLE CODE ENDS *//* End custom CSS */