/* styles.css - main stylesheet for the Eippone website, containing global styles, variables, and base resets */
/* ====================================
EIPPONE DESIGN SYSTEM
==================================== */

:root {
	  --header-height: 70px;
		
      /* PALETTE */
      --bg-body: #ffffff;
      --bg-footer: #0b3b66;
      --bg-surface: #ffffff;
      --bg-accent: #eff6ff;
      --bg-footerline: #d6dce3;


      --text-main: #0f172a;
      --text-body: #334155;
      --text-footer:#ffffff;
      --text-muted: #64748b;

      --primary: #2563eb;       /* Royal Blue */
      --primary-dark: #1d4ed8;
      --accent: #0891b2;        /* Teal */

      --grad-text: linear-gradient(90deg,#6d5efc,#21d4fd);
      --grad-card: linear-gradient(to top left, #E1EBEE, white, #F0F8FF);
      --grad-card_bg: linear-gradient(to top left, #ACCBE, white,#E7F0FD);

      --border: #e2e8f0;
      --radius: 12px;
      --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
      --shadow-md: 0 4px 10px rgba(0,0,0,0.07);
      --shadow-lg: 0 10px 18px rgba(0,0,0,0.10);

      --max-width: 1200px;
      --form-max-width: 1100px;

      --footer-height:80px;


 /* ==========================================
   EIPPONE Light-Theme: Atmospheric Series
   ========================================== */

    
    --navy-900: #ffffff;
    --navy-800: #f0f7ff;
    --navy-700: #f8faff;
    --teal-500: #2563eb;
    --teal-400: #3b82f6;
    --accent: #4f46e5;
    --offwhite: #0f172a;
    --muted: #475569;



  /* ===========================
   TWIN PODUCT TABLE VARIABLES 
   ============================*/

  
 /* Updated to a more 'Atmospheric' Primary and Soft Blue */
  --color-alt-row: #f0f7ff; /* Atmospheric soft blue (AliceBlue variant) */
  --color-header-text: #ffffff;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --border-color: #e2e8f0;

}


/* mobile header adjustment */
@media (max-width: 768px) {

  .platform-grid,
  .services-grid,
  .products-grid,
  .engage-grid,
  .dash-grid {
    grid-template-columns: 1fr !important;
  }

}
@media (max-width:768px){
:root{
--header-height: clamp(70px, 10vh, 110px);
}
}

/* reset */

*{
box-sizing:border-box;
margin:0;
padding:0;
}

html {
  /* Forces modern browsers to use explicit subpixel layout spacing */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* Prevents iOS/Chrome mobile engines from auto-inflating font sizes */
  -webkit-text-size-adjust: 100%;
  
  /* Ensures padding doesn't distort target container blocks */
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
    position: relative;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 0 !important;
    -webkit-font-smoothing: antialiased;
    /* This ensures the gradient stays pinned while you scroll */
    background: linear-gradient(135deg, #fbfcfe 0%, #f7faff 50%, #ffffff 100%) fixed !important;
    
  
    display: block !important;
}

html, body {
   

    height: auto !important;
    min-height: 0 !important;


    font-family: 'Inter', system-ui, sans-serif;
  
    
    /* We use 'min-height' so the background covers the full document 
  
    /* Scrollbar Styling */
    scrollbar-width: thin;
    scrollbar-color: #dbeafe transparent;


    height: 100%;
    
}
 
    
/* Ensure the footer inside the iframe doesn't have a trailing margin */
html.iframe-embedded footer.footer-container {
    margin-bottom: 0 !important;
    margin-top: auto; /* Pushes to bottom */
}

/* end Flexbox layout */


/* Custom Scrollbar for Chrome/Safari to match the atmosphere */
body::-webkit-scrollbar {
    width: 6px;
}
body::-webkit-scrollbar-track {
    background: transparent;
}
body::-webkit-scrollbar-thumb {
    background-color: #dbeafe;
    border-radius: 10px;
}


/* ==========================================================================
   EIPPONE DEEP-TECH TYPOGRAPHY & LAYOUT CONFIGURATION
   ========================================================================== */


/* =========================
          MAIN
============================*/


/* --- Main Headers --- */
h1 {
    font-size: 2.6rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-bottom: 10px !important;
    color: #0f172a !important; /* High-contrast Deep Navy */
    letter-spacing: -0.03em !important;
}

/* Force bold, high-contrast typography & strict centering across viewports */
h2 {
    color: #0f172a !important; 
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.2 !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
}

/* Sub-headings inside service/product cards */
h3 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #1e3a8a !important; /* Professional Tech Blue */
    margin-bottom: 8px !important;
    margin-top: 0 !important;
}

/* --- Body Text --- */
p {
    color: #4d4d4d !important; /* Balanced slate gray for readability */
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    margin-top: 16px !important;
    margin-bottom: 16px !important;
}

/* --- Deep-Tech Lists --- */
ul {
    margin-top: 12px !important;
    padding-left: 20px !important;
    list-style-type: none !important; /* Strips browser default bullets */
}

li {
    margin-bottom: 10px !important;
    position: relative !important;
    padding-left: 1.5rem !important;
    color: #4d4d4d !important;
}

/* Replaces standard bullets with clean technical arrows */
li::before {
    content: "→" !important;
    position: absolute !important;
    left: 0 !important;
    color: #2563eb !important; /* EIPPONE Royal Blue Accent */
    font-weight: bold !important;
}

/* --- Section Formatting: Deep-Tech Contrast --- */
section {
    position: relative !important;
    /*padding: 100px 0 !important;*/

    /* Soft top light-bloom to prevent section components from looking flat */
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.03) 0%, transparent 75%) !important;
}


/* --- Technical Bridge Text Styles ("Simulate, Decide, Act") --- */
.tagline-professional {
    color: #2563eb !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 0.75rem !important;
    display: block !important;
    text-align: center !important;
}

/* ==========================================================================
   IFRAME COMPRESSION LAYER & MARGIN CONTROL
   ========================================================================== */


#dynamic-content {


   top: 0;
   left: 0;
   z-index: 2;

   position: relative !important;
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;

}


