/* ================================================================
   DMS Healthcare | style.css
   Fonts loaded via Google Fonts in each HTML page <head>
   ================================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --clr-primary:      #0F1B46;   /* Deep navy — primary brand colour          */
  --clr-dark:         #09122E;   /* Darker navy — top-bar, page-hero bg       */
  --clr-accent:       #00A4DF;   /* Sky blue — highlights, hovers, icons      */
  --clr-accent-light: #E6F6FD;   /* Very light blue — label & icon bg tints   */
  --clr-gold:         #D4A840;   /* Gold — star ratings (unchanged)           */
  --clr-text:         #1A2235;   /* Near-black with blue undertone            */
  --clr-muted:        #5B7280;   /* Neutral grey for body copy                */
  --clr-bg:           #F5F8FF;   /* Off-white with subtle blue tint           */
  --clr-white:        #FFFFFF;
  --clr-border:       #D0DCF0;   /* Light blue-grey border                    */
  --clr-footer:       #070E25;   /* Very dark navy footer                     */

  --gradient:         linear-gradient(135deg, #0F1B46 0%, #00A4DF 100%);
  --shadow-sm:        0 2px 12px rgba(15,27,70,.10);
  --shadow-md:        0 8px 32px rgba(15,27,70,.15);
  --shadow-lg:        0 20px 60px rgba(15,27,70,.20);
  --radius:           12px;
  --radius-lg:        20px;
  --ease:             all .35s cubic-bezier(.4,0,.2,1);

  --font-display:     'Playfair Display', Georgia, serif;
  --font-body:        'DM Sans', 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---------- Layout Utilities ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.text-center{ text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 600; border: none;
  transition: var(--ease); letter-spacing: .3px; white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 20px rgba(0,164,223,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,164,223,.45); }
.btn-outline { background: transparent; color: var(--clr-primary); border: 2px solid var(--clr-primary); }
.btn-outline:hover { background: var(--clr-primary); color: #fff; }
.btn-white { background: #fff; color: var(--clr-primary); box-shadow: var(--shadow-sm); }
.btn-white:hover { background: var(--clr-accent-light); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.28); }

/* ---------- Section Labels & Headings ---------- */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--clr-accent-light); color: var(--clr-primary);
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 6px 18px; border-radius: 50px;
  margin-bottom: 14px;
}
.section-label::before {
  content: ''; width: 6px; height: 6px;
  background: var(--clr-accent); border-radius: 50%;
}
.section-label.light {background: rgb(255 255 255);}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700; line-height: 1.2; margin-bottom: 16px;
}
.section-title span { color: var(--clr-primary); }
.section-title.on-dark { color: #fff; }
.section-title.on-dark span { color: var(--clr-accent); }

.section-desc { font-size: 17px; color: var(--clr-muted); max-width: 600px; margin: 0 auto 40px; }
.section-desc.on-dark { color: rgba(255,255,255,.72); }

.divider { width: 60px; height: 4px; background: var(--gradient); border-radius: 2px; margin: 16px 0 32px; }
.divider.center { margin-left: auto; margin-right: auto; }

/* ================================================================
   TOP BAR
   ================================================================ */
#top-bar {
  background: var(--clr-dark);
  color: rgba(255,255,255,.85);
  font-size: 13.5px; padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.top-contact   { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.top-contact a, .top-contact span {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.85); transition: color .2s;
}
.top-contact a:hover { color: var(--clr-accent); }
.top-contact svg { width: 15px; height: 15px; flex-shrink: 0; }
.top-social { display: flex; gap: 10px; align-items: center; }
.top-social a {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; transition: var(--ease);
}
.top-social a:hover { background: var(--clr-accent); transform: scale(1.1); }
.top-social svg { width: 14px; height: 14px; }

/* ================================================================
   HEADER / NAV
   ================================================================ */
#main-header {
  background: #fff; position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(15,27,70,.10);
  transition: box-shadow .3s;
}
#main-header.scrolled { box-shadow: 0 4px 30px rgba(15,27,70,.18); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; max-width: 1200px; margin: 0 auto; height: 80px;
}

/* Logo — PNG image */
.logo { display: flex; align-items: center; }

/* Header logo */
.main-logo {
  height: 62px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity .25s;
}
.main-logo:hover { opacity: .88; }

/* Mobile nav logo */
.mobile-logo {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Footer logo — inverted white on dark background */
.footer-logo {
  height: 111px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 16px;
}

/* Desktop Nav */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: block; padding: 10px 18px; font-size: 15px; font-weight: 500;
  color: var(--clr-text); border-radius: 8px; transition: var(--ease);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--clr-primary); background: var(--clr-accent-light); }
.nav-link.active { font-weight: 600; }
.nav-cta { margin-left: 12px; padding: 10px 24px !important; font-size: 14px !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; border-radius: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2.5px;
  background: var(--clr-primary); border-radius: 2px; transition: var(--ease);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5.5px); }

