/* ==========================================================================
   MII RET CAM — Design System
   Signature motif: the "Scan Ring" — a sweeping arc around a circular field,
   echoing the product's core act of scanning the eye. Used in the hero,
   the loader, section markers and hover states.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  /* ---- color: light (default) ---- */
  --bg:            #FFFFFF;
  --bg-alt:        #F4F8FC;
  --surface:       #FFFFFF;
  --surface-raised:#FFFFFF;
  --text:          #0B1526;
  --text-muted:    #566579;
  --text-faint:    #8B9AAE;
  --border:        #E2E8F0;
  --border-strong: #CBD5E1;

  --primary:       #0F5FA6;
  --primary-dark:  #0A4A82;
  --primary-tint:  #E8F2FB;
  --accent:        #F07C22;
  --accent-dark:   #CE6512;
  --accent-tint:   #FDEDE0;

  --success:       #1C8A5A;
  --shadow-color:  220 45% 20%;

  /* ---- type ---- */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  /* ---- scale ---- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .875rem;
  --space-4: 1.25rem;
  --space-5: 2rem;
  --space-6: 3.25rem;
  --space-7: 5rem;

  --shadow-sm: 0 1px 2px hsl(var(--shadow-color) / .06), 0 1px 1px hsl(var(--shadow-color) / .04);
  --shadow-md: 0 8px 24px hsl(var(--shadow-color) / .10);
  --shadow-lg: 0 20px 48px hsl(var(--shadow-color) / .16);

  --header-h: 80px;
  --ease: cubic-bezier(.22,.85,.32,1);
}

[data-theme="dark"]{
  --bg:            #0A101C;
  --bg-alt:        #0D1526;
  --surface:       #101A2C;
  --surface-raised:#131F35;
  --text:          #EAF2FB;
  --text-muted:    #93A4BC;
  --text-faint:    #5E6E85;
  --border:        #1F2C41;
  --border-strong: #2B3A53;

  --primary:       #4FA3E3;
  --primary-dark:  #7CC0F2;
  --primary-tint:  #142943;
  --accent:        #FF9A4D;
  --accent-dark:   #FFB073;
  --accent-tint:   #2E2013;

  --shadow-color: 220 70% 3%;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}
html,body{overflow-x: hidden;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  transition:background .3s var(--ease), color .3s var(--ease);
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:var(--font-body); cursor:pointer; }
input,textarea,select{ font-family:var(--font-body); font-size:1rem; }

.container{ width:100%; max-width:1240px; margin-inline:auto; padding-inline:var(--space-4); margin-top: 30px; }
@media (min-width:768px){ .container{ padding-inline:var(--space-5); }  }

.eyebrow{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--font-body); font-size:small; font-weight:600;
   text-transform:uppercase; color:var(--primary); margin-bottom: 10px;
}
.eyebrows{
    display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--font-body); font-size:large; font-weight:800;
   text-transform:uppercase; color:var(--text);

}
.eyebrow::before{
  content:""; width:18px; height:2px; background:var(--accent); border-radius:2px;
}
.title-line{ white-space: nowrap;}

h1,h2,h3,h4{ font-family:var(--font-body); font-weight:600; line-height:1.12; margin:0; letter-spacing:-.01em; }
h1{ font-size:40px }
h2{ font-size:clamp(1.7rem, 3.2vw, 2.5rem); }
h3{ font-size:1.25rem; }
p{ margin:0; }
.text-muted{ color:var(--text-muted); }
.lede{ font-size:1.1rem; color:var(--text-muted); max-width:56ch; }

.section{ padding-block:var(--space-7); }
.section-head{ max-width:640px; margin-bottom:var(--space-6); }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ margin-top:var(--space-2); }
.section-alt{ background:var(--bg-alt); }

/* ---------------- buttons ---------------- */
.btn{
  position:relative; overflow:hidden; 
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.85rem 1.1rem; border-radius:var(--radius-full);
  font-weight:600; font-size:.95rem; border:1px solid transparent;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space:nowrap;margin-bottom: 30px;margin-right: 100px;
}
.btn:active{ transform:scale(.97); }
.btn-primary{ background:var(--primary); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--primary-dark); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.btn-accent{ background:var(--accent); color:#fff; box-shadow:var(--shadow-sm); }
.btn-accent:hover{ background:var(--accent-dark); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.btn-outline{ background:transparent; color:var(--text); border-color:var(--border-strong); }
.btn-outline:hover{ border-color:var(--primary); color:var(--primary); transform:translateY(-2px); }
.btn-ghost{ background:var(--primary-tint); color:var(--primary); }
.btn-ghost:hover{ background:var(--primary); color:#fff; }
.btn-sm{ padding:.6rem 1.1rem; font-size:.85rem; }
.btn-block{ width:100%; }

/* ripple */
.btn .ripple{
  position:absolute; border-radius:50%; transform:scale(0);
  background:rgba(255,255,255,.55); animation:ripple .6s var(--ease);
  pointer-events:none;
}
@keyframes ripple{ to{ transform:scale(3); opacity:0; } }

/* ---------------- header / nav ---------------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  height:var(--header-h);
  display:flex; align-items:center;
  background:hsl(var(--shadow-color) / 0); 
  transition:background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease);
  border-bottom:1px solid transparent;
}
@media (max-width:378px){
  .site-header{height:120px ;}
}
.site-header.scrolled{
  background:color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-bottom-color:var(--border);
  box-shadow:var(--shadow-sm);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; width:100%; }

.brand{ display:flex; align-items:center; gap:.65rem; }
.brand-mark{ width:58px; height:58px; flex:none; }
.brand-mark img{ width:100%; height:100%; object-fit:contain; }
.brand-word small{ display:block; font-family:var(--font-body); font-weight:700; font-size:.6rem; letter-spacing:.1em; color:var(--text-muted); }
.brand-word{font-family: var(--font-body);}
.nav-links{ display:none; align-items:center; gap:var(--space-1); }
.nav-links a{
  position:relative; padding:.55rem .9rem; border-radius:var(--radius-full);
  font-size:.92rem; font-weight:500; color:var(--text-muted);
  transition:color .25s var(--ease), background .25s var(--ease);
}
.nav-links a:hover{ color:var(--text); background:var(--bg-alt); }
.nav-links a.active{ color:var(--primary); background:var(--primary-tint); font-weight:600; }

.nav-actions{ display:flex; align-items:center; gap:.6rem; }

.theme-toggle{
  width:42px; height:42px; border-radius:50%; border:1px solid var(--border);
  background:var(--surface); display:flex; align-items:center; justify-content:center;
  color:var(--text); transition:border-color .25s var(--ease), transform .25s var(--ease);
}
.theme-toggle:hover{ border-color:var(--primary); transform:rotate(15deg); }
.theme-toggle svg{ width:19px; height:19px; }
[data-theme="dark"] .icon-sun{ display:block; }
[data-theme="dark"] .icon-moon{ display:none; }
.icon-sun{ display:none; }
.icon-moon{ display:block; }

.hamburger{
  display:flex; flex-direction:column; justify-content:center; gap:5px;
  width:42px; height:42px; border-radius:50%; border:1px solid var(--border);
  background:var(--surface); align-items:center;
}
.hamburger span{ width:18px; height:2px; background:var(--text); border-radius:2px; transition:transform .3s var(--ease), opacity .3s var(--ease); }
.hamburger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
@media (min-width:992px){ .hamburger{ display:none; } .nav-links{ display:flex; } }

.mobile-menu{
  position:fixed; inset:var(--header-h) 0 0 0; z-index:999;
  background:var(--bg); padding:var(--space-5) var(--space-4);
  transform:translateY(-8px); opacity:0; pointer-events:none;
  transition:opacity .3s var(--ease), transform .3s var(--ease);
  overflow-y:auto;
}
.mobile-menu.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
.mobile-menu a{ display:block; padding:1rem 2rem; font-size:1.25rem; font-family:var(--font-body); font-weight:600; border-bottom:1px solid var(--border); }
.mobile-menu a.active{ color:var(--primary); }
@media (min-width:992px){ .mobile-menu{ display:none; } }
.nav-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* Theme toggle FIRST */
.theme-toggle {
  order: 1;
}

/* Social icons AFTER theme toggle */
.header-social {
  display: flex;
  align-items: center;
  gap: .35rem;
  order: 2;
}

.header-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all .25s var(--ease);
}

.header-social a:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.header-social svg {
  width: 17px;
  height: 17px;
}

.hamburger {
  order: 3;
}

@media (max-width: 991px) {
  .header-social {
    display: none;
  }
}
/* ===================== MOBILE MENU BUTTONS SIZE FIX ===================== */
@media (max-width: 600px),(max-width:770px) {
  .mobile-menu > div[style*="margin-top"] {
    gap: 0.6rem !important;
  }
  .mobile-menu .btn-block {width: 100%; max-width: 100%; padding: 0.65rem 1rem; font-size: 0.95rem; border-radius: 10px; height: auto; line-height: 1.4;}
  .mobile-menu .btn-outline,
  .mobile-menu .btn-primary { display: flex; align-items: center;  justify-content: center;  min-height: 44px;}
}
/* =================== END MOBILE MENU BUTTONS SIZE FIX =================== */

/* ---------------- Scan Ring signature ---------------- */
.scan-ring{ position:relative; }
.scan-ring svg{ width:100%; height:100%; display:block; }
.scan-ring .sweep{ transform-origin:50% 50%; animation:sweep 5s linear infinite; }
@keyframes sweep{ to{ transform:rotate(360deg); } }
.scan-ring .pulse-dot{ animation:pulse-op 2.4s ease-in-out infinite; }
@keyframes pulse-op{ 0%,100%{ opacity:.35; } 50%{ opacity:1; } }

/* ---------------- Hero ---------------- */
.hero{
  position:relative; padding-top:calc(var(--header-h) + var(--space-6));
  padding-bottom:var(--space-7);
  background:
    radial-gradient(60% 55% at 82% 8%, var(--primary-tint), transparent 60%),
    var(--bg);
  overflow:hidden;
}
.hero-grid{ display:grid; gap:var(--space-6); align-items:center; }
@media (min-width:992px){ .hero-grid{ grid-template-columns: .8fr 1.2fr; gap:var(--space-5); } }
.hero-copy h1{ margin-top:var(--space-3); }
.hero-copy .lede{ margin-top:var(--space-4); }
.hero-cta{ display:flex; flex-wrap:wrap; gap:var(--space-3); margin-top:var(--space-5); }
.hero-stats{ display:flex; flex-wrap:wrap; gap:var(--space-6); margin-top:var(--space-6); padding-top:var(--space-5); border-top:1px solid var(--border); }
.hero-stat b{ display:block; font-family:var(--font-body); font-size:1.6rem; color:var(--text); }
.hero-stat span{ font-size:.82rem; color:var(--text-muted); }
.hero-visual{  width:100%;  max-width:100%;     margin-left:auto;}
.hero-image-card{width:100%;max-width:100%;border-radius:calc(var(--radius-lg) + 6px);
  background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-lg); padding:5px;
  display:flex; align-items:center; justify-content:center; animation:float 6s ease-in-out infinite; }
   .hero-image-card img{  width:100%; height:350px;display:block; object-fit: cover; border-radius:var(--radius-md); }
@media (max-width:767px){
.hero{padding-top:110px; padding-bottom:50px;}
.hero-grid{  gap:2rem;}
.eyebrows{  font-size:.8rem;}
.title-line{  font-size:1.4rem;  line-height:1.25;}
.hero-copy .lede{  font-size:14px;  line-height:1.7;}
.hero-cta .btn{ width:50%; justify-content:center;}
.hero-image-card{  padding:10px;  border-radius:16px;}
.hero-image-card img{ border-radius:12px; height: 150px; object-fit:cover;}
}
.hero-image-card img {width: 100%;}
@keyframes float{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-14px);} }
.trust-strip{ padding-block:var(--space-6); background:linear-gradient(180deg, var(--bg-alt) 0%, transparent 100%); border-block:1px solid var(--border); }
.trust-grid{ display:grid; gap:var(--space-4); margin-top:var(--space-5); }
@media (min-width:640px){ .trust-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:992px){ .trust-grid{ grid-template-columns:repeat(4,1fr); } }
.trust-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:var(--space-4); text-align:center; box-shadow:var(--shadow-sm); }
.trust-icon{ font-size:1.6rem; margin-bottom:.75rem; }
.trust-card h3{ font-size:1rem; line-height:1.35; }
/*----------------about us-----------------------*/

