/* ==========================================================================
   1. Core Layout Reset & Structural Configurations
   ========================================================================== */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  background-color: #000;
}

/* ==========================================================================
   2. Full Screen Background Carousel Engine
   ========================================================================== */
.fullscreen-carousel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}

.fullscreen-carousel .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: imageFade 18s linear infinite;
  display: block;
}

.fullscreen-carousel .slide-1 { background-image: url("/assets/bg1-e2452a7a.jpg"); }
.fullscreen-carousel .slide-2 { background-image: url("/assets/bg2-0ea68aa9.jpg"); }
.fullscreen-carousel .slide-3 { background-image: url("/assets/bg3-596c95ee.jpg"); }

.fullscreen-carousel .slide:nth-child(1) { animation-delay: 0s; }
.fullscreen-carousel .slide:nth-child(2) { animation-delay: 6s; }
.fullscreen-carousel .slide:nth-child(3) { animation-delay: 12s; }

@keyframes imageFade {
  0% { opacity: 0; animation-timing-function: ease-in; }
  8% { opacity: 0.85; animation-timing-function: ease-out; }
  33% { opacity: 0.85; }
  41% { opacity: 0; }
  100% { opacity: 0; }
}

/* ==========================================================================
   3. Fluid Typography System (Left-Aligned, Scaled & Outlined)
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
  width: 100%;
}

h1 {
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
  width: 100%;
  letter-spacing: -0.01em;
  
  /* 💡 UPDATED CAP: Min 36pt on mobile, scales smoothly, Max capped at 115pt on desktop 
     This guarantees long words like 'certifications' fit perfectly without slipping under the menu */
  font-size: clamp(36pt, 10vw, 115pt);
  line-height: 0.95;
  margin: 0 0 20px 0;
  color: transparent !important;
  -webkit-text-stroke: 3px #ffffff;
  text-shadow: none !important;
  filter: none !important;
}


h2 {
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 0 3px 8px rgba(0,0,0,0.6);
  font-size: clamp(28pt, 6vw, 70pt);
  
  /* 💡 UPDATED: Tightened down from 1.0 to 0.85 so long titles stack cleanly */
  line-height: 0.85; 
  
  margin-top: 0;
  margin-left: 0;
  margin-bottom: 15px;
}
h3{   color: #ffffff; }


.form-intro-outside {
  color: #ffffff !important;
  text-shadow: 0 2px 5px rgba(0,0,0,0.7) !important;
  font-size: clamp(13pt, 1.8vw, 16pt); 
  line-height: 1.5;
  
  /* 💡 WIPED OUT NEGATIVE MARGINS: Sits cleanly right under the H2 title */
  margin-left: 0;
  margin-top: 0;
  margin-bottom: 30px;
/*  max-width: 580px; */
  text-align: left;
}

/* ==========================================================================
   Responsive Tablet & Mobile Resets
   ========================================================================== */
@media (max-width: 992px) {
  .content-container {
    /* When the menu collapses into a small hamburger on mobile, reset full width */
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
    padding-top: 120px;
  }
}

/* 💡 Increased Global Paragraph Font Size */
p {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  /* Scaled up: Min 14pt on mobile, Max 22pt on desktop */
  font-size: clamp(14pt, 2.5vw, 22pt); 
  line-height: 1.6;
  opacity: 0.95;
  margin: 0 0 25px 0;
  text-align: left;
}

/* ==========================================================================
   4. Desktop Header & Opaque White Menu Structure
   ========================================================================== */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: clamp(15px, 3vw, 30px) clamp(20px, 4vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
  z-index: 5;
}

/* ==========================================================================
   Logo Animation Engine (Fade and Responsive Lift Transition)
   ========================================================================== */
.brand-logo {
  width: clamp(80px, 12vw, 135px);
  height: auto;
  display: block;
  opacity: 1;
  
  /* Blends opacity, scale adjustments, and filtering engines together smoothly */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.25s ease-out, 
              filter 0.3s ease;
  transform-origin: left center;
}

/* ==========================================================================
   Dual-Layer Image Hover Swap & Stroke Engine
   ========================================================================== */
.logo-container {
  display: inline-block;
  position: relative;
  /* Dynamic size matching your 135px desktop baseline */
  width: clamp(80px, 12vw, 135px); 
  height: auto;
}

.brand-logo {
  width: 120%;
  height: auto;
  display: block;
  /* Smooth transition for cross-fade blending and filter outlines */
  transition: opacity 0.4s ease-in-out, filter 0.4s ease-in-out;
}

/* Layering position coordinates */
.logo-default {
  position: relative;
  z-index: 2;
  opacity: 1;
}

.logo-hover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0; /* Hidden by default */
}

