/* ==========================================================================
   Master Liquid Glass & Coastal Mediterranean Stylesheet
   ========================================================================== */

/* Import Premium Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette Variables */
  --bg-extremely-light-blue: #f0f7fd;
  --bg-gradient-end: #e2effa;
  
  /* Premium Glassmorphic Sky/Ocean Blue Accent */
  /* Ultra-Premium Glassmorphism (Level of Reference Image) */
  --glass-dark-blue: rgba(0, 130, 255, 0.12); /* Light, watery sky blue glass */
  --glass-dark-blue-hover: rgba(0, 130, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-inner-glow: rgba(0, 242, 254, 0.12);
  --glass-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), inset 0 0 0 1.5px rgba(255, 255, 255, 0.4), inset 0 0 30px rgba(255, 255, 255, 0.3);
  --glass-glow: 0 20px 60px rgba(0, 30, 60, 0.20);


  /* Precise Text Colors as Requested */
  --text-dark-green: #0a2e1f;       /* Headings & Brand accents (Dark Green) */
  --text-light-green: #1b593e;      /* Normal paragraph body text (Light Green) */
  --text-accent-teal: #1ea37b;      /* UI highlights */
  --text-white: #ffffff;
  --text-muted-white: rgba(255, 255, 255, 0.85);
  --text-muted-green: rgba(7, 42, 30, 0.8);
  
  /* Layout Tokens */
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --transition-fluid: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.25);
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-fade-in {
  animation: fadeIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.animate-fade-in-up {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Base Configuration */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background: linear-gradient(135deg, var(--bg-extremely-light-blue) 0%, var(--bg-gradient-end) 100%);
  background-attachment: fixed;
  color: var(--text-light-green);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark-green);
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* Liquid Glass Background Elements */
.liquid-fluid-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.liquid-bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(25px);
  animation: floatOrb 26s infinite ease-in-out alternate;
}

.bubble-primary {
  width: 550px;
  height: 550px;
  top: -12%;
  right: -5%;
  background: radial-gradient(circle, rgba(0, 220, 255, 0.9) 0%, rgba(0, 100, 255, 0.4) 50%, rgba(0, 50, 150, 0) 80%);
  animation-duration: 18s;
}

.bubble-tertiary {
  width: 600px;
  height: 600px;
  top: 30%;
  left: 20%;
  background: radial-gradient(circle, rgba(255, 100, 150, 0.6) 0%, rgba(200, 50, 100, 0.2) 50%, rgba(150, 0, 50, 0) 80%);
  animation-duration: 22s;
}

.bubble-secondary {
  width: 450px;
  height: 450px;
  bottom: -10%;
  left: -8%;
  background: radial-gradient(circle, rgba(50, 255, 150, 0.8) 0%, rgba(20, 180, 120, 0.3) 50%, rgba(10, 100, 50, 0) 80%);
  animation-duration: 25s;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(40px) scale(1.08) rotate(180deg); }
  100% { transform: translateY(-20px) scale(0.92) rotate(360deg); }
}

/* Scrollbar Stylings */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-extremely-light-blue);
}
::-webkit-scrollbar-thumb {
  background: rgba(8, 26, 48, 0.18);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(8, 26, 48, 0.35);
}

/* ============================================================
   MASTER HEADER — Centered Logo + Dock → Fused Strip on scroll
   ============================================================ */

.master-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* Tall enough to hold logo + gap + dock at rest */
  height: 145px;
  z-index: 1000;
  background: transparent;
  transition: height     0.55s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  border-bottom: 1px solid transparent;
}


