:root {
    --bg: #0a130d;
    --bg-2: #0f1c14;
    --panel: #13201a;
    --line: rgba(245, 240, 230, 0.10);
    --line-bright: rgba(205, 146, 46, 0.35);
    --gold: #cd922e;
    --gold-bright: #e8ad4d;
    --cream: #f3efe4;
    --sage: #90a597;
    --sage-dim: #5c6e63;
  }
  
  /* ---------- GENERAL RESET & GLOBAL STYLES ---------- */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    background: var(--bg);
    color: var(--cream);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  ::selection {
    background: var(--gold);
    color: #0a130d;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
  }
  
  /* Ambient Radial Background Textures */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: 
      radial-gradient(circle at 18% 20%, rgba(205, 146, 46, 0.07), transparent 38%), 
      radial-gradient(circle at 85% 75%, rgba(144, 165, 151, 0.06), transparent 42%);
    pointer-events: none;
    z-index: 0;
  }
  
  /* ---------- NAVIGATION BAR STYLES ---------- */
  header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 19, 13, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    max-width: 1180px;
    margin: 0 auto;
  }
  
  .brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .brand .mark {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--cream);
    letter-spacing: 0.01em;
  }
  
  .brand .mark em {
    color: var(--gold);
    font-style: normal;
  }
  
  .brand .sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage-dim);
  }
  
  nav.links {
    display: flex;
    gap: 36px;
    align-items: center;
  }
  
  nav.links a {
    font-size: 13.5px;
    color: var(--sage);
    letter-spacing: 0.02em;
    position: relative;
    transition: color .25s ease;
  }
  
  nav.links a:hover {
    color: var(--gold-bright);
  }
  
  nav.links a.cta {
    color: var(--bg);
    background: var(--gold);
    padding: 9px 18px;
    border-radius: 2px;
    font-weight: 600;
    transition: background .25s ease;
  }
  
  nav.links a.cta:hover {
    background: var(--gold-bright);
    color: var(--bg);
  }
  
  /* ---------- HERO SECTION STYLES ---------- */
  .hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    padding: 88px 32px 90px;
    max-width: 1180px;
    margin: 0 auto;
    align-items: center;
  }
  
  .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
  }
  
  .eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--gold);
  }
  
  h1.headline {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 54px;
    line-height: 1.06;
    color: var(--cream);
    letter-spacing: -0.01em;
    margin-bottom: 24px;
  }
  
  h1.headline em {
    font-style: italic;
    font-weight: 300;
    color: var(--gold-bright);
  }
  
  .lede {
    color: var(--sage);
    font-size: 16px;
    max-width: 46ch;
    margin-bottom: 34px;
  }
  
  .hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 2px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all .25s ease;
    border: 1px solid transparent;
  }
  
  .btn-primary {
    background: var(--gold);
    color: #0a130d;
  }
  
  .btn-primary:hover {
    background: var(--gold-bright);
    transform: translateY(-1px);
  }
  
  .btn-ghost {
    border-color: var(--line-bright);
    color: var(--cream);
  }
  
  .btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
  }
  
  /* Microscopic Slideshow Viewer Component */
  .scope {
    position: relative;
    aspect-ratio: 1/1;
    max-width: 440px;
    margin-left: auto;
    border-radius: 50%;
    border: 1px solid var(--line-bright);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 30px 80px -20px rgba(0,0,0,0.7), inset 0 0 60px rgba(0,0,0,0.5);
    overflow: hidden;
    background: #000;
  }
  
  .scope::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 10px rgba(10,19,13,0.9), inset 0 0 0 11px rgba(205,146,46,0.25);
    pointer-events: none;
    z-index: 5;
  }
  
  .scope .crosshair {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0.18;
  }
  
  .scope .crosshair::before,
  .scope .crosshair::after {
    content: "";
    position: absolute;
    background: var(--cream);
  }
  
  .scope .crosshair::before {
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
  }
  
  .scope .crosshair::after {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
  }
  
  .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  .scope-caption {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 6;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
    background: rgba(10,19,13,0.6);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--line);
    white-space: nowrap;
  }
  
  .scope-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 22px;
  }
  
  .scope-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--line-bright);
    transition: background .3s ease, transform .3s ease;
  }
  
  .scope-dots span.active {
    background: var(--gold);
    transform: scale(1.3);
  }
  
  /* ---------- LAB COUNTERS / STATS STYLES ---------- */
  .stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
  }
  
  .stats-row {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  
  .stat {
    padding: 40px 24px;
    text-align: center;
    border-right: 1px solid var(--line);
  }
  
  .stat:last-child {
    border-right: none;
  }
  
  .stat .num {
    font-family: 'Fraunces', serif;
    font-size: 42px;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: -0.01em;
  }
  
  .stat .lbl {
    margin-top: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage-dim);
  }
  
  /* ---------- GENERIC SECTIONS WRAPPER ---------- */
  section {
    position: relative;
    z-index: 1;
    padding: 96px 32px;
  }
  
  .section-head {
    margin-bottom: 48px;
    max-width: 640px;
  }
  
  .section-head .eyebrow {
    margin-bottom: 14px;
  }
  
  .section-head h2 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 34px;
    color: var(--cream);
    letter-spacing: -0.01em;
  }
  
  .section-head p {
    color: var(--sage);
    margin-top: 14px;
    font-size: 15.5px;
    max-width: 54ch;
  }
  
  /* About Grid Specimen Content */
  .about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
  }
  
  .about-grid .col p {
    color: var(--sage);
    font-size: 15px;
    margin-bottom: 18px;
    max-width: 56ch;
  }
  
  .specimen-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  
  .specimen {
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--line);
    background: #000;
  }
  
  .specimen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.92) contrast(1.05);
    transition: transform .6s ease;
  }
  
  .specimen:hover img {
    transform: scale(1.08);
  }
  
  .specimen .tag {
    position: absolute;
    left: 8px;
    bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
    background: rgba(10, 19, 13, 0.7);
    padding: 3px 8px;
    border-radius: 20px;
  }

  /* Link container block */
