/*components.css - styles for reusable components like hero sections, buttons, cards, etc. */

/* =================================
HERO
================================ */

.hero{
  position:relative;
  margin-top:var(--header-height);
  height:calc(100vh - var(--header-height));
  min-height:700px;
  /*  min-height: 100vh;      full viewport height */
  overflow:hidden;

  flex-direction: column;


  display:flex;
  align-items:center;
  justify-content: center;  /* vertically center slides */
  text-align:center;
  overflow: hidden;
  background: radial-gradient(circle at 50% -20%, #eff6ff 0%, transparent 60%);

  background-image: url('/images/eippone_hero1.avif');
  background-size: cover;
  background-position: center;


  background-image: url('/images/eippone_hero1.avif');
  background-size: cover;
  background-position: center;


   

  width: 100% !important; 
  margin-left: 0 !important; 
  margin-right: 0 !important;
  padding: 0 !important;

}


 .hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  
  margin: 0 !important;
}


.hero::after{
  content:"";
  position:absolute;
  inset:0;
  backdrop-filter:none;
  z-index:1;
}

.hero-overlay{
  position:relative;
  z-index:2;
  max-width:900px;
  margin:auto;
  color:white;
}

.hero-title{
  color:white;
}
.hero h1 {
  font-size:3.4rem;
  font-weight:800;
  letter-spacing:-0.03em;
  margin-bottom:22px;
  color:var(--text-main);
}

.hero p {
  max-width:620px;
  margin:0 auto 34px;
  color:var(--text-muted);
  font-size:1.2rem;
}

/* =================================
Hero with no image (text only)
================================ */