/* --- Logo sits at center-top of the header bar --- */
.header-logo-container {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 100;
  will-change: top, left, transform;
  transition: top    0.55s cubic-bezier(0.16, 1, 0.3, 1),
              left   0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.brand-title {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-title img,
.brand-logo-img {
  /* Large logo at rest */
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
  transition: height 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Dock floats just below the logo --- */
.header-dock {
  position: absolute;
  display: flex;
  align-items: center;
  top: 76px;   /* Adjusted for smaller gap */
  left: 50%;
  transform: translateX(-50%);
  background: var(--glass-dark-blue);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.3); /* Apple-style rim light */
  border-radius: 40px;
  padding: 10px 28px;
  box-shadow: var(--glass-shadow);
  pointer-events: auto;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: top 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              left 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              border-radius 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================================================================
   SCROLLED STATE — Single-row frosted strip
   • Header keeps full 145px height but gains the dock's background color.
   • Logo STAYS in exactly the same position and size.
   • Dock STAYS in exactly the same position.
   • Dock loses pill styling ("infuses" into the header background).
   • Tab text reduces 15%
   ================================================================ */

.master-header.scrolled {
  /* Match the light cyan/blue from the screenshot so the color doesn't change */
  background: rgba(190, 235, 255, 0.90) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border-bottom: 1px solid rgba(130, 200, 255, 0.4) !important;
  box-shadow: 0 4px 24px rgba(0, 100, 200, 0.12) !important;
  /* height stays 145px — logo and dock stay at exact same positions */
}

/* Logo: NO CHANGES — stays same position (top:18px, left:50%) and same size (52px) */

/* Dock: NO POSITION CHANGES — loses pill styling, blends with strip background */
.master-header.scrolled .header-dock {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: blur(0px) saturate(100%) !important;
  -webkit-backdrop-filter: blur(0px) saturate(100%) !important;
}


/* Nav links in dock — reduce text by 15% on scroll */
.menu-items {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-link {
  color: var(--text-dark-green);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 9px 18px;
  border-radius: 22px;
  transition: color 0.3s ease,
              background 0.3s ease,
              font-size 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-link:hover, .menu-link.active {
  color: #000000;
  background: rgba(0, 50, 100, 0.08);
}

/* -15% on scroll = 0.95rem × 0.85 = ~0.808rem */
.master-header.scrolled .menu-link {
  font-size: 0.808rem;
  padding: 7px 14px;
}

.nav-booking-btn {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #0a2e1f;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 22px;
  text-decoration: none;
  font-size: 0.92rem;
  margin-left: 8px;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              font-size 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.nav-booking-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 242, 254, 0.5);
}

/* -15% on scroll */
.master-header.scrolled .nav-booking-btn {
  font-size: 0.782rem;
  padding: 7px 16px;
}

/* ============================================================
   MAIN CONTENT — offset for the taller resting header
   ============================================================ */

/* Master Layout Framework */
.main-wrapper { padding-top: 150px; padding-left: 90px; padding-right: 24px; box-sizing: border-box; }


.layout-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section (Split Column Grid) */
.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 60px 0 100px 0;
}

@media(max-width: 950px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 50px;
    gap: 36px;
  }
  .hero-text-block {
    margin: 0 auto;
    max-width: 650px;
  }
  .btn-flex-row {
    justify-content: center;
  }
  .hero-visual-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
}

.hero-text-block {
  max-width: 600px;
}

.hero-subtitle-tag {
  display: inline-block;
  background: rgba(31, 107, 82, 0.08);
  border: 1px solid rgba(31, 107, 82, 0.15);
  color: var(--text-dark-green);
  padding: 6px 16px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title-main {
  font-size: 2.9rem;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--text-dark-green);
}

.hero-title-main span {
  background: linear-gradient(120deg, var(--text-dark-green), var(--text-accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-para {
  font-size: 1.15rem;
  color: var(--text-light-green);
  margin-bottom: 36px;
  opacity: 0.95;
}

.btn-flex-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-solid-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text-dark-green);
  color: #ffffff; /* Explicitly forced white */
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(10, 46, 31, 0.2);
}
.btn-solid-dark:hover {
  background: var(--glass-dark-blue);
  color: var(--text-dark-green);
}

.btn-outline-green {
  background: transparent;
  color: var(--text-dark-green);
  border: 2px solid var(--text-dark-green);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fluid);
  text-decoration: none;
}

.btn-outline-green:hover {
  background: rgba(7, 42, 30, 0.05);
}

/* Premium Visual Elements */
.hero-visual-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 55px rgba(8, 26, 48, 0.12);
}

.hero-visual-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 2;
}

.visual-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.hero-visual-wrapper:hover .visual-image {
  transform: scale(1.05);
}

/* Coastal accent floating ribbon */
.coastal-accent-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.coastal-accent-icon {
  background: #fff6e0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 193, 7, 0.25);
  flex-shrink: 0;
}

.coastal-accent-msg h4 {
  font-size: 0.9rem;
  color: var(--text-dark-green);
  font-weight: 600;
}

.coastal-accent-msg p {
  font-size: 0.78rem;
  color: var(--text-light-green);
  opacity: 0.85;
}

/* Glassmorphic Panel Card Container (Dark Blue Scent) */
.glass-panel-section {
  background: var(--glass-dark-blue);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--glass-glow);
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.glass-panel-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(92, 225, 230, 0.3), transparent);
}

.section-head-title {
  color: var(--text-dark-green);
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 36px;
  font-weight: 700;
}

/* Grid Layout for Service Cards */
.services-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-glass-card {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.service-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.06) 0%, transparent 60%);
  z-index: 0;
}