/* 💡 THE HOVER EFFECT ACTION STATE RULES */
.logo-container:hover .logo-default {
  opacity: 0; /* Smoothly fades out the primary logo */
}

.logo-container:hover .logo-hover {
  opacity: 1; /* Smoothly fades in logo_away.png */
  
  /* 💡 2-Pixel White Stroke Drop-Shadow Outline Engine */
  filter: drop-shadow(2px 0 0 #ffffff) 
          drop-shadow(-2px 0 0 #ffffff) 
          drop-shadow(0 2px 0 #ffffff) 
          drop-shadow(0 -2px 0 #ffffff);
}

/* Add a tactile press sensation when clicked */
.logo-container:active {
  transform: scale(0.97);
}


.global-nav {
  border-top: 2px solid #1686AC;
  border-left: 2px solid #1686AC;
  background: rgba(255, 255, 255, 0.85); 
  padding: 25px 50px 25px 30px;
  border-radius: 8px 0 0 8px; 
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.global-nav a {
  color: #1686AC;
  text-decoration: none;
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: lowercase; 
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  letter-spacing: 0.5px;
  display: inline-block;
  transition: color 0.2s, transform 0.2s;
}

.global-nav a:hover {
  color: #0b4f66;
  transform: translateX(4px);
}

.menu-button {
  display: none;
}

.content-container {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;


  /* 💡 THE SECRET WEAPON: 
     Left padding (165px) perfectly matches your logo space + 30px gap.
     Right padding (360px) reserves space so content NEVER drops under the right menu sidebar. */
  padding-top: 140px;
  padding-bottom: 40px;
  padding-left: clamp(40px, 12vw, 165px); 
  padding-right: clamp(40px, 20vw, 360px);
}

/* Homepage Hero Content Stacking Block */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 960px;
  z-index:7;
  /* 💡 Added this explicit margin layer to lock in the preferred bigger gap */
  margin-top: 40px; 
}
/* ==========================================================================
   Internal Sub-Page Structural Content Rules
   ========================================================================== */
.content-hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 960px;
    z-index:7;
    
  /* 💡 Added this explicit margin layer to lock in the preferred bigger gap */
  margin-top: 40px; 
}

/* Stacks engineering text paragraphs cleanly with balanced breathing room */
.engineering-profile p {
  margin-bottom: 25px;
  max-width: 820px;
}

.engineering-profile p:last-child {
  margin-bottom: 0;
}



/* Updated Corporate Link Button Configuration */
.btn-cta {
  display: inline-block; 
  padding: clamp(12px, 1.5vw, 16px) clamp(28px, 3vw, 36px); 
  background: #ffffff; 
  
  /* Set text and arrow element to your specific signature brand color */
  color: #1686AC; 
  
  text-decoration: none; 
  font-weight: bold; 
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  
  /* Added a distinct smooth border radius to round out the block button edges */
  border-radius: 30px; 
  
  font-size: clamp(11pt, 1.5vw, 13pt);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Elegant responsive interaction animations */
.btn-cta:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  background-color: #f7f9fa; /* Subtle off-white shift on hover */
}


/* ==========================================================================
   5. Interactive Mobile Menu Device Mechanics (Under 992px)
   ========================================================================== */
@media (max-width: 992px) {
  .menu-button {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #1686AC;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 200;
  }

  .menu-button span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #1686AC;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  /* Position menu card as a mobile overlay card */
  .global-nav {
    position: fixed;
    top: 90px;
    right: clamp(20px, 4vw, 40px);
    width: 220px;
    border-radius: 8px;
    border: 2px solid #1686AC;
    padding: 20px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none; /* Keep hidden when inactive */
    z-index: 150;
  }
/* 💡 JAVASCRIPT CLASS TOGGLES: Opens and closes explicitly on tap */
  .global-header.menu-active .global-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Animate menu icon bars into an 'X' on toggle state click */
  .global-header.menu-active .menu-button span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .global-header.menu-active .menu-button span:nth-child(2) {
    opacity: 0;
  }
  .global-header.menu-active .menu-button span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
}

/* ==========================================================================
   6. Contact Card Layout & Input Group Mechanics
   ========================================================================== */
/* ==========================================================================
   Wider Contact Layout & Custom Logo Separation
   ========================================================================== */
.contact-page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  z-index:7;
  /* 💡 EXPANDED WIDTH: Card stretches across to fill the space almost up to the right menu */
  max-width: 960px; 
  
  /* 💡 INCREASED SEPARATION: Adds custom left padding inside the column 
     to push the H2, Paragraph, and Card safely and gracefully away from the logo */
  padding-left: clamp(20px, 4vw, 50px);
  margin: 0;
}

/* Ensure form fields expand smoothly within the wider grid framework */
.contact-form-card {
  /*background: rgba(255, 255, 255, 0.85);*/
  border-top: 2px solid #1686AC;
  border-left: 2px solid #1686AC;
  border-right: 1px solid rgba(22, 134, 172, 0.2);
  border-bottom: 1px solid rgba(22, 134, 172, 0.2);
  width: 100%;
  padding: clamp(30px, 5vw, 50px);
  box-sizing: border-box;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  text-align: left;
}



/* CSS Grid Engine to map Name and Email side by side on desktop devices */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Splits space cleanly into two equal blocks */
  gap: 20px; /* Uniform space between inputs */
  width: 100%;
}

/* Responsive breakpoint: Collapse inputs vertically into one stack on small screens */
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0; /* Let native form-group bottom margin handle spacing */
  }
}