#contentFrame {
    width: 100% !important;
    display: block !important;    /* Removes the baseline text gap */
    border: none !important;
    overflow: hidden !important;
    background: transparent !important;
    
    
    margin: 0 !important;
    padding: 0 !important;
    
   
    height: 0;
    min-height: 0; 
    /*transition: height 0.1s ease-out;*/
  
    
}

#dynamic-content iframe{
  display: block;
  width:100%;
  border:none;
 
}



a{
text-decoration:none;
color:inherit;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 12px;
}

.engage-container {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 12px;
}

section{
  scroll-margin-top: var(--header-height);
}

@media (max-width: 768px) {

  section {
    padding: 40px 16px !important;
  }

}




.UX-animatition-section {
  margin: 0 auto;
  padding: 0px 20px;
  text-align:center;
}




.dashboard-section h2 {
  font-size: 2.2rem;
  color: var(--primary); /* Royal Blue */
  margin-bottom: 10px;
}

.dashboard-section h3 {
  font-size: 0.9rem;
  color: var(--primary);  /* Royal Blue */
  margin-bottom: 10px;
}

.dashboard-section h4 {
  font-size: 0.8rem;
  color: var(--primary); /* Royal Blue */
   padding: 12px;
}

.dashboard-section p {
  color: var(--text-body); 
  font-size: 1rem;
  margin-bottom: 25px;
}

/* Mobile adjustments for dashboard section */

.dashboard-section-intro {
  margin: 10px 0;
  
  text-align:center;
 

  padding: 80px 0;
  background-color: transparent !important;
}

.dashboard-section-intro h2 {
  font-size: 2.2rem;
  color: var(--primary); /* Royal Blue */
  margin-bottom: 10px;
}

.dashboard-section-intro p {
  color: var(--text-body); 
  font-size: 1rem;
  margin-bottom: 25px;
}

/* Mobile adjustments for dashboard section intro */
@media (max-width: 1230px) {
  .dashboard-section-intro h2 {
    font-size: 1.8rem;
  }
  .dashboard-section-intro p {
    font-size: 0.95rem;
  }
}

