/* =========================
   BASE RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: transparent;
  color: #1a1a1a;
  overflow-x: hidden;
  line-height: 1.6;
  padding-top: 110px;
}

/* soft medical glow background disabled in favor of medical-bg canvas */
body::before,
body::after {
  display: none;
}

/* =========================
   GLOBAL
========================= */
section {
  padding: 70px 8%;
  position: relative;
}

h2 {
  font-size: 40px;
  margin-bottom: 30px;
  text-align: center;
  color: #0f172a;
  letter-spacing: 0.5px;
}

p {
  color: #64748b;
  font-size: 16px;
}

/* =========================
   GLOBAL IMAGE FIX
========================= */
img {
  max-width: 100%;
  display: block;
}

/* =========================
   NAVBAR (PRO BLUE HEADER)
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 8%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: #0284c7;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 4px solid #ef4444;
}

/* LOGO */
.logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* NAV */
nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: #e0f2fe;
  font-weight: 500;
  transition: 0.3s;
}

/* hover */
nav ul li a:hover {
  color: #ffffff;
}

/* ACTIVE LINK */
nav ul li a.active {
  color: #ffffff;
  font-weight: 600;
}

/* CTA BUTTON */
.cta {
  background: #ffffff !important;
  color: #0284c7 !important;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  border: 1.5px solid #ffffff;
  transition: all 0.3s ease;
}

.cta:hover {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  transform: translateY(-2px);
}

/* OUTLINE BUTTON IN HEADER */
.btn.outline {
  border: 1.5px solid #ffffff !important;
  color: #ffffff !important;
  background: transparent !important;
  padding: 8px 20px !important;
  border-radius: 20px !important;
  font-weight: 500 !important;
  margin: 0 !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
}

.btn.outline:hover {
  background: #ffffff !important;
  color: #0284c7 !important;
  transform: translateY(-2px) !important;
}

/* TABLET / MEDIUM VIEWPORTS - PREVENT NAVBAR LINK WRAPPING */
@media (min-width: 769px) and (max-width: 1200px) {
  .navbar {
    padding: 14px 4% !important;
  }
  nav ul {
    gap: 15px !important;
  }
  nav ul li a {
    font-size: 14px !important;
  }
}

/* MOBILE HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: #ffffff;
  cursor: pointer;
}

/* NAV LINK UNDERLINE EFFECT */
.navbar a {
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #ffffff;
  transition: 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

.navbar a:hover {
  transform: translateY(-2px);
}

/* =========================
   HERO (HOSPITAL STYLE PREMIUM)
========================= */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
  background: transparent;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 58px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.15;
}

.hero h1 span {
  color: #0ea5e9;
}

.hero p {
  margin-top: 20px;
  font-size: 18px;
  max-width: 750px;
  margin-inline: auto;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.hero-image img {
  transition: opacity 0.8s ease-in-out;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
  max-width: 450px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* =========================
   BUTTONS (MODERN UI)
========================= */
.btn {
  padding: 14px 34px;
  border-radius: 35px;
  text-decoration: none;
  margin: 10px;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
}

.primary {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.3) !important;
  border: none;
}

.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.4) !important;
  background: linear-gradient(135deg, #0369a1, #0284c7) !important;
}

.secondary {
  border: 2px solid #0369a1 !important;
  color: #0369a1 !important;
  background: transparent !important;
}

.secondary:hover {
  background: #0369a1 !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(3, 105, 161, 0.2) !important;
}

/* =========================
   ABOUT SECTION (PRO LEVEL LAYOUT)
========================= */
.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #0f172a;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
  transition: 0.4s;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* =========================
   CLIENTS (GREY MEDICAL STYLE)
========================= */
.clients {
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.client-logos {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.client-logos img {
  width: 120px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: 0.3s;
}

.client-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* =========================
   STATS (LUXURY CARD STYLE)
========================= */
.stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  text-align: center;
  padding: 60px 8%;
  background: linear-gradient(180deg, #f1f5f9, #ffffff);
  border-radius: 30px;
  margin: 20px 8%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
}

.stat-box h2 {
  font-size: 46px;
  color: #0ea5e9;
}

/* =========================
   PRODUCTS (MEDICAL SHOWCASE CARDS)
========================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: 0.4s;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.category-card {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.7) !important;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04) !important;
}

.category-card:hover {
  background: rgba(255, 255, 255, 0.7) !important;
  border-color: #0ea5e9 !important;
}

.category-card img {
  width: 100%;
  height: 230px;
  object-fit: contain !important;
  background: transparent !important;
  padding: 15px;
  transition: transform 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}


/* =========================
   WHY SECTION (PROFESSIONAL)
========================= */
.why-grid {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.why-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  width: 280px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #f0f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #0ea5e9;
  transition: all 0.3s ease;
}

.why-card:hover .why-icon {
  background: #0ea5e9;
  color: #ffffff;
  transform: translateY(-2px);
}

.why-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* subtle top accent line */
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: #0ea5e9;
  transition: 0.3s ease;
  border-radius: 14px 14px 0 0;
}

/* hover effect */
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.12);
  border-color: #0ea5e9;
}