/* HERO */
    .hero_text {
      text-align:center;
      padding:100px 0 70px;
      background: radial-gradient(circle at 50% -20%, #eff6ff 0%, transparent 60%);
    }

 

    .hero_text h1 {
      /*font-size: 17.5rem;  Increased from 3.4rem */
      font-size: clamp(2.5rem, 8vw, 4.5rem) !important;
      font-weight: 800 !important;
      letter-spacing: -0.03em !important;
      line-height: 1.3 !important;  /* Added to keep lines tight at larger sizes */
      letter-spacing: -0.02em;
      margin-bottom: 22px;
      color: var(--text-main);
    }



    .hero_text p {
      max-width:620px;
      margin:0 auto 34px;
      color:var(--text-muted);
      font-size:1.2rem;
    }
/* =================================
 HERO IMAGE TEXT HERO
================================ */

.hero-image-text {
   /* ensure it stay at the same vertical position on mobile */
  position: absolute;
  text-align:center;
  padding:calc(var(--header-height) + 20px) 0 70px;
  background:radial-gradient(circle at 50% -20%,#eff6ff 0%,transparent 60%);
  /* prevent it to wrap*/
  white-space: nowrap !important;



}

.hero-image-text h1{

font-size:3.4rem;
font-weight:800;
margin-bottom:20px;
color:var(--text-main);
}

.hero-image-text p{

max-width:600px;
margin:auto;
color:var(--text-muted);
font-size:1.2rem;
}


/* Base shared style */
.hero-image-text-italic {
  position: absolute;
  bottom: 30px;
  color: white;
  font-size: clamp(14px, 1rem + 0.5vw, 18px);
  line-height: 1.6;
  padding: 0;                 
  background: transparent;   
  max-width: 300px; 
  border: none;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);               
  backdrop-filter: none;      
  z-index: 2;                 
}

/* CENTER */
.hero-image-text-italic.center {
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 1.4rem;
  bottom: 100px;
  max-width: 80%;
}

/* LEFT */
.hero-image-text-italic.left {
  /* Col 1: Icon (30px) | Col 2: Title (200px) | Col 3: Description (flexible) */
    grid-template-columns: 30px 200px 1fr;
  left: auto;/* left: 40px; */
  transform: none;
  text-align: left;
  max-width: 300px;
  text-overflow: ellipsis; /* adds "..." if text is too long */
  bottom: 500px;
  /* prevent it to wrap*/
  white-space: nowrap;
  /* ensure it stay at the same vertical position on mobile */
  position: absolute;
  z-index: 2; 

}


/* RIGHT */
.hero-image-text-italic.right {
  /* Col 1: Icon (30px) | Col 2: Title (200px) | Col 3: Description (flexible) */
  grid-template-columns: 30px 200px 1fr;
  right: 40px;
 
  /*left: auto;*/
  transform: none;
  text-align: left;
  max-width: 300px;
  text-overflow: ellipsis; /* adds "..." if text is too long */
  bottom: 500px;
  /* prevent it to wrap*/
  white-space: nowrap;
  /* ensure it stay at the same vertical position on mobile */
  position: absolute;
  z-index: 2; 



}

@media (max-width: 768px),
  (max-height: 600px) and (orientation: portrait),
  (max-width: 992px) and (max-height: 700px), (orientation: portrait) and (max-height: 700px),
  (max-width: 992px) and (orientation: portrait), (max-width: 768px) and (orientation: portrait),
  (max-width: 992px) and (max-height: 700px) and (orientation: portrait),
  (max-width: 768px) and (max-height: 700px) and (orientation: portrait),
  (max-width: 992px) and (orientation: portrait) and (max-height: 700px),
  (max-width: 768px) and (orientation: portrait) and (max-height: 700px) {
.hero-image-text-italic.left{
  /* Col 1: Icon (30px) | Col 2: Title (200px) | Col 3: Description (flexible) */
    grid-template-columns: 30px 200px 1fr !important;
  left: auto !important;
  transform: none !important;
  text-align: left !important;
  max-width: 300px !important;
  text-overflow: ellipsis !important; /* adds "..." if text is too long */
  bottom: 400px !important;
  white-space: normal !important; /* enable wrapping on mobile */
}
}

@media (max-width: 768px),
  (max-height: 600px) and (orientation: portrait),
  (max-width: 992px) and (max-height: 700px), (orientation: portrait) and (max-height: 700px),
  (max-width: 992px) and (orientation: portrait), (max-width: 768px) and (orientation: portrait),
  (max-width: 992px) and (max-height: 700px) and (orientation: portrait),
  (max-width: 768px) and (max-height: 700px) and (orientation: portrait),
  (max-width: 992px) and (orientation: portrait) and (max-height: 700px),
  (max-width: 768px) and (orientation: portrait) and (max-height: 700px) {
.hero-image-text-italic.right {

  grid-template-columns: 30px 200px 1fr !important;
  right: 40px !important;
 
  /*left: auto;*/
  transform: none !important;
  text-align: left !important;
  max-width: 300px !important;
  text-overflow: ellipsis !important; /* adds "..." if text is too long */
  bottom: 400px !important;

  white-space: normal !important;/* enable wrapping on mobile */
}

}


/* Lists */
.hero-image-text-italic ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-image-text-italic li {
  margin-bottom: 6px;
}

.hero-image-text-italic li::before {
  content: "▸ ";
  color: #00ffff;
}

.hero-image-text-italic, 
.hero-image-text-italic ul, 
.hero-image-text-italic li {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Optional: adds a shadow so white text is readable over the image */
}

@media (max-width: 768px) {
  .hero-image-text {
    padding: calc(var(--header-height) + 10px) 10px 20px;
    white-space: nowrap !important;/* prevent wrapping on mobile */
    font-size: clamp(14px, 1rem + 0.5vw, 18px);
  }

  .hero-image-text-italic {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    text-align: center;
    /* max width on mobile */
    max-width: 90%;
    font-size: 0.875rem;
    bottom: 20px !important;
  }

   

  .hero-image-text-italic.right {
    bottom: 100px;
  }

  .hero-image-text-italic.left {
    bottom: 40px;
  }

  .hero-image-text-italic.center {
    bottom: 10px;
  }
}

/* ================================
AUTOMATIC HERO SLIDESHOW
================================ */

 
/* Slides container */
.hero-slideshow {
  position: absolute;   /* absolute inside hero */
  background: rgb(9, 5, 146); /* or your dominant color */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;         /* fills entire hero section */
  overflow: hidden;
  z-index: 1;
  
  /* Background image for the slideshow backup */
  background-image: url('/images/eippone_hero1.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

/* Individual slides */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;

  opacity: 0;
  transition: opacity 0.6s ease; /* opacity 1.2s ease-in-out */
  transform: none; /* remove vertical shift */
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide.prev {
  opacity: 0;
  z-index: 2; /* stays on top while fading out */
}

/* Images inside slides */
.hero-image {
  position:absolute;
  width: 100%;
  height: 100%;
  top:0;
  left:0;
  opacity: 0;
  object-fit: cover;/* ensures image covers area without distortion */
  object-position: center top; /* prevents top from being cut */
  transition: opacity 1.2s ease, transform 6s ease-out; /* fade in + zoom */
  object-fit:cover;
  z-index: 1;

}


.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;    
  opacity: 0;
  transition: opacity 1.2s ease, transform 6s ease-out; 
}

.hero-image,
.hero-video {
  transform: scale(1.05);   /* starting zoom */
  transition: opacity 0.6s ease,
    transform var(--duration, 5s) ease-out;
}

.slide.active .hero-image,
.slide.active .hero-video {
  transform: scale(1);      /* zoom OUT smoothly */
  opacity: 1;
}

.slide .hero-video {
  transition: transform 6s ease-out;
}

.slide img[src*="RareEventComputerVisionAnalyticsPlatform"] {
  object-position: top center;
}

.slide.active .hero-video {
  transform: scale(1);
}

/* Hero content: text + button */
.hero-content {
  max-width: 90%;
  position: absolute;
  bottom: 40px;        /* space from bottom */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;          /* above images */
}

/* Hero text animation */
.hero-text {
  font-size: clamp(1.2rem, 2vw, 1.8rem); 
  font-weight: bold;
  color: rgba(21, 221, 236, 0.594);
  margin-bottom: 270px;
  margin-bottom: 255px;
  

  
  white-space: nowrap;
  display: inline-block;   /* prevents full-width stretching */

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

@media (max-width: 768px) {
  .hero-text  {
    font-size: clamp(1rem, 1.5vw, 1.25rem); 
    margin-bottom: 70px;
  }
  
}

.hero-text-white-bg {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: rgb(7, 14, 116);
  margin-bottom: 70px;

  /* KEY FIX */
  white-space: nowrap;
  display: inline-block;

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

@media (max-width: 768px) {
  .hero-text,
  .hero-text-white-bg {
    white-space: normal;   /* allow wrapping on mobile */
    text-align: center;
  }
  
}
.hero-text-bg {
  background: rgba(0, 120, 255, 0.25);
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  animation: fadeInUp 0.4s ease;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text.show {
  opacity: 1;
  transform: translateY(0);
}

/* Call-to-action button */
.hero-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 5px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;


}

.hero-btn:hover {
  background: #1e40af;
  transform: scale(1.05);
}

/* Progress bars at bottom */
.hero-progress {
  position: absolute;
  bottom: 0;          /* pinned at bottom of hero */
  left: 0;
  width: 100%;
  display: flex;
  height: 4px;
  z-index: 4;         /* above slides */
}

.hero-progress span {
  flex: 1;
  background: rgba(255,255,255,0.3);
  margin: 0 2px;
  position: relative;
  overflow: hidden;
}

.hero-progress span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: white;
}

.hero-progress span.active::after {
  animation: progressAnim var(--duration, 5s) linear forwards;
}

.hero-controls {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-controls button {
  background: rgba(11, 68, 238, 0.25);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

.hero-controls button:hover {
  background: rgba(0,0,0,0.8);
}

@keyframes progressAnim {
  from { width: 0%; }
  to { width: 100%; }
}
/*----------------------*/

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px; /* space between buttons */
  flex-wrap: wrap; /* prevents breaking on small screens */
}

.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.eyebrow {
  display:inline-block;
  background:#e0f2fe;
  color:#0284c7;
  box-shadow:0 2px 4px rgba(37,99,235,0.25);
  font-size:0.85rem;
  padding:6px 14px;
  border-radius:50px;
  font-weight:700;
  margin-bottom:24px;

   border: 1px solid var(--primary);

  box-shadow:
    0 4px 8px rgba(37, 99, 235, 0.20),
    0 12px 24px rgba(37, 99, 235, 0.25),
    0 24px 40px rgba(37, 99, 235, 0.15);

  transition: all 0.3s ease;



}

/* =========================
   EXPERTISE BANNER
========================= */

.expertise-banner {
  max-width: 1000px;
  margin: 50px auto;
  padding: 28px 32px;

  align-items: center;

  display: flex;
  flex-direction: column;
  gap: 24px;

  background: #ffffff;
  border: 1px solid var(--primary);
  border-radius: 18px;

  box-shadow:
    0 10px 15px -3px rgba(37, 99, 235, 0.08),
    0 4px 6px -2px rgba(37, 99, 235, 0.05);
}

/* One expertise category */
.expertise-group {
  display: flex;
  flex-wrap: wrap;

  justify-content: center; /* NEW */
  align-items: center;

  gap: 10px;
  width: 100%;

  text-align: center;      /* NEW */
}

/* Category title */
.expertise-title {
  display: block;

  width: 100%;
  margin-bottom: 12px;

  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);

  text-align: center;
}

/* Technology tags */
.expertise-group .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 14px;

  font-size: 0.85rem;
  font-weight: 600;

  color: var(--primary);

  background: #eff6ff;

  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;

  transition: all 0.25s ease;
}

/* Hover effect */
.expertise-group .tag:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {

  .expertise-banner {
    padding: 20px;
  }

  .expertise-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .expertise-title {
    min-width: auto;
    margin-bottom: 8px;
  }
}

    /* SECTION TITLES */
    .section-title {
      text-align:center;
      font-size:2.3rem;
      margin-bottom:10px;
      color:var(--text-main);
    }

    .section-subtitle {
      text-align:center;
      color:var(--text-muted);
      max-width:800px;
      margin:0 auto 50px;
      font-size:1.05rem;
    }



 /* NEW STATS */
 /* Stats Section Styling */
.stats-section {
    position: relative;
    padding: 80px 0;
    /* Uses the background gradient from Landing_Page_Light_styles.css */
}

@media (min-width: 768px) {
    .stats-section { padding: 112px 0; }
}

.stats-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-header {
    text-align: center;
    margin-bottom: 56px;
}

.stats-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text-main);
}