/* Form Headings and Intros */
.contact-form-card h2 {
  color: #1686AC;
  margin: 0 0 10px 0;
  font-size: clamp(24pt, 4vw, 36pt);
}



/* 💡 LEVEL WITH LOGO: Aggressively pull the title up to sit right next to the logo */
.contact-page-wrapper h2 {
  font-size: clamp(28pt, 7vw, 70pt);
  margin-top: -120px; /* High negative offset to pull it parallel with the logo */
  margin-left: 0; /* 💡 MOVE AWAY: Pushes it right so it doesn't collide with the logo */
  margin-bottom: 5px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
  white-space: nowrap; /* Prevents title from breaking onto two lines */
}






/* Form-specific intro paragraph text sizing balance */
.form-intro {
  color: #333333 !important;
  text-shadow: none !important;
  /* Balanced sizing to stand out inside the card */
  font-size: clamp(12pt, 1.8vw, 15pt); 
  line-height: 1.5;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Input Fields and Labels */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #fff;
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: lowercase;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(22, 134, 172, 0.3);
  color: #222222;
  font-family: "Open Sans", sans-serif;
  font-size: 10.5pt;
  border-radius: 6px;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: #1686AC;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(22, 134, 172, 0.15);
}

/* Input placeholders matching lowercase style */
::placeholder {
  color: #888888;
  opacity: 0.7;
}

/* ==========================================================================
   7. Submit Action Buttons
   ========================================================================== */
.btn-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: #1686AC;
  color: #ffffff;
  border: none;
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.8px;
  border-radius: 30px; /* Symmetrical capsule radius matching the CTA button */
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(22, 134, 172, 0.25);
  transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
  background-color: #0b4f66;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 134, 172, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Global Notification Banners */
/* ==========================================================================
   Global Flash Notice Notifications (With Automatic Native CSS Fade Out)
   ========================================================================== */