.enterprise-card h3 {
    color: var(--primary);
    font-size: 22px;
    text-align: center !important;
    
}

/* ============================================
   4-COLUMN RESPONSIVE GRID
=============================================== */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 30px;
}



/* UX-animatition-section */
.UX-animatition-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 28px;
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 1200px) {
  .dash-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .dash-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .UX-animatition-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   DASHBOARD CARDS — HOVER ANIMATIONS
=============================================== */
.dashboard-box {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

/* Hover effect: lift + shadow */
.dashboard-box:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}


/* FIXED VIDEO CONTAINER */
.UX-dashboard-box {
  position: relative;
  width: 80%;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  margin-left: 10%;
 

  /* keep ratio clean */
  aspect-ratio: 16 / 9;

  background: #000; /* fallback for video */
  padding: 0; 
}

/* VIDEO FIT */
.UX-dashboard-box video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* or "contain" if you want full video visible */
  display: block;

  margin: 0;   
  padding: 0;  
}

.UX-dashboard-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Responsive adjustments for the video card */
@media (max-width: 768px) {
  .UX-dashboard-box {
    width: 100%;
    margin-left: 0;
  }
}


/* ============================================
   VIDEO CARD — FOR DEMOS
=============================================== */

.video-box {
  position: relative;
}

.video-box video {
  width: 100%;
  border-radius: 16px;
}



/* ========================================================= 
  FIXED VIDEO CONTROLS: Centered, above video, and visible 
  ==========================================================*/

/* Ensure the card is the reference point for the buttons */
.UX-dashboard-box.video {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px; /* Smooth corners for the dashboard card */
}

#dashboardVideo {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* Fix for the buttons being pushed left and hidden */
.video-controls {
  position: absolute;
  bottom: 20px;       /* Lifts buttons away from the bottom edge */
  left: 50%;          /* Moves container to the horizontal center */
  transform: translateX(-50%); /* Offsets by 50% of its own width to perfectly center */
  
  display: flex;
  gap: 15px;          /* Adds clean spacing between buttons */
  align-items: center;
  justify-content: center;
  
  background: rgba(0, 82, 204, 0.6); /* Semi-transparent blue background */
  backdrop-filter: blur(8px);    /* Modern frosted-glass effect */
  padding: 10px 20px;
  border-radius: 50px;           /* Pill-shaped container */
  z-index: 10;                   /* Ensures it stays above the video layer */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border for definition */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);  /* Adds depth over the video */
  

}

.video-controls button {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap; /* Prevents text wrapping */
  transition: transform 0.2s ease;
}

.video-controls button:hover {
  transform: scale(1.1); /* Slight zoom on hover for better UX */
  color: #00d4ff;        /* Optional: highlight color */
}

/*Addapted  to small screen*/


/* ============================================
   IMAGES — CAPTURED STYLE
=============================================== */

  
.dashboard-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.UX-dashboard-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fills box nicely */
  /*background: #000;  optional */
  display: block;
}
 


/* Smooth zoom on hover */
.dashboard-box:hover img {
  transform: scale(1.08);
}
/* New description styling */
.dashboard-desc {
  padding: 0 12px 14px 12px;
  font-size: 0.92rem;
  color: #444;
  line-height: 1.35;
}

 /* NEW END*/
 
/* CARDS */
  .platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 30px;
}
.platform-card {
  background: var(--grad-card_bg);
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch; /* This ensures all grid items have the same height */
  gap: 28px;
  margin-top: 30px;
}



/* ========-=======
   BUNDLE-FEAURES
   ================*/
  .bundle-features {
  list-style: none;
  margin: 20px 0 0 0;
  padding: 0;
  margin-top: 20px;
  
}

.bundle-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.45;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;


  /* Prevent global feature-list styles from leaking */
  list-style: none !important;
  background: none !important;
  padding-left: 0 !important;
}

.bundle-features li::before {
  content: none !important;
}


.bundle-features li .check {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0f766e;
  flex-shrink: 0;
  margin-top: 6px;
}

/*----------end bundel features------*/


.engage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 30px;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}