.service-glass-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.service-card-tag {
  display: inline-block;
  background: rgba(31, 107, 82, 0.1);
  color: var(--text-accent-teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 16px;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

.service-glass-card h3 {
  color: var(--text-dark-green);
  font-size: 1.05rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-glass-card p {
  color: var(--text-light-green);
  font-size: 0.9rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.service-card-link-arrow {
  color: var(--text-accent-teal);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 700;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  transition: var(--transition-fluid);
}

.service-glass-card:hover .service-card-link-arrow {
  color: var(--text-dark-green);
  transform: translateX(4px);
}

/* Two Column Form Tools (Calculator / Lead Form) */
.split-tool-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

@media(max-width: 900px) {
  .split-tool-layout {
    grid-template-columns: 1fr;
  }
}

.input-glass-box {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  padding: 30px;
}

.input-glass-box h3 {
  color: var(--text-dark-green);
  margin-bottom: 24px;
  font-size: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.group-form {
  margin-bottom: 20px;
}

.group-form label {
  display: block;
  color: var(--text-dark-green);
  font-size: 0.85rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.input-glass-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  color: var(--text-dark-green);
  font-size: 0.92rem;
  transition: var(--transition-fluid);
}

.input-glass-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: #5ce1e6;
  box-shadow: 0 0 10px rgba(92, 225, 230, 0.25);
}

.input-glass-control option {
  background: #ffffff;
  color: var(--text-dark-green);
}

/* Glass Liquid submit buttons */
.btn-glass-fluid {
  width: 100%;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: var(--text-dark-green);
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-glass-fluid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.55);
}

.btn-glass-fluid:active {
  transform: translateY(1px);
}

/* Tool Outputs */
.output-glass-box {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  padding: 32px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bill-header {
  border-bottom: 2px dashed rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.bill-sub-title {
  color: #5ce1e6;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bill-main-logo {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark-green);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 4px;
}

.bill-row-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
}

.bill-row-item span:first-child {
  color: var(--text-light-green);
}

.bill-row-item span:last-child {
  color: var(--text-dark-green);
  font-weight: 600;
}

.bill-highlight-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  margin: 18px 0;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
}

.bill-highlight-row span:first-child {
  color: var(--text-dark-green);
  font-weight: 600;
}

.bill-highlight-row span:last-child {
  color: var(--text-dark-green);
  font-size: 1.35rem;
  font-weight: 700;
}

.bill-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-pill-outline {
  flex: 1;
  background: rgba(255, 255, 255, 0.4);
  color: var(--text-dark-green);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fluid);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-pill-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #5ce1e6;
}

/* Standalone Certificate Page Styling */
.cert-printable-container {
  background: radial-gradient(circle at top right, rgba(9, 29, 54, 0.98), rgba(6, 20, 38, 0.99));
  border: 4px double rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.5);
  max-width: 750px;
  margin: 60px auto;
  position: relative;
}

.cert-stamp {
  position: absolute;
  bottom: 40px;
  right: 50px;
  border: 2px dashed rgba(92, 225, 230, 0.3);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.72rem;
  color: rgba(92, 225, 230, 0.4);
  transform: rotate(-15deg);
  text-align: center;
  text-transform: uppercase;
}

.cert-footer-layout {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

/* Apple.com style sitemap plain-text footer (Liquid glass backdrop continues) */
.apple-footer-section {
  padding-left: 70px;
  position: relative;
  background: var(--glass-dark-blue);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  box-shadow: var(--glass-shadow);
  border-top: 1px solid var(--glass-border);
  padding: 60px 24px 40px 24px;
  margin-top: 100px;
  color: var(--text-light-green);
  z-index: 5;
}

.apple-footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(31, 107, 82, 0.25), transparent);
}

.footer-content-inner { max-width: 1200px; margin: 0 auto; padding-left: 90px; padding-right: 24px; box-sizing: border-box; }

.footer-text-disclaimer {
  font-size: 0.76rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.footer-text-disclaimer a {
  color: var(--text-dark-green);
  text-decoration: none;
}

.footer-text-disclaimer a:hover {
  text-decoration: underline;
}

.footer-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.directory-column h3 {
  color: var(--text-dark-green);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.directory-link-list {
  list-style: none;
}

.directory-link-item {
  margin-bottom: 10px;
}

.directory-action-link {
  color: var(--text-light-green);
  text-decoration: none;
  font-size: 0.82rem;
  transition: var(--transition-fluid);
  font-weight: 500;
}

.directory-action-link:hover {
  color: var(--text-dark-green);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.78rem;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-span {
  color: var(--text-light-green);
  font-weight: 500;
}

.footer-policy-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  list-style: none;
}

.policy-anchor {
  color: var(--text-light-green);
  text-decoration: none;
  transition: var(--transition-fluid);
  font-weight: 500;
}

.policy-anchor:hover {
  color: var(--text-dark-green);
  text-decoration: underline;
}

/* Toast Notifications */
.glass-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(31, 107, 82, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-dark-green);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 30, 60, 0.25);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(150px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.25);
}

.glass-toast.show {
  transform: translateY(0);
}

.toast-checkmark-icon {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Print CSS Media Rules */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .glass-header, .apple-footer-section, .liquid-fluid-backdrop, .bill-actions, .btn-solid-dark, .btn-outline-green {
    display: none !important;
  }
  .main-wrapper {
    margin-top: 0 !important;
    padding: 0 !important;
  }
  .cert-printable-container {
    border: 3px double #000000 !important;
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 30px !important;
  }
  .output-title, .output-logo, .bill-row-item span, .bill-highlight-row span {
    color: #000000 !important;
  }
  .bill-highlight-row {
    background: transparent !important;
    border: 1px solid #000000 !important;
  }
}

/* Premium Animations */
@keyframes premiumFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: premiumFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }



/* Floating Side Text */

.side-floating-text {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dark-green);
  opacity: 0.4;
  z-index: 50;
  white-space: nowrap;
}

@media(max-width: 1200px) {
  
.side-floating-text {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dark-green);
  opacity: 0.4;
  z-index: 50;
  white-space: nowrap;
}
}



.side-floating-reel {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 60px;
  background: var(--glass-dark-blue);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-right: 1px solid var(--glass-border);
  box-shadow: 10px 0 30px rgba(0, 30, 60, 0.05);
  z-index: 9999;
  pointer-events: auto;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.reel-track {
  display: flex;
  flex-direction: column;
  animation: reelMarquee 35s linear infinite;
}

.reel-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: 0.25em;
  font-size: 1rem;
  padding-top: 30px;
  
  /* Permanent glow */
  color: var(--text-dark-green);
  -webkit-text-stroke: 1px var(--text-dark-green);
  text-shadow: 0 0 8px rgba(10, 46, 31, 0.4);
  opacity: 1;
  cursor: default;
}