.about-card {
  margin-top: 24px;
  display: inline-block; /* Taaki hover effect sirf link par kaam kare */
}

/* Link ki basic styling */
.about-card a {
  font-size: 13px;
  color: var(--gold-bright);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none; /* Underline hatane ke liye */
  transition: color .25s ease;
}

/* Hover karne par text ka color change */
.about-card a:hover {
  color: var(--gold);
}

/* Automatic Arrow (→) add karne ke liye */
.about-card a::after {
  content: "→";
  transition: transform .2s ease;
}

/* Hover karne par arrow ka right side slide hona */
.about-card a:hover::after {
  transform: translateX(4px);
}

  
  /* Flagship Resource Grid Framework */
  .resources {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  
  .res-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  
  .res-card {
    background: var(--bg);
    padding: 36px 30px;
    transition: background .25s ease;
  }
  
  .res-card:hover {
    background: var(--panel);
  }
  
  .res-card .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 0.1em;
  }
  
  .res-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 21px;
    font-weight: 500;
    color: var(--cream);
    margin: 14px 0 10px;
  }
  
  .res-card p {
    color: var(--sage);
    font-size: 14px;
    margin-bottom: 18px;
  }
  
  .res-card a {
    font-size: 13px;
    color: var(--gold-bright);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  
  .res-card a::after {
    content: "→";
    transition: transform .2s ease;
  }
  
  .res-card a:hover::after {
    transform: translateX(4px);
  }
  
  /* Distribution Microscopic Map Feature Layout */
  .map-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
  
  .map-frame {
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: #0d1610;
    padding: 18px;
    position: relative;
  }
  
  .map-frame img {
    width: 100%;
    display: block;
    border-radius: 2px;
    filter: invert(0.96) hue-rotate(180deg) brightness(0.95) contrast(1.05);
    mix-blend-mode: screen;
    opacity: 0.92;
  }
  
  .map-frame .frame-label {
    position: absolute;
    top: 30px;
    left: 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage-dim);
  }
 
  /* ---------- MAP FEATURE LIST ---------- */ 
  .map-feature ul {
    list-style: none;
    margin-top: 24px;
  }
  
  
  .map-feature li { 
    display: flex; 
    gap: 14px; 
    padding: 14px 0; 
    border-bottom: 1px solid var(--line); 
    color: var(--sage); 
    font-size: 14.5px;
  } 
  
  .map-feature li b {
    color: var(--cream);
    font-weight: 600;
    min-width: 96px;
    display: inline-block;
  }
  
  /* ---------- FOOTER DESIGN SYSTEM ---------- */
  footer {
    border-top: 1px solid var(--line);
    padding: 48px 32px 36px;
  }
  
  .foot-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
  }
  
  footer .brand .mark {
    font-size: 16px;
  }
  
  .foot-meta {
    color: var(--sage-dim);
    font-size: 12.5px;
    font-family: 'JetBrains Mono', monospace;
  }
  /* ---------- NAVIGATION DROPDOWN SYSTEM ---------- */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Adds a subtle down arrow next to the Resources link */
.dropdown-trigger::after {
  content: " ▾";
  font-size: 10px;
  vertical-align: middle;
  color: var(--sage-dim);
  transition: color 0.25s ease;
}

.dropdown:hover .dropdown-trigger::after {
  color: var(--gold-bright);
}

/* Hidden container that animates into view on hover */
.dropdown-menu {
  position: absolute;
  top: 25%; /* Moves the menu container up to overlap with the header block */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--panel);
  border: 1px solid var(--line);
  min-width: 180px;
  border-radius: 4px;
  padding: 8px 0;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
  
  /* Creates an invisible hover bridge so the menu doesn't disappear */
  margin-top: 12px; 
}

/* Updated hover trigger position */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(8px);
}

/* Individual links inside the sub-menu */
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 12.5px;
  color: var(--sage);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: var(--bg-2);
  color: var(--gold-bright);
  padding-left: 22px; /* Subtle slide-right effect */
}

/* Ensure sub-menu displays neatly inside mobile responsive layout */
@media (max-width: 980px) {
  .dropdown-menu {
    position: static;
    transform: none !important;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 14px;
    opacity: 1;
    pointer-events: auto;
    display: block;
  }
  .dropdown-trigger::after {
    display: none;
  }
}