/* Align the Request Enterprise Demo button to fit content and align start */
.engage-btt-grid .btn {
  align-self: flex-start !important; /* Fits the text and aligns to the left */
  width: fit-content !important;     /* Ensures it doesn't stretch */
  display: inline-block;             /* Behaves like your submit button example */
  padding: 12px 24px;       /* Keeps nice internal spacing */
  margin-top: auto;         /* Pushes it to the bottom of the flex card */
  margin-left: auto;        /* Combined with margin-right: auto to center it */
  margin-right: auto;
  text-align: center;
  white-space: nowrap;      /* Prevents text from wrapping to a second line */
}

/* Ensure the container is a flexbox to allow align-self to work */
.engage-btt-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns all content in this grid to the left */

    padding-top: 60px; /* Adds spacing above the button */
    padding-bottom: 20px; /* Adds spacing below the button */
}


/* end engage btn grid */

.card {
  background: #ffffff !important;
  padding: 24px !important;
  border: 1px solid var(--primary) !important;
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07) !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
  box-sizing: border-box !important;
  
  font-size: 0.95rem !important;
  min-width: 0 !important;
  
  overflow-wrap: break-word !important;
  
}

.card:hover {
  transform: translateY(-4px);/* Smooth lift on hover */
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}


.engage-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  position: relative;
}
.engage-card :hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Modifier for the featured card */
.engage-card.featured {
    border: 2px solid var(--primary); /* Uses your Royal Blue */
    transform: scale(1.05);          /* Makes it 5% larger */
    box-shadow: var(--shadow-lg);    /* Adds a deeper shadow */
}

/* CTA pinned to bottom */
.engage-card a.btn,
.engage-card a.btn-primary,
.engage-card a.btn-demo {
  margin-top: auto;
  display: block;
}


/* Specialized styling for the Featured Enterprise Card */
.enterprise-card.featured {
    border: 2px solid var(--primary); /* Stronger Royal Blue border */
    background: linear-gradient(to bottom, #ffffff, #f0f7ff); /* Subtle premium gradient */
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15); /* Deeper shadow */
    transform: scale(1.02); /* Slightly larger to show dominance */
    z-index: 10;
}

/* Ensure the button stays at the bottom */
.enterprise-card.featured {
    display: flex;
    flex-direction: column;
}

.enterprise-card.featured .feature-list {
    flex-grow: 1; /* Pushes the button to the bottom */
}

/* Premium styling for the Enterprise Tag */
.tag.enterprise.featured {
    background-color: var(--bg-footer); /* Deep Navy */
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}

/* ==========================================================================
   FLAGSHIP ENTERPRISE CARD MOBILE LAYOUT REPAIR
   ========================================================================== */

/* Target the flagship card specifically to preserve layout structure on desktop */
.enterprise-card.featured {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 24px 16px !important;
}

/* Responsive adjustment for mobile viewports */
@media (max-width: 768px) {
  
  .enterprise-card.featured .feature-list li {
    /* Switch to grid for perfect vertical alignment of the arrow and text block */
    display: grid !important;
    grid-template-columns: 20px 230px 1fr !important; 
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    padding-left: 0 !important;
    margin-bottom: 12px !important;
  }

  /* Position the Arrow in the first grid column */
  .enterprise-card.featured .feature-list li::before {
    content: "→" !important;
    color: #2563eb !important;
    font-weight: bold;
    font-size: 1.1rem;
    grid-column: 1;
    margin-top: -2px; /* Fine-tune vertical alignment with text */
  }

  /* REMOVE THE PIE (Teal Circle) on small screens */
  .enterprise-card.featured .feature-list li .check {
    display: none !important;
  }

  /* Ensure Title and Description occupy the second column and wrap together */
  .enterprise-card.featured .feature-list li strong,
  .enterprise-card.featured .feature-list li span:not(.check) {
    grid-column: 2;
    display: inline !important; 
    white-space: normal !important;
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  /* Formatting for the rest of the card */
  .enterprise-card.featured h2 {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
  }

  .enterprise-card.featured .price-highlight {
    font-size: 2rem !important;
    text-align: center !important;
    display: block;
    margin: 10px 0;
  }

  .enterprise-card.featured .btn {
    width: 100% !important;
    padding: 15px !important;
  }
}

/* =========================================
      ENGAGE CARD BTN
========================================= */
/* Make the button fit only the text width */
.enterprise-card .btn {
  align-self: flex-start !important; /* Fits the text and aligns to the left */
  width: fit-content !important;     /* Ensures it doesn't stretch */
  display: inline-block;             /* Behaves like your submit button example */
  padding: 12px 24px;       /* Keeps nice internal spacing */
  margin-top: auto;         /* Pushes it to the bottom of the flex card */
  margin-left: auto;        /* Combined with margin-right: auto to center it */
  margin-right: auto;
  text-align: center;
  white-space: nowrap;      /* Prevents text from wrapping to a second line */
}


/* Ensure the card allows the button to align itself */
.engage-grid .engage-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;     /* Standard for content */
}

