/* Daddy D Pro — CATCHY redesign theme.
   Bootstrap 5 handles layout; this file is the whole look:
   your colours #15486f + #1ba2cc, big display type, soft shadows,
   hover motion and a hero that actually sells the brand. */
:root {
  --navy: #15486f;
  --navy2: #0d3a5c;
  --teal: #1ba2cc;
  --teal-dark: #1487ab;
  --gold: #1ba2cc;
  --ink: #16283a;
  --muted: #5d6d7e;
  --bg: #f3f6fa;
  --card-shadow: 0 18px 40px rgba(21, 72, 111, .12);
}
* { -webkit-tap-highlight-color: transparent; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: var(--bg); }
h1, h2, h3, .display-font { font-family: 'Sora', 'Inter', sans-serif; letter-spacing: -.02em; }
a { text-decoration: none; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy); color: #cfe3f0; font-size: .85rem; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.brand-name { color: var(--navy); font-family: 'Sora', sans-serif; font-size: 1.45rem; }
.brand-tag { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-dark); font-weight: 700; }
.navbar { padding-top: .7rem; padding-bottom: .7rem; }
.navbar .nav-link { font-weight: 600; color: var(--ink) !important; margin: 0 .15rem; border-radius: 999px; padding: .5rem 1rem !important; }
.navbar .nav-link:hover, .navbar .nav-link.active { background: #e6f6f4; color: var(--teal-dark) !important; }
.search-pill { border-radius: 999px !important; padding: .6rem 1.1rem; border: 1.5px solid #dbe5ee; }
.search-pill:focus { border-color: var(--teal); box-shadow: 0 0 0 .25rem rgba(27, 162, 204, .18); }

/* ---------- Buttons ---------- */
.btn-primary {
  background: linear-gradient(135deg, var(--teal), #15486f);
  border: none; font-weight: 700; border-radius: 999px; padding: .7rem 1.6rem;
  box-shadow: 0 10px 22px rgba(27, 162, 204, .35); transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover, .btn-primary:focus { background: linear-gradient(135deg, #35b8de, var(--teal-dark)); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(27, 162, 204, .4); }
.btn-gold { background: var(--gold); color: #fff; border: none; font-weight: 800; border-radius: 999px; padding: .7rem 1.6rem; box-shadow: 0 10px 22px rgba(27, 162, 204, .35); transition: transform .15s ease; }
.btn-gold:hover { background: #35b8de; color: #fff; transform: translateY(-2px); }
.btn-outline-primary { border-radius: 999px; font-weight: 700; border-width: 1.5px; border-color: var(--navy); color: var(--navy); }
.btn-outline-primary:hover { background: var(--navy); border-color: var(--navy); }

/* ---------- Hero ---------- */
.hero-slide { height: 100vh; height: 100svh; min-height: 0; position: relative; overflow: hidden; background: var(--navy); }
.hero-img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: center; }
/* No dark overlay any more — the banner image shows clean, with no text on it. */
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(27, 162, 204, .16); border: 1px solid rgba(27, 162, 204, .5); color: #a5dff0; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; padding: .45rem .9rem; border-radius: 999px; }
.hero-title { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.02; font-weight: 800; }
.hero-title em { font-style: normal; color: var(--teal); }
.hero-lead { color: #d7e6f2; font-size: 1.15rem; max-width: 560px; }
.hero-stats { display: flex; gap: 2rem; margin-top: 1.8rem; }
.hero-stat b { display: block; color: #fff; font-size: 1.6rem; font-family: 'Sora', sans-serif; }
.hero-stat span { color: #a9c3d8; font-size: .85rem; }
@media (max-width: 768px) {
  .hero-slide { height: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .hero-stats { gap: 1.2rem; }
  .hero-stat b { font-size: 1.25rem; }
}

/* ---------- Marquee strip ---------- */
.marquee { background: var(--gold); color: #fff; overflow: hidden; white-space: nowrap; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .6rem 0; font-size: .9rem; }
.marquee-track { display: inline-block; animation: marquee 22s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section-eyebrow { color: var(--teal-dark); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; }
.section-title { font-weight: 800; font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
.section-title .accent { color: var(--teal); }
.animate-up { animation: fadeUp .7s ease both; }
.animate-up-2 { animation: fadeUp .7s .12s ease both; }
.animate-up-3 { animation: fadeUp .7s .24s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Category cards ---------- */
.category-card {
  background: linear-gradient(160deg, var(--navy2), var(--navy));
  color: #fff; border-radius: 1.4rem; padding: 1.6rem; height: 100%;
  position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid rgba(255, 255, 255, .08);
}
.category-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(27, 162, 204, .25); }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow); background: linear-gradient(160deg, #15486f, var(--navy)); color: #fff; }
.category-card .cat-num { color: #7dd3ec; font-weight: 800; font-size: .85rem; letter-spacing: .12em; }
.category-card .cat-name { font-size: 1.25rem; font-weight: 800; font-family: 'Sora', sans-serif; position: relative; z-index: 1; }
.category-card .cat-link { color: #9be8e0; font-weight: 700; position: relative; z-index: 1; }

/* ---------- Product cards ---------- */
.product-card { border: none; border-radius: 1.4rem; overflow: hidden; height: 100%; box-shadow: 0 8px 24px rgba(21, 72, 111, .07); transition: transform .2s ease, box-shadow .2s ease; background: #fff; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--card-shadow); }
.product-card .img-wrap { overflow: hidden; background: #fff; }
.product-card img { height: 240px; width: 100%; object-fit: contain; padding: 1.2rem; transition: transform .35s ease; }
.product-card:hover img { transform: scale(1.07); }
.product-code { display: inline-block; background: #e6f6f4; color: var(--teal-dark); font-weight: 800; letter-spacing: .04em; font-size: .78rem; padding: .3rem .7rem; border-radius: 999px; }
.product-card .card-body { padding: 1.25rem 1.4rem 1.4rem; }

/* ---------- Trust / why us ---------- */
.why-card { background: #fff; border-radius: 1.4rem; padding: 1.8rem; height: 100%; border-top: 5px solid var(--teal); box-shadow: 0 8px 24px rgba(21, 72, 111, .06); }
.why-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: #e6f6f4; margin-bottom: 1rem; }
.badge-cert { background: #fff; color: var(--navy); border: 1.5px solid #dbe5ee; font-weight: 700; }
.cta-band { background: linear-gradient(120deg, var(--navy), #15486f); border-radius: 1.6rem; color: #fff; }

/* ---------- Detail / forms ---------- */
.detail-img { max-height: 480px; width: 100%; object-fit: contain; background: #fff; border-radius: 1.4rem; box-shadow: var(--card-shadow); }
.form-control, .form-select { border-radius: .9rem; padding: .7rem 1rem; border: 1.5px solid #dbe5ee; }
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 .25rem rgba(27, 162, 204, .18); }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, var(--navy2), var(--navy)); color: #fff; }
.footer a { color: #cfe3f0; }
.footer a:hover { color: var(--gold); }
.footer-bottom { background: rgba(0, 0, 0, .25); }

/* ---------- Left-sidebar layout (like the original site) ---------- */
.sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; background:#000000; color: #fff; overflow-y: auto; z-index: 1040; padding: 1.5rem 1.2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.sidebar a { text-decoration: none; }
.sidebar-logo { text-align: center; }
.sidebar-logo img { max-height: 110px; width: auto; background: #fff; border-radius: 12px; padding: .5rem; display: block; margin: 0 auto .6rem; }
.sidebar-brand { display: block; color: #fff; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.3rem; }
.sidebar-tag { display: block; color: #7dd3ec; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.sidebar-search .form-control { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
.sidebar-search .form-control::placeholder { color: #b9d2e2; }
.sidebar-nav a { display: block; color: #d7e8f2; padding: .55rem .9rem; border-radius: .7rem; font-weight: 600; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--teal); color: #fff; }
.sidebar-heading { display: block; margin: 1rem .9rem .4rem; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: #7dd3ec; font-weight: 800; }
.sidebar-info { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 1rem; font-size: .9rem; color: #cfe3f0; }
.sidebar-certs { font-size: .8rem; color: #7dd3ec; font-weight: 700; }
.main-wrap { margin-left: 280px; min-width: 0; }
.demo-banner { margin-left: 280px; }
.mobile-topbar { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 4px 16px rgba(21, 72, 111, .12); padding: .7rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
@media (max-width: 991.98px) {
  .main-wrap, .demo-banner { margin-left: 0; }
  .sidebar { transform: translateX(-105%); transition: transform .25s ease; box-shadow: 20px 0 40px rgba(0, 0, 0, .3); }
  .sidebar.open { transform: none; }
  .sidebar-backdrop.open { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 1035; }
}

/* ---------- Full-screen banner slider controls ---------- */
.hero-slider .carousel-indicators { z-index: 3; margin-bottom: 1.5rem; }
.hero-slider .carousel-indicators button { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .6); border: 2px solid #fff; opacity: 1; }
.hero-slider .carousel-indicators button.active { background: var(--teal); width: 36px; border-radius: 999px; }
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { width: 64px; opacity: 1; z-index: 3; }
.hero-slider .carousel-control-prev-icon, .hero-slider .carousel-control-next-icon { width: 52px; height: 52px; border-radius: 50%; background-color: rgba(21, 72, 111, .75); background-size: 55% 55%; }
.hero-slider .carousel-control-prev-icon:hover, .hero-slider .carousel-control-next-icon:hover { background-color: var(--teal); }

/* ---------- Banner captions (slides 2 and 3 only; slide 1 stays clean) ---------- */
.hero-caption-box { background: rgba(21, 72, 111, .78); border-radius: 1.4rem; padding: 2rem; max-width: 620px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
@media (max-width: 768px) { .hero-caption-box { padding: 1.4rem; } .hero-caption-box .hero-title { font-size: 1.9rem; } }

/* ---------- Banner content: MOBILE ONLY (per Bader 2026-10-31) ---------- */
/* On desktop the banners show image only. On mobile (<=991px, when the
   sidebar is hidden) the orthopedic / neurosurgery caption appears. */
.hero-caption-box { display: none; }
@media (max-width: 991.98px) {
  .hero-caption-box { display: block; }
}

/* ---------- Responsive banners (fix for "banner images are not responsive") ---------- */
/* Why the old version failed on mobile: a background-image with
   background-size: cover + height: 100vh on a portrait phone (about
   390 x 844) crops roughly 3/4 of a 16:9 image away — only the centre
   strip was visible. Real <img> elements fix this:
   - Desktop (>=992px): full-screen height, cover — as requested before.
   - Mobile/tablet (<=991px): height is automatic from the image's own
     16:9 ratio, so the WHOLE image is visible, scaled to the screen
     width, with no cropping and no stretching. */
@media (max-width: 991.98px) {
  .hero-slide { height: auto !important; aspect-ratio: 16 / 9; min-height: 0; }
  .hero-img { height: 100%; object-fit: cover; }
  .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { width: 44px; }
  .hero-slider .carousel-control-prev-icon, .hero-slider .carousel-control-next-icon { width: 40px; height: 40px; }
  .hero-slider .carousel-indicators { margin-bottom: .75rem; }
}

/* =====================================================================
   v7 — design fixes
   ===================================================================== */
/* Brand colours instead of Bootstrap's default blue everywhere */
:root { --bs-primary: #15486f; --bs-primary-rgb: 21, 72, 111; --bs-link-color: #1487ab; --bs-link-hover-color: #15486f; --bs-link-color-rgb: 20, 135, 171; }
.breadcrumb { font-size: .9rem; }
.breadcrumb a { color: var(--teal-dark); }
.breadcrumb-item.active { color: var(--muted); }
.page-link { color: var(--navy); border-radius: 999px !important; margin: 0 3px; border: 1.5px solid #dbe5ee; min-width: 42px; text-align: center; }
.page-item.active .page-link { background: var(--navy); border-color: var(--navy); }
.page-link:hover { color: var(--teal-dark); background: #e6f6fb; }
.btn-outline-primary { --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--navy); }
.btn-outline-primary:hover { color: #fff; }
.main-wrap { overflow-x: hidden; }
.db-notice { background: #fff6dc; border-bottom: 1px solid #f0dc9c; padding: .55rem 1rem; text-align: center; margin-left: 280px; }
@media (max-width: 991.98px) { .db-notice { margin-left: 0; } }

/* Sidebar: brand navy instead of black, neat category list, icon search */
.sidebar { background: linear-gradient(180deg, #0d3a5c 0%, #15486f 100%); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav a { display: flex; align-items: center; gap: .55rem; padding: .5rem .8rem; font-size: .93rem; line-height: 1.3; }
.sidebar-nav a .bi { opacity: .8; flex-shrink: 0; }
.sidebar-nav a small { margin-left: auto; font-size: .75rem; color: #9ccbe3; font-weight: 600; }
.sidebar-nav a.active small, .sidebar-nav a:hover small { color: #fff; }
.sidebar-nav .sidebar-cat .bi { font-size: .7rem; }
.sidebar-search { position: relative; display: flex; align-items: center; }
.sidebar-search > .bi-search { position: absolute; left: .9rem; color: #b9d2e2; pointer-events: none; }
.sidebar-search .form-control { padding-left: 2.3rem; padding-right: 3rem; border-radius: 999px; }
.sidebar-search .btn { position: absolute; right: 4px; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: var(--teal); color: #fff; border: 0; }
.sidebar-search .btn:hover { background: #35b8de; }
.sidebar-info a { color: #fff; }
.sidebar-info .bi { color: #7dd3ec; margin-right: .2rem; }

/* Mobile top bar: compact, one line */
.mobile-topbar { padding: .55rem .9rem; }
.topbar-icon { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid #dbe5ee; background: #fff; color: var(--navy); display: grid; place-items: center; font-size: 1.45rem; flex-shrink: 0; }
.topbar-icon--cta { background: var(--navy); border-color: var(--navy); color: #fff; font-size: 1.15rem; }
.mobile-brand { display: flex; align-items: center; gap: .5rem; color: var(--navy); font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.mobile-brand img { border-radius: 50%; background: #fff; }

/* Banner: show the WHOLE image on every screen (no cropped text) */
.hero-slide, .hero-slide[style] { height: auto !important; aspect-ratio: 1621 / 916; min-height: 0; background: #0d3a5c; }
.hero-img { width: 100%; height: 100% !important; object-fit: contain !important; }

/* Product cards: same height, buttons aligned at the bottom */
.product-card { display: flex; flex-direction: column; }
.product-card .img-wrap { background: linear-gradient(180deg, #fff, #f3f8fc); }
.product-card img { height: 220px; }
.product-title { font-size: .98rem; font-weight: 700; line-height: 1.35; margin: .4rem 0 .9rem; font-family: 'Inter', sans-serif; letter-spacing: 0; }
.product-title a { color: var(--ink); }
.product-title a:hover { color: var(--teal-dark); }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.product-actions .btn { padding: .5rem .6rem; font-size: .85rem; box-shadow: none; white-space: nowrap; }
@media (max-width: 575.98px) { .product-actions { grid-template-columns: 1fr; } .product-card img { height: 160px; padding: .8rem; } .product-card .card-body { padding: .9rem; } }

/* Catalogue page */
.catalog-search { position: relative; display: flex; gap: .5rem; align-items: center; margin-bottom: 1.6rem; max-width: 640px; }
.catalog-search > .bi-search { position: absolute; left: 1rem; color: var(--muted); }
.catalog-search .form-control { padding-left: 2.6rem; border-radius: 999px; }
.catalog-search .btn { flex-shrink: 0; padding: .65rem 1.4rem; }
.cat-chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1rem; scrollbar-width: none; }
.cat-chips a { flex-shrink: 0; padding: .45rem .95rem; border-radius: 999px; border: 1.5px solid #dbe5ee; background: #fff; color: var(--navy); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.cat-chips a.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Detail page */
.enquiry-card { border: 0; border-radius: 1.4rem; box-shadow: 0 8px 24px rgba(21, 72, 111, .08); }
.detail-img { padding: 1.5rem; }

/* Icons in cards / back to top */
.why-icon { color: var(--teal-dark); font-size: 1.5rem; }
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 1030; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 1.2rem; box-shadow: 0 10px 24px rgba(21, 72, 111, .35); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--teal); transform: translateY(-2px); }
.footer .bi { color: #7dd3ec; }
.marquee { background: var(--teal); }