@keyframes reelMarquee {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); } 
}




/* Re-brightened Liquid Flow */
.liquid-fluid-backdrop::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    135deg, 
    rgba(230, 250, 255, 0.3),
    rgba(150, 220, 255, 0.05),
    rgba(200, 245, 255, 0.2),
    rgba(150, 220, 255, 0.05)
  );
  background-size: 300% 300%;
  animation: liquidFlow 20s ease-in-out infinite alternate;
  z-index: -1;
  pointer-events: none;
}

@keyframes liquidFlow {
  0% { background-position: 0% 50%; transform: rotate(-2deg); }
  50% { background-position: 100% 50%; transform: rotate(1deg); }
  100% { background-position: 0% 50%; transform: rotate(-1deg); }
}

  50% { background-position: 100% 50%; transform: rotate(1deg); }
  100% { background-position: 0% 50%; transform: rotate(-1deg); }
}

/* Override button fonts to be Condensed / Tall */
.nav-booking-btn, .btn-solid-dark, .btn-outline-green, .btn-glass-fluid, .btn-pill-outline {
    font-family: 'Montserrat', 'Inter', sans-serif !important;
    letter-spacing: 0.05em;
}


/* ========================================================= */
/* NEUMORPHIC GLASS HYBRID OVERRIDES */
/* ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --neu-light: #ffffff;
  --neu-shadow: #c7d3df;
  --glass-tint: rgba(0, 130, 255, 0.12); /* The premium blue tint */
}

body {
  background: #ffffff !important;
}

/* Remove all body pseudo-element gradients/orbs that ruin the solid white canvas */
body::before, body::after {
  display: none !important;
}

/* Transform Glass Components to Extruded Neumorphic Glass */
.master-header.scrolled,
.header-dock,
.glass-panel-section,
.service-glass-card {
  background: var(--glass-tint) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
  border: none !important; /* Let the neumorphic shadows define the edges */
  box-shadow: 12px 12px 24px var(--neu-shadow), -12px -12px 24px var(--neu-light) !important;
}