/* top accent line animation */
.why-card:hover::before {
  width: 100%;
}

/* heading styling */
.why-card h3 {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
  transition: 0.3s ease;
}

/* heading hover */
.why-card:hover h3 {
  color: #0ea5e9;
}

/* paragraph */
.why-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

/* =========================
   TESTIMONIALS
========================= */
.testimonial-grid {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonial {
  background: #fff;
  padding: 28px;
  width: 320px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: #0ea5e9;
  transition: 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.12);
  border-color: #0ea5e9;
}

.testimonial:hover::before {
  width: 100%;
}

.testimonial p {
  color: #475569;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial h4 {
  color: #0f172a;
  font-weight: 600;
  margin-bottom: 8px;
}

.testimonial .stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
  text-align: center;
  margin-top: 10px;
}

/* =========================
   CONTACT
========================= */
.contact-box {
  max-width: 560px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

#successMsg {
  background: #dcfce7;
  color: #166534;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #86efac;
  font-size: 14px;
}

/* =========================
   NOTICE BAR
========================= */
.notice-bar {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(14, 165, 233, 0.12);
  border-top: 1px solid rgba(14, 165, 233, 0.3);
  border-bottom: 1px solid rgba(14, 165, 233, 0.3);
  color: #0ea5e9;
  font-weight: 500;
  height: 40px;
  font-size: 14px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* moving text */
.notice-bar::before {
  content: "🚧 Website is currently under construction — some features may not work properly 🚧";
  white-space: nowrap;
  animation: moveText 12s linear infinite;
}

@keyframes moveText {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}


/* =========================
   FOOTER
========================= */
.footer {
  background: #111827;
  color: white;
  padding: 40px 8%;
}

.footer a {
  color: #cbd5e1;
}

.footer a:hover {
  color: #0ea5e9;
}

.footer .copyright {
  text-align: center;
  margin-top: 80px;
  color: #94a3b8;
}

/* =========================
   FOOTER GRID (4-COLUMN)
========================= */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.footer-grid div {
  min-width: 0;
}

.footer-grid h3,
.footer-grid h4 {
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-grid p {
  color: #cbd5e1;
  font-size: 14px;
  margin: 6px 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #94a3b8;
}

/* =========================
   FEATURED EQUIPMENT
========================= */
.featured-equipment {
  padding: 60px 8%;
  background: #f1f5f9;
}

.featured-equipment h2 {
  text-align: center;
  font-size: 36px;
  color: #0f172a;
  margin-bottom: 35px;
}

/* GRID */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.featured-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  border-color: #0ea5e9;
}

.featured-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: transparent;
  padding: 15px;
  display: block;
  transition: 0.4s ease;
}

.featured-card:hover img {
  transform: scale(1.05);
}

/* TEXT */
.featured-content {
  padding: 18px;
}

.featured-content h3 {
  color: #0f172a;
  font-size: 18px;
  margin-bottom: 8px;
  transition: 0.3s ease;
}

.featured-card:hover h3 {
  color: #0ea5e9;
}

.featured-content p {
  font-size: 14px;
  color: #64748b;
}

/* =========================
   LATEST EQUIPMENT SECTION
========================= */
.latest {
  padding: 60px 8%;
  background: #f1f5f9;
}

.latest h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 40px;
  color: #0f172a;
}

/* GRID */
.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* CARD */
.latest-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: 0.3s ease;
}

/* IMAGE */
.latest-card .img-box {
  height: 200px;
  overflow: hidden;
}

.latest-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  padding: 15px;
  transition: 0.4s ease;
}

/* TEXT */
.latest-card h3 {
  padding: 15px 15px 5px;
  color: #0ea5e9;
}

.latest-card p {
  padding: 0 15px 15px;
  font-size: 14px;
  color: #475569;
}

/* HOVER EFFECT */
.latest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(2, 132, 199, 0.15);
  border-color: #0ea5e9;
}