.stats-divider {
    width: 64px;
    height: 4px;
    background-color: var(--accent); /* Teal/Cyan accent */
    margin: 0 auto;
    border-radius: 9999px;
}

/* Grid Layout */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 2vw, 24px);
}


/* Stat Cards */
.stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: clamp(8px, 2vw, 32px); /* reponsive*/
    border: 1px solid var(--primary);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 
              0 4px 6px -2px rgba(37, 99, 235, 0.05);
    transition: all 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;

     min-width: 0; /*Prevent text overflow*/
}

/* CLEAR BLUE NUMBERS */
/* Fix for Stat Numbers */
.stat-value {
    color: #2563eb !important; /* Clear Royal Blue */
    font-size: clamp(2rem, 8vw, 3rem) !important;
    font-weight: 1000;
    font-family: "Arial Black", Gadget, sans-serif;
    margin-bottom: 8px;
    display: block;
    line-height:1;
}



.stat-label {
    color: var(--text-body);
    font-size: clamp(0.5rem, 1.2vw, 1rem);
    font-weight: 500;
    line-height: 1.5;
}

.stat-source {
    font-size: clamp(0.3rem, 0.8vw, 0.75rem);
    color: var(--text-muted);
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.stat-value,
.stat-label,
.stat-source {
    overflow-wrap: break-word;
    word-break: break-word;
}


/* Mobile: stack cards vertically */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        width: 100%;
        padding: 20px;
    }

    .stat-value {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }

    .stat-label {
        font-size: 1rem;
    }

    .stat-source {
        font-size: 0.7rem;
    }
}

 
/* Hover Effect (matches your card-lift logic) */
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* END NEw STATS *?
/* CARDS */
.services-grid {
  display: grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap: 28px;
  margin-top: 30px;
}
/* =================================
BUTTONS
================================ */

    /* BUTTONS */
    .btn {
      padding:10px 20px;
      border-radius:8px;
      font-weight:600;
      display:flex;
      align-items:center;
      justify-content:center;
      font-size:0.95rem;
      transition:0.2s;
      cursor:pointer;
    }

    .btn-primary {
      background:var(--primary);
      color:white;
      box-shadow:0 2px 4px rgba(37,99,235,0.25);
    }
    .btn-primary:hover {
      background:var(--primary-dark);
      transform:translateY(-2px);
      box-shadow:0 4px 10px rgba(37,99,235,0.3);
    }

    .btn-outline {
      background:white;
      border:1px solid var(--border);
      color:var(--text-main);
    }
    .btn-outline:hover {
      border-color:var(--primary);
      color:var(--primary);
      background:#f8fafc;
    }
    

  @media (max-width: 768px) {

  .btn {
    width: 100%;
    padding: 12px;
  }

}