/* Dark Button Mechanics (Green -> Blue Glass -> Inset Press) */
.btn-solid-dark {
  background: #072a1e !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(7, 42, 30, 0.15) !important;
  font-family: 'Nunito', sans-serif !important;
  border: none !important;
  backdrop-filter: none !important;
}
.btn-solid-dark:hover {
  background: var(--glass-tint) !important;
  color: var(--text-dark-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(0, 130, 255, 0.25) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
}
.btn-solid-dark:active {
  transform: translateY(1px) !important;
  box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Light Button Mechanics (Extruded Blue Glass -> Hover -> Inset Press) */
.btn-outline-green {
  background: var(--glass-tint) !important;
  border: 2px solid transparent !important;
  box-shadow: 6px 6px 12px var(--neu-shadow), -6px -6px 12px var(--neu-light) !important;
  font-family: 'Nunito', sans-serif !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
}
.btn-outline-green:hover {
  background: rgba(7, 42, 30, 0.05) !important; /* Slightly darker */
  transform: translateY(-1px) !important;
  box-shadow: 4px 4px 8px var(--neu-shadow), -4px -4px 8px var(--neu-light) !important;
  border-color: transparent !important;
}
.btn-outline-green:active {
  background: var(--glass-tint) !important;
  transform: translateY(1px) !important;
  box-shadow: inset 4px 4px 8px rgba(0, 130, 255, 0.2), inset -4px -4px 8px var(--neu-light) !important;
  border-color: var(--text-dark-green) !important;
}

/* Form Inputs (Engraved Transparent Glass) */
.input-glass-control {
  background: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
  border: 2px solid transparent !important;
  /* Permanent Inset Engraved Shadow */
  box-shadow: inset 4px 4px 8px rgba(0, 130, 255, 0.15), inset -4px -4px 8px var(--neu-light) !important;
  font-family: 'Nunito', sans-serif !important;
  color: var(--text-dark-green) !important;
}
.input-glass-control:focus {
  outline: none !important;
  border-color: rgba(10, 46, 31, 0.2) !important;
  box-shadow: inset 6px 6px 12px rgba(0, 130, 255, 0.25), inset -6px -6px 12px var(--neu-light) !important;
  background: rgba(255, 255, 255, 0.4) !important;
}

/* Ensure glass inputs wrappers don't conflict */
.input-glass-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


/* Override Service Cards to be Pure White (True Neumorphic Extrusion) */
.service-glass-card {
  background: #ffffff !important;
}


/* Override Form Inputs to be Pure White */
.input-glass-control {
  background: #ffffff !important;
}
.input-glass-control:focus {
  background: #ffffff !important;
}





/* Force buttons to maintain a large pill shape even with short text */
.btn-solid-dark,
.btn-outline-green {
  min-width: 220px !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 18px 40px !important; /* Slightly taller and wider padding */
}

.nav-booking-btn {
  min-width: 180px !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 14px 32px !important;
}


/* ========================================================= */
/* URBAN MINING: THE DEEP ICE AESTHETIC                      */
/* ========================================================= */

.um-page-wrapper {
  padding-top: 180px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 120px;
  z-index: 10;
  position: relative;
}

.um-hero-title {
  text-align: center;
  font-family: 'Futura Condensed PT', 'Druk Wide', sans-serif;
  font-size: 5.5rem;
  color: var(--text-dark-green, #0a2e1f);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1;
}

.um-hero-title span {
  color: #00d2ff;
}

.um-hero-para {
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-size: 1.25rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto 100px auto;
  line-height: 1.7;
}

.um-monolith {
  background: var(--glass-tint) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
  border-radius: 40px;
  box-shadow: 20px 20px 40px var(--neu-shadow), -20px -20px 40px var(--neu-light) !important;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin-bottom: 80px;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.um-monolith:hover {
  transform: translateY(-5px);
}

.um-monolith.reverse {
  flex-direction: row-reverse;
}

.um-monolith-content {
  flex: 1;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.um-phase-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(0, 210, 255, 0.15);
  color: #007bff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
  align-self: flex-start;
}

.um-monolith-title {
  font-family: 'Futura Condensed PT', 'Druk Wide', sans-serif;
  font-size: 3.5rem;
  color: var(--text-dark-green, #0a2e1f);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.um-monolith-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  color: #555;
  line-height: 1.7;
}

.um-monolith-image-wrapper {
  flex: 1;
  padding: 40px;
}

.um-image-engraved {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: inset 8px 8px 20px rgba(0, 130, 255, 0.2), inset -8px -8px 20px var(--neu-light) !important;
  position: relative;
}

.um-image-engraved img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.um-monolith:hover .um-image-engraved img {
  transform: scale(1.08);
}

.um-cta-section {
  text-align: center;
  margin-top: 60px;
}




/* Fix the Nav Dock Padding so the cyan button sits perfectly flush on the right */
.header-dock {
  padding-right: 8px !important; 
  padding-left: 24px !important;
}
.menu-items {
  padding-right: 0 !important;
}
.nav-booking-btn {
  margin-right: 0 !important;
}

/* ========================================================= */
/* THE NEUMORPHIC THEATER: URBAN MINING PAGE                 */
/* ========================================================= */
.um-theater-wrapper {
  padding-top: 180px;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.um-massive-header {
  font-family: 'Futura Condensed PT', 'Druk Wide', sans-serif;
  font-size: 7rem;
  color: var(--text-dark-green, #0a2e1f);
  text-transform: uppercase;
  line-height: 0.9;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -3px;
}
.um-massive-header span {
  color: #0084ff;
}

.um-video-frame {
  width: 100%;
  height: 750px;
  border-radius: 40px;
  background: rgba(180, 225, 255, 0.4) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
  box-shadow: 20px 20px 60px var(--neu-shadow), -20px -20px 60px var(--neu-light) !important;
  padding: 30px; /* The massive glass border */
  margin-bottom: 80px;
}

.um-video-inner {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: inset 10px 10px 30px rgba(0, 130, 255, 0.3), inset -10px -10px 30px var(--neu-light) !important;
  position: relative;
  background: #000;
}

.um-video-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

.um-detail-box {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.um-detail-box p {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 50px;
}



/* ========================================================= */
/* NAV BAR GEOMETRY FIX                                      */
/* ========================================================= */
.nav-booking-btn {
  border-radius: 40px !important; /* Match the exact curve of the dock */
  margin-right: 0 !important;
}

.header-dock {
  padding-right: 6px !important; /* Suck the glass directly to the edge of the cyan button */
  padding-left: 24px !important;
}

/* ========================================================= */
/* ULTRA-HARD URBAN MINING TEXTURES                          */
/* ========================================================= */

/* 1. Tactical Grid Background */
.um-tactical-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 130, 255, 0.15) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  background-position: 0 0;
  opacity: 0.8;
}

/* Fades the grid out around the center video */
.um-tactical-grid::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, transparent 30%, #ffffff 80%);
}

/* 2. Scan Lines Overlay */
.um-scan-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 255, 0.05),
    rgba(0, 255, 255, 0.05) 1px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 3;
}

/* 3. Floating Glass Shards */
.um-glass-shard {
  position: absolute;
  background: rgba(180, 225, 255, 0.4) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border-radius: 40px;
  box-shadow: 15px 15px 30px var(--neu-shadow), -15px -15px 30px var(--neu-light), inset 2px 2px 5px rgba(255,255,255,0.8) !important;
  z-index: -1;
  animation: float-shard 25s infinite ease-in-out;
}

.um-shard-1 {
  width: 350px;
  height: 500px;
  top: 50px;
  left: -80px;
}

.um-shard-2 {
  width: 500px;
  height: 350px;
  bottom: 0px;
  right: -100px;
  animation-direction: reverse;
  animation-duration: 35s;
}

@keyframes float-shard {
  0% { transform: rotate(15deg) translateY(0px) translateX(0px); }
  50% { transform: rotate(35deg) translateY(-50px) translateX(30px); }
  100% { transform: rotate(15deg) translateY(0px) translateX(0px); }
}



/* ========================================================= */
/* FIX SCROLL BEHAVIOR & PADDING FOREVER                     */
/* ========================================================= */

/* Fix the geometry mismatch completely - zero out right padding */
.header-dock {
  padding-right: 0 !important; 
}

/* Ensure the button hugs the right edge perfectly */
.nav-booking-btn {
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
}




/* ========================================================= */
/* FORM PAGE STYLING (takeback.html & quote.html)            */
/* ========================================================= */
.form-page-wrapper {
  padding-top: 180px;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 120px;
}

.form-glass-container {
  background: var(--glass-tint) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
  border-radius: 30px;
  box-shadow: 20px 20px 60px var(--neu-shadow), -20px -20px 60px var(--neu-light) !important;
  padding: 60px;
}

.form-title {
  font-family: 'Futura Condensed PT', 'Druk Wide', sans-serif;
  font-size: 3.5rem;
  color: var(--text-dark-green);
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
}

.form-subtitle {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
}

.neumorphic-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark-green);
  margin-left: 10px;
}

.input-glass-control {
  background: rgba(255, 255, 255, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 20px;
  padding: 16px 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: var(--text-dark-green);
  box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.05), inset -4px -4px 10px rgba(255, 255, 255, 0.8) !important;
  transition: all 0.3s ease;
}

.input-glass-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.7) !important;
  box-shadow: inset 6px 6px 12px rgba(0, 0, 0, 0.08), inset -6px -6px 12px rgba(255, 255, 255, 0.9) !important;
}