.our-story{
  overflow:hidden;
}
.story-intro{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--space-6);
  align-items:center;
  margin-top:var(--space-6);
}

.story-intro-image{
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 24px 48px -24px rgba(15,95,166,.35);
}

.story-intro-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .6s cubic-bezier(.22,.61,.36,1);
}

.story-intro-image:hover img{
  transform:scale(1.05);
}

.story-lede{
  font-size:1.3rem;
  font-weight:700;
  color:var(--primary);
  margin:0 0 var(--space-3);
}

.story-intro-copy p{
  margin:0 0 var(--space-3);
  line-height:1.75;
  color:inherit;
}

.story-pullquote{
  margin:var(--space-4) 0;
  padding:var(--space-4) var(--space-5);
  border-left:3px solid var(--accent);
  background:var(--primary-tint);
  font-style:italic;
  font-size:1.05rem;
  border-radius:0 14px 14px 0;
  position:relative;
  transition:border-color .3s ease, transform .3s ease;
}

.story-pullquote:hover{
  border-color:var(--primary);
  transform:translateX(4px);
}

/* ---------- Journey gallery (3 images) ---------- */
.story-gallery{
  margin-top:var(--space-6);
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:var(--space-5);
}

.story-gallery-item{
  margin:0;
}

.story-gallery-frame{
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border-strong);
  aspect-ratio:3 / 4;
  box-shadow:0 12px 28px -18px rgba(15,95,166,.3);
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.story-gallery-frame img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top;
  display:block;
  transition:transform .5s cubic-bezier(.22,.61,.36,1), filter .35s ease;
}