.flash-notice {
  position: fixed;
  top: clamp(15px, 3vw, 30px);
  left: clamp(20px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.95);
  border-left: 4px solid #1686AC; /* Your signature corporate blue indicator line */
  color: #1686AC;
  padding: 12px 24px;
  border-radius: 4px;
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: lowercase;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 99999 !important; /* Ensures alerts float cleanly over headers and sliders */
  pointer-events: none; /* Prevents the invisible box from blocking menu taps after it fades */

  /* 💡 THE AUTOMATIC TIMED ENGINE: Runs a 5-second total visibility and fade sequence */
  animation: flashAutoFade 5s forwards ease-in-out;
}

/* ==========================================================================
   Pure CSS Keyframe Timing Mechanics
   ========================================================================== */
@keyframes flashAutoFade {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  6% {
    opacity: 1;
    transform: translateY(0);
  }
  85% {
    opacity: 1; /* Remains fully static and readable for about 4 seconds */
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden; /* Fully removes layout bounds from screen space */
  }
}


/* ==========================================================================
   Media Queries: Mobile Device Resets
   ========================================================================== */
/* ==========================================================================
   Responsive Tablet & Mobile Resets (Under 992px)
   ========================================================================== */
@media (max-width: 992px) {
  /* 1. Forces structural elements to stack cleanly into a vertical column */
  .content-container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    
    /* Uniform padding margins around all edges of small screens */
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
    
    /* 💡 TUCKS CONTENT RIGHT UNDER LOGO: 
       Reduces top padding so headers sit closely beneath the logo zone */
    padding-top: 130px; 
    padding-bottom: 40px;
  }

  /* 2. Resets the extra desktop separation spacing on mobile devices */
  .contact-page-wrapper {
    padding-left: 0; 
    max-width: 100%;
    width: 100%;
  }

  /* 3. Ensures the H2 title matches the exact left margin alignment as the card */
  .contact-page-wrapper h2 {
    margin-top: 0;
    margin-left: 0;
    /* Generous breathing room between title and the card beneath it */
    margin-bottom: 15px; 
  }
  
  .form-intro-outside {
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 25px;
  }
}

/* ==========================================================================
   What We Do - 5-Column Industrial Capabilities Grid
   ========================================================================== */
.capabilities-grid {
  display: grid;
  /* 💡 Modern Dynamic Grid: Wraps beautifully based on screen layout room */
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: clamp(20px, 3vw, 35px); 
  width: 100%;
  margin-top: 35px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  
  /* Unified theme matching your certifications and menu sidebar modules */
 /* background: rgba(255, 255, 255, 0.85);*/
  border-top: 2px solid #1686AC;
  border-left: 2px solid #1686AC;
  border-right: 1px solid rgba(22, 134, 172, 0.2);
  border-bottom: 1px solid rgba(22, 134, 172, 0.2);
  
  padding: clamp(25px, 3vw, 40px);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 15px;
  gap: 15px;
}

.service-card h3 {
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  color: #fff; 
  font-size: clamp(14pt, 2vw, 22pt);
  margin: 0;
  letter-spacing: 0.5px;
}

/* 💡 High-Contrast White Layout Configuration matching certifications specifications */
.service-card p {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  font-size: clamp(14pt, 2.5vw, 22pt) !important;
  line-height: 1.5;
  margin: 0 0 20px 0;
  font-weight: 700;
  opacity: 1;
}

.capability-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.capability-list li {
  font-family: "Open Sans", sans-serif;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  font-size: clamp(14pt, 2.5vw, 22pt) !important;
  line-height: 1.6;
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}

.capability-list li:last-child {
  margin-bottom: 0;
}

/* Symmetrical corporate blue caret bullet glyph indicators */
.capability-list li::before {
  content: "›"; 
  position: absolute;
  left: 0;
  top: -1px;
  color: #1686AC; 
  font-size: clamp(18pt, 3vw, 26pt);
  line-height: 1;
  font-weight: 700;
  text-shadow: none !important;
}