/* End Specialized styling for the Featured Enterprise Card */


.icon-wrapper {
  width: 52px;
  height: 52px;
  background: #e8f0ff;
  color: #1a47ff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}



.feature-list {
  list-style: none;
  margin-top: auto;
  margin: 20px 0 0 0;

  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

.feature-list li {
    display: grid;
  /* Column 1: Icon (25px) | Column 2: Title (fixed width) | Column 3: Statement (rest) */
  grid-template-columns: 5px 280px 1fr; 
  align-items: start; /* Aligns items to the top if text wraps */
  gap: 5px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #333;
  min-width: 0 !important;
  white-space: normal !important;

}
.feature-list li .check {
  flex-shrink: 0 !important;
}

.check-icon {
  color: #2563eb;
  font-weight: 900;
  display: inline-block;
}

/* Responsive adjustment for small screens */
@media (max-width: 600px) {
  .feature-list li {
    grid-template-columns: 25px 1fr; /* Stack title and statement */
  }
  .feature-list li strong {
    grid-column: 2; /* Title stays in 2nd column */
  }
  .feature-list li span:not(.check-icon) {
    grid-column: 2; /* Statement moves under Title */
    font-size: 0.85rem;
    color: #666;
  }
}

/* ================
 Engage feartures
   =================*/
.engage-feature-list {
  list-style: none;
  margin: 20px 0 0 0;
  padding: 0;
  margin-top: 20px;


}

.engage-feature-list li {
   display: grid;
  /* Column 1: Icon (25px) | Column 2: Title (fixed width) | Column 3: Statement (rest) */
  grid-template-columns: 20px  1fr; 
  align-items: start; /* Aligns items to the top if text wraps */
  gap: 5px;
  

  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.45;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;

    /* Prevent global feature-list styles from leaking */
  list-style: none !important;
  background: none !important;
  padding-left: 0 !important;
}

.engage-features li::before {
  content: none !important;
}
.engage-features li .check {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0f766e;
  flex-shrink: 0;
  margin-top: 6px;
}

.check-icon {
  color: #2563eb;
  font-weight: 900;
  display: inline-block;
}

/* Responsive adjustment for small screens */
@media (max-width: 600px) {
  .engage-feature-list li {
    grid-template-columns: 5px 25px 1fr !important; /* Stack title and statement */
  }
  .engage-feature-list li strong {
    grid-column: 2 !important; /* Title stays in 2nd column */
  }
  .engage-feature-list li span:not(.check-icon) {
    grid-column: 2 !important; /* Statement moves under Title */
    font-size: 0.85rem;
    color: #666;
  }
}



/* end engage features */



.check {
  color: #1a47ff;
  margin-right: 0;
  font-weight: bold;
}

     /* --- STRIP --- */
    .case-strip {
      background: var(--grad-card); /* blue Slate background for contrast area */
      color: white;
      padding: 20px 20px;
      border-radius: 20px;
      margin: 20px 0;
      position: relative;
      overflow: hidden;
    }
   
    .case-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
      position: relative; z-index: 2;
    }
    
    .case-item h4 { color: white; font-size: 1.4rem; margin-bottom: 8px; }
    .case-item p { color:  white; margin-bottom: 16px; }

    .tag { 
    
      font-size: 0.8rem;
      

      /* New styles for the "Case Study" tag */
      margin-top: auto !important; /* Pushes to bottom */
      align-self: flex-start; /* Keeps it left-aligned */
  
      /* Ensure no other margins are interfering */
      margin-bottom: 0; 
  
      /* Styling */
      display: inline-flex; /* Use inline-flex for better alignment inside flex containers */
      padding: 6px 12px;
      background: #e8f0ff !important; /* Light blue background */
      color: #1a47ff !important; /* Royal blue text */
      border-radius: 4px;
      font-family: monospace;
      font-weight: 600;


    }
   /*CONTACT CARD */
    .contact-section {
      padding:70px 0;
      
    }

    .contact-box {
      background:white;
      padding:40px;
      border-radius:16px;
      border:1px solid var(--border);
      max-width:600px;
      margin:0 auto;
      box-shadow:var(--shadow-md);
    }

   
.contact-card {
  background: #ffffff;
  padding: 22px 28px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 380px;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.55;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.contact-name {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a3fa3; /* Royal blue */
}

.contact-title {
  margin: 4px 0 12px 0;
  font-size: 1rem;
  color: #333;
}

.contact-line,
.contact-location {
  margin: 6px 0;
  color: #444;
  font-size: 0.97rem;
}

.contact-line a {
  color: #1a3fa3;
  text-decoration: none;
  font-weight: 600;
}

.contact-links a {
  color: #1a3fa3;
  font-weight: 600;
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
}


.copy-email {
  background:#f1f5f9;
  padding:15px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-family:monospace;
  cursor:pointer;
  border:1px solid transparent;
  font-size:1.05rem;
  margin:28px 0;
  transition:0.2s;
}
.copy-email:hover {
  border-color:var(--primary);
  color:var(--primary);
}

.paragraph-background {
  background:#f1f5f9;
  padding:15px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-family:monospace;
  cursor:pointer;
  border:1px solid transparent;
  font-size:1.05rem;
  margin:7px 0;
  transition:0.2s;
}
 .paragraph-background:hover {
    border-color:var(--primary);
    color:var(--primary);
  }

/* Responsive */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   DYNAMIC SIDEBAR
=============================================== */

#dynamic-sidebar {
  position: fixed;
  top: 100px;
  right: -420px;
  width: 320px;
  max-height: 80vh;
  overflow-y: auto;
  background: #f4f8fb;
  border-left: 4px solid #0b5ed7;
  padding: 20px;
  z-index: 9999;
  font-family: Arial, sans-serif;
  box-shadow: -2px 0 10px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
}

#dynamic-sidebar.open {
  right: 0;
}