.story-gallery-item:hover .story-gallery-frame{
  transform:translateY(-6px);
  box-shadow:0 20px 36px -18px rgba(15,95,166,.45);
  border-color:var(--primary);
}

.story-gallery-item:hover .story-gallery-frame img{
  transform:scale(1.06);
}

.story-gallery figcaption{
  margin-top:var(--space-3);
  text-align:center;
  font-size:.92rem;
  font-weight:600;
  color:var(--primary);
  letter-spacing:.01em;
}

/* ---------- Timeline / milestones ---------- */
.story-timeline{
  margin-top:var(--space-6);
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(230px, 1fr));
  gap:var(--space-5);
}

.story-step{
  position:relative;
  padding:var(--space-4);
  border:1px solid var(--border-strong);
  border-radius:16px;
  background:var(--surface, #fff);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.story-step:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 30px -20px rgba(15,95,166,.4);
  border-color:var(--primary);
}

.story-step-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:var(--primary);
  color:#fff;
  font-weight:700;
  font-size:.92rem;
  margin-bottom:var(--space-3);
  transition:background .3s ease, transform .3s ease;
}

.story-step:hover .story-step-num{
  background:var(--primary);
  transform:scale(1.08);
}

.story-step h4{
  margin:0 0 var(--space-2);
  font-size:1.05rem;
}

