*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
	  --pure-white:        #ffffff;
      --biocon-blue:       #003B7A;
      --biocon-teal:       #003E76
      --biocon-light-teal: #E0F5F4;
      --biocon-mid:        #005B99;
      --biocon-accent:     #F4A200;
      --biocon-white:      #FFFFFF;
      --biocon-grey:       #F2F4F8;
      --biocon-text:       #1A2B3C;
      --biocon-muted:      #6B7F95;
      --shadow-sm:  0 2px 8px rgba(0,59,122,0.10);
      --shadow-md:  0 6px 24px rgba(0,59,122,0.14);
      --shadow-lg:  0 12px 40px rgba(0,59,122,0.18);
	 
    }

    html, body { min-height: 100%; font-family: 'Inter', sans-serif; color: var(--biocon-text); background: #ffffff; }

    /* ══ HEADER ══ */
    header {
      background: #ffffff;
      padding: 10px 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: auto;
      position: sticky;
      top: 0;
      z-index: 200;
      box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    }
	  .logo-group img{
		  width: 140px;
	  }
	  
    .logo-group { display: flex; align-items: center; gap: 14px; }
    .logo-mark  { width: 44px; height: 44px; flex-shrink: 0; }
    .logo-text  { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: 1.5px; color: #fff; line-height: 1; }
    .logo-text span { color: var(--biocon-teal); }
    .tagline-pill { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--biocon-blue); background: var(--biocon-teal); padding: 4px 10px; border-radius: 20px; margin-left: 10px; }
    nav { display: flex; gap: 28px; align-items: center; }
    nav a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 13px; font-weight: 500; transition: color 0.2s; }
    nav a:hover { color: var(--biocon-teal); }
    .nav-admin { background: #003E76; color: rgba(255,255,255) !important; padding: 8px 16px; border-radius: 6px; font-size: 12px !important; display: flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,0.15); transition: background 0.2s, color 0.2s !important; cursor: pointer; }
    .nav-admin:hover { background: background: #003E76; !important; color: #fff !important; }

    /* ══ TEAL BAR ══ */
    .teal-bar { height: 3px; background: linear-gradient(90deg, var(--biocon-teal), var(--biocon-mid)); }

    /* ══ HERO BAND ══ */
    .hero-band {
      background: color: var(--pure-white);
      padding: 56px 48px 52px; text-align: center; position: relative; overflow: hidden;
    }

video{
	width: 100%;
}

button.Download {
    background: #003E76;
    color: #fff;
    outline: 0;
    padding: 8px 25px;
    border: 0;
    border-radius: 3px;
    font-size: 16px;
    margin: auto;
    display: table;
    margin-top: 20px;
	cursor: pointer;
}
  
    .hero-band h1 { font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 700; color: #fff; letter-spacing: 0.3px; position: relative; z-index: 1; max-width: 740px; margin: 0 auto; line-height: 1.35; }
    .dna-stripe { height: 4px; background: repeating-linear-gradient(90deg, var(--biocon-teal) 0px, var(--biocon-teal) 24px, transparent 24px, transparent 32px); opacity: 0.4; margin-top: 28px; position: relative; z-index: 1; }

    /* ══ MAIN PORTAL ══ */
    #portal-view { display: block; }
    main { max-width: 70%; margin: 0 auto; padding: 0px 24px 100px; }

    .passcode-card {
      background: #003E76;
      box-shadow: var(--shadow-lg);
      padding: 44px 48px 40px;
      text-align: center;
    }

    .passcode-icon {
      width: 56px; height: 56px;
      margin: 0 auto 20px;
      background: linear-gradient(135deg, var(--biocon-blue), var(--biocon-mid));
      border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
    }

    .passcode-label {
      font-size: 26px;
/*      font-weight: 500;*/
      color: #ffffff;
      line-height: 1.3;
      max-width: 100%;
      margin: 0 auto 28px;
    }

    .passcode-label .star { color:#ffffff; font-weight: 700; }

    .passcode-input-row {
      display: flex;
      gap: 0;
      align-items: stretch;
      max-width: 560px;
      margin: 0 auto;
    }

    .passcode-input {
      flex: 1;
      width: 100%;
      border: 1.8px solid #D0DAE6;
/*      border-radius: 10px;*/
      padding: 16px 20px;
      font-size: 16px;
      font-family: 'Inter', sans-serif;
      letter-spacing: 2px;
      color: var(--biocon-text);
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
      text-align: left;
    }
    .passcode-input:focus { border-color: #003E76; box-shadow: 0 0 0 4px rgba(0,168,157,0.12); }
    .passcode-input.error { border-color: #D93025; background: #FFF5F5; }

    .passcode-submit {
      background: #ffffff;
      color: #003E76;
      border: none;
/*      border-radius: 10px;*/
      padding: 0 30px;
      font-size: 15px;
      font-weight: 700;
      font-family: 'Montserrat', sans-serif;
      cursor: pointer;
      transition: background 0.2s;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .passcode-submit:hover { background: var(--biocon-mid); }
    .passcode-submit:active { background: var(--biocon-teal); }

    .passcode-error {
      font-size: 13px;
      color: #D93025;
      margin-top: 14px;
      min-height: 18px;
      max-width: 560px;
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }

    .passcode-success {
      font-size: 13px;
      color: #005B60;
      margin-top: 14px;
      min-height: 18px;
      max-width: 560px;
      margin-left: auto;
      margin-right: auto;
      text-align: center;
      font-weight: 600;
      display: none;
    }
    .passcode-success.show { display: block; }

    .passcode-footnote {
      font-size: 11.5px;
      color: #ffffff;
      margin-top: 0px;
      max-width: 560px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
    }

    /* (content modal removed — URLs now open in a new browser window/tab) */

    @media (max-width: 600px) {
      .passcode-input-row { flex-direction: column; }
      .passcode-submit { padding: 14px; }
      .passcode-card { padding: 32px 24px 30px; }
      .hero-band { padding: 40px 20px 36px; }
      .hero-band h1 { font-size: 21px; }
    }

    /* ══ ADMIN VIEW ══ */
    #admin-view { display: none; background: var(--biocon-grey); min-height: calc(100vh - 72px); }
    #admin-view.active { display: block; }

    .admin-hero {
      background: linear-gradient(135deg, #1A2B3C 0%, #003B7A 70%, #005B99 100%);
      padding: 36px 48px 32px; position: relative; overflow: hidden;
    }
    .admin-hero::before {
      content: ''; position: absolute; inset: 0;
      background-image: repeating-linear-gradient(45deg, rgba(0,168,157,0.04) 0px, rgba(0,168,157,0.04) 1px, transparent 1px, transparent 20px);
      pointer-events: none;
    }
    .admin-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
    .admin-hero h2 { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; }
    .admin-badge { background: var(--biocon-accent); color: #1A2B3C; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; }
    .admin-hero p { color: rgba(255,255,255,0.60); font-size: 13px; margin-top: 4px; }
    .admin-exit-btn { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.75); padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 7px; transition: background 0.2s; font-family: 'Inter', sans-serif; }
    .admin-exit-btn:hover { background: rgba(255,255,255,0.20); color: #fff; }

    .admin-body { max-width: 1000px; margin: 0 auto; padding: 40px 24px 80px; }

    .admin-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); margin-bottom: 28px; overflow: hidden; }
    .admin-card-header { padding: 18px 24px; border-bottom: 1px solid #EDF1F7; display: flex; align-items: center; justify-content: space-between; }
    .admin-card-header h3 { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: var(--biocon-blue); display: flex; align-items: center; gap: 8px; }
    .admin-card-body { padding: 24px; }

    .entry-editor-row {
      display: grid;
      grid-template-columns: 36px 1fr 1.4fr auto;
      gap: 12px;
      align-items: center;
      padding: 14px 0;
      border-bottom: 1px solid #F0F3F8;
    }
    .entry-editor-row:last-child { border-bottom: none; }
    .entry-num { width: 28px; height: 28px; border-radius: 50%; background: var(--biocon-blue); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .admin-field { display: flex; flex-direction: column; gap: 4px; }
    .admin-field label { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--biocon-muted); }
    .admin-input { border: 1.5px solid #D8E2EE; border-radius: 7px; padding: 9px 11px; font-size: 13px; font-family: 'Inter', sans-serif; color: var(--biocon-text); outline: none; transition: border-color 0.2s; width: 100%; }
    .admin-input:focus { border-color: var(--biocon-teal); }
    .admin-input.pwd-input { letter-spacing: 1.5px; font-weight: 600; }
    .toggle-vis { background: none; border: none; cursor: pointer; color: var(--biocon-muted); padding: 4px; display: flex; align-items: center; }
    .toggle-vis:hover { color: var(--biocon-teal); }
    .remove-row-btn { background: none; border: 1.5px solid #F0C9C9; color: #D93025; border-radius: 7px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; flex-shrink: 0; }
    .remove-row-btn:hover { background: #FFF0F0; }

    .add-row-btn { margin-top: 14px; background: var(--biocon-light-teal); color: #005B60; border: 1.5px dashed var(--biocon-teal); border-radius: 8px; padding: 10px 16px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background 0.2s; font-family: 'Inter', sans-serif; }
    .add-row-btn:hover { background: #CDEFEC; }

    .admin-pw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    @media (max-width: 600px) { .admin-pw-grid { grid-template-columns: 1fr; } }

    .save-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; background: var(--biocon-light-teal); border-top: 2px solid var(--biocon-teal); flex-wrap: wrap; }
    .save-bar p { font-size: 13px; color: #005B60; font-weight: 500; }
    .save-btn { background: var(--biocon-teal); color: #fff; border: none; border-radius: 8px; padding: 11px 28px; font-size: 14px; font-weight: 700; font-family: 'Montserrat', sans-serif; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; gap: 8px; }
    .save-btn:hover { background: #008C82; }
    .save-success { display: none; align-items: center; gap: 6px; color: #005B60; font-size: 13px; font-weight: 600; }
    .save-success.show { display: flex; }

    #admin-gate { display: none; position: fixed; inset: 0; background: rgba(0,20,50,0.70); backdrop-filter: blur(6px); z-index: 500; align-items: center; justify-content: center; }
    #admin-gate.active { display: flex; }
    .admin-gate-box { background: #fff; border-radius: 20px; padding: 44px 40px 36px; width: 360px; text-align: center; box-shadow: 0 32px 80px rgba(0,0,0,0.28); animation: popIn 0.22s ease; position: relative; }
    @keyframes popIn { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
    .admin-gate-icon { margin: 0 auto 18px; width: 60px; height: 60px; background: linear-gradient(135deg, var(--biocon-blue), var(--biocon-mid)); border-radius: 16px; display: flex; align-items: center; justify-content: center; }
    .admin-gate-box h2 { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; color: var(--biocon-blue); margin-bottom: 6px; }
    .admin-gate-box p { font-size: 13px; color: var(--biocon-muted); margin-bottom: 24px; }
    .admin-gate-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--biocon-muted); }
    .gate-input { width: 100%; border: 1.5px solid #D0DAE6; border-radius: 8px; padding: 12px 14px; font-size: 14px; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s; letter-spacing: 2px; text-align: center; }
    .gate-input:focus { border-color: var(--biocon-teal); }
    .gate-input.error { border-color: #D93025; background: #FFF5F5; }
    .gate-error { font-size: 11.5px; color: #D93025; margin-top: 8px; min-height: 16px; text-align: left; }
    .gate-btn { margin-top: 18px; width: 100%; background: var(--biocon-blue); color: #fff; border: none; border-radius: 8px; padding: 13px; font-size: 14px; font-weight: 600; font-family: 'Montserrat', sans-serif; cursor: pointer; transition: background 0.2s; }
    .gate-btn:hover { background: var(--biocon-mid); }

    /* ══ FOOTER ══ */
   footer {
    background: var(--biocon-blue);
    color: rgba(255, 255, 255, 0.60);
    padding: 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}
    .footer-top { display: flex; align-items: flex-start; justify-content: space-between; padding: 40px 0 30px; border-bottom: 1px solid rgba(255,255,255,0.10); gap: 40px; }
    .footer-tagline { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 6px; }
    .footer-cols { display: flex; gap: 48px; }
    .footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--biocon-teal); margin-bottom: 14px; }
    .footer-col ul { list-style: none; }
    .footer-col li { margin-bottom: 8px; }
    .footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 12.5px; transition: color 0.2s; }
    .footer-col a:hover { color: var(--biocon-teal); }
    .footer-bottom { display: flex; justify-content: center; align-items: center; padding: 18px 0; font-size: 11.5px; flex-wrap: wrap; gap: 12px; background: #003E76;}
    .footer-bottom-links { display: flex; gap: 20px; }
    .footer-bottom-links a { color: #003E76; text-decoration: none; font-size: 14px; }
    .footer-bottom-links a:hover { color: #003E76; }

    @media (max-width: 680px) {
      header { padding: 0 20px; }
      main { padding: 0px 16px 60px; }
      .footer-top { flex-direction: column; } .footer-cols { gap: 24px; } footer { padding: 0 20px; }
      .entry-editor-row { grid-template-columns: 28px 1fr; }
      .entry-editor-row > .admin-field:nth-child(3) { grid-column: 1 / -1; }
      .entry-editor-row > .remove-row-btn { grid-column: 1 / -1; justify-self: end; }
      .admin-hero { padding: 24px 20px; }
      .admin-body { padding: 24px 16px 60px; }
    }
    @media (prefers-reduced-motion: reduce) { * { transition: none !important; } }


/* ─────────────────────────────────────────────
   PORTAL VERTICAL CENTER + FIXED FOOTER PATCH
   Add this at the END of styles.css
───────────────────────────────────────────── */

/* Fix small CSS syntax issues from existing file */
:root {
  --biocon-teal: #003E76;
}

html,
body {
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: 92px; /* space for fixed footer */
}

/* Header height consistency */
header {
  min-height: 82px;
  flex-shrink: 0;
}

/* Portal area should occupy available screen height and center content */
#portal-view {
  min-height: calc(100vh - 82px - 92px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero + card spacing control */
.hero-band {
  background: var(--pure-white);
  padding: clamp(24px, 4vh, 48px) 24px clamp(22px, 3vh, 40px);
}

.hero-band h1 {
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.35;
  max-width: 900px;
}

/* Main card wrapper */
main {
  width: 100%;
  max-width: 70%;
  margin: 0 auto;
  padding: 0 24px;
}

/* Card should look balanced on large screen */
.passcode-card {
  width: 100%;
  max-width: 1296px;
  margin: 0 auto;
  padding: 15px;
}

.passcode-label {
  font-size: clamp(20px, 1.55vw, 28px);
  line-height: 1.35;
}

.passcode-input-row {
  width: 100%;
  max-width: 560px;
}

/* Footer fixed bottom with better stacking */
footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 250;
  padding: 0;
}

/* Footer links responsive wrapping */
.footer-bottom-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom {
  padding: 14px 16px;
}


.textRef {
    width: 100%;
    float: left;
    max-width: 90%;
    margin: auto;
    padding: 50px 0 0;
}

.textRef p {
    padding: 0px 0 20px 0;
}


/*video overlay*/

/* ─────────────────────────────────────────────
   VIDEO OVERLAY + PLAY BUTTON
───────────────────────────────────────────── */
.passcode-card {
  position: relative;
}

.video-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background: linear-gradient(135deg, rgba(0, 62, 118, 0.55), rgba(0, 59, 122, 0.65));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  backdrop-filter: blur(2px);
}

.video-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* After first play: overlay becomes a transparent click-catcher.
   Leaves the bottom strip free so native controls remain clickable. */
.video-overlay.playing {
  background: transparent;
  backdrop-filter: none;
  bottom: 55px;              /* space for native controls bar */
  cursor: pointer;
}
.video-overlay.playing .play-btn {
  display: none;
}

.play-btn {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 3px solid #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 6px;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  animation: pulseRing 2s ease-in-out infinite;
}

.play-btn:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: scale(1.08);
}

.play-btn svg {
  width: 42px;
  height: 42px;
  display: block;
}

@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45), 0 8px 30px rgba(0,0,0,0.35); }
  50%      { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0), 0 8px 30px rgba(0,0,0,0.35); }
}

@media (max-width: 600px) {
  .play-btn { width: 72px; height: 72px; }
  .play-btn svg { width: 32px; height: 32px; }
  .video-overlay { top: 10px; left: 10px; right: 10px; bottom: 10px; }
}


/*end video overlay*/




/* Medium screens */
@media (max-width: 1200px) {
  main {
    max-width: 82%;
  }

  .passcode-card {
    max-width: 100%;
  }
}

/* Tablet */
@media (max-width: 900px) {
  body {
    padding-bottom: 118px;
  }

  header {
    min-height: 74px;
    padding: 10px 28px;
  }

  #portal-view {
    min-height: calc(100vh - 74px - 118px);
  }

  main {
    max-width: 92%;
    padding: 0 18px;
  }

  .hero-band {
    padding: 30px 20px 26px;
  }

  .passcode-card {
    padding: 34px 26px 32px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  body {
    padding-bottom: 150px;
  }

  header {
    min-height: 68px;
    padding: 10px 18px;
  }

  .logo-group img {
    width: 118px;
  }

  #portal-view {
    min-height: calc(100vh - 68px - 150px);
    justify-content: center;
  }

  .hero-band {
    padding: 24px 16px 22px;
  }

  .hero-band h1 {
    font-size: 20px;
    line-height: 1.35;
  }

  main {
    max-width: 100%;
    padding: 40px 16px 0;
  }

  .passcode-card {
    padding: 10px;
  }

	.textRef{
		width: 90%;
		max-width: 90%;
	}
	
  .passcode-label {
    font-size: 19px;
  }

  .passcode-input-row {
    flex-direction: column;
  }

  .passcode-input {
    text-align: center;
    padding: 15px 14px;
  }

  .passcode-submit {
    padding: 15px 14px;
  }

  .passcode-footnote {
    font-size: 10.5px;
  }

  .footer-bottom-links {
    gap: 10px 16px;
  }

  .footer-bottom-links a {
    font-size: 12px;
  }

  .footer-bottom {
    padding: 12px 12px;
  }
}

/* Very small mobile */
@media (max-width: 380px) {
  body {
    padding-bottom: 170px;
  }

  #portal-view {
    min-height: calc(100vh - 68px - 170px);
  }

  .hero-band h1 {
    font-size: 18px;
  }

  .passcode-label {
    font-size: 17px;
  }
}