.form-submit-btn {
  margin-top: 20px;
  width: 100%;
  padding: 20px !important;
  font-size: 1.2rem !important;
  border-radius: 30px !important;
}



/* ========================================================= */
/* E-WASTE CHEVRON FLOW DIAGRAM                              */
/* ========================================================= */

.chevron-flow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Slight gap looks better than overlapping for glass */
  flex-wrap: wrap;
  margin-top: 50px;
  margin-bottom: 50px;
}

.chevron-wrapper {
  /* This creates the Neumorphic drop shadow around the clipped shape */
  filter: drop-shadow(10px 10px 20px rgba(0, 130, 255, 0.15)) drop-shadow(-10px -10px 20px rgba(255, 255, 255, 0.6));
  margin-left: -20px; /* Overlap them slightly for the continuous flow look */
  transition: transform 0.3s ease;
}

.chevron-wrapper:first-child {
  margin-left: 0;
}

.chevron-wrapper:hover {
  transform: translateY(-5px);
  z-index: 10;
}

.chevron-glass {
  width: 210px;
  height: 160px;
  background: var(--glass-tint) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
  clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%, 15% 50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 30px 10px 45px; /* Extra left padding to clear the tail */
  /* Inner bevel */
  box-shadow: inset 2px 2px 5px rgba(255,255,255,0.8);
}

.chevron-wrapper:first-child .chevron-glass {
  clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
  padding-left: 20px;
}

.chevron-wrapper:last-child .chevron-glass {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 15% 50%);
  padding-right: 20px;
}

.chevron-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  fill: var(--text-dark-green);
}

.chevron-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark-green);
  line-height: 1.3;
}

/* Ensure mobile layout doesn't break the chevrons */
@media (max-width: 1200px) {
  .chevron-flow-container {
    flex-direction: column;
    gap: 20px;
  }
  .chevron-wrapper {
    margin-left: 0;
  }
  .chevron-glass {
    width: 280px;
    height: 120px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 50% 100%, 0% 80%, 0% 0%); /* Point downwards on mobile */
    padding: 20px;
  }
  .chevron-wrapper:first-child .chevron-glass {
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 50% 100%, 0% 80%);
    padding: 20px;
  }
  .chevron-wrapper:last-child .chevron-glass {
    clip-path: polygon(50% 0%, 100% 20%, 100% 100%, 0% 100%, 0% 20%);
    padding: 30px 20px 20px 20px;
  }
}



/* ========================================================= */
/* EPR TRACEABILITY ENGINE DIAGRAM                           */
/* ========================================================= */

.epr-engine-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  margin-top: 20px;
  margin-bottom: 30px;
}

.epr-pain-col, .epr-result-col {
  flex: 1;
  max-width: 320px;
  background: var(--glass-tint) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0, 130, 255, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.epr-core-col {
  flex: 1.3;
  max-width: 420px;
  background: rgba(180, 225, 255, 0.25) !important;
  backdrop-filter: blur(35px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(35px) saturate(200%) !important;
  border: 1px solid rgba(0, 242, 254, 0.4); 
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 242, 254, 0.2), inset 0 4px 8px rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.epr-core-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.05), rgba(79, 172, 254, 0.1));
  z-index: 0;
}

.epr-core-col > * {
  position: relative;
  z-index: 1;
}

.epr-col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark-green);
  margin-bottom: 25px;
  text-align: center;
}

.epr-col-text {
  font-size: 0.95rem;
  color: var(--text-light-green);
  line-height: 1.5;
}

.epr-core-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  counter-reset: epr-counter;
}

.epr-core-list li {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark-green);
  margin-bottom: 18px;
  padding-left: 35px;
  position: relative;
}

.epr-core-list li::before {
  counter-increment: epr-counter;
  content: counter(epr-counter) ".";
  position: absolute;
  left: 0;
  color: #0082FF;
  font-weight: 900;
  font-size: 1.1rem;
}

.epr-arrow-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.epr-arrow-col svg {
  width: 50px;
  height: 50px;
  stroke: rgba(0, 130, 255, 0.6);
  stroke-width: 2;
  filter: drop-shadow(0 4px 6px rgba(0,130,255,0.2));
}