/* ==========================================================================
   CORRECTED MOBILE MENU LAYOUT SYSTEM (PASTE AT THE VERY BOTTOM OF STYLE.CSS)
   ========================================================================== */

/* 1. DESKTOP VIEWPORT SPECIFIC (Hides Mobile Elements completely on computer monitors) */
@media screen and (min-width: 981px) {
  .menu-toggle {
    display: none !important; /* Forces the hamburger element to be invisible on desktop */
  }
}

/* 2. MOBILE VIEWPORT SPECIFIC (Activates strictly on smaller tablet & phone screens) */
@media screen and (max-width: 980px) {
  
  /* Fixed Large & Correctly Aligned Hamburger Button */
  .menu-toggle {
    display: block !important; /* Forces layout rendering */
    background: none !important;
    border: none !important;
    color: var(--cream) !important;
    font-size: 36px !important; /* Increased font scale to match premium design grids */
    font-weight: normal !important;
    cursor: pointer !important;
    padding: 6px 12px !important; /* Expanded tactile click target box footprint */
    line-height: 1 !important;
    z-index: 999 !important;
    user-select: none;
  }

  .menu-toggle:hover {
    color: var(--gold-bright) !important;
  }

  /* Full Screen Dropdown Drawer Interface Overlay */
  nav.links {
    display: flex !important; 
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important; /* Sits perfectly beneath the header borders */
    left: 0 !important;
    width: 100% !important;
    background: var(--bg-2) !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 28px 32px !important;
    gap: 18px !important;
    align-items: flex-start !important;
    
    /* Viewport Safety Guard: Scroll bars kick in if link list exceeds device dimensions */
    max-height: calc(100vh - 80px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    
    /* Hardware Accelerated Smooth Transition Engine */
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-12px) !important;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 998 !important;
  }

  /* Triggered Active View Class Injector Hook (Run by JS toggle script) */
  nav.links.active {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  /* Full Width Inline Navigation Links Block Architecture */
  nav.links a {
    display: block !important;
    width: 100% !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(245, 240, 230, 0.04) !important;
    color: var(--sage) !important;
    transition: color 0.2s ease !important;
  }

  nav.links a:hover,
  nav.links a:focus {
    color: var(--gold-bright) !important;
  }

  /* Primary Action Contact Button Panel Styling override */
  nav.links a.cta {
    text-align: center !important;
    margin-top: 12px !important;
    background: var(--gold) !important;
    color: var(--bg) !important;
    border-bottom: none !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    padding: 14px 20px !important;
  }

  nav.links a.cta:hover {
    background: var(--gold-bright) !important;
  }

  /* Uncollapsing Nesting Dropdowns Matrix rules for Resources paths */
  .dropdown {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Structural block expands elements underneath fluidly */
  .dropdown-menu {
    position: static !important; /* Removes floating layout engines */
    transform: none !important;
    background: var(--panel) !important;
    border: none !important;
    box-shadow: none !important;
    padding: 6px 0 6px 20px !important; /* Indents sublinks to represent structural tier hierarchy */
    margin-top: 6px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: flex !important; 
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  /* Target adjustments for children */
  .dropdown-menu a {
    font-size: 14.5px !important;
    border-bottom: none !important;
    padding: 8px 0 !important;
    color: var(--sage-dim) !important;
  }

  .dropdown-menu a:hover {
    color: var(--gold-bright) !important;
  }

  /* Hides desktop layout character shapes */
  .dropdown-trigger::after {
    display: none !important;
  }
}


.contact-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  font-size: 14.5px;
  color: var(--sage);
  line-height: 1.6;
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list li b {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  font-weight: 500;
  padding-top: 2px;
}

.contact-list li a {
  /*color: var(--cream);*/
  color: var(--saga);
  text-decoration: none;
  border-bottom: 1px dashed var(--line-bright);
  transition: all 0.25s ease;
  display: inline-block;
}

.contact-list li a:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}
.contact-panel {
  background: var(--panel);
  padding: 40px;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.panel-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 12px;
  color: var(--sage);
  font-weight: 500;
}
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 12px 16px;
  color: var(--cream);
  font-family: inherit;
  font-size: 14px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.25s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
}


  /* ---------- RESPONSIVE MEDIA BREAKPOINTS ---------- */
  @media (max-width: 980px) {
    .hero {
      grid-template-columns: 1fr;
      padding-top: 56px;
    }
  
    .scope {
      margin: 0 auto;
      max-width: 320px;
    }
  
    h1.headline {
      font-size: 38px;
    }
  
    .stats-row {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .stat {
      border-bottom: 1px solid var(--line);
    }
  
    .about-grid {
      grid-template-columns: 1fr;
    }
  
    /* Fixed: Ensured display grid matches the grid property */
    .map-feature {
      display: grid;
      grid-template-columns: 1fr;
    }
  
    .res-grid {
      grid-template-columns: 1fr;
    }
  
    nav.links {
      display: none;
    }
  }
  