/* =================================
CONTENT PAGE LAYOUT
================================ */

.content-page{

max-width:1100px;
margin:auto;
padding:40px;

line-height:1.7;
}

.content-page h1{

font-size:2.2rem;
margin-bottom:10px;
color:var(--text-main);
}

.content-page h2{

margin-top:40px;
border-bottom:2px solid #e5e7eb;
padding-bottom:6px;
}

.content-page p{

margin-top:16px;
font-size:1.05rem;
}

.content-page ul{

margin-top:12px;
padding-left:20px;
}

.content-page li{

margin-bottom:10px;
}

/* =================================
INFO BOX
================================ */

.info-box{

background:#f8fafc;
border-left:4px solid var(--primary);

padding:16px 20px;
margin-top:30px;

border-radius:8px;
}



.gradient-text{
  background: var(--grad-text);
  background-clip: text;
  color: transparent;
}

/* =========================
   PRODUCTS DEVELOPEMENT STAGE TAG
========================= */
.tag{
display:inline-block;
margin-top:10px;
padding:4px 10px;
font-size:12px;
font-weight:600;
background:#020079;
color:#fff;
border-radius:20px;
}

/* =========================
   price page demo button
========================= */
.btn-demo{
display:block;
text-align:center;
margin-top:20px;
padding:12px;
background:var(--primary);
color:white;
border-radius:6px;
text-decoration:none;
font-weight:600;
transition:0.2s;
}

.btn-demo:hover{
background:#00004d;
}


/* ================
Logo container
===================  */

.brand-logo {
  height: auto;
  max-height: 100px; /* max height for large screens */
  width: auto;
  display: block;
}

/* Brand wrapper */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink:0;
}

/* Logo image */
.logo-image {
  height: clamp(28px, 6vw, 40px); /* scales with viewport height */
  max-height: 50px; /* keeps it reasonable */
  width: auto;
}