.epr-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.epr-doc-icon {
  width: 45px;
  height: 45px;
  fill: rgba(0, 130, 255, 0.6);
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.1));
}

.epr-pain-icon {
  width: 90px;
  height: 90px;
  stroke: var(--text-dark-green);
  stroke-width: 1.5;
  margin-bottom: 20px;
}

.epr-engine-banner {
  background: var(--glass-tint) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  border-radius: 15px;
  padding: 20px 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 8px 20px rgba(0, 130, 255, 0.1);
}

.epr-engine-banner p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark-green);
  margin: 0;
}

@media (max-width: 1024px) {
  .epr-engine-container {
    flex-direction: column;
    align-items: center;
  }
  .epr-arrow-col svg {
    transform: rotate(90deg);
    margin: 10px 0;
  }
}


/* --- Floating Glass Footer --- */
.floating-glass-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  z-index: 10;
}
.footer-pill {
  background: rgba(10, 25, 47, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(0, 242, 254, 0.05);
}
.footer-logo {
  font-weight: 700;
  color: var(--text-dark-green);
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.footer-links {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.footer-links a {
  text-decoration: none;
  color: var(--text-light-green);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--text-dark-green);
}
.footer-copyright {
  color: rgba(136, 146, 176, 0.6);
  font-size: 0.85rem;
}
.upcoming-badge {
  background: rgba(0, 242, 254, 0.2);
  color: var(--text-dark-green);
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 5px;
  vertical-align: super;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid rgba(0, 242, 254, 0.4);
}


/* --- Urban Mining Editorial Hero --- */
.um-editorial-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px 40px 20px;
  min-height: 80vh;
  position: relative;
  z-index: 5;
}
.um-editorial-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  color: var(--text-dark-green);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.um-editorial-text h1 span { color: var(--text-light-green); }
.um-editorial-para {
  font-size: 1.1rem;
  color: var(--text-light-green);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 30px;
  opacity: 0;
  animation: slideUpFade 1s forwards 0.5s;
}
.um-floating-video {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(0, 242, 254, 0.3);
  border: 1px solid rgba(0, 242, 254, 0.4);
  position: relative;
  transform: translateY(0);
  animation: floatVideo 6s ease-in-out infinite;
}
.um-floating-video video {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes floatVideo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* --- Scrollymation Particles --- */
.scrollymation-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 100px auto;
  padding: 50px 20px;
}
.particle-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50vh;
  margin-bottom: 50px;
  opacity: 0.1;
  transform: scale(0.8) translateY(50px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.particle-step.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.particle-icon {
  flex: 0 0 40%;
  text-align: center;
}
.particle-icon svg {
  width: 200px;
  height: 200px;
  stroke: rgba(0, 242, 254, 0.8);
  filter: drop-shadow(0 0 30px rgba(0, 242, 254, 0.5));
  transition: transform 0.5s;
}
.particle-step:hover .particle-icon svg {
  transform: scale(1.1) rotate(5deg);
}
.particle-text {
  flex: 0 0 50%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}
.particle-text h3 { font-size: 2rem; color: var(--text-dark-green); margin-bottom: 15px; }
.particle-text p { color: var(--text-light-green); font-size: 1.1rem; line-height: 1.6; }
.particle-step:nth-child(even) {
  flex-direction: row-reverse;
}


.glass-step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 242, 254, 0.15) !important;
  border-color: rgba(0, 242, 254, 0.4) !important;
}


/* --- Urban Mining Screenshot Hero --- */
.dot-grid-bg {
  background-color: #F4F9FC;
  background-image: radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}
.dot-grid-bg::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 50%; height: 80%;
  background: radial-gradient(circle, rgba(210, 235, 255, 0.7) 0%, transparent 70%);
  z-index: 0;
}
.dot-grid-bg::after {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%;
  width: 50%; height: 80%;
  background: radial-gradient(circle, rgba(210, 235, 255, 0.7) 0%, transparent 70%);
  z-index: 0;
}
.um-screenshot-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 20px 140px 20px;
}
.um-screenshot-title {
  color: #103323;
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.5px;
}
.um-screenshot-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  display: block;
}


/* --- Stunning SVG Footer --- */
.stunning-svg-footer {
  position: relative;
  background: var(--bg-primary);
  margin-top: 120px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}