/* Mobile Nav Drawer */
.mob-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 1999;
}
.mob-overlay.open { display: block; }

.mobile-nav {
  display: none; position: fixed; top: 0; right: -100%; width: 280px;
  height: 100vh; background: #fff; z-index: 2000;
  box-shadow: -10px 0 40px rgba(0,0,0,.15);
  flex-direction: column; padding: 80px 24px 40px;
  transition: right .4s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav { display: flex; } /* always flex, slide via right */
.mobile-nav.open { right: 0; }

.mob-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; font-size: 24px; color: var(--clr-text); padding: 8px;
}
.mobile-nav .mobile-logo { margin-bottom: 28px; display: block; }
.mob-link {
  display: block; padding: 14px 0; font-size: 16px; font-weight: 500;
  color: var(--clr-text); border-bottom: 1px solid var(--clr-border);
  transition: color .2s;
}
.mob-link:hover, .mob-link.active { color: var(--clr-primary); }
.mob-link.active { font-weight: 600; }
.mobile-nav .btn { margin-top: 24px; justify-content: center; }

/* ================================================================
   HERO SLIDER
   ================================================================ */
/* ================================================================
   HERO SLIDER — Image Only
   ================================================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* Height auto-follows image aspect ratio; clamp for very tall/short screens */
  max-height: 600px;
  background: #f0f0f0;
  line-height: 0; /* remove inline-block gap */
}

/* Each slide stacks absolutely; first is the size reference */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}
/* First slide stays in flow so the section has natural height */
.slide:first-child {
  position: relative;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}

/* The banner image fills the slide 100% wide */
.slide-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* First child image drives the layout height */
.slide:first-child .slide-img {
  height: auto;
  max-height: 600px;
}

/* Dot controls */
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.55);
  border: 2px solid rgba(255,255,255,.8);
  cursor: pointer;
  transition: all .35s ease;
}
.dot.active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  width: 28px;
  border-radius: 5px;
}

/* ================================================================
   STATS STRIP
   ================================================================ */
.stats-strip { background: var(--gradient); padding: 28px 0; }
.stats-grid  { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; }
.stat-item   { padding: 16px 20px; border-right: 1px solid rgba(255,255,255,.2); }
.stat-item:last-child { border-right: none; }
.stat-num    { font-family: var(--font-display); font-size: 38px; font-weight: 800; color: #fff; line-height: 1; }
.stat-label  { font-size: 13px; color: rgba(255,255,255,.80); font-weight: 500; margin-top: 4px; }

/* ================================================================
   ABOUT SNIPPET (Home)
   ================================================================ */
.about-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap  { position: relative; }
.about-img-main  {border-radius: var(--radius-lg);overflow: hidden;box-shadow: var(--shadow-lg);/* aspect-ratio: 4/3; */}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gradient); color: #fff; border-radius: var(--radius);
  padding: 20px 28px; box-shadow: var(--shadow-md); text-align: center;
}
.about-img-badge .num { font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: 1; }
.about-img-badge .lbl { font-size: 12px; font-weight: 600; letter-spacing: 1px; opacity: .9; }

.feature-list { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.feature-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px; border-radius: var(--radius);
  border: 1px solid var(--clr-border); background: var(--clr-bg); transition: var(--ease);
}
.feature-item:hover { border-color: var(--clr-accent); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--gradient); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; color: #fff; }
.feature-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.feature-text p  { font-size: 13.5px; color: var(--clr-muted); }

/* ================================================================
   PRODUCT CATEGORIES GRID (Home)
   ================================================================ */