/* Mobile responsive collapse protection overrides */
@media (max-width: 992px) {
  .capabilities-grid {
    grid-template-columns: 1fr; /* Drop cleanly down to single elements on phone streams */
    gap: 25px;
  }
  
  .service-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
/* ==========================================================================
   Who We Are Profiling Layout Modifiers
   ========================================================================== */
/* Forces the corporate overview card to stretch completely across the top lane before the split column cards */
.full-width-card {
  grid-column: 1 / -1; 
  width: 100%;
}

/* Styled inline corporate overview narrative box */
.profile-narrative {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  font-family: "Open Sans", sans-serif;
  font-size: clamp(13pt, 2vw, 16pt);
  line-height: 1.6;
  opacity: 0.95;
  margin-top: 5px;
}

/* Responsive safeguard for wrapping constraints on tablet dimensions */
@media (max-width: 992px) {
  .full-width-card {
    grid-column: auto;
  }
}

/* ==========================================================================
   Our Projects - High-End Telemetry Ledger Dashboard Grid
   ========================================================================== */
.projects-ledger {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Expands spatial balance between case studies */
  width: 100%;
  max-width: 960px;
  margin-top: 40px;
}

.ledger-card {
  display: flex;
  align-items: stretch; /* Forces left telemetry index bar to match card height perfectly */
  gap: 25px;
  width: 100%;
}

/* Left Technical Metadata Index Bars */
.ledger-index {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 45px;
  flex-shrink: 0;
}

.index-num {
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  color: #1686AC; /* Uses your signature brand blue */
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.5px;
  background: #fff;
  padding:8px;
  border-radius:18px;
}

.index-line {
  width: 2px;
  background: linear-gradient(to bottom, #1686AC, rgba(22, 134, 172, 0.05));
  flex-grow: 1; /* Vertically spans down the side of the frosted card layout */
  margin-top: 10px;
}

/* Main Frosted Project Entry Panel Box */
.ledger-content-box {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.55);
  border-top: 2px solid #1686AC;
  border-left: 2px solid #1686AC;
  border-right: 1px solid rgba(22, 134, 172, 0.2);
  border-bottom: 1px solid rgba(22, 134, 172, 0.2);
  padding: 25px 35px;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Interactive Hover Response */
.ledger-content-box:hover {
  transform: translateX(6px); /* Subtle shift right along your visual grid lines */
  box-shadow: 0 12px 35px rgba(22, 134, 172, 0.25);
  background: rgba(255, 255, 255, 0.9);

}
		.ledger-content-box:hover p {
			color: #1686AC; 	
		text-shadow:none;
		}

.ledger-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
  gap: 15px;
}

.ledger-content-box h3 {
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  color: #1686AC;
  font-size: clamp(16pt, 2vw, 24pt);
  margin: 0;
  letter-spacing: 0.5px;
}

/* High-Contrast White Text Layout matching your requirements */
.ledger-content-box p {

  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  font-size: clamp(14pt, 2.5vw, 22pt) !important;
  line-height: 1.5;
  margin: 0;
  font-weight: 700;
  opacity: 1;
}

/* Responsive adjustment collapse for narrower screen bounds */
@media (max-width: 768px) {
  .ledger-card {
    flex-direction: column;
    gap: 10px;
  }
  .ledger-index {
    display: none; /* Safely hide sidebar tracks on phone layouts to preserve viewing space */
  }
  .ledger-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================================================
   Admin Dashboard Form Actions Buttons
   ========================================================================== */
.btn-admin-action {
  background: #ffffff;
  border: 1px solid #1686AC;
  color: #1686AC;
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: lowercase;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10.5pt;
  transition: all 0.2s ease;
}

.btn-admin-action:hover {
  background: #1686AC;
  color: #ffffff;
}

.btn-admin-delete {
  border-color: #dc3545;
  color: #dc3545;
}

.btn-admin-delete:hover {
  background: #dc3545;
  color: #ffffff;
}
/* ==========================================================================
   Admin Projects Ledger Data Table Formatting
   ========================================================================== */
.ledger-table-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 15px;
}

.admin-ledger-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-ledger-table th {
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  color: #1686AC;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  padding: 10px 15px;
  border-bottom: 2px solid #1686AC;
}

.admin-ledger-table td {
  padding: 15px;
  border-bottom: 1px solid rgba(22, 134, 172, 0.15);
  vertical-align: middle;
}

.td-title {
  color: #1686AC;
  font-size: 12pt;
  white-space: nowrap;
}

.td-index {
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  margin-right: 8px;
  opacity: 0.6;
}

.td-desc {
  color: #333333 !important;
  text-shadow: none !important;
  font-size: 10.5pt;
  line-height: 1.5;
  font-weight: 600;
}

/* ==========================================================================
   Media Queries: Responsive Grid Collapsing
   ========================================================================== */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 20px;
  }
}