/* Text block */
.logo-text-container {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* Main brand name */
.logo-text {
  font-size: 2vw; /* scales with viewport width */
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
}

/* Subtitle */
.logo-subtext {
  font-size: 1vw;
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 500;
  color: #131313;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Logo square */
.logo-square {
  background: var(--primary-dark);
  color: #fff;
  width: 20vw; 
  max-width: 100px;
  height: 6vh;
  max-height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Responsive adjustments for very small screens */
@media (max-width: 480px) {
  .logo-text {
    font-size: 16px;
  }
  .logo-subtext {
    font-size: 9px;
    display: none; /* Hide 'Simulation Dynamics' to save space */
  }

  .hero h1 {
      font-size: 1.8rem; /* Shrink text so it fits */
  }
    
  .logo-square {
    width: 80px;
    height: 32px;
  }
}

/* MOBILE HERO FIX */
/* Ensure hero section is visible and properly sized on mobile */
@media (max-width: 768px), (max-height: 600px) and (orientation: portrait),
  (max-width: 992px) and (max-height: 700px), (orientation: portrait) and (max-height: 700px),
  (max-width: 992px) and (orientation: portrait), (max-width: 768px) and (orientation: portrait),
  (max-width: 992px) and (max-height: 700px) and (orientation: portrait),
  (max-width: 768px) and (max-height: 700px) and (orientation: portrait),
  (max-width: 992px) and (orientation: portrait) and (max-height: 700px),
  (max-width: 768px) and (orientation: portrait) and (max-height: 700px) ,
  (min-height: 500px) and (orientation: portrait) ,
  (min-height: 500px) and (orientation: portrait) and (max-width: 992px),
  (min-height: 500px) and (orientation: portrait) and (max-width: 768px) ,
  (min-height: 500px) and (orientation: portrait) and (max-width: 992px) and (max-height: 700px),
  (min-height: 500px) and (orientation: portrait) and (max-width: 768px) and (max-height: 700px) ,
  (min-height: 500px) and (orientation: portrait) and (max-width: 992px) and (orientation: portrait) and (max-height: 700px),
  (min-height: 500px) and (orientation: portrait) and (max-width: 768px) and (orientation: portrait) and (max-height: 700px),
  (max-width: 992px) and (orientation: portrait) and (max-height: 700px) and (min-height: 500px),
  (max-width: 768px) and (orientation: portrait) and (max-height: 700px) and (min-height: 500px) {
  

    .hero {
      position: relative;
      margin-top: var(--header-height);
      margin-left: 0; /* Ensure no left margin */
      margin-right: 0;
      width: 100%;
      
      height: auto !important;
      min-height: 500px !important;
      display: flex !important;
      visibility: visible !important;
      
    }

    .hero-slideshow,
    .hero-slide,
    .hero-container,
    .slide {
      height: auto !important;
      min-height: 500px !important;
      display: flex !important;
      visibility: visible !important;
      margin: 0 0;    /* Keeps it centered */
    }

    .hero-image {
      height: auto !important;
      min-height: 500px !important;
      display: block !important;
      visibility: visible !important;
      margin: 0 0;    /* Keeps it centered */
    } 

    .hero-video {
      height: auto !important;
      min-height: 500px !important;
      display: block !important;
      visibility: visible !important;
      margin: 0 0;    /* Keeps it centered */
    }


    
 


  .hero h1 {
    font-size: 4rem;
    line-height: 2.4;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .hero-overlay {
    padding: 0 10px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  
  .nav-links {
    display: none; /* Hide by default on mobile */
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    z-index: 1001; /* Ensure it is above the hero section */

    flex-direction: column;
    /*position: fixed;*/
    padding: 20px;
    box-shadow: var(--shadow-md);
    z-index: 3000;

  }
  
  /* Show nav-links when menu is active */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: white;
    /* Add padding/shadow as needed */
  }

  .menu-close {
    display: block;
  }

  /* Handle the Dropdown on Mobile */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
    display: none; /* Can be toggled with JS or shown by default on mobile */
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .nav-search-container {
    margin-left: auto;
    margin-right: 15px;
  }
}


/* ===================================== */
/* SIMULATE → DECIDE → ACT (FINAL STYLE) */
/* ===================================== */

/*  sim-flow Container for the 3 steps */
.sim-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 50px 0 40px;
  padding-left: 24px;
  padding-right: 24px;
}

/* Ambient glow (matches hero feel) */
.sim-flow::before {
  content: "";
  position: absolute;
  inset: -30px -10px;
  background: radial-gradient(circle at 20% 50%, 0 20px 25px -5px rgba(37, 99, 235, 0.1), transparent 0%),
              radial-gradient(circle at 80% 50%, var(--bg-accent), transparent 0%);
  filter: blur(40px);
  z-index: -1;
}

/* responsive */
@media (max-width: 900px) {
  .sim-flow {
    grid-template-columns: 1fr;
  }

}
/* Step card */
.sim-step {
  position: relative;
  padding: 22px 20px;
  border-radius: 14px;

  background: linear-gradient(
            135deg,
            #f8fbff 0%,
            #eef5ff 35%,
            #e0ecff 100%
        );

  border: 1px solid var(--primary);

  backdrop-filter: blur(6px);

  transition: all 0.3s ease;

  /* entrance animation */
  opacity: 0;
  transform: translateY(20px);
  animation: simFadeUp 0.8s ease forwards;
}

/* stagger animation */
.sim-step:nth-child(1) { animation-delay: 0.1s; }
.sim-step:nth-child(2) { animation-delay: 0.25s; }
.sim-step:nth-child(3) { animation-delay: 0.4s; }

@keyframes simFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* subtle top gradient line */
.sim-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, #2563eb, transparent);
  opacity: 0.6;
}

/* hover effect */
.sim-step:hover {
  transform: translateY(-5px);

  /* stronger on hover */
  border-color: var(--primary);

  box-shadow: 
    0 20px 25px -5px rgba(37, 99, 235, 0.1),
    0 0 0 1px rgba(37, 99, 235, 0.15);
}

/* titles */
.sim-step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;

  /* Fallback color (VERY important) */
  color: #e5e7eb !important;

  /* Gradient (progressive enhancement) */
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  
  /* Chrome, Safari, Edge */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent !important;

  /* Future standard (safe to include) */
  background-clip: text;
}

/* text */
.sim-step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(16, 3, 31, 0.75);
}