.latest-card:hover img {
  transform: scale(1.06);
}

.latest-card:hover h3 {
  color: #0284c7;
}

/* =========================
   TRUSTED BRANDS
========================= */
.brands-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.brand-item {
  padding: 15px 30px;
  background: #f8fafc;
  border-radius: 8px;
  font-weight: 700;
  font-size: 20px;
  color: #64748b;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: 0.3s;
}
.brand-item:hover {
  background: #0ea5e9;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}

/* =========================
   COMPREHENSIVE SERVICES
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.service-card {
  background: #f8fafc;
  padding: 30px;
  border-radius: 16px;
  text-align: left;
  transition: 0.3s;
  border: 1px solid transparent;
}
.service-card:hover {
  background: white;
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
}
.service-icon {
  font-size: 40px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 20px;
  color: #0f172a;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* =========================
   NEWSLETTER
========================= */
.newsletter-form input:focus {
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3);
}

/* =========================
   RESPONSIVE — FOOTER
========================= */
@media (max-width: 1100px) {
  .footer-grid {
    gap: 20px;
  }

  .footer-grid p {
    font-size: 13px;
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-equipment {
    padding: 60px 5%;
  }

  .featured-equipment h2 {
    font-size: 28px;
  }
}

/* =========================
   RESPONSIVE — MOBILE (768px)
========================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  #nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0284c7;
    z-index: 9999;
  }

  #nav-menu.active {
    display: block !important;
  }

  #nav-menu ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
  }

  #nav-menu ul li {
    margin: 15px 0;
  }

  #nav-menu ul li a {
    color: white !important;
    font-size: 16px;
    font-weight: 500;
  }

  #nav-menu ul li a:hover {
    color: #e0f2fe !important;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 20px;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 10px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 15px;
    max-width: 100%;
  }

  .hero img {
    width: 85%;
    max-width: 300px;
    height: auto;
    margin-top: 15px;
    border-radius: 16px;
    object-fit: cover;
  }

  .navbar {
    padding: 12px 20px;
  }

  .logo {
    font-size: 20px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .stats {
    flex-direction: column;
    margin: 20px;
  }

  .product-grid,
  .category-grid,
  .hospital-contact-grid,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .card img {
    height: 180px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  textarea {
    grid-column: span 1;
  }

  .item {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  section {
    padding: 70px 20px;
  }

  h2 {
    font-size: 26px;
  }

  p {
    font-size: 14px;
  }

  body {
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}

/* Clear fixed navbar overlap on secondary pages */
.about-container, 
.policy-container, 
.product-container, 
.cart-container, 
#productDetail, 
#cartDetail {
  margin-top: 110px !important;
}

/* Mobile menu fixes */
.mobile-menu,
.nav-links,
.sidebar-menu,
.menu-panel{
    position: fixed !important;
    top:0 !important;
    right:-100%;
    width:80%;
    max-width:320px;
    height:100vh !important;
    overflow-y:auto !important;
    z-index:999999 !important;
    transition:0.3s ease;
}

.mobile-menu.active,
.nav-links.active,
.sidebar-menu.active,
.menu-panel.active{
    right:0 !important;
}

/* Scroll buttons */
.scroll-top-btn,
.scroll-bottom-btn{
    width:48px !important;
    height:48px !important;
    border-radius:50%;
    position:fixed;
    right:18px;
    z-index:99999;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.scroll-top-btn{
    bottom:110px;
}

.scroll-bottom-btn{
    bottom:50px;
}

/* Keep chat widget visible */
iframe,
.chat-widget,
.tawk-min-container{
    z-index:9999 !important;
}


/* PROFESSIONAL LOGO POSITION FIX */
.navbar{
display:flex;
align-items:center;
justify-content:space-between;
padding:14px 40px;
}
.logo{
display:flex;
align-items:center;
justify-content:flex-start;
margin-right:auto;
}
.logo img{
width:240px !important;
max-width:240px !important;
height:auto !important;
display:block;
object-fit:contain;
}

.footer-brand{
display:flex;
flex-direction:column;
align-items:flex-start;
}

.f-logo{
display:block;
margin-bottom:20px;
}

.f-logo img{
width:260px !important;
max-width:260px !important;
height:auto !important;
display:block;
object-fit:contain;
}

@media(max-width:768px){
.logo img{
width:180px !important;
max-width:180px !important;
}
.f-logo img{
width:200px !important;
max-width:200px !important;
}
.navbar{
padding:12px 20px;
}
}