/* ==========================================================================
   Certifications Inner Bullet List Framework (High-Contrast White Edition)
   ========================================================================== */
.compliance-card p {
  /* 💡 UPDATED TO WHITE: Swapped text to solid white color matching your preference */
  color: #ffffff !important;
  /* Added a distinct dark text shadow so white text reads perfectly clear over the frosted glass background */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  
  /* 💡 STANDARD PARAGRAPH SIZE: Set it to the exact same fluid clamp scale as your global p text */
  font-size: clamp(14pt, 2.5vw, 22pt) !important;
  line-height: 1.6;
  margin: 0 0 20px 0;
  font-weight: 700; /* Keeps category introductions beautifully distinct */
  opacity: 1;
}

.cert-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.cert-list li {
  font-family: "Open Sans", sans-serif;
  
  /* 💡 UPDATED TO WHITE: Swapped item bullets to match the core text layout line */
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  
  /* 💡 STANDARD PARAGRAPH SIZE: Set item text to match the exact same fluid clamp scale */
  font-size: clamp(14pt, 2.5vw, 22pt) !important;
  line-height: 1.6;
  
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px; /* Increased spacer slightly to match larger text bounds */
}

.cert-list li:last-child {
  margin-bottom: 0;
}

/* Custom left-aligned brand arrow bullets matching your signature corporate blue */
.cert-list li::before {
  content: "›"; 
  position: absolute;
  left: 0;
  top: -1px;
  color: #1686AC; 
  font-size: clamp(18pt, 3vw, 26pt); /* Scaled arrow icon to balance beautifully with text */
  line-height: 1;
  font-weight: 700;
  text-shadow: none !important; /* Keep the clean neon blue bullet sharp */
}

/* ==========================================================================
   Premium Corporate Status Badge Layout with Pulsing Beacon
   ========================================================================== */
.status-badge {
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  
  /* 💡 PALETTE BALANCE: Signature brand blue text layered over a clean 12% solid backdrop */
  color: #1686AC;
  /* 💡 UPDATED: Set to solid white for maximum contrast over the frosted card layer */
  background: #ffffff !important;
  border: 1px solid rgba(22, 134, 172, 0.4);
  
  /* Formats text to sit inline with our upcoming neon indicator dot */
  display: inline-flex;
  align-items: center;
  gap: 8px; /* Clean spacing between the dot and text */
  
  padding: 4px 14px 4px 12px;
  font-size: clamp(0.8rem, 1.5vw, 1.0rem);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 20px;
  letter-spacing: 0.8px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

/* 💡 THE INDICATOR DOT: Adds a tiny corporate status orb inside the badge framework */
.status-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: #1686AC; /* Vivid blue core */
  border-radius: 50%;
  
  /* Attaches our dynamic hardware ambient breathing pulse loop */
  animation: beaconPulse 2s infinite ease-in-out;
}

/* 💡 ANIMATION ENGINE: Creates an ambient breathing ring effect around the badge status dot */
@keyframes beaconPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 134, 172, 0.7);
    transform: scale(0.95);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(22, 134, 172, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 134, 172, 0);
    transform: scale(0.95);
  }
}

/* ==========================================================================
   Global Footer Layout System (Solid White Background Edition)
   ========================================================================== */