/* connector line */
.sim-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 20px;
  height: 2px;

  background: linear-gradient(90deg, #2563eb, #7c3aed);
  transform: translateY(-50%);
}

/* responsive */
@media (max-width: 900px) {
  .sim-step:not(:last-child)::after {
    display: none;
  }
}

/* ===================================== */
/* USE CASES + DELIVERABLES + CTA */
/* ===================================== */

/* Shared block styling */
.use-cases,
.deliverables {
  margin: 35px 24px;
  padding: 30px 20px;
  border-radius: 14px;
  
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(10, 51, 216, 0.14);

  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.enterprise-card {
  padding: 30px 24px;
  margin: 35px 0px;
  border-radius: 14px;
  /* slightly stronger emphasis */
  border: 1px solid rgba(37, 99, 235, 0.35);
  
  text-align: left;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.08),
    rgba(124, 58, 237, 0.08)
  
  );
}

  .meta-column-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
  }

.enterprise-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
/* ===================================== */
/* CTA BLOCK (conversion focus) */
/* ===================================== */
/* Stronger emphasis with gradient background and shadow */
.dashboard-cta {
  text-align: center;
  padding: 30px 24px;
  margin: 0;
  width: 100%;
  background: radial-gradient(circle at 50% -20%, #eff6ff 0%, transparent 100%);
 
 
}

/* CTA text */
.dashboard-cta p {
  margin: 10px 0 20px;
  font-size: 0.95rem;
  color: rgba(14, 4, 85, 0.75);
  line-height: 1.6;
}

/* CTA button spacing */

.dashboard-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  padding: 10px 22px;

  white-space: nowrap; /* prevents weird stretching */
}

 

/* Headings */

.dashboard-cta h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
    

  margin-bottom: 14px;
  font-weight: 600;
  text-align:center !important;
  padding-top: 40px !important;
  padding-bottom: 40px !important;

  /* safe gradient text */
  color: #e5e7eb;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  /* Chrome, Safari, Edge */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent !important;

  /* Future standard (safe to include) */
  background-clip: text;
}

.use-cases h3,
.deliverables h3,
.dashboard-cta h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  font-weight: 600;
  text-align:center !important;
  padding-top: 40px !important;
  padding-bottom: 40px !important;

  /* safe gradient text */
  color: #e5e7eb;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  /* Chrome, Safari, Edge */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent !important;

  /* Future standard (safe to include) */
  background-clip: text;
}

/* Lists */
.use-cases ul,
.deliverables ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.use-cases li,
.deliverables li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;

  font-size: 0.95rem;
  color: rgba(11, 4, 45, 0.78);
  line-height: 1.6;
}

/* Custom bullet */
.use-cases li::before,
.deliverables li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;

  color: #60a5fa;
  font-weight: bold;
}

/* Hover lift (very subtle) */
.use-cases:hover,
.deliverables:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.35);
}


 .dashboard-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 20px 0;
   
    background: transparent !important;
  }

@media (max-width: 900px) {
  .dashboard-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .dashboard-meta-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================== */
/* RESPONSIVE */
/* ===================================== */

@media (max-width: 900px) {
  .use-cases,
  .deliverables,
  .dashboard-cta {
    padding: 20px;
  }
}


/* ========================
  ARCHITECTURE  SECTION
  ========================

  /* Architecture Section */
.arch-section {
    padding: 80px 0;
    background-color: #ffffff;
}

@media (min-width: 768px) {
    .arch-section { padding: 112px 0; }
}

.arch-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.arch-header {
    text-align: center;
    margin-bottom: 56px;
}

.arch-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
}