.categories-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.cat-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px 24px;
  text-align: center; border: 1px solid var(--clr-border);
  transition: var(--ease); position: relative; overflow: hidden;
}
.cat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gradient); transform: scaleX(0); transition: transform .35s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card:hover::before { transform: scaleX(1); }
.cat-icon {
  width: 70px; height: 70px; border-radius: 18px;
  background: var(--clr-accent-light); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; transition: var(--ease);
}
.cat-icon svg { width: 34px; height: 34px; color: var(--clr-primary); transition: color .3s; }
.cat-card:hover .cat-icon { background: var(--gradient); }
.cat-card:hover .cat-icon svg { color: #fff; }
.cat-name  { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.cat-count { font-size: 13px; color: var(--clr-muted); }
.cat-desc  { font-size: 13.5px; color: var(--clr-muted); margin-top: 10px; }
.cat-link  { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--clr-primary); transition: gap .2s; }
.cat-card:hover .cat-link { gap: 8px; }

/* ================================================================
   WHY CHOOSE US
   ================================================================ */
.why-us { background: var(--clr-dark); position: relative; overflow: hidden; }
.why-us::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%; background: rgba(0,164,223,.07); pointer-events: none;
}
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.why-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; transition: var(--ease);
}
.why-card:hover { background: rgba(0,164,223,.12); border-color: rgba(0,164,223,.3); transform: translateY(-4px); }
.why-card-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(0,164,223,.15); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; border: 1px solid rgba(0,164,223,.25);
}
.why-card-icon svg { width: 30px; height: 30px; color: var(--clr-accent); }
.why-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.why-card p  { font-size: 14.5px; color: rgba(255,255,255,.65); line-height: 1.7; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card {
  background: var(--clr-bg); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 32px; transition: var(--ease);
}
.testi-card:hover { box-shadow: var(--shadow-md); border-color: var(--clr-accent); }
.testi-stars { font-size: 18px; color: var(--clr-gold); margin-bottom: 16px; letter-spacing: 3px; }
.testi-text  { font-size: 15px; color: var(--clr-muted); line-height: 1.75; font-style: italic; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 15px; }
.testi-role { font-size: 13px; color: var(--clr-muted); }

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner { background: var(--gradient); padding: 70px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ''; position: absolute; top: -50%; left: -10%;
  width: 60%; height: 200%; border-radius: 50%; background: rgba(255,255,255,.05);
}
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(24px,4vw,40px); font-weight: 800; color: #fff; margin-bottom: 16px; position: relative; }
.cta-banner p  { color: rgba(255,255,255,.85); font-size: 17px; margin-bottom: 36px; position: relative; }
.cta-actions   { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ================================================================
   FOOTER
   ================================================================ */
#main-footer { background: var(--clr-footer); color: rgba(255,255,255,.75); }
.footer-top  { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }

.footer-brand p { font-size: 14.5px; line-height: 1.75; margin: 18px 0 24px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: var(--ease);
}
.footer-social a:hover { background: var(--clr-accent); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }

.footer-col h4 {
  font-size: 15px; font-weight: 700; color: #fff;
  margin-bottom: 20px; padding-bottom: 12px; position: relative;
}
.footer-col h4::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 36px; height: 2px; background: var(--clr-accent);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px; color: rgba(255,255,255,.65); transition: color .2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before { content: '›'; color: var(--clr-accent); font-size: 16px; }
.footer-links a:hover { color: var(--clr-accent); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; margin-bottom: 14px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--clr-accent); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a:hover { color: var(--clr-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13.5px; }
.footer-bottom a { color: var(--clr-accent); }

/* ================================================================
   PAGE HERO (Inner pages)
   ================================================================ */
.page-hero { background: var(--clr-dark); padding: 80px 0 70px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%; background: rgba(0,164,223,.10);
}
.page-hero-inner { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.breadcrumb a { color: var(--clr-accent); }
.breadcrumb span { color: rgba(255,255,255,.4); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(30px,5vw,54px); font-weight: 800; color: #fff; margin-bottom: 14px; }
.page-hero p  { font-size: 17px; color: rgba(255,255,255,.75); max-width: 600px; }

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-img  { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }

.stats-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-mini  { background: var(--clr-bg); border: 1px solid var(--clr-border); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat-mini .num { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--clr-primary); }
.stat-mini .lbl { font-size: 14px; color: var(--clr-muted); margin-top: 4px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
  background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius-lg);
  padding: 40px 36px; transition: var(--ease); position: relative; overflow: hidden;
}
.mv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--gradient); }
.mv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.mv-card-icon { width: 60px; height: 60px; border-radius: 14px; background: var(--clr-accent-light); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.mv-card-icon svg { width: 28px; height: 28px; color: var(--clr-primary); }
.mv-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.mv-card p  { font-size: 15px; color: var(--clr-muted); line-height: 1.8; }

.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.team-card { background: var(--clr-bg); border: 1px solid var(--clr-border); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; transition: var(--ease); }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-family: var(--font-display); font-size: 28px; font-weight: 800; color: #fff; }
.team-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team-pos  { font-size: 13px; color: var(--clr-muted); }
.team-bio  { font-size: 13px; color: var(--clr-muted); margin-top: 10px; line-height: 1.7; }

.cert-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.cert-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px 24px; text-align: center; transition: var(--ease); }
.cert-card:hover { background: rgba(0,164,223,.15); border-color: var(--clr-accent); }
.cert-card svg { width: 44px; height: 44px; color: var(--clr-accent); margin: 0 auto 16px; }
.cert-card h4 { font-size: 15px; font-weight: 700; color: #fff; }
.cert-card p  { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 8px; }

/* ================================================================
   PRODUCTS PAGE
   ================================================================ */
.products-filter { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; justify-content: center; }
.filter-btn {
  padding: 9px 22px; border-radius: 50px; font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--clr-border); background: #fff; color: var(--clr-text); transition: var(--ease);
}
.filter-btn:hover, .filter-btn.active { background: var(--clr-primary); color: #fff; border-color: var(--clr-primary); }

.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.product-card  { background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--ease); }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }

.product-img { aspect-ratio: 4/3; background: var(--clr-accent-light); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-img svg { width: 60px; height: 60px; color: var(--clr-primary); opacity: .55; }
.product-tag { position: absolute; top: 12px; left: 12px; background: var(--gradient); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 4px 10px; border-radius: 50px; }

.product-body        { padding: 20px; }
.product-name        { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.product-composition { font-size: 12.5px; color: var(--clr-muted); margin-bottom: 12px; line-height: 1.5; }
.product-footer      { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--clr-border); }
.product-type        { font-size: 12px; color: var(--clr-primary); font-weight: 600; }
.product-enquire     { font-size: 12px; font-weight: 600; color: var(--clr-primary); display: flex; align-items: center; gap: 4px; transition: gap .2s; }
.product-card:hover .product-enquire { gap: 8px; }

.enquiry-cta { background: #fff; border: 1px solid var(--clr-border); border-radius: 24px; padding: 48px; box-shadow: var(--shadow-sm); text-align: center; margin-top: 60px; }
.enquiry-cta h3 { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.enquiry-cta p  { color: var(--clr-muted); font-size: 16px; max-width: 500px; margin: 0 auto 28px; }
.enquiry-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius-lg); padding: 28px; display: flex; align-items: flex-start; gap: 18px; transition: var(--ease); }
.contact-card:hover { box-shadow: var(--shadow-md); border-color: var(--clr-accent); }
.contact-card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--gradient); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card-icon svg { width: 24px; height: 24px; color: #fff; }
.contact-card-text h4  { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.contact-card-text p, .contact-card-text a { font-size: 14.5px; color: var(--clr-muted); }
.contact-card-text a:hover { color: var(--clr-primary); }
.contact-card-text .note { font-size: 13px; margin-top: 4px; }

.biz-hours { background: var(--clr-bg); border: 1px solid var(--clr-border); border-radius: var(--radius); padding: 28px; }
.biz-hours h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.biz-hours h4 svg { width: 18px; height: 18px; color: var(--clr-primary); }
.biz-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.biz-row .day { color: var(--clr-muted); }
.biz-row .time { font-weight: 600; }
.biz-row .closed { color: var(--clr-muted); }

.contact-form-wrap { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--clr-border); }
.contact-form-wrap h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 28px; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--clr-border);
  border-radius: 10px; font-family: var(--font-body); font-size: 14.5px;
  color: var(--clr-text); background: var(--clr-bg); outline: none; transition: border-color .25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--clr-primary); background: #fff; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; padding: 14px; justify-content: center; }