.story-step p{
  margin:0;
  font-size:.92rem;
  color:var(--text-muted, #667685);
  line-height:1.65;
}

/* ---------- Read full story disclosure ---------- */
.story-full{
  margin-top:var(--space-6);
  border-top:1px solid var(--border-strong);
  padding-top:var(--space-5);
}

.story-full summary{
  cursor:pointer;
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-weight:700;
  color:var(--primary);
  font-size:1.05rem;
  padding:.4rem .2rem;
  transition:color .25s ease, gap .25s ease;
}

.story-full summary::-webkit-details-marker{
  display:none;
}

.story-full summary::after{
  content:"+";
  font-size:1.35rem;
  line-height:1;
  transition:transform .25s ease;
}

.story-full summary:hover{
  color:var(--primary);
  gap:.85rem;
}

.story-full[open] summary::after{
  transform:rotate(45deg);
}

.story-full-body{
  margin-top:var(--space-5);
  max-width:820px;
  animation:storyFadeIn .4s ease both;
}

@keyframes storyFadeIn{
  from{ opacity:0; transform:translateY(-8px); }
  to{ opacity:1; transform:translateY(0); }
}

.story-full-body h3{
  margin-top:var(--space-6);
  margin-bottom:var(--space-3);
  color:var(--primary);
  font-size:1.2rem;
}

.story-full-body h3:first-child{
  margin-top:0;
}

.story-full-body p{
  margin-bottom:var(--space-3);
  line-height:1.8;
}

/* ---------- Founder callout ---------- */
.story-founder{
  margin-top:var(--space-6);
  display:flex;
  align-items:center;
  gap:var(--space-5);
  padding:var(--space-5);
  border-radius:18px;
  background:var(--primary-tint);
  flex-wrap:wrap;
  transition:box-shadow .3s ease;
}

.story-founder:hover{
  box-shadow:0 20px 40px -22px rgba(15,95,166,.4);
}

.story-founder-photo{
  width:100px;
  height:100px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
  border:3px solid #fff;
  box-shadow:0 6px 18px rgba(15,95,166,.25);
  transition:transform .3s ease;
}

.story-founder:hover .story-founder-photo{
  transform:scale(1.06) rotate(-2deg);
}

.story-founder-quote{
  font-size:1.12rem;
  font-style:italic;
  margin:0 0 var(--space-2);
  line-height:1.65;
}

.story-founder-name{
  display:block;
  font-weight:700;
}

.story-founder-role{
  display:block;
  font-size:.85rem;
  color:var(--text-muted, #667685);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .story-gallery{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 768px){
  .story-intro{
    grid-template-columns:1fr;
    gap:var(--space-5);
  }
  .story-intro-image{
    order:-1;
  }
  .story-gallery{
    grid-template-columns:1fr;
    gap:var(--space-4);
  }
  .story-gallery-frame{
    aspect-ratio:16 / 10;
  }
  .story-founder{
    flex-direction:column;
    text-align:center;
    padding:var(--space-5) var(--space-4);
  }
}

@media (max-width: 480px){
  .story-lede{
    font-size:1.15rem;
  }
  .story-timeline{
    grid-template-columns:1fr;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce){
  .story-intro-image img,
  .story-gallery-frame,
  .story-gallery-frame img,
  .story-step,
  .story-step-num,
  .story-pullquote,
  .story-founder-photo,
  .story-full-body{
    transition:none;
    animation:none;
  }
}
/* ---------------- cards / grids ---------------- */

.grid{ display:grid; gap:var(--space-4); }
.grid-2{ grid-template-columns:1fr; } @media (min-width:768px){ .grid-2{ grid-template-columns:1fr 1fr; } }
.grid-3{ grid-template-columns:1fr; } @media (min-width:640px){ .grid-3{ grid-template-columns:1fr 1fr; } } @media (min-width:992px){ .grid-3{ grid-template-columns:repeat(3,1fr); } }
.grid-4{ grid-template-columns:1fr; } @media (min-width:640px){ .grid-4{ grid-template-columns:1fr 1fr; } } @media (min-width:1100px){ .grid-4{ grid-template-columns:repeat(4,1fr); } }
.product-grid{ display:grid; gap:var(--space-4); grid-template-columns:1fr; }
@media (min-width:640px){ .product-grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:992px){ .product-grid{ grid-template-columns:1fr 1fr; } }
.card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md);margin-top: var(--space-5);
  padding:var(--space-5); transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:var(--border-strong); }
.card-icon{
  width:48px; height:48px; border-radius:var(--radius-sm); background:var(--primary-tint); color:var(--primary);
  display:flex; align-items:center; justify-content:center; margin-bottom:var(--space-4);}
.card-icon svg{ width:24px; height:24px; }
.card h3{ margin-bottom:.5rem; }
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------------- product cards ---------------- */
.product-card{
  position:relative; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden; display:flex; flex-direction:column; transition:transform .35s var(--ease), box-shadow .35s var(--ease);}
.product-card:hover{ transform:translateY(-8px) rotateX(1deg); box-shadow:var(--shadow-lg); }
.product-media{
  position:relative; aspect-ratio:4/3; background:
    radial-gradient(50% 60% at 30% 20%, var(--primary-tint), transparent 65%), var(--bg-alt);
  display:flex; align-items:center; justify-content:center; border-bottom:1px solid var(--border);}
.devices-grid{ display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto auto; gap:2rem;}
.devices-grid .card{
  display:flex; flex-direction:column; gap:1.6rem; padding:2rem;
  margin-top:0;   
  border:1px solid var(--border-strong,#e3e3e3);
  border-radius:var(--radius-lg,14px);
  background:var(--surface,#fff);
  box-shadow:0 4px 18px rgba(0,0,0,0.05);
  transition:box-shadow .2s ease, transform .2s ease;
}
.devices-grid .card > *{margin-top:10px;}
.devices-grid .card > *:first-child{ margin-top:0;}
.devices-grid .product-media{ border-radius:var(--radius-lg); max-width:340px;max-height:255px;aspect-ratio:4/3;overflow:hidden;margin:0 auto;}
.devices-grid .product-media img.devices{width:100%;  height:100%; object-fit:cover; display:block;}
.devices-grid .device-heading h2{ margin-top:10px; font-size:1.3rem;}
.devices-grid .device-heading .lede{ margin-top:10px; font-size:.92rem;}
.devices-grid h3{ font-size:1rem; margin-bottom:10px;}

.devices-grid .feature-list{ display:flex; flex-direction:column; gap:10px;}
.devices-grid .feature-list li{ display:flex; align-items:center; gap:.6rem; padding:6px 0;}
.devices-grid .feature-list svg{ width:18px; height:18px; flex-shrink:0;}

.devices-grid .spec-table{ width:100%; border-collapse:separate; border-spacing:0 10px;}
.devices-grid .spec-table tr{ border-bottom:1px solid var(--border,#eee);}
.devices-grid .spec-table tr:last-child{border-bottom:none;}
.devices-grid .spec-table td{ padding:.6rem 10px;}
.devices-grid .spec-table td:first-child{color:var(--text-muted,#777);}
.devices-grid .spec-table td:last-child{text-align:right;}


.devices-grid .table-note{ margin-top:10px;  font-size:.85rem;}
.devices-grid .pay-widget{  border:1px solid var(--border-strong,#e3e3e3);  border-radius:var(--radius-lg,12px);padding:1.4rem;background:var(--surface);}
.devices-grid .pay-widget > *{margin-top:10px;}
.devices-grid .pay-widget > *:first-child{margin-top:0;}

.devices-grid .product-price{display:flex;justify-content:space-between;align-items:center;}
.devices-grid .product-price span{font-size:.8rem;color:var(--text-muted,#777);}
.devices-grid .pay-tabs{display:flex;gap:10px;}
.devices-grid .pay-tab{flex:1;}
.devices-grid .pay-panel p{font-size:.85rem;margin-bottom:10px;}
.devices-grid .btn-block{width:100%;}
.devices-grid a.btn-block{display:block;text-align:center;}
.devices-grid .pay-widget {width: min(100%, 500px);margin: 0 auto; padding: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 8px 24px rgba(0, 0, 0, .08);}
.devices-grid .payment-main {padding: 20px 22px 15px;}
.devices-grid .payment-title {display: flex;  align-items: center; gap: 14px; margin: 0 0 8px;}
.devices-grid .payment-title-line { width: 42px;height: 4px;  flex: 0 0 42px; border-radius: 10px; background: #e67e22;}
.devices-grid .payment-title h3 {margin: 0; color: var(--primary); font-family: var(--font-body); font-size: 16px; line-height: 1; font-weight: 700; letter-spacing: .06em;}

.devices-grid .shipping-text { margin: 0 0 10px; color: var(--text-muted); font-family: var(--font-body); font-size: 17px; line-height: 1.4;}
.devices-grid .payment-price { display: flex; flex-direction: column; gap: 7px; margin: 0;}
.devices-grid .payment-price b { margin: 0; color: var(--text); font-family: var(--font-body); font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: .01em;}
.devices-grid .payment-price span { color: var(--text-muted); font-family: var(--font-body); font-size: 13px; line-height: 1.4;}
.devices-grid .payment-divider { width: 100%; height: 1px; margin: 25px 0; background: var(--border);}
.devices-grid .pay-tabs { display: flex; gap: 8px; width: 100%; margin: 10px 0 15px;}
.devices-grid .pay-tab { min-width: 0; flex: 1 ; height: 60px; padding: 0px 8px; display: flex;align-items: center;justify-content: center; gap: 4px; border: 1.5px solid var(--primary); border-radius: 6px; background: var(--primary);color: var(--surface);font-family: var(--font-body);font-size: 14px;font-weight: 700;line-height: 1.2; cursor: pointer;transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;}
.devices-grid .pay-tab:hover { transform: translateY(-1px);}
.devices-grid .pay-tab.active { background: var(--primary-tint); color:var(--primary-dark); box-shadow: 0 5px 14px rgba(21, 84, 154, .16);}
.devices-grid .pay-tab svg { flex: 0 0 auto;}
.devices-grid .india-flag { width: 24px;height: 24px;flex: 0 0 14px;border-radius: 100%;display: block;object-fit: cover}
.devices-grid .globe-icon { width: 30px; height: 30px; fill: none; stroke: currentColor;stroke-width: 1.6;stroke-linecap: round;stroke-linejoin: round;}
.devices-grid .secure-payment { display: flex; align-items: flex-start; gap: 13px; margin: 0 0 15px; color: var(--text-muted); font-family: var(--font-body); font-size: 12px; line-height: 1.55;}
.devices-grid .secure-payment-icon { width: 25px; height: 25px; flex: 0 0 25px; margin-top: 1px;
  fill: none; stroke: var(--primary);stroke-width: 1.7; stroke-linecap: round;stroke-linejoin: round;}
.devices-grid .pay-panel {display: none;}
.devices-grid .pay-panel.active { display: block;}
.devices-grid .buy-now-btn { width: 80%; min-height: 50px; padding: 0px 20px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 20px; background: var(--primary); color: #fff; font-family: var(--font-body); font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; box-shadow: 0 5px 12px rgba(0, 0, 0, .12); transition: transform .2s ease, box-shadow .2s ease; margin-left: 30px;}
.devices-grid .buy-now-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .15);}
.devices-grid .buy-now-icon { width: 27px;height: 27px; flex: 0 0 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;}
.devices-grid .safe-payment { display: flex; align-items: flex-start; gap: 15px; padding: 10px 22px 10px; border-top: 1px solid var(--border); background: var(--surface);}
.devices-grid .safe-payment-icon { width: 34px;  height: 34px; flex: 0 0 34px; margin-top: 1px; fill: none; stroke: var(--primary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;}
.devices-grid .safe-payment h4 { margin: 0 0 5px; color: var(--text); font-family: var(--font-body); font-size: 13px; line-height: 1.3; font-weight: 700;}
.devices-grid .safe-payment p { margin: 0; color: var(--text-muted); font-family: var(--font-body); font-size: 13px; line-height: 1.45;}
@media (max-width: 991.98px) {
  .devices-grid .pay-widget {
    width: min(100%, 270px);
  }
}
@media (max-width: 600px) {
  .devices-grid .pay-widget {width: 100%; max-width: 280px; border-radius: 18px;}
  .devices-grid .payment-main { padding: 12px 10px 12px;}
  .devices-grid .payment-title { gap: 5px;margin-bottom: 10px;}
  .devices-grid .payment-title-line {width: 22px;flex-basis: 22px;height: 3px;}
  .devices-grid .payment-title h3 { font-size: 12px;}
  .devices-grid .shipping-text { margin-bottom: 8px; font-size: 12px;}
  .devices-grid .payment-price b { font-size: 16px;}
  .devices-grid .payment-price span { font-size: 14px;}
  .devices-grid .payment-divider { margin: 10px 0;}
  .devices-grid .pay-tabs { gap: 8px; margin: 14px 0 9px;}
  .devices-grid .pay-tab {height: 38px; padding: 8px; gap: 6px; border-radius: 10px; font-size: 12px;}
  .devices-grid .india-flag { width: 15px; height: 14px;}
  .devices-grid .globe-icon { width: 25px; height: 25px;}
  .devices-grid .secure-payment {  gap: 9px;  margin-bottom: 20px;  font-size: 9px;}
  .devices-grid .secure-payment-icon {  width: 22px;  height: 22px;  flex-basis: 22px;}
  .devices-grid .buy-now-btn { min-height: 55px; font-size: 12px; gap: 10px;}
  .devices-grid .buy-now-icon { width: 24px; height: 24px; flex-basis: 24px;}
  .devices-grid .safe-payment { gap: 11px; padding: 18px 20px 20px;}
  .devices-grid .safe-payment-icon { width: 30px; height: 30px; flex-basis: 30px;}
  .devices-grid .safe-payment h4 { font-size: 11px;}
  .devices-grid .safe-payment p { font-size: 9px; }}
@media (max-width: 390px) {
  .devices-grid .pay-tab { font-size: 11px;}
  .devices-grid .pay-tabs { gap: 6px;}
  .devices-grid .payment-main {padding-left: 16px; padding-right: 16px;}
  .devices-grid .safe-payment { padding-left: 16px;padding-right: 16px;}
}
/* ---------------- gap reduction: all breakpoints ---------------- */
.devices-grid{ gap: 1.4rem; }              
.devices-grid .card{ padding: 1.5rem; gap: 1.1rem; }  
.devices-grid .card > *{ margin-top: 8px; } 
.section{ padding-top: 2rem; padding-bottom: 2rem; }
.tab-bar{ margin-bottom: 1.2rem; }
@media (max-width: 991.98px){
  .devices-grid{ gap: 1.1rem; }
  .devices-grid .card{ padding: 1.2rem; gap: .9rem; }
}
@media (max-width: 860px){
  .devices-grid{ gap: 1rem; }
}
@media (max-width: 600px){
   .section{ padding-top: 2px; padding-bottom: 2px; }   
  .tab-bar{ margin-bottom: 2px; } 
  .devices-grid{ gap: .9rem; }
  .devices-grid .card{ padding: 1rem; gap: .8rem; }
  .devices-grid .card > *{ margin-top: 6px; }
  .devices-grid .device-heading h2{ margin-top: 6px; }
  .devices-grid .device-heading .lede{ margin-top: 6px; }
  .devices-grid .table-note{ margin-top: 6px; }
}
@media (max-width: 860px){
  .devices-grid{grid-template-columns:1fr;}
}
html, body { max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
@media (max-width: 991.98px) {
  .devices-grid {display: grid;grid-template-columns: 1fr;gap: 1.5rem;}}
  .card {width: 100%; max-width: 100%; overflow: hidden;}
.product-media,
.product-media img.devices {width: 100%; height: auto; max-width: 100%; display: block; object-fit: cover;}

@media (max-width: 600px) {
  .spec-table {display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse;}
  .spec-table tr {display: flex; width: 100%;}
  .spec-table td {flex: 0 0 50%; max-width: 50%; word-break: break-word; white-space: normal; padding: 0.5rem 0.6rem;font-size: 0.9rem;}
}
@media (max-width: 600px) {
  .pay-widget { width: 100%; }
  .pay-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
  .pay-tab { flex: 1 1 45%; font-size: 0.85rem; padding: .5rem .4rem; }
  .btn-block { width: 100%; white-space: normal; text-align: center; }
  .product-price { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: 0.95rem; }
}

@media (max-width: 600px) {
  .fab-stack {position: fixed; right: 12px; bottom: 78px; z-index: 40; display: flex ;  flex-direction: column;gap: .5rem;}
  .fab {width: 44px;height: 44px;}
   main { padding-bottom: 90px; }
}
@media (max-width: 600px) {
  .tab-bar {display: flex;  overflow-x: auto; -webkit-overflow-scrolling: touch; gap: .5rem; flex-wrap: nowrap;padding-bottom: .4rem;}
  .tab-btn { flex: 0 0 auto; white-space: nowrap;  margin-top:var(--space-3); } 
}
@media (max-width: 600px) {
  .cta-band {flex-direction: column; text-align: center; gap: 1rem; margin-top: 60px;}
}
.product-media svg{ width:44%; color:var(--primary); }
.product-media .corner-scan{ position:absolute; top:14px; right:14px; width:34px; height:34px; opacity:.85; }
.product-body{ padding:var(--space-4) var(--space-5) var(--space-5); display:flex; flex-direction:column; gap:.65rem; flex:1; }
.product-tag{ font-family:var(--font-body); font-size:.68rem; letter-spacing:.08em; color:var(--accent-dark); background:var(--accent-tint); width:fit-content; padding:.2rem .55rem; border-radius:var(--radius-full); font-weight:600; text-transform:uppercase; }
.product-body h3{ font-size:1.15rem; }
.product-price{ display:flex; align-items:baseline; gap:.4rem; margin-top:auto; padding-top:.5rem; }
.product-price b{ font-family:var(--font-body); font-size:1.25rem; color:var(--text); }
.product-price span{ font-size:.78rem; color:var(--text-muted); }
.product-actions{ display:flex; gap:.6rem; margin-top:var(--space-3); }
.devices{ width:100%; height:100%; object-fit:cover; display:block;}
/* spec table */
.spec-table{ width:100%; border-collapse:collapse; font-size:.92rem; }
.spec-table tr{ border-bottom:1px solid var(--border); }
.spec-table td{ padding:.7rem .25rem; }
.spec-table td:first-child{ color:var(--text-muted); font-family:var(--font-body); font-size:.82rem; width:44%; }
.spec-table td:last-child{ font-weight:600; }

.feature-list{ display:grid; gap:.65rem; }
.feature-list li{ display:flex; gap:.65rem; align-items:flex-start; font-size:.95rem; }
.feature-list li svg{ flex:none; width:18px; height:18px; color:var(--success); margin-top:.15rem; }

/* ---------------- testimonials ---------------- */
.testi-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:var(--space-5); }
.testi-quote{ font-size:1.02rem; color:var(--text); }
.testi-who{ margin-top:var(--space-4); display:flex; align-items:center; gap:.75rem; }
.avatar{ width:42px; height:42px; border-radius:50%; background:var(--primary-tint); color:var(--primary); display:flex; align-items:center; justify-content:center; font-family:var(--font-body); font-weight:700; }
.testi-who b{ display:block; font-size:.9rem; } .testi-who span{ font-size:.78rem; color:var(--text-muted); }

/* ---------------- how it works ---------------- */
.steps{ display:grid; gap:var(--space-4); counter-reset:step; }
@media (min-width:768px){ .steps{ grid-template-columns:repeat(4,1fr); } }
.step{ position:relative; padding-top:var(--space-5); }
.step::before{
  counter-increment:step; content:counter(step,decimal-leading-zero);
  font-family:var(--font-body); font-size:.8rem; color:var(--primary);
  display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; border:1px solid var(--border-strong); border-radius:50%;
  margin-bottom:var(--space-3); margin-top: var(--space-3);
}

/* CTA band */
.cta-band{
  border-radius:var(--radius-lg); padding:var(--space-6) var(--space-5);
  background:linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
  color:#fff; display:flex; flex-direction:column; gap:var(--space-4); align-items:flex-start;
  position:relative; overflow:hidden;
}
.cta-band h2{ color:#fff; margin-bottom: 20px;}
.cta-band p{ color:rgba(255,255,255,.85); max-width:52ch; }
.cta-band .scan-ring{ position:absolute; right:-40px; top:50%; transform:translateY(-50%); width:260px; height:260px; opacity:.18; }
@media (min-width:768px){ .cta-band{ flex-direction:row; align-items:center; justify-content:space-between; } }

/* ---------------- footer ---------------- */
.site-footer{ background:var(--bg-alt); border-top:1px solid var(--border); padding-top:var(--space-6); }
.footer-grid{ display:grid; gap:var(--space-5); }
@media (min-width:768px){ .footer-grid{ grid-template-columns:1.4fr 1fr 1fr 1fr; } }
.footer-brand p{ margin-top:var(--space-3); color:var(--text-muted); max-width:34ch; font-size:.92rem; }
.footer-col h4{ font-family:var(--font-body); font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted); margin-bottom:var(--space-3); }
.footer-col a{ display:block; padding:.35rem 0; color:var(--text-muted); font-size:.92rem; transition:color .2s; }
.footer-col a:hover{ color:var(--primary); }
.footer-social{ display:flex; gap:.6rem; margin-top:var(--space-4); }
.footer-social a{ width:38px; height:38px; border-radius:50%; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; color: var(--primary); }
.footer-social a:hover{ border-color:var(--primary); color:var(--primary); }
.footer-social svg{ width:17px; height:17px; color: var(--primary); }
.footer-bottom{ margin-top:var(--space-6); padding:var(--space-4) 0; border-top:1px solid var(--border); display:flex; flex-wrap:wrap; gap:var(--space-3); justify-content:space-between; font-size:.82rem; color:var(--text-faint); }
.footer-bottom a:hover{ color:var(--primary); }

/* ---------------- floating actions ---------------- */

.fab-stack{ position:fixed; right:var(--space-4); bottom:calc(var(--space-4) + 64px); z-index:900; display:flex; flex-direction:column; gap:.7rem; align-items:flex-end; }
@media (min-width:992px){ .fab-stack{ bottom:var(--space-4); } }
.fab{
  width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-md); color:#fff; border:none; transition:transform .25s var(--ease);}
.fab:hover{ transform:scale(1.08); }
.fab svg{ width:24px; height:24px; }
.fab-call{ background:var(--primary); }
.fab-whatsapp{ background:#25D366; }
.fab-scan{ background:var(--surface); color:var(--accent); border:1.5px solid var(--accent); position:relative;}
.fab svg{  width:24px; height:24px; display:block; flex-shrink:0;}
.fab-scan::after{
  content:""; position:absolute; inset:-5px; border-radius:50%; border:1.5px solid var(--accent);
  opacity:.55; animation:ring-pulse 2.2s ease-out infinite;}
@keyframes ring-pulse{ 0%{ transform:scale(.85); opacity:.6; } 100%{ transform:scale(1.35); opacity:0; } }
.social-popup{
  position:fixed; right:var(--space-4); bottom:calc(var(--space-4) + 190px); z-index:901;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); padding:var(--space-3); display:flex; gap:.5rem;
  transform:translateY(10px) scale(.95); opacity:0; pointer-events:none;
  transition:transform .25s var(--ease), opacity .25s var(--ease);}
@media (min-width:992px){ .social-popup{ bottom:calc(var(--space-4) + 120px); } }
.social-popup.open{ transform:translateY(0) scale(1); opacity:1; pointer-events:auto; }
.social-popup a{ width:40px; height:40px; border-radius:50%; background:var(--bg-alt); display:flex; align-items:center; justify-content:center; }
.social-popup a:hover{ background:var(--primary-tint); color:var(--primary); }
.social-popup svg{ width:18px; height:18px; }

/*-----------------------Team member ---------------------*/

.team-section .section-head {
  margin-bottom: var(--space-6, 2.5rem);}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5, 1.75rem);}
.team-card {
  position: relative;
  background: var(--surface, #fff);
  border: 1px solid var(--border-strong, #e2e6ec);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  text-align: left;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;}
.team-card:hover,
.team-card:focus-within {transform: translateY(-6px);box-shadow: 0 20px 40px -18px rgba(15, 95, 166, .28);
  border-color: var(--primary, #0f5fa6);}
.team-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--primary-tint, #eaf2fa);}
.team-photo img { width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  filter: grayscale(35%);
  transform: scale(1.02);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}
.team-card:hover .team-photo img,
.team-card:focus-within .team-photo img {
  transform: scale(1.08);
  filter: grayscale(0%);
}
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,95,166,.55) 100%);
  opacity: 0;
  transition: opacity .35s ease;
}
.team-card:hover .team-photo::after,
.team-card:focus-within .team-photo::after {
  opacity: 1;
}

/* --- Body --- */
.team-body {
  padding: var(--space-5, 1.5rem) var(--space-5, 1.5rem) var(--space-6, 1.75rem);
}

.team-name {
  margin: 0 0 .2rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink,#122012);
}
[data-theme="dark"] .team-name {
  color: #ffffff; 
}
.team-role {
  display: inline-block;
  margin-bottom: var(--space-3, .85rem);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .02em; color: var(--primary, #0f5fa6);
  position: relative;padding-bottom: .5rem;
}

.team-role::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 32px;
  background: var(--accent, #f2a33d);
  transition: width .35s ease;
}

.team-card:hover .team-role::after,
.team-card:focus-within .team-role::after {
  width: 56px;
}

.team-bio {
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  
}
@media (prefers-reduced-motion: reduce) {
  .team-card,
  .team-photo img,
  .team-role::after {
    transition: none;
  }
}

/* ---------------- mobile bottom nav ---------------- */
.bottom-nav{
  position:fixed; left:0; right:0; bottom:0; z-index:950; display:flex;
  background:color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter:blur(14px);
  border-top:1px solid var(--border); padding:.4rem .1rem calc(.4rem + env(safe-area-inset-bottom));}
@media (min-width:992px){ .bottom-nav{ display:none; } }
.bottom-nav a{
  flex:1; display:flex; flex-direction:column; align-items:center; gap:.2rem;
  padding:.35rem 0; font-size:.65rem; font-weight:600; color:var(--text-faint);}
.bottom-nav a svg{ width:21px; height:21px; }
.bottom-nav a.active{ color:var(--primary); }
body{ padding-bottom:0; }
@media (max-width:991.98px){ body{ padding-bottom:66px; } }

/* ---------------- page header (inner pages) ---------------- */

.page-header{
  padding-top:calc(var(--header-h) + var(--space-6)); padding-bottom:var(--space-6);
  background:radial-gradient(60% 60% at 85% 0%, var(--primary-tint), transparent 60%);}
.breadcrumb{ font-family:var(--font-body); font-size:.78rem; color:var(--text-muted); }
.breadcrumb a:hover{ color:var(--primary); }

/* ---------------- filter tabs ---------------- */
.tab-bar{ display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:var(--space-5); }
.tab-btn{
  padding:.5rem 1.1rem; border-radius:var(--radius-full); border:1px solid var(--border);
  background:var(--surface); font-size:.85rem; font-weight:600; color:var(--text-muted);
  transition:all .25s var(--ease);}
.tab-btn:hover{ border-color:var(--primary); color:var(--primary); }
.tab-btn.active{ background:var(--primary); border-color:var(--primary); color:#fff; }

/*------------------ clinical adoption------------------------*/

.adoption-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5, 1.75rem);
}

.adoption-card {
  position: relative;
  background: var(--surface, #fff);
  border: 1px solid var(--border-strong, #e2e6ec);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.adoption-card:hover,
.adoption-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -18px rgba(15, 95, 166, .28);
  border-color: var(--primary, #0f5fa6);
}

.adoption-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--primary-tint, #eaf2fa);
}

.adoption-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}

.adoption-card:hover .adoption-photo img,
.adoption-card:focus-within .adoption-photo img {
  transform: scale(1.08);
}

.adoption-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,95,166,.55) 100%);
  opacity: 0;
  transition: opacity .35s ease;
}

.adoption-card:hover .adoption-photo::after,
.adoption-card:focus-within .adoption-photo::after {
  opacity: 1;
}

.adoption-caption {
  padding: var(--space-4, 1.1rem) var(--space-5, 1.5rem);
}

.adoption-name {
  margin: 0 0 .15rem;
  font-size: 1rem;
  font-weight: 700;
  color: #12202f;
}

[data-theme="dark"] .adoption-name {
  color: #ffffff;
}

.adoption-location {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--primary, #0f5fa6);
}
@media (max-width: 900px) {
  .adoption-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .adoption-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adoption-card,
  .adoption-photo img {
    transition: none;
  }
}

/*--------------------cilinical evidance----------------*/
.clinical-evidence-section .card {
  padding: 0;
  overflow: hidden;
}
.clinical-evidence-section .card-cover {
  width: 100%;
  aspect-ratio: 4/ 4;
  background: #f4f6f8;          
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.clinical-evidence-section .card-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;          
  object-position: center;
  display: block;
}
.clinical-evidence-section .card-covers {
  width: 100%;
  aspect-ratio: 4/ 4;
  background: #f4f6f8;          
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.clinical-evidence-section .card-covers img {
  width: 100%;
  height: 100%;
  object-fit: contain;          
  object-position: center;
  display: block;
}
.clinical-evidence-section .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.1rem 1.1rem 1.25rem;
}
.clinical-evidence-section .card-body h3 {
  font-family: var(--font-heading, 'Segoe UI', system-ui, -apple-system, sans-serif);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0;
}
.clinical-evidence-section .card-authors {
  font-family: var(--font-body, 'Segoe UI', system-ui, -apple-system, sans-serif);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted, #6b7280);
  margin: 0;
}
.clinical-evidence-section .text-muted {
  font-family: var(--font-body, 'Segoe UI', system-ui, -apple-system, sans-serif);
  font-size: 0.85rem;
  margin: 0;
}
.clinical-evidence-section .btn.btn-outline.btn-sm {
  font-family: var(--font-body, 'Segoe UI', system-ui, -apple-system, sans-serif);
  font-weight: 500;
  margin-top: 0.25rem;
  width: fit-content;
}
@media (max-width: 640px) {
  .clinical-evidence-section .card-cover {
    aspect-ratio: 4 / 3;
  }
}
/* ---------------- gallery ---------------- */
  .gallery-category{ margin-top:var(--space-7,4rem); }
  .gallery-category:first-child{ margin-top:var(--space-5,2rem); }
  .gallery-category-head{
    display:flex; align-items:baseline; flex-wrap:wrap; gap:.6rem 1rem;
    padding-bottom:var(--space-3,.9rem);
    margin-bottom:var(--space-4,1.4rem);
    border-bottom:1px solid var(--border);
  }
  .gallery-category-title{
    font-size:28px; margin:0; color:var(--text);
    flex:1 1 auto; min-width:200px;
  }
  .gallery-category-desc{
    flex:1 1 100%; margin:0; color:var(--text-muted, var(--text-faint));
    font-size:.95rem; max-width:60ch;
  }
  .gallery-category-count{
    font-size:.75rem; font-weight:600; letter-spacing:.03em;
    color:var(--primary); background:var(--primary-tint);
    border-radius:999px; padding:.25rem .7rem; white-space:nowrap;
  }
  .gallery-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:var(--space-3,1rem);
  }
  @media (min-width:576px){
    .gallery-grid{ grid-template-columns:repeat(3,1fr); }
  }
  @media (min-width:768px){
    .gallery-grid{ grid-template-columns:repeat(3,1fr); gap:var(--space-4,1.4rem); }
  }
  @media (min-width:992px){
    .gallery-grid{ grid-template-columns:repeat(4,1fr); }
  }
  @media (min-width:1200px){
    .gallery-grid{ grid-template-columns:repeat(4,1fr); }
  }

  .gallery-item{
    position:relative;
    aspect-ratio:4/3;
    overflow:hidden;
    border-radius:var(--radius-md);
    background:var(--bg-alt);
    border:1px solid var(--border);
    box-shadow:var(--shadow-sm, 0 1px 3px rgba(15,23,42,.06));
    cursor:pointer;
  }
  .gallery-item img{
    width:100%; height:100%;
    object-fit:contain;
    display:block;
    transition:transform .4s var(--ease,ease);
  }
  .gallery-item:hover img{ transform:scale(1.06); }
  .gallery-item::after{
    content:attr(data-label);
    position:absolute; left:0; right:0; bottom:0;
    padding:.55rem .65rem .5rem;
    font-size:.72rem; font-weight:600; line-height:1.25;
    color:#fff;
    background:linear-gradient(to top, rgba(10,16,28,.82), rgba(10,16,28,0) 85%);
    transform:translateY(100%);
    transition:transform .3s var(--ease,ease);
  }
  .gallery-item:hover::after{ transform:translateY(0); }
  .gallery-item.hidden{ display:none; }

  .lightbox{
    position:fixed; inset:0; z-index:1100;
    background:rgba(6,10,18,.9);
    display:flex; align-items:center; justify-content:center;
    opacity:0; visibility:hidden; pointer-events:none;
    transition:opacity .3s var(--ease,ease), visibility .3s;
    padding:var(--space-4,1.4rem);
  }
  .lightbox.open{ opacity:1; visibility:visible; pointer-events:auto; }
  .lightbox-inner{
    position:relative;
    width:min(900px,92vw);
    max-height:90vh;
    background:var(--surface,#fff);
    border-radius:var(--radius-lg,var(--radius-md,12px));
    padding:var(--space-5,1.8rem);
    text-align:center;
    display:flex; flex-direction:column; align-items:center;
    box-shadow:0 20px 60px rgba(0,0,0,.35);
  }
  .lightbox-media{
    width:100%;
    max-height:65vh;
    border-radius:var(--radius-md,8px);
    background:var(--bg-alt,#f2f4f7);
    display:flex; align-items:center; justify-content:center;
    overflow:hidden;
  }
  .lightbox-media img{
    max-width:100%; max-height:65vh;
    width:auto; height:auto;
    object-fit:contain;
    display:block;
  }
  .lightbox-close{
    position:absolute; top:16px; right:16px;
    width:40px; height:40px; border-radius:50%;
    background:var(--surface,#fff); color:var(--text,#0f1420);
    border:1px solid var(--border,#e2e5ea);
    display:flex; align-items:center; justify-content:center;
    cursor:pointer; z-index:5;
    box-shadow:var(--shadow-sm, 0 1px 3px rgba(15,23,42,.12));
  }
  .lightbox-close svg{ width:18px; height:18px; }
  .lightbox-nav{
    position:absolute; top:50%; transform:translateY(-50%);
    width:46px; height:46px; border-radius:50%;
    background:var(--surface,#fff); color:var(--text,#0f1420);
    display:flex; align-items:center; justify-content:center;
    border:1px solid var(--border,#e2e5ea);
    box-shadow:var(--shadow-sm, 0 1px 3px rgba(15,23,42,.12));
    cursor:pointer;
    z-index:5;
  }
  .lightbox-nav svg{ width:20px; height:20px; }
  .lightbox-prev{ left:12px; }
  .lightbox-next{ right:12px; }
  @media (min-width:768px){
    .lightbox-prev{ left:-64px; }
    .lightbox-next{ right:-64px; }
  }
  .lightbox-counter{
    margin-top:var(--space-2,.6rem);
    font-size:.78rem; color:var(--text-faint,#7a8494);
  }

/* ---------------- forms ---------------- */

.form-field{ display:flex; flex-direction:column; gap:.4rem; margin-bottom:var(--space-4); }
.form-field label{ font-size:.85rem; font-weight:600; }
.form-field input, .form-field select, .form-field textarea{ padding:.8rem 1rem; border-radius:var(--radius-sm); border:1px solid var(--border-strong); background:var(--surface); color:var(--text); transition:border-color .2s var(--ease), box-shadow .2s var(--ease);}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{outline:none; border-color:var(--primary); box-shadow:0 0 0 3px var(--primary-tint);}
.form-note{ font-size:.82rem; color:var(--success); margin-top:var(--space-3); display:none; }
.form-note.show{ display:block; }
.global-banner-card {padding: 0;overflow: hidden; text-align: center;}
.global-banner-card img {width: 100%;max-width: 950px; height: 950px;display: inline-block; margin-top: 40px;}
/* Mobile Responsive */
@media (max-width: 768px) {
  .global-banner-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    display: block;
  }
}

/* ---------------- payment ---------------- */
.pay-tabs{ display:flex; gap:.5rem; margin-bottom:var(--space-4); }
.pay-tab{ flex:1; padding:.75rem; border-radius:var(--radius-sm); border:1px solid var(--border); background:var(--primary); font-weight:600; font-size:.88rem; }
.pay-tab.active{ border-color:var(--primary); background:var(--primary-tint); color:var(--primary); }
.pay-panel{ display:none; }
.pay-panel.active{ display:block; }

/* ---------------- misc ---------------- */

.badge-row{ display:flex; flex-wrap:wrap; gap:.5rem; }
.pill{ padding:.35rem .8rem; border-radius:var(--radius-full); background:var(--bg-alt); border:1px solid var(--border); font-size:.78rem; color:var(--text-muted); font-weight:600; }
.loader-screen{ position:fixed; inset:0; z-index:2000; background:var(--bg); display:flex; align-items:center; justify-content:center; transition:opacity .5s var(--ease), visibility .5s var(--ease);}
.loader-screen.hide{ opacity:0; visibility:hidden; }
.loader-ring{ width:64px; height:64px; }
.social-embed-grid{ display:grid; gap:var(--space-4); }
@media (min-width:768px){ .social-embed-grid{ grid-template-columns:repeat(3,1fr); } }
.social-embed-card{ border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden; background:var(--surface); }
.social-embed-head{ display:flex; align-items:center; gap:.6rem; padding:var(--space-3) var(--space-4); border-bottom:1px solid var(--border); }
.social-embed-head svg{ width:20px; height:20px; }
.video-frame{ position:relative; aspect-ratio:16/9; border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--border); background:var(--bg-alt); }
.video-frame iframe{ width:100%; height:100%; border:0; }
.map-frame{ border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--border); aspect-ratio:16/10; }
.map-frame iframe{ width:100%; height:100%; border:0; filter:grayscale(.15); }
[data-theme="dark"] .map-frame iframe{ filter:grayscale(.4) invert(.92) contrast(.9); }
.video-frame{ width:100%; aspect-ratio:16/9;}
.video-frame iframe{   width:100%;  height:100%;  border:0;  display:block;}
.clinical-icon{
  height: 50px;
  width: 50px;
  color: var(--primary);
}
.clinical-gallery-section .gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.gallery-tab {
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--border-strong, #d7dee6);
  background: var(--surface, #fff);
  color: var(--text, #1c2733);
  padding: .55rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.gallery-tab-count {
  font-size: .72rem;
  font-weight: 700;
  opacity: .65;
  background: rgba(15, 95, 166, .1);
  border-radius: 999px;
  padding: .1rem .45rem;
}
.gallery-tab:hover {
  border-color: var(--primary, #0F5FA6);
}
.gallery-tab.active {
  background: var(--primary, #0F5FA6);
  border-color: var(--primary, #0F5FA6);
  color: #fff;
}
.gallery-tab.active .gallery-tab-count {
  background: rgba(255,255,255,.22);
  opacity: 1;
  color: #fff;
}
.gallery-panel {
  display: none;
}
.gallery-panel.active {
  display: block;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .85rem;
}
.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  background: var(--surface-alt, #eef2f6);
  border: 1px solid var(--border, #e5e9ee);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%);
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery-item:hover::after {
  opacity: 1;
}
.gallery-caption {
  position: absolute;
  left: .55rem;
  right: .55rem;
  bottom: .45rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: always show captions since hover isn't available */
@media (hover: none) {
  .gallery-item::after,
  .gallery-item .gallery-caption {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: .6rem;
  }
  .gallery-tab {
    padding: .45rem .85rem;
    font-size: .8rem;
  }
}