
:root{--navy:#08284a;--navy-2:#061c35;--teal:#0b8f9a;--ink:#152235;--muted:#64748b;--line:#e5edf3;--soft:#f4f8fb;--white:#fff;--shadow:0 18px 45px rgba(8,40,74,.12);--radius:22px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.65}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.container{width:min(1180px,calc(100% - 42px));margin-inline:auto}.section{padding:86px 0}.section-soft{background:var(--soft)}.eyebrow{display:inline-flex;padding:7px 12px;margin-bottom:18px;margin-top:24px;border-radius:999px;background:#e9f7f8;color:var(--teal);font-weight:800;font-size:13px}h1,h2,h3{line-height:1.08;margin:0;color:#0b439a}h1{font-size:clamp(38px,6vw,35px);letter-spacing:-.055em;color:#fff}h2{font-size:clamp(30px,4vw,48px);letter-spacing:-.04em}h3{font-size:22px}p{margin:0;color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:13px 22px;background:var(--navy);color:#fff;font-weight:800;cursor:pointer;box-shadow:0 12px 25px rgba(8,40,74,.18)}.btn.secondary{background:#fff;color:var(--navy)}.btn.ghost{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.35);box-shadow:none}.btn.small{padding:9px 15px;font-size:13px}.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(229,237,243,.8)}.navbar{height:78px;display:flex;align-items:center;justify-content:space-between;gap:22px}.logo{display:flex;align-items:center;gap:10px;font-weight:900;color:var(--navy);letter-spacing:-.03em}.logo-mark{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,var(--navy),var(--teal));position:relative}.logo-mark:before,.logo-mark:after{content:"";position:absolute;background:#fff;border-radius:4px;inset:17px 8px}.logo-mark:after{inset:8px 17px}.nav-links{display:flex;align-items:center;gap:18px;font-weight:800;font-size:13px;color:#0b439a}.menu-btn{display:none;border:0;background:var(--soft);border-radius:12px;padding:10px 12px;font-weight:900}
.hero-slider{min-height:516px;display:block;position:relative;overflow:hidden;background:none}.hero-track,.hero-panel{position:absolute;inset:0}.hero-panel{display:flex;align-items:center;background-position:center;background-size:cover;opacity:0;transform:scale(1.02);transition:opacity .75s ease,transform 1.1s ease;pointer-events:none}.hero-panel.active{opacity:1;transform:scale(1);pointer-events:auto;z-index:1}.hero-slider:after{content:"";position:absolute;inset:auto 0 0;height:140px;background:linear-gradient(transparent,#fff);z-index:2}.hero-content{position:relative;z-index:3;max-width:760px;padding:70px 0 130px}.hero-content p{font-size:16px;color:rgba(255,255,255,.83);max-width:660px;margin:11px 0 32px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.hero-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:48px;height:48px;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:34px;font-weight:900;cursor:pointer}.hero-prev{left:28px}.hero-next{right:28px}.hero-dots{position:absolute;z-index:4;left:50%;bottom:38px;transform:translateX(-50%);display:flex;gap:9px}.hero-dot{width:11px;height:11px;border:0;border-radius:999px;background:rgba(255,255,255,.55);cursor:pointer}.hero-dot.active{width:34px;background:#fff}
.grid-2{display:grid;grid-template-columns:1.05fr .95fr;gap:58px;align-items:center}.image-card{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:#fff}.image-card img{width:100%;height:727px;object-fit:cover}.checks{display:grid;gap:12px;margin:24px 0;padding:0}.checks li{list-style:none;color:#0b439a;font-weight:700}.checks li:before{content:"✓";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#e9f7f8;color:var(--teal);margin-right:10px;font-weight:900}.section-head{text-align:center;max-width:720px;margin:0 auto 42px}.section-head p{margin-top:12px}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 14px 30px rgba(8,40,74,.08);padding:24px}.icon{width:48px;height:48px;border-radius:16px;background:#ff5500;color:var(--teal);display:grid;place-items:center;font-size:23px;margin-bottom:16px}.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.product-card{overflow:hidden;padding:0}.product-card img{height:300px;width:100%;object-fit:cover}.product-card .body{padding:20px}.meta{font-size:13px;color:#ee3e27;font-weight:900}.price{font-weight:900;color:var(--navy);font-size:18px;margin:6px 0 12px}.categories{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.category-card{min-height:250px;border-radius:22px;overflow:hidden;padding:34px;color:#fff;display:flex;align-items:flex-end;position:relative;background:#0b3158}.category-card:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,40,74,.88),rgba(11,143,154,.42));z-index:1}.category-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.category-card .content{position:relative;z-index:2}.category-card h3{color:#fff;font-size:30px}.category-card p{color:rgba(255,255,255,.85);margin:8px 0 18px}.leadership{background:linear-gradient(135deg,var(--navy-2),var(--navy) 56%,var(--teal));color:#fff}.leadership .section-head h2,.leadership .section-head p{color:#fff}.leader-slider{position:relative;max-width:900px;margin:auto}.leader-slide{display:none;grid-template-columns:280px 1fr;gap:34px;align-items:center;background:#fff;color:var(--ink);border-radius:28px;padding:22px;box-shadow:25px 25px 0 rgba(16,182,189,.33),var(--shadow)}.leader-slide.active{display:grid}.leader-slide img{height:519px;border-radius:20px;object-fit:cover;width:100%}.quote-mark{font-size:68px;line-height:.7;color:var(--teal);font-weight:900}.slider-btn{position:absolute;top:40%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:#ff3417;color:var(--navy);font-size:26px;font-weight:900;box-shadow:var(--shadow);cursor:pointer}.slider-btn.prev{left:-64px}.slider-btn.next{right:-64px}.dots{display:flex;justify-content:center;gap:8px;margin-top:28px}.dot{width:9px;height:9px;border-radius:999px;border:0;background:rgba(255,255,255,.45);cursor:pointer}.dot.active{width:28px;background:#fff}.testimonials,.list-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.person{display:flex;align-items:center;gap:12px;margin-top:18px}.avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--navy),var(--teal))}.blog-card img{height:210px;width:100%;object-fit:cover;border-radius:18px;margin-bottom:18px}.contact-wrap{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:stretch}.form{display:grid;gap:14px}input,textarea,select{width:100%;border:1px solid var(--line);border-radius:12px;padding:14px 15px;font:inherit;background:#fff;outline:none}textarea{min-height:140px;resize:vertical}.contact-info{display:grid;gap:12px;margin-top:22px}.footer{background:var(--navy-2);color:#fff;padding:64px 0 24px}.footer p,.footer a{color:rgba(255,255,255,.75)}.footer-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr 1.2fr;gap:34px}.footer h4{margin:0 0 14px}.footer ul{padding:0;margin:0;display:grid;gap:9px}.footer li{list-style:none}.copyright{border-top:1px solid rgba(255,255,255,.1);margin-top:42px;padding-top:22px;font-size:14px;color:rgba(255,255,255,.65)}.page-hero{padding:92px 0;background:linear-gradient(135deg,var(--navy),var(--teal));color:#fff}.page-hero h1{font-size:clamp(38px,5vw,58px)}.page-hero p{color:rgba(255,255,255,.82);max-width:760px;margin-top:14px}.detail-layout{display:grid;grid-template-columns:.95fr 1.05fr;gap:54px;align-items:start}.detail-layout img{border-radius:24px;box-shadow:var(--shadow);width:100%;height:600px;object-fit:cover}.badge{display:inline-flex;padding:7px 12px;border-radius:999px;background:#e9f7f8;color:var(--teal);font-weight:900;font-size:13px}.product-tabs{margin-top:34px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 14px 30px rgba(8,40,74,.07);overflow:hidden}.tab-buttons{display:flex;border-bottom:1px solid var(--line);background:var(--soft)}.tab-btn{flex:1;border:0;background:transparent;padding:17px 20px;font-weight:900;color:var(--navy);cursor:pointer}.tab-btn.active{background:#fff;color:var(--teal);box-shadow:inset 0 -3px 0 var(--teal)}.tab-panel{display:none;padding:26px}.tab-panel.active{display:block}.tab-panel[dir=rtl]{text-align:right;font-family:Tahoma,Arial,sans-serif}.related-products{margin-top:70px}.job-card{display:flex;justify-content:space-between;gap:18px;align-items:center}
@media(max-width:980px){.nav-links{position:absolute;top:78px;left:0;right:0;background:#fff;padding:20px;display:none;flex-direction:column;border-bottom:1px solid var(--line)}.nav-links.show{display:flex}.menu-btn{display:block}.navbar .btn{display:none}.grid-2,.contact-wrap,.detail-layout{grid-template-columns:1fr}.features,.products-grid,.list-grid,.testimonials,.footer-grid{grid-template-columns:repeat(2,1fr)}.leader-slide{grid-template-columns:1fr}.slider-btn.prev{left:8px}.slider-btn.next{right:8px}}@media(max-width:640px){.container{width:min(100% - 26px,1180px)}.section{padding:58px 0}.features,.products-grid,.list-grid,.testimonials,.footer-grid,.categories{grid-template-columns:1fr}.hero-slider{min-height:500px}.hero-content{padding-top:115px}.hero-arrow{display:none}.job-card{display:block}.tab-buttons{display:block}.tab-btn{width:100%;text-align:left}}

/* === Heaven brand critical overrides merged for critical rendering === */
/*
  Heaven Pharma Group brand color override
  Upload to: assets/css/heaven-brand.css
  Then include it after assets/css/style.css in partials/head.php
*/

:root{
  --navy:#1B2C54;
  --navy-2:#081338;
  --teal:#D96F4D;
  --teal-2:#F08A63;
  --ink:#17213A;
  --muted:#66708A;
  --line:#E8E3E0;
  --soft:#F8F5F3;
  --white:#ffffff;
  --shadow:0 18px 45px rgba(27,44,84,.13);
}

/* Global accents */
.eyebrow,
.badge{
  background:#ff5500;
  color:#ffffff;
}

.btn{
  background:#0b439a;
  color:#fff;
  box-shadow:0 12px 25px rgba(27,44,84,.18);
}

.btn:hover{
  background:#ff5500;
}

.btn.secondary{
  background:#fff;
  color:#1B2C54;
}

.btn.ghost{
  background:rgba(255,255,255,.13);
  border-color:rgba(255,255,255,.42);
}

.logo{
  color:#1B2C54;
}

.logo-mark{
  background:linear-gradient(135deg,#1B2C54 0%,#1B2C54 58%,#D96F4D 58%,#F08A63 100%);
  box-shadow:0 10px 24px rgba(217,111,77,.18);
}

.nav-links a:after{
  background:#D96F4D;
}

/* Hero */
.hero-panel{
  background-color:#081338;
}

.hero-panel[style]{
  background-blend-mode:normal;
}

.hero-arrow{
  border-color:rgba(255,255,255,.45);
  background:rgba(27,44,84,.20);
}

.hero-dot.active{
  background:#F08A63;
}

/* Cards and icons */
.icon{
  background:#ff5500;
  color:#ffffff;
}

.checks li:before{
  background:#FFF1EA;
  color:#D96F4D;
}

.card{
  box-shadow:0 14px 30px rgba(27,44,84,.08);
}

/* Category overlays */
.category-card{
  background:#1B2C54;
}

.category-card:before{
  background:linear-gradient(90deg,rgba(8,19,56,.88),rgba(217,111,77,.42));
}

/* Leadership section */
.leadership{
  background:linear-gradient(135deg,#081338 0%,#1B2C54 58%,#D96F4D 100%);
}

.leader-slide{
  box-shadow:25px 25px 0 rgba(217,111,77,.32), var(--shadow);
}

.quote-mark{
  color:#D96F4D;
}

/* Product tabs */
.tab-btn.active{
  color:#D96F4D;
  box-shadow:inset 0 -3px 0 #D96F4D;
}

/* Page hero */
.page-hero{
  background:linear-gradient(135deg,#081338,#1B2C54 64%,#D96F4D);
}

/* Footer */
.footer{
  background:#0b439a;
}

/* Forms */
input:focus,
textarea:focus,
select:focus{
  border-color:#D96F4D;
  box-shadow:0 0 0 4px rgba(217,111,77,.10);
}
.logo.logo-image {
  display: flex;
  align-items: center;
  width: auto;
  height: auto;
  line-height: 0;
}

.logo.logo-image::before,
.logo.logo-image::after {
  display: none !important;
}

.logo.logo-image img {
  width: 160px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  display: block;
}
.footer .logo.footer-logo-image {
  display: flex;
  align-items: center;
  width: auto;
  height: auto;
  line-height: 0;
}

.footer .logo.footer-logo-image img {
  width: 150px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  display: block;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  transition: .2s ease;
}

.footer-social a:hover {
  background: #D96F4D;
  border-color: #D96F4D;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 16px 34px rgba(37, 211, 102, .35);
  transition: .2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 40px rgba(37, 211, 102, .42);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
}

.product-card .body h3
{
 margin-top: 8px;   
}

/* Optimized product card image display */
.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100% !important;
  height: 325px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

/* Desktop cards */
@media (min-width: 993px) {
  .product-card img {
    height: 451px !important;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .product-card img {
    height: 300px !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .product-card img {
    height: 325px !important;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .product-card img {
    height: 400px !important;
  }
  .image-card img
  {
      height: 505px !important;
  }
}



/* Safe performance-oriented rendering hints */
.latest-slider-image-wrap,
.product-card,
.blog-card,
.category-card,
.leader-slide,
.image-card,
.detail-layout > div:first-child {
  contain: layout paint;
}


/* === Mobile bottom nav critical styles merged for critical rendering === */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 88px;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 9998;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(27, 44, 84, .10);
    box-shadow: 0 18px 42px rgba(8, 19, 56, .18);
    
  }

  .mobile-bottom-nav a {
    min-height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    color: #1B2C54;
    font-size: 9.5px;
    font-weight: 900;
    text-decoration: none;
    transition: .18s ease;
  }

  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a:focus {
    background: #FFF1EA;
    color: #D96F4D;
  }

  .mobile-bottom-nav svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
  }

  .mobile-bottom-nav span {
    line-height: 1;
    white-space: nowrap;
  }

  /* Hide floating WhatsApp on mobile to avoid duplicate WhatsApp buttons */
  .whatsapp-float {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* === Accessibility and mobile Lighthouse refinements === */
.eyebrow,
.badge{
  background:#c2410c;
  color:#fff;
}

.meta{
  color:#9a3412;
}

.hero-dots,
.dots{
  align-items:center;
}

.hero-dot,
.dot{
  position:relative;
  width:44px;
  height:44px;
  border:0;
  border-radius:999px;
  background:transparent !important;
  padding:0;
  cursor:pointer;
}

.hero-dot::before,
.dot::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  border-radius:999px;
  transition:width .2s ease,height .2s ease,background-color .2s ease;
}

.hero-dot::before{
  width:11px;
  height:11px;
  background:rgba(255,255,255,.62);
}

.hero-dot.active::before{
  width:34px;
  height:11px;
  background:#F08A63;
}

.dot::before{
  width:9px;
  height:9px;
  background:rgba(255,255,255,.52);
}

.dot.active::before{
  width:28px;
  height:9px;
  background:#fff;
}

.latest-products-dot,
.related-products-dot{
  position:relative;
  width:44px;
  height:44px;
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
}

.latest-products-dot::before,
.related-products-dot::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:13px;
  height:13px;
  border-radius:999px;
  background:#d7deea;
  transition:width .2s ease,height .2s ease,background-color .2s ease;
}

.latest-products-dot.active::before{
  width:16px;
  height:16px;
  background:#2598ef;
}

.related-products-dot::before{
  width:12px;
  height:12px;
  background:#d8deea;
}

.related-products-dot.active::before{
  width:15px;
  height:15px;
  background:#D96F4D;
}

/* LCP-focused hero media: direct image element for faster discovery and responsive loading */
.hero-panel{background:none;}
.hero-panel::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(6,28,53,.94),rgba(8,40,74,.66),rgba(11,143,154,.18));pointer-events:none;}
.hero-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;}
.hero-content{z-index:3;}