#dynamic-sidebar h1 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0b5ed7;
}

#dynamic-sidebar h2 {
  font-size: 16px;
  margin-top: 15px;
  color: #222;
}

#dynamic-sidebar p,
#dynamic-sidebar li {
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}

#dynamic-sidebar ul {
  padding-left: 18px;
}




/* ==========================================================================
   EIPPONE IFRAME EMBED SYSTEM RESET (FIX FOR CUT TOPS & FOOTER GAPS)
   ========================================================================== */



/* 1. Reset base HTML constraints inside iframes to destroy double scrollbars */
html.iframe-embedded, 
html.iframe-embedded body {
    background: transparent !important; /* Lets parent atmospheric blue shine through */
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    
    
    /* FIX: Force height and kill overflow sprawl */
    height: auto !important; 
    min-height: unset !important;
    display: block;
    /*flex-direction: column;*/

    overflow:visible !important;
    overflow-x: hidden !important;
}



html.iframe-embedded main,
html.iframe-embedded .page-engage-container,
html.iframe-embedded .engage-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 70px !important;
}

html.iframe-embedded footer.footer-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


html.iframe-embedded .page_card,
html.iframe-embedded .highlight,
html.iframe-embedded .card {
    background: #ffffff !important;
    border: 1px solid rgba(191, 219, 254, 0.5) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.03) !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
}




/* 4. Sync Deep-Tech Typography for Light Theme Overrides */
html.iframe-embedded h1 {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-align: center !important;
    /*margin-bottom: 24px !important;*/
}