.form-success {
  background: #e6f9f2; border: 1px solid #6fcf97; border-radius: 10px;
  padding: 16px 20px; color: #1a7a4a; font-weight: 600;
  display: none; align-items: center; gap: 10px; margin-top: 16px;
}
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

.map-wrap { height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

.contact-help-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .65s ease, transform .65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .10s; }
.delay-2 { transition-delay: .20s; }
.delay-3 { transition-delay: .30s; }
.delay-4 { transition-delay: .40s; }

/* Back to Top */
#back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient); color: #fff; border: none; font-size: 20px;
  box-shadow: var(--shadow-md); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 900;
}
#back-to-top.show { opacity: 1; pointer-events: auto; }

/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */
@media (max-width: 1100px) {
  .categories-grid   { grid-template-columns: repeat(2, 1fr); }
  .team-grid         { grid-template-columns: repeat(2, 1fr); }
  .cert-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .products-grid     { grid-template-columns: repeat(3, 1fr); }
  .contact-help-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .about-home-grid { grid-template-columns: 1fr; }
  .story-grid      { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: 1fr 1fr; }
  .testi-grid      { grid-template-columns: 1fr; }
  .mv-grid         { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .form-row        { grid-template-columns: 1fr; }
  .products-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-slider { max-height: 320px; }
  .section { padding: 56px 0; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid        { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; }
  .products-grid   { grid-template-columns: repeat(2, 1fr); }
  .top-bar-inner   { justify-content: center; }
  .top-contact     { justify-content: center; gap: 14px; }
  .about-img-badge { position: static; margin-top: 20px; display: inline-block; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid   { grid-template-columns: 1fr; }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .cert-grid       { grid-template-columns: 1fr; }
  .team-grid       { grid-template-columns: 1fr; }
  .slide-actions   { flex-direction: column; align-items: flex-start; }
  .container       { padding: 0 16px; }
  .contact-form-wrap { padding: 24px; }
  .enquiry-cta     { padding: 28px 20px; }
}

/* Scrollbar */
::-webkit-scrollbar       { width: 7px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--clr-primary); border-radius: 4px; }