.arch-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Diagram Layout */
.arch-diagram-relative {
    position: relative;
}

.arch-svg-lines {
    display: none; /* Hidden on mobile */
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

@media (min-width: 768px) {
    .arch-svg-lines { display: block; }
}

.arch-layers-stack {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Cards & Boxes */
.arch-card {
    background: #ffffff;
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 0 4px 6px -2px rgba(37, 99, 235, 0.05);
    transition: all 0.3s ease;
}

.arch-card-highlight {
    /*border-color: rgba(37, 99, 235, 0.3);*/
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 0 4px 6px -2px rgba(37, 99, 235, 0.05);

}

.arch-label {
    font-size: 0.75rem;
    color: #2563eb;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.arch-tags-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.arch-tag {
    font-size: 0.75rem;
    color: #64748b;
    background: radial-gradient(circle at top left, #ffffff 0%, #f0f7ff 100%);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--primary);
     
}

/* Grids */
.arch-grid-four {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .arch-grid-four { grid-template-columns: repeat(4, 1fr); }
}

.arch-grid-three {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    background: radial-gradient(circle at top left, #ffffff 0%, #f0f7ff 100%);
}

@media (min-width: 768px) {
    .arch-grid-three { grid-template-columns: repeat(3, 1fr); }
}

.arch-sub-box {
    background: radial-gradient(circle at top left, #ffffff 0%, #f0f7ff 100%);
    border: 1px solid var(--primary);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-main);
    
}

/* Icons & Products */
.arch-icon-wrapper {
    width: 40px;
    height: 40px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.arch-icon-wrapper i {
    color: #2563eb;
    width: 20px;
    height: 20px;
}

.arch-product-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.arch-product-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.arch-connector {
    display: flex;
    justify-content: center;
    color: rgba(37, 99, 235, 0.6);
}

@keyframes stream-flow {
    from { stroke-dashoffset: 20; }
    to { stroke-dashoffset: 0; }
}


/* SERVICES 2 SECON*/

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.services-header {
    text-align: center;
    margin-bottom: 64px;
}

.services-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
}

.services-divider {
    width: 60px;
    height: 5px;
    background-color: var(--primary);
    margin: 0 auto 24px;
    border-radius: 10px;
}

.services-subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}


/* Card Styling */
.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #2563eb; /* Royal Blue Accent */
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700; 
    margin-bottom: 15px;
    color: var(--text-main);
}

.service-card p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-icon {
    color: var(--primary);
    margin-bottom: 20px;
}

.service-icon i {
    width: 32px;
    height: 32px;
}

/* Feature List (Checkmarks) */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.service-list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #14b8a6; /* Teal accent */
    font-weight: bold;
}

/* Reuse your existing card-lift animation */
.service-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.2);
}

.service-emoji {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
}

/* 2x2 services-grid */
.services-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr; /* Default for mobile */
    gap: 30px;
    max-width: 100%; /* Constrain width so cards don't get too wide */
    margin: 0 ;
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 992px) {
    .services-grid-2x2 {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns on Desktop */
    }
}

/* Ensure Icons are visible and blue */
.service-icon i {
    width: 32px;
    height: 32px;
    color: #2563eb !important; /* Force Clear Blue */
    stroke-width: 2px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 24px; /* Increased padding for better internal spacing */
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures cards in the same row have equal height */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-top {
    flex-grow: 1; /* Pushes the list to the bottom if content is short */
}

/* Feature List Style */
.service-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Optional: split list into 2 small columns */
    gap: 10px;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.85rem;
    color: #64748b;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #14b8a6;
    font-weight: bold;
}

/* PLATFORM VALUE PROPOSITION */
/* --- Global Section Helpers --- */
.stats-section, .platform-section {
    padding: 100px 0;

}

.stats-container, .platform-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Stats Specific --- */
.stats-header, .platform-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-title, .platform-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
}

.stats-divider, .platform-divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 0 auto 24px;
    border-radius: 2px;
}

/*.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    
}*/




/* --- Platform Cards --- */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    border: 1px solid var(--primary);
    gap: 24px;
    margin-left: 0;
    margin-right: 0;
}

.platform-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    transition: all 0.4s ease;
}

.platform-icon {
    color: var(--primary);
    margin-bottom: 24px;
}

.platform-icon i {
    width: 36px;
    height: 36px;
}

.platform-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.platform-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    /*.stat-value { font-size: 2.8rem !important; }*/
    .platform-card { padding: 30px; }
}
/* --- 2x2 Grid Logic  Platform --- */
.platform-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr; /* Stack on Mobile */
    gap: 24px;
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 992px) { 
    .platform-grid-2x2 {
        grid-template-columns: repeat(2, 1fr); /* 2x2 on Desktop */
    }
}

/* --- Card Sizing Tweaks --- */
.platform-card {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--primary);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 
                0 4px 6px -2px rgba(37, 99, 235, 0.05);
    transition: all 0.3s ease;
}