.global-footer {
  position: relative;
  width: 100%;
  background-color: #ffffff !important; /* Force pristine solid white bar layout base */
  padding: 20px clamp(20px, 4vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  z-index: 90;
  border-top: 1px solid rgba(22, 134, 172, 0.25);
}

.footer-left {
  /* 💡 PALETTE UNIFORMITY: High-contrast corporate blue lowercase system styling */
  color: #1686AC !important;
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: lowercase;
  font-size: clamp(10pt, 1.4vw, 11.5pt);
  letter-spacing: 0.5px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-right a {
  color: #1686AC !important;
  text-decoration: none;
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: lowercase;
  font-size: clamp(10pt, 1.4vw, 11.5pt);
  letter-spacing: 0.5px;
  transition: opacity 0.2s ease;
}

.footer-right a:hover {
  opacity: 0.75;
}

.footer-separator {
  color: rgba(22, 134, 172, 0.4);
  font-size: 11pt;
}

/* ==========================================================================
   Mobile Responsive Footprint Adjustments
   ========================================================================== */
@media (max-width: 768px) {
  .global-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px;
  }
  
  .footer-right {
    justify-content: center;
  }
}



  /* Locate your media query section for maximum screen safety bounds */
  @media (max-width: 992px) {
    .menu-button {
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding: 12px;
      background: rgba(255, 255, 255, 0.9);
      border: 2px solid #1686AC;
      border-radius: 6px;
      text-decoration: none;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
      
      /* 💡 FORCES TOUCH REGISTRATION: Prevents parent divs from capturing finger taps */
      pointer-events: auto !important; 
      cursor: pointer;
      z-index: 250;
    }

    .global-nav {
      position: fixed;
      top: 90px;
      right: clamp(20px, 4vw, 40px);
      width: 220px;
      border-radius: 8px;
      border: 2px solid #1686AC;
      padding: 20px;
      opacity: 0;
      transform: translateY(-10px);
      pointer-events: none;
      z-index: 150;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Active State Overlay showing when class is attached */
    .global-header.menu-active .global-nav {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto !important;
    }
  }


/* ==========================================================================
   5. Independent Floating Navigation Elements (Bar-Free Design)
   ========================================================================== */
.floating-logo-wrapper {
  position: fixed;
  top: clamp(15px, 3vw, 30px);
  left: clamp(20px, 4vw, 40px);
  z-index: 100;
  display: block;
}

.global-nav {
  position: fixed;
  top: clamp(15px, 3vw, 30px);
  right: clamp(20px, 4vw, 40px);
  z-index: 100;
  
  border-top: 2px solid #1686AC;
  border-left: 2px solid #1686AC;
  background: rgba(255, 255, 255, 0.85); 
  padding: 25px 50px 25px 30px;
  border-radius: 8px; 
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.global-nav a {
  color: #1686AC;
  text-decoration: none;
  font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: lowercase; 
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  letter-spacing: 0.5px;
  display: inline-block;
  transition: color 0.2s, transform 0.2s;
}

.global-nav a:hover {
  color: #0b4f66;
  transform: translateX(4px);
}

.menu-button {
  display: none; /* Hidden on desktop screens */
}

/* ==========================================================================
   Media Queries: Mobile & Tablet Floating Behaviors
   ========================================================================== */
@media (max-width: 992px) {
  .menu-button {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #1686AC;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: clamp(15px, 3vw, 30px);
    right: clamp(20px, 4vw, 40px);
    z-index: 200;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #1686AC;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  /* Responsive layout adjustment for the dropdown menu panel */
  .global-nav {
    top: 90px;
    right: clamp(20px, 4vw, 40px);
    width: 220px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none; /* Keeps it non-clickable when hidden */
  }

  /* 💡 ACTIVE STATE TRIGGER: Activated cleanly via our direct Javascript hook */
  .global-nav.menu-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto !important;
  }

  /* Mobile menu button transformation into an "X" close icon */
  .menu-button.button-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-button.button-active span:nth-child(2) { opacity: 0; }
  .menu-button.button-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}