html.iframe-embedded h2 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-top: 20px !important;
    margin-bottom: 12px !important;
}

html.iframe-embedded p {
    color: #4d4d4d !important;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
}




html.iframe-embedded .highlight{
    background: #ffffff !important;
    border: 1px solid rgba(191, 219, 254, 0.5) !important;
    border-left: 3px solid #3b82f6 !important; /* Signature Cloud Blue accent tip */
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.03) !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
}





/* ==========================
   IFRAME PAGES — MATCH INDEX FOOTER
=============================*/

html.iframe-embedded footer,
html.iframe-embedded .footer-container,
html.iframe-embedded .footer-container * {
  color: #ffffff !important;
}

html.iframe-embedded footer p.footer-text {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  margin: 0 auto 1.5rem !important;

  margin: 0 auto 1.5rem !important;
  max-width: 820px !important;

}



/* Layout helpers */
html.iframe-embedded .footer-container {
  background-color: var(--bg-footer);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
 
}

@media (min-width: 768px) {
  html.iframe-embedded .footer-container {
    padding: 4rem 0;
  }
}

html.iframe-embedded .footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  border-color:white;
}

@media (min-width: 768px) {
  html.iframe-embedded .footer-inner {
    padding: 0 1.5rem;
  }
}


html.iframe-embedded .footer-grid {
  display: grid;
  grid-template-columns: 1fr; 
  text-align: center;         
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

html.iframe-embedded .footer-text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.75rem;
  margin-bottom: 1rem; 
}


html.iframe-embedded .footer-text {
  color: #ffffff !important;
  font-size: 0.75rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 420px;          
  margin-left: auto;         
  margin-right: auto;        
  margin-bottom: 1.5rem;     
}

html.iframe-embedded .footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(100, 116, 139, 0.5);
  justify-content: center;   
  margin-bottom: 1.5rem;     
}
/* ==========================
       index.html NEW FOOTER
=============================*/
footer,
.footer-container,
.footer-container * {
  color: #ffffff !important;
}

footer p.footer-text {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  margin: 0 auto 1.5rem !important;

  margin: 0 auto 1.5rem !important;
  max-width: 820px !important;

}



/* Layout helpers */
.footer-container {
  background-color: var(--bg-footer);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
 
}

@media (min-width: 768px) {
  .footer-container {
    padding: 4rem 0;
  }
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  border-color:white;
}

@media (min-width: 768px) {
  .footer-inner {
    padding: 0 1.5rem;
  }
}


.footer-grid {
  display: grid;
  grid-template-columns: 1fr; 
  text-align: center;         
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.75rem;
  margin-bottom: 1rem; 
}


.footer-text {
  color: #ffffff !important;
  font-size: 0.75rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 420px;          
  margin-left: auto;         
  margin-right: auto;        
  margin-bottom: 1.5rem;     
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(100, 116, 139, 0.5);
  justify-content: center;   
  margin-bottom: 1.5rem;     
}


/* ==========================================================================
   PRODUCTS PAGES TARGETED MOBILE REPAIR (NON-BREAKING)
   ========================================================================== */

/* Scoped specifically to regular cards on products.html, leaving engage.html untouched */
.products-grid .card .feature-list {
  display: block !important;
  padding: 0 !important;
  margin-top: 15px !important;
}

.products-grid .card .feature-list li {
  display: flex !important;
  align-items: flex-start !important;
  grid-template-columns: none !important; /* Disables the 3-column layout rule here */
  gap: 10px !important;
  margin-bottom: 10px !important;
  padding-left: 0 !important;
  width: 100% !important;
}

/* Force override browser bullets for these items */
.products-grid .card .feature-list li::before {
  content: none !important;
}

/* Fixes the check spans alignment within product grid elements */
.products-grid .card .feature-list li .check {
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: var(--primary, #2563eb) !important; /* Reverts to clear dots */
  flex-shrink: 0 !important;
  margin-top: 8px !important;
}

/* Fluid responsive breakdown for standard mobile devices */
@media (max-width: 768px) {
  .products-grid .card .feature-list li {
    font-size: 0.92rem !important;
    line-height: 1.4 !important;
  }
}