.platform-icon i {
    width: 36px;
    height: 36px;
    color: #2563eb;
    margin-bottom: 20px;
}

/*===================
  Meta Grid
====================*/
/* Main Container: 2-Column Grid */

/* Container & Alignment Fixes */
.meta-grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
   /* margin: 60px auto;*/
    margin: 60px 0 ;/* Consistent vertical spacing */
    max-width: 1200px;
    text-align: left; /* Forces global left alignment for this section */
}
 
/* Atmospheric Card Styling */
.meta-grid-main-card, 
.meta-grid-info-box {
    /* Atmospheric blue-white gradient */
    background: radial-gradient(circle at top left, #ffffff 0%, #f0f7ff 100%);

/* Soft border that mimics the website depth */
    border: 1px solid #e2e8f0; 
    border-radius: 24px;
    
    /* Multi-layered shadow for a "floating" feel 
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 10px 15px -3px rgba(37, 99, 235, 0.04);*/
        
    text-align: left;
    transition: all 0.3s ease;

     border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.1);

    
}

.meta-grid-main-card { padding: 48px; }
.meta-grid-info-box { padding: 48px; }

/* Title Styling */
.meta-grid-title {
    font-size: 1.85rem;
    color: var(--text-main);
    margin-bottom: 24px;
    font-weight: 800;
}

/* Feature List: 3-Column Layout Fix */
.meta-grid-column-list {
    list-style: none;
    padding: 0;
    margin-top: 32px;
}

.meta-grid-column-list li {
    display: grid;
    /* Col 1: Icon (30px) | Col 2: Title (200px) | Col 3: Description (flexible) */
    grid-template-columns: 30px 200px 1fr; 
    gap: 15px;
    align-items: start;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.feature-label {
    font-weight: 700;
    color: var(--primary); /* Uses your primary blue */
}

.feature-desc {
    color: var(--text-body);
    font-size: 0.95rem;
}

/* Side Stack Logic */
.meta-grid-side-stack {
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.meta-grid-simple-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.meta-grid-simple-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* Blue dot/arrow for list items */
.meta-grid-simple-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Hover effect from EIPPONE card styles */
.meta-grid-info-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.1);
}



/* ==========================================
   DASHBOARD INTRO MOBILE REPAIReipp
========================================== */

@media (max-width: 768px), (max-height: 600px) and (orientation: portrait),
  (max-width: 992px) and (max-height: 700px), (orientation: portrait) and (max-height: 700px),
  (max-width: 992px) and (orientation: portrait), (max-width: 768px) and (orientation: portrait),
  (max-width: 992px) and (max-height: 700px) and (orientation: portrait),
  (max-width: 768px) and (max-height: 700px) and (orientation: portrait),
  (max-width: 992px) and (orientation: portrait) and (max-height: 700px),
  (max-width: 768px) and (orientation: portrait) and (max-height: 700px) ,
  (min-height: 500px) and (orientation: portrait) ,
  (min-height: 500px) and (orientation: portrait) and (max-width: 992px),
  (min-height: 500px) and (orientation: portrait) and (max-width: 768px) ,
  (min-height: 500px) and (orientation: portrait) and (max-width: 992px) and (max-height: 700px),
  (min-height: 500px) and (orientation: portrait) and (max-width: 768px) and (max-height: 700px) ,
  (min-height: 500px) and (orientation: portrait) and (max-width: 992px) and (orientation: portrait) and (max-height: 700px),
  (min-height: 500px) and (orientation: portrait) and (max-width: 768px) and (orientation: portrait) and (max-height: 700px),
  (max-width: 992px) and (orientation: portrait) and (max-height: 700px) and (min-height: 500px),
  (max-width: 768px) and (orientation: portrait) and (max-height: 700px) and (min-height: 500px) {

  .dashboard-section-intro {
    overflow-x: hidden;           /* Cuts off horizontal spillover */
    overflow-y: visible !important; /* Allows vertical spillover */
    padding: 40px 16px !important;
    min-height: auto !important;
   
    opacity: 1 !important;
    transform: none !important;
    
  }

  .sim-flow {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
  }

  .sim-step {
    width: 100% !important;
    max-width: 100% !important;
  }

  .meta-grid-container {
    width: 100% !important;
    margin: 30px 0 !important;
    padding: 0 !important;
    grid-template-columns: 1fr;
    padding: 0 20px;

    }
  

  .meta-grid-main-card,
  .meta-grid-info-box {
    padding: 24px !important;
    width: 100% !important;
  }

  .UX-dashboard-box {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .video-controls {
    flex-wrap: wrap !important;
  }


   .meta-grid-column-list li {
        grid-template-columns: 30px 1fr !important; /* Stack title and desc on mobile */
    }
    .feature-label { grid-column: 2 !important; }
    .feature-desc { grid-column: 2 !important; }

  
}