.footer-svg-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.footer-svg-wave svg {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}
.stunning-footer-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 20px 40px 20px;
}
.footer-minimal-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
}
.footer-minimal-links a {
  color: var(--text-dark-green);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 1px;
}
.footer-minimal-links a:hover {
  color: #00f2fe;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}
.footer-copyright {
  color: var(--text-light-green);
  font-size: 0.85rem;
  opacity: 0.7;
}


/* ========================================================= */
/* PREMIUM MOBILE RESPONSIVE UI (Hamburger Sidebar)          */
/* ========================================================= */

.hamburger-menu {
  display: none;
  position: absolute;
  right: 20px;
  top: 40px;
  cursor: pointer;
  z-index: 100000;
  color: var(--text-dark-green);
  transition: transform 0.3s;
}

body.nav-open .hamburger-menu {
  color: #fff;
  transform: rotate(90deg);
}

@media (max-width: 1024px) {
  .main-wrapper { padding-left: 24px !important; padding-right: 24px !important; }
  .um-theater-wrapper { padding-left: 24px !important; padding-right: 24px !important; }
  .side-floating-text, .side-floating-reel, .reel-track { display: none !important; width: 0 !important; }
  .hero-layout, .um-screenshot-hero { grid-template-columns: 1fr !important; text-align: center; gap: 40px; }
  .hero-content { margin-top: 0 !important; }
  .hero-title, .um-screenshot-title, .theater-headline { font-size: 3rem !important; }
  
  .logo-container, .header-logo-container { 
    top: 25px !important; left: 20px !important; z-index: 99999 !important; display: block !important; 
  }
}

@media (max-width: 1024px) {
  .master-header { height: 90px !important; background: rgba(255,255,255,0.7) !important; backdrop-filter: blur(20px) !important; box-shadow: 0 4px 30px rgba(0,0,0,0.05); }
  .master-header.scrolled { height: 90px !important; background: rgba(255,255,255,0.85) !important; }
  
  .hamburger-menu { display: block !important; top: 28px !important; }

  /* SIDEBAR STYLING */
  .header-dock, .master-header.scrolled .header-dock {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important; /* Hidden off screen initially */
    left: auto !important; /* Fix centering issue */
    width: 280px !important;
    max-width: 80% !important;
    height: 100vh !important;
    background: var(--glass-dark-blue) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    box-shadow: -10px 0 30px rgba(0,0,0,0.2) !important;
    border-radius: 0 !important;
    border: none !important;
    border-left: 1px solid rgba(255,255,255,0.2) !important;
    padding: 100px 30px 40px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    transform: none !important;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 99998 !important;
  }
  
  body.nav-open .header-dock, body.nav-open .master-header.scrolled .header-dock {
    right: 0 !important;
    left: auto !important;
  }

  .menu-items {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 24px !important;
    width: 100% !important;
  }
  .menu-link {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    padding: 0 !important;
  }
  .nav-booking-btn {
    margin-top: 20px !important;
    width: 100% !important;
    text-align: center !important;
    padding: 14px 0 !important;
    border-radius: 30px !important;
    font-size: 1.1rem !important;
  }
  
  .main-wrapper { padding-top: 140px !important; }
  .hero-title, .um-screenshot-title, .theater-headline { font-size: 2.2rem !important; }
  .glass-card { padding: 20px !important; }
  .card-grid { grid-template-columns: 1fr !important; }
  .footer-minimal-links { flex-wrap: wrap; gap: 16px; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title, .um-screenshot-title, .theater-headline { font-size: 1.8rem !important; }
  .btn-flex-row { flex-direction: column; width: 100%; align-items: stretch; }
}


/* ========================================================= */
/* ABSOLUTE FORCE OVERRIDES FOR NAVBAR & HAMBURGER           */
/* ========================================================= */

/* 1. Ensure Pill disappears completely on desktop scroll */
@media (min-width: 1025px) {
  .master-header.scrolled .header-dock,
  .master-header.scrolled #navDock {
    background: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* 2. Ensure Hamburger Menu is physically overlaying everything and clickable */
.hamburger-menu {
  z-index: 2147483647 !important;
  pointer-events: auto !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255,255,255,0.2) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(10px) !important;
}
@media (min-width: 1025px) {
  .hamburger-menu {
    display: none !important;
  }
}

/* 3. Ensure the Sidebar opens when body has nav-open */
body.nav-open .header-dock, 
body.nav-open .master-header.scrolled .header-dock {
  transform: translateX(0) !important;
  right: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* ========================================================= */
/* FIX SELECT AND INPUT SIZES TO BE IDENTICAL                */
/* ========================================================= */
input.input-glass-control,
select.input-glass-control {
  box-sizing: border-box !important;
  height: 60px !important;
  line-height: normal !important;
  appearance: none;
  -webkit-appearance: none;
}
select.input-glass-control {
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23103323%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E') !important;
  background-repeat: no-repeat !important;
  background-position: right 20px top 50% !important;
  background-size: 0.65rem auto !important;
  padding-right: 40px !important; /* Make room for arrow */
}


/* ========================================================= */
/* UNIFIED INPUT + SELECT SIZE FIX (v2 - definitive)        */
/* ========================================================= */
input.input-glass-control,
select.input-glass-control,
textarea.input-glass-control {
  box-sizing: border-box !important;
  width: 100% !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 1rem !important;
  padding: 16px 20px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  color: var(--text-dark-green) !important;
  box-shadow: inset 4px 4px 10px rgba(0,0,0,0.05), inset -4px -4px 10px rgba(255,255,255,0.8) !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  transition: all 0.3s ease !important;
  min-height: 58px !important;
  line-height: 1.4 !important;
}
select.input-glass-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23103323' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 20px !important;
  padding-right: 44px !important;
  cursor: pointer !important;
}
input.input-glass-control:focus,
select.input-glass-control:focus,
textarea.input-glass-control:focus {
  outline: none !important;
  background: rgba(255,255,255,0.7) !important;
  box-shadow: inset 6px 6px 12px rgba(0,0,0,0.08), inset -6px -6px 12px rgba(255,255,255,0.9), 0 0 0 2px rgba(0,242,254,0.3) !important;
}
