/* ==================== FILE: assets/css/style.css ==================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Outfit:wght@300..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  /* Colors */
  --clr-primary: #DF192A;
  --clr-secondary: #FF6B35;
  --clr-accent: #C4200D;
  --clr-accent-muted: #c41f0dc5;
  --clr-bg: #FFFFFF;
  --clr-surface: #FFF8F6;
  --clr-text-dark: #00008B;
  --clr-text-muted: #3030a3;
  --clr-border: #FFE8E0;
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  /* Transitions */
  --trans-default: none;

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text-dark);
  background-color: var(--clr-bg);
  line-height: 1.6;
  overflow-x: hidden;
  border-top: 5px solid var(--clr-primary);
  /* Signature First Design Accent */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--clr-text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans-default);
}

ul {
  list-style: none;
}

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

/* Global Animations & Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

body.app-loaded {
  overflow: auto;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--clr-text-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: pulse-loader 1.5s infinite;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 0px;
  font-size: 2.2rem;
  font-weight: 900;
  color: #DF192A;
}

.super {
  margin: 5px;
  padding: 2px;
  font-size: 0.5rem;
  border: 2px solid red;
  border-radius: 50%;
  align-items: center;
}

.loader-logo i {
  color: var(--clr-primary);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--clr-border);
  border-top-color: var(--clr-primary);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-loader {
  50% {
    opacity: 0.5;
  }
}


body.app-loaded .reveal {
  opacity: 1;
  transform: translateY(0);
}

/* DELAY REVEAL REMOVED (keeping it instant but animated) */
body.app-loaded .hero-content .reveal {
  transition-delay: 0s;
}

body.app-loaded .hero-image .reveal {
  transition-delay: 0s;
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}


.hero-slogan {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.hero-subtext {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--clr-text-muted);
  max-width: 600px;
  margin-bottom: 40px;
}

/* Icons & Images */
.hero-image {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 12px 15px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans-default);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--clr-primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--clr-accent);
  transition: all 0.3s ease;
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}

.btn-outline:hover {
  background-color: var(--clr-primary);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 15px rgba(232, 50, 10, 0.3);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Logo image */
.logo-img {
  height: 50px;
  width: auto;
}

/* Text container */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* Main title */
.brand-title {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* SalusCare (Red) */
.brand-title .salus {
  color: #e53935;
  /* red */
}

/* Pharma (Blue) */
.brand-title .pharma {
  color: #1a237e;
  /* deep blue */
  margin-left: 5px;
}

.brand-title .tm {
  display: inline-block;
  position: relative;
  height: 18px;
  width: 18px;
  top: -8px;
  /* 🔥 move up properly */
  left: -5px;
  /* 🔥 pull closer to text */

  margin: 0;
}

.brand-title .tm-img {
  width: 16px;
  /* adjust size */
  height: 16px;
  object-fit: contain;
  display: block;
}

/* Tagline */
.tagline {
  margin: 0;
  font-size: 0.9rem;
  color: #e53935;
  font-style: italic;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar.scrolled {
  top: 0;
  padding: 12px 5%;
  box-shadow: 0 5px 20px rgba(33, 2, 119, 0.1);
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 950;
  color: var(--clr-text-dark);
  display: flex;

  align-items: center;
  line-height: 1;
}

.nav-brand img {
  height: 70px;
  width: auto;
  border-radius: 5px;
}

.nav-brand i {
  color: var(--clr-primary);
  font-size: 2.2rem;
}

.nav-links {
  display: flex;
  gap: 30px;
  position: relative;
}

.nav-links a {
  font-weight: 600;
  color: var(--clr-text-muted);
  position: relative;
  padding-bottom: 5px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-primary);
}

.nav-indicator {
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 3px;
  background-color: var(--clr-primary);
  width: 0;
  transition: left 0.3s ease, width 0.3s ease;
  border-radius: 3px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--clr-text-dark);
  width: 70px;
  height: 60px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2500;
}

.hamburger i {
  pointer-events: none;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  padding: 30px 5% 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  position: relative;
  overflow: hidden;
  background-image: url('../assets/lab-header-bg.png');
  /* ELITE LAB BACKGROUND */
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0.7) 100%);
  z-index: 1;
}

.hero-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(232, 50, 10, 0.9), #DF192A),
    /* BOLD Elite Brand Overlay */
    url('../hero_pro_bg.png');
  /* ELITE LAB IMAGERY */
  background-size: cover;
  background-position: center;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 10;
  /* Hero Shape Layer */
  transform: none;
  transition: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.hero-shape-content {
  position: relative;
  z-index: 100;
  /* Content on TOP */
  text-align: center;
  width: 100%;
  height: 100%;
  /* Fill the shape and center */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-medical-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.hero-medical-icons i {
  position: absolute;
  opacity: 0.05;
  /* ELITE SUBTLETY */
  color: #fff;
}

/* Peripheral Zone Positioning */
.hero-medical-icons i:nth-child(1) {
  font-size: 8rem;
  top: 5%;
  left: 22%;
}

.hero-medical-icons i:nth-child(2) {
  font-size: 10rem;
  top: 12%;
  right: 5%;
}

.hero-medical-icons i:nth-child(3) {
  font-size: 7rem;
  bottom: 8%;
  left: 10%;
}

.hero-medical-icons i:nth-child(4) {
  font-size: 11rem;
  top: 35%;
  left: 5%;
  opacity: 0.03;
}

.hero-medical-icons i:nth-child(5) {
  font-size: 14rem;
  bottom: 0%;
  right: 0%;
  opacity: 0.05;
}

.hero-medical-icons i:nth-child(6) {
  font-size: 6rem;
  top: -5%;
  left: 45%;
}

.hero-medical-icons i:nth-child(7) {
  font-size: 9rem;
  bottom: 15%;
  right: 25%;
  opacity: 0.04;
}

.hero-medical-icons i:nth-child(8) {
  font-size: 8rem;
  top: 25%;
  right: 5%;
}

body.app-loaded .hero-shape {
  transform: translateX(0);
  /* END POSITION: HOME */
}

.hero-shape-text.stylish-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 0.75;
  user-select: none;
  pointer-events: none;
  z-index: 200;
  margin: 0;
  transform: translateX(40px);
  /* Adjust for clip-path */
}

.layer {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 10px;
}

.layer.main {
  color: #fff;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  z-index: 10;
  transform: scale(1.05);
  /* Make the main one slightly larger */
}

.layer.outline-1 {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4);
  color: transparent;
  z-index: 5;
}

.layer.outline-2 {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.15);
  color: transparent;
  z-index: 2;
}

.pharma-tag {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 18px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 25px;
  display: block;
}

.hero-shape-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 100;
}

.hero-medical-icons {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.4);
  transform: rotate(-10deg) translateX(20px);
}

.hero-medical-icons i {
  animation: iconFloat 4s ease-in-out infinite alternate;
}

.hero-medical-icons i:nth-child(2) {
  animation-delay: 1s;
}

.hero-medical-icons i:nth-child(3) {
  animation-delay: 2s;
}

@keyframes iconFloat {
  from {
    transform: translateY(0);
    opacity: 0.4;
  }

  to {
    transform: translateY(-15px);
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--clr-primary);
}

.badge-pill {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--clr-surface);
  color: var(--clr-primary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid var(--clr-border);
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--clr-primary);
}

.typewriter-box {
  display: inline-block;
  border: 2px solid var(--clr-border);
  padding: 5px 15px;
  border-radius: 8px;
  color: var(--clr-primary);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 20px;
  min-width: 200px;
  text-align: center;
}

.typewriter-text::after {
  content: '|';
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero p {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.trust-badges {
  display: flex;
  gap: 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text-muted);
}

.trust-badge i {
  color: var(--clr-primary);
  font-size: 1.2rem;
}

.abstract-pharma {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* Background layer within its parent */
  pointer-events: none;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
  /* Much more visible and professional */
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: floatShapes 8s ease-in-out infinite;
  mix-blend-mode: overlay;
}

@keyframes floatShapes {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Stats Strip - Dashboard Style */
.stats-strip.dashboard-style {
  background: rgb(6, 6, 92);
  padding: 80px 5%;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: var(--trans-default);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: var(--clr-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.stat-data .counter {
  font-size: 2.2rem;
  font-weight: 950;
  line-height: 1;
}

.stat-data p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
  margin-top: 5px;
}

/* Common Section padding */
.section-padding {
  padding: 30px 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Therapeutic Specializations */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 15px;
  background: var(--clr-surface);
  color: var(--clr-primary);
  border-radius: 50px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  max-width: 1200px;
  margin: 0 auto 0;
  font-style: italic;
  text-align: center;
}

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

.mobile-goals-img,
.mobile-partner-img {
  display: none;
}

.category-card {
  background: #fff;
  padding: 50px 40px;
  border-radius: 20px;
  border: 1px solid var(--clr-border);
  /* transition: var(--trans-default); */
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--clr-primary);
  transform: scaleX(0);
  transition: transform 0.6s ease;
  transform-origin: left;
}

.category-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.category-card:hover::before {
  transform: scaleX(1);
}

/* User Custom Images */
.cat-img-banner {
  width: calc(100% + 80px);
  max-width: none !important;
  height: 240px;
  object-fit: fit;
  object-position: center;
  background-color: #f8f9fa;
  /* Slight background in case of empty space */
  margin: -50px -40px 20px -40px;
  /* Offset the 40px padding of category-card */
  border-bottom: 3px solid var(--clr-primary);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card:hover .cat-img-banner {
  transform: scale(1.08);
  /* Professional zoom on hover */
}

.cat-icon {
  font-size: 2.8rem;
  color: var(--clr-primary);
  margin-bottom: 25px;
}

.category-card h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  font-weight: 900;
}

.category-card p {
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 30px;
}

.cat-link {
  font-weight: 800;
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-link i {
  transition: transform 0.3s ease;
}

.cat-link:hover i {
  transform: translateX(10px);
}

.view-more-card {
  background: var(--clr-surface);
  border-style: dashed;
  border-width: 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Partnership Section */
.partnership-section {
  overflow: hidden;
}

.partnership-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px 80px;
  align-items: center;
}

.partnership-heading {
  grid-column: 1;
  font-size: 3rem;
  font-weight: 950;
  line-height: 1.05;
  color: #fff;
}

.partnership-content {
  grid-column: 1;
}

.partnership-visual {
  grid-column: 2;
  grid-row: 1 / 3;
}

.partnership-pill {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 50px;
  font-size: 1.05rem;
}

.partnership-pill i {
  color: #fff;
  font-size: 1.2rem;
}

.elite-frame {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.elite-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Professional photo fit */
  transition: transform 0.6s ease;
}

.elite-frame:hover img {
  transform: scale(1.05);
}

.partnership-visual {
  position: relative;
}

.frame-content h4 {
  font-size: 2rem;
  margin-top: -50px;
  margin-bottom: 15px;
}

/* Marquee */
.marquee-container {
  background: var(--clr-surface);
  padding: 40px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.marquee-content {
  display: inline-block;
  animation: scroll-x 20s linear infinite;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  margin: 0 40px;
  opacity: 0.6;
  font-family: var(--font-heading);
}

.marquee-item i {
  color: var(--clr-primary);
}

@keyframes scroll-x {
  0% {
    transform: translateX(0);
  }

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

/* Inner Page Hero - First Design Revert */
.inner-hero {
  padding: 160px 5% 80px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.inner-hero::before {
  display: none;
  /* Pure Gradient Original Look */
}

.inner-hero h1,
.inner-hero .breadcrumb {
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  /* Text shadow for clarity over raw image */
}

.inner-hero h1,
.inner-hero .breadcrumb {
  position: relative;
  z-index: 2;
}

.inner-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumb {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 500;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}

.breadcrumb a:hover {
  border-bottom-color: #fff;
}

/* About - Mission/Vision */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.mv-card {
  position: relative;
  padding: 40px;
  background: var(--clr-surface);
  border-radius: 12px;
}

.mv-number {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 6rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--clr-primary);
  opacity: 0.1;
  line-height: 1;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--clr-border);
  transform: translateX(-50%);
  transform-origin: top;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 50%;
  padding-right: 40px;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding-right: 0;
  padding-left: 40px;
}

.timeline-icon {
  position: absolute;
  top: 0;
  right: -25px;
  width: 50px;
  height: 50px;
  background: var(--clr-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 2;
}

.timeline-item:nth-child(even) .timeline-icon {
  left: -25px;
  right: auto;
}

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

.team-card {
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: var(--trans-default);
}

.team-card:hover {
  border-color: var(--clr-primary);
}

.team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--clr-text-muted);
}

.team-social a {
  color: var(--clr-primary);
  margin-top: 10px;
  display: inline-block;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.cert-card {
  background: var(--clr-surface);
  padding: 30px;
  border-radius: 8px;
  align-items: center;
  text-align: center;
  filter: grayscale(100%);
  transition: var(--trans-default);
}

.cert-card:hover {
  filter: grayscale(0%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cert-card i {
  font-size: 3rem;
  color: var(--clr-primary);
  margin-bottom: 15px;
}

.icon-img {
  display: block;
  margin: 0 auto 10px;
  width: auto;
  /* same size as icon */
  height: 50px;
  object-fit: contain;
  align-items: center;
}

/* .cert-card:hover .icon-img {
  filter: brightness(0) saturate(100%) invert(24%) sepia(95%) saturate(6000%) hue-rotate(350deg) brightness(95%) contrast(100%);
} */

.brand-quote {
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  margin: 10px;
  color: #e53935;
  position: relative;
  padding: 10px 20px;
  letter-spacing: 0.5px;
  text-align: center;
}

#moreText {
  display: none;
  transition: all 0.3s ease;
}

.read-btn {
  margin-top: 8px;
  background: none;
  border: none;
  color: #e53935;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.read-btn:hover {
  text-decoration: underline;
}

/* Products */
.product-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  cursor: pointer;
  font-weight: 600;
  transition: var(--trans-default);
}

.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(3, 1fr);
  gap: 30px;
}

.product-card {
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 25px;
  background: var(--clr-bg);
  display: block;
}

.product-card.hidden {
  display: none;
}

.prod-img-banner {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #f9f5f4;
  padding: 10px;
}

.product-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--clr-primary);
}

.product-badge {
  display: inline-block;
  font-size: 0.8rem;
  padding: 4px 10px;
  background: var(--clr-surface);
  color: var(--clr-primary);
  border-radius: 4px;
  margin-bottom: 15px;
  font-weight: 600;
  transition: transform 0.3s;
}

.product-card:hover .product-badge {
  transform: translateY(-3px);
}

.product-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #FFE8E0, #fff);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.product-name {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.product-comp {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.product-pack {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-surface);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-default);
}

.product-card:hover .btn-icon {
  background: var(--clr-primary);
  color: #fff;
}

/* Quality Policy */
.policy-quote {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-style: italic;
  border-left: 4px solid var(--clr-primary);
  padding-left: 30px;
  color: var(--clr-text-muted);
  margin-bottom: 60px;
}

.quality-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.pillar-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 20px;
  background: var(--clr-surface);
  border-radius: 8px;
}

.pillar-item i {
  color: var(--clr-primary);
  font-size: 1.5rem;
  margin-top: 3px;
}

/* Careers */
.jobs-accordion {
  max-width: 800px;
  margin: 0 auto 60px;
}

.job-card {
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.job-header {
  padding: 20px;
  background: var(--clr-bg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-info {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.job-title {
  font-size: 1.2rem;
  margin: 0;
}

.job-badges span {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  margin-right: 5px;
  background: var(--clr-surface);
  color: var(--clr-text-muted);
}

.job-chevron {
  transition: transform 0.3s;
}

.job-card.active .job-chevron {
  transform: rotate(180deg);
}

.job-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--clr-surface);
}

.job-content {
  padding: 40px;
  border-top: 1px solid var(--clr-border);
}

.job-content ul {
  padding-left: 20px;
  list-style-type: none;
  margin: 15px 0;
}

.job-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
}

.job-content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--clr-primary);
  position: absolute;
  left: 0;
}

.salary-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 15px;
  border: 1px solid var(--clr-primary);
  color: var(--clr-primary);
  font-weight: 700;
  border-radius: 4px;
  margin: 15px 0;
}

/* Forms */
.apply-section,
.enquiry-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: var(--clr-surface);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  font-family: var(--font-body);
  transition: var(--trans-default);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(232, 50, 10, 0.1);
}

.file-drop-zone {
  border: 2px dashed var(--clr-primary);
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--trans-default);
}

.file-drop-zone.drag-over {
  background: rgba(232, 50, 10, 0.05);
}

.file-drop-zone i {
  font-size: 3rem;
  color: var(--clr-primary);
  margin-bottom: 15px;
}

.file-drop-zone input[type="file"] {
  display: none;
}

.btn-block {
  width: 100%;
  display: block;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--clr-surface);
  border-radius: 8px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--clr-primary);
  flex-shrink: 0;
}

.social-row {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-surface);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}


.social-icon:hover {
  background: var(--clr-primary);
  color: #fff;
}

.map-container {
  width: 100%;
  height: 450px;
  background: #eee;
  margin-top: 50px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Floating Button */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--clr-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(232, 50, 10, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 50, 10, 0.6);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(232, 50, 10, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(232, 50, 10, 0);
  }
}

/* Footer - First Design Orange Theme */
footer {
  background-color: rgb(6, 6, 92);
  color: #FFFFFF;
  padding: 100px 5% 50px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-item .icon {
    color: var(--clr-primary);
    min-width: 20px;
    font-size: 16px;
    margin-top: 3px;
}

.contact-item .text {
    color: #ccc;
    line-height: 1.5;
}

.footer-note {
    color: #aaaaaa;
    font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-logo {
  color: #fff;
  margin-bottom: 25px;
}

.footer-col img {
  height: 80px;
  width: auto;
}

.footer-col h4 {
  color: var(--clr-primary);
  font-size: 1.4rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
  text-align: left !important;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--clr-primary);
  transition: all 0.3s ease;
}


.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #BBBBBB;
}

.footer-links a:hover {
  color: var(--clr-primary);
  padding-left: 5px;
}

.footer-links i,
.footer-links svg {
  color: var(--clr-primary);
  margin-right: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

.footer-bottom a:hover {
  color: var(--clr-primary);
}

/* Responsive Overhauls */
@media (max-width: 991px) {

  /* Hide desktop */
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  /* Hamburger */
  .hamburger {
    display: flex !important;
    width: 70px;
    height: 60px;
    margin-right: -10px;
    z-index: 2500;
  }

  /* ============================= */
  /* MENU OPEN */
  /* ============================= */

  .navbar.menu-open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    /* ✅ FIX */
    /* align-items: stretch; */
    overflow-y: auto;
  }

  /* Remove unwanted spacing */
  .nav-links,
  .nav-actions {
    margin: 0;
  }

  /* Menu links */
  .navbar.menu-open .nav-links {
    margin-top: 10px;
    /* ✅ reduce gap */
    padding: 10px 5%;
    gap: 15px;
  }

  /* Buttons */
  .navbar.menu-open .nav-actions {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    /* ✅ control spacing */
    padding: 10px 5%;
    gap: 10px;
  }


  .navbar.menu-open .nav-links li a {
    font-size: 1.2rem;
    color: var(--clr-text-dark);
    padding: 10px 0;
    display: block;
  }

  /* ============================= */
  /* MERGE BUTTONS INTO SAME BOX */
  /* ============================= */
  /* Buttons full width */
  .navbar.menu-open .nav-actions .btn {
    width: 100%;
    display: block;
  }

  .brand-title {
    font-size: 1rem;
  }

  .tagline {
    font-size: 0.7rem;
  }

  /* Indicator off */
  .nav-indicator {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 5% 60px;
    min-height: 100vh;
  }

  .hero-content {
    order: 1;
    width: 100%;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    text-align: center !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero p,
  .hero-slogan,
  .hero-subtext {
    margin: 0 0 30px 0;
    max-width: 100%;
    text-align: center !important;
  }

  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .trust-badges {
    justify-content: center;
    flex-wrap: wrap;
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .category-grid,
  .footer-grid,
  .partnership-grid {
    grid-template-columns: 1fr;
  }

  .mobile-goals-img,
  .mobile-partner-img {
    display: block;
  }

  .about-visual,
  .index-visual {
    display: none !important;
  }

  .footer-col {
    text-align: left !important;
  }

  .footer-col img {
    height: 70px;
    width: auto;
  }

  .footer-col h4::after {
    left: 0;
  }
}

@media (max-width: 456px) {

  .stats-strip,
  .features-grid,
  .team-grid,
  .products-grid,
  .contact-grid,
  .footer-grid,
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .logo-text {
    font-size: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    width: 90%;
    margin: 10px auto;
    padding: 0;
  }

  .hero-content {
    padding: 0;
  }

  .product-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 per row */
    gap: 12px;
    padding: 15px;
  }

  .filter-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    border-radius: 30px;
  }

  .job-info {
    flex-direction: column;
    align-items: start;
  }

  .job-title {
    font-size: 1.1rem !important;
    margin: 0;
  }

  .job-badges {
    display: flex;
    flex-direction: column;
  }

  .job-content p {
    text-align: justify;
  }

  .hero-content h1 {
    font-size: 2rem;
    text-wrap: wrap;

  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .contact-info-card {
    flex-direction: column;
    align-items: center;
  }
}




@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ELITE INNER HERO - Related Background Images */
.inner-hero {
  padding: 180px 5% 80px;
  background-color: var(--clr-primary);
  background-image:
    linear-gradient(rgba(0, 43, 91, 0.9), rgba(232, 50, 10, 0.7)),
    /* RICH BOLD Corporate Overlay */
    url('../inner_hero_bg.png');
  /* ELITE LAB BACKGROUND IMAGE */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Parallax effect for "Elite" feel */
  text-align: center;
  color: #fff;
  /* PURE WHITE TEXT */
  position: relative;
  overflow: hidden;
  z-index: 50;
  /* Ensure it stays above any Ghost elements */
}

.inner-hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.inner-hero .breadcrumb {
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.9;
  color: #fff;
}

.inner-hero .breadcrumb a {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--clr-primary);
  padding-bottom: 2px;
  transition: opacity 0.3s;
}

.inner-hero .breadcrumb a:hover {
  opacity: 0.8;
}

.inner-hero .breadcrumb a:hover {
  border-color: var(--clr-primary);
}

/* ELITE SUBSCRIPTION - NEAT & ELITE LOOK */
.subscription-section {
  background: var(--clr-surface);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.subscription-container {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  background: #fff;
  padding: 60px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.sub-text2 {
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 2px;
  color: #ac0210ff;
  margin-left: 0;
  margin-top: 5px;
  text-transform: uppercase;
}

.sub-text h2 {
  font-size: 2.5rem;
  font-weight: 950;
  color: var(--clr-text-dark);
  margin-bottom: 15px;
  line-height: 1.1;
}

.sub-text p {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
}

.elite-sub-form {
  display: flex;
  gap: 15px;
}

.elite-sub-form .input-group {
  flex: 1;
  position: relative;
}

.elite-sub-form .input-group i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-primary);
}

.elite-sub-form input {
  width: 100%;
  padding: 18px 18px 18px 50px;
  border-radius: 50px;
  border: 2px solid rgba(0, 0, 0, 0.05);
  background: #f9f9f9;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.elite-sub-form input:focus {
  outline: none;
  border-color: var(--clr-primary);
  background: #fff;
}

.elite-sub-form .btn {
  padding: 18px 20px;
  border-radius: 50px;
  white-space: nowrap;
  font-size: 16px;
}

@media (max-width: 992px) {
  .subscription-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 20px;
  }
}

/* FLOATING WHATSAPP BUTTON - WHITE CIRCLE WITH ICON */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  animation: jump 2.5s infinite ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
}

.floating-btn i {
  font-size: 2.2rem;
  color: #25D366;
}

/* ==================== CONSOLIDATED RESPONSIVE DESIGN ==================== */

@media (max-width: 1200px) {
  .hero-shape-text {
    font-size: 3.8rem;
    letter-spacing: 8px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }
}

/* Tablet & Vertical Layouts */
@media (max-width: 992px) {
  .navbar {
    padding: 15px 5%;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .navbar.menu-open .nav-links {
    display: flex !important;
    flex-direction: column;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 40px 5%;
    border-top: 1px solid var(--clr-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999 !important;
    /* Extremely high z-index to avoid overlaps */
    gap: 30px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 30px;
    min-height: auto;
  }

  .hero-content {
    order: 1;
    margin: 0 auto 30px auto;
    text-align: center;
    width: 100%;
  }

  .hero-shape {
    order: 2;
    position: relative;
    width: 100%;
    height: 300px;
    clip-path: none;
    border-radius: 20px;
    margin: 0 auto 20px auto;
    right: auto;
    left: auto;
  }

  /* Scatter icons neatly in corners without overlapping the title */
  .hero-medical-icons {
    transform: none;
    opacity: 1;
  }

  .hero-medical-icons i:nth-child(1) {
    font-size: 3rem;
    top: 15%;
    left: 5%;
  }

  .hero-medical-icons i:nth-child(2) {
    font-size: 4rem;
    top: 10%;
    right: 5%;
  }

  .hero-medical-icons i:nth-child(3) {
    font-size: 3rem;
    bottom: 15%;
    left: 10%;
  }

  .hero-medical-icons i:nth-child(5) {
    font-size: 3.5rem;
    bottom: 10%;
    right: 5%;
  }

  .hero-medical-icons i:nth-child(4),
  .hero-medical-icons i:nth-child(6),
  .hero-medical-icons i:nth-child(7),
  .hero-medical-icons i:nth-child(8) {
    display: none;
  }

  .hero-shape-text {
    font-size: 2.8rem;
    padding-left: 0;
    letter-spacing: 6px;
  }

  .hero-shape-text span {
    font-size: 1.4rem;
    letter-spacing: 8px;
  }

  .stats-strip.dashboard-style {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .mv-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Standard Mobile */
@media (max-width: 750px) {

  /* ====== GLOBAL MOBILE CENTER ALIGNMENT ====== */
  h1,
  h2,
  h3,
  h4,
  p,
  .section-title,
  .section-subtitle,
  .badge-pill,
  .hero-slogan,
  .hero-subtext {
    text-align: center;
  }

  .nav-brand {
    gap: 8px;
  }

  .logo-img {
    height: 40px;
    /* smaller logo */
  }

  .brand-title {
    font-size: 1.5rem;
    text-align: left;
    letter-spacing: 0.5px;
    line-height: normal;
  }

  .brand-title .pharma {
    margin-left: 50px;
  }

  .tagline {
    font-size: 0.65rem;
    text-align: left;
  }

  .tm {
    top: -8px;
  }

  .tm-img {
    width: 11px;
    height: 11px;
  }

  .mv-card p {
    text-align: justify !important;
  }

  .uncom p {
    text-align: justify !important;
    padding: 20px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-btns {
    width: 100%;
  }

  .stats-strip.dashboard-style,
  .category-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Common Section padding */
  .section-padding {
    padding: 50px 4%;
  }

  .enquiry-section {
    padding: 30px;
  }


}

/* Small Phones */
@media (max-width: 480px) {
  body {
    margin: 10px auto;
    padding: 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-shape {
    height: 280px;
    margin-bottom: 40px;
    background:
      linear-gradient(135deg, rgba(232, 50, 10, 0.7), rgba(255, 17, 0, 0.664)),
      url('../hero_pro_bg.png');
    background-size: cover;
    background-position: center;
  }

  .hero-shape-text {
    font-size: 2rem;
    letter-spacing: 4px;
  }

  .elite-sub-form {
    flex-direction: column;
  }

  .hero-shape-text span {
    font-size: 1.1rem;
    letter-spacing: 6px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .inner-hero {
    padding: 140px 5% 60px;
  }

  .inner-hero h1 {
    font-size: 2.2rem;
  }

  .sub-text2 {
    font-size: 0.5rem;
  }
}

/* Ultra Small Phones (e.g. older iPhones, cover screens) */
@media (max-width: 360px) {
  * {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  h1,
  h2,
  h3,
  .section-title,
  .partnership-heading {
    font-size: 1.6rem;
  }

  .footer-col h4,
  .hero-shape-text {
    font-size: 1.2rem !important;
  }

  .hero-shape-text span {
    font-size: 0.9rem !important;
  }

  .elite-sub-form .input-group input {
    font-size: 0.8rem;
  }
}

/* ==================== SPECIALTY MODAL STYLES ==================== */
.specialty-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.specialty-modal.active {
  opacity: 1;
  visibility: visible;
}

.specialty-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.specialty-modal-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
}

.specialty-modal.active .specialty-modal-content {
  transform: translateY(0) scale(1);
}

.specialty-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fff;
  color: var(--clr-text-dark);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: all 0.3s ease;
}

.specialty-modal-close:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: scale(1.1);
}

.specialty-modal-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.specialty-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: fit;
  background-color: #f8f9fa;
}

.specialty-modal-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, #fff, transparent);
}

.specialty-modal-info {
  padding: 0 40px 40px;
  position: relative;
  text-align: center;
}

.specialty-modal-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--clr-primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  margin: -40px auto 20px;
  position: relative;
  z-index: 2;
  border: 4px solid var(--clr-surface);
}

.specialty-modal-info h3 {
  font-size: 1.8rem;
  color: var(--clr-text-dark);
  margin-bottom: 15px;
}

.specialty-modal-info p {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.category-card[data-specialty] {
  cursor: pointer;
}

.category-card[data-specialty]:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.error {
  border: 1px solid red !important;
}

.error-text {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

/* Modal Background */
#applyModal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* Modal Box */
#applyModal .modal-content {
  background: #fff;
  width: 90%;
  max-width: 600px;
  align-items: center;
  margin: 5vh auto;
  padding: 25px;
  border-radius: 10px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

/* Close Button */
#applyModal .close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

/* Business Enquiry */

/* ============================= */
/* COMMON STYLES (ALL DEVICES) */
/* ============================= */

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ============================= */
/* DESKTOP (1024px and above) */
/* ============================= */

@media (min-width: 1024px) {
  .form-row {
    flex-direction: row;
  }
}

/* ============================= */
/* TABLET (768px - 1023px) */
/* ============================= */

@media (max-width: 1023px) and (min-width: 768px) {
  .form-row {
    flex-direction: row;
    gap: 15px;
  }

  .form-group input {
    font-size: 0.9rem;
    padding: 11px;
  }
}

/* ============================= */
/* MOBILE (below 768px) */
/* ============================= */

@media (max-width: 767px) {

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

  .form-group {
    width: 100%;
  }

  .form-group input {
    width: 100%;
    font-size: 0.9rem;
    padding: 12px;
  }

  #visitor_phone {
    font-size: 0.9rem;
  }

  #otp_message {
    font-size: 0.8rem;
  }
}


/* ============================= */
/* PRODUCT SECTION */
/* ============================= */

.product-section {
  margin: 30px 0;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.product-section h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: #00008B
}

/* ============================= */
/* PRODUCT ROW CARD */
/* ============================= */

.product-row {
  background: #fdfdfd;
  padding: 25px;
  border-radius: 16px;
  margin-bottom: 25px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

/* ============================= */
/* REMOVE BUTTON */
/* ============================= */

.remove-product-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fff;
  border: 1px solid #d9534f;
  color: #d9534f;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.remove-product-btn:hover {
  background: #d9534f;
  color: #fff;
  transform: scale(1.1);
}

/* ============================= */
/* GRID LAYOUT */
/* ============================= */

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============================= */
/* FORM ELEMENTS */
/* ============================= */

.product-row .form-group {
  display: flex;
  flex-direction: column;
}

.product-row input,
.product-row select {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
}

.product-row input:focus,
.product-row select:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 2px rgba(26, 122, 64, 0.1);
}

/* ============================= */
/* PRODUCT NAME UI */
/* ============================= */

.product-name-placeholder {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #aaa;
  font-size: 0.95rem;
  background: #f9f9f9;
}

.product-no-results {
  margin-top: 8px;
  padding: 9px 14px;
  background: #fff8ed;
  border: 1px solid #f5a623;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #b96d00;
}

.manual-toggle-wrap {
  margin-top: 6px;
  text-align: right;
}

.manual-toggle-link {
  font-size: 0.82rem;
  color: var(--clr-primary);
  text-decoration: none;
}

/* ============================= */
/* ADD BUTTON */
/* ============================= */

#add-product-btn {
  border-radius: 24px;
  padding: 10px 24px;
  font-weight: 600;
  border: 2px dashed #ccc;
  color: #555;
  background: transparent;
  transition: all 0.3s ease;
}

#add-product-btn:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: rgba(26, 122, 64, 0.05);
  transform: scale(1.05);
}

/* ============================= */
/* TABLET */
/* ============================= */

@media (max-width: 1023px) {

  .product-grid {
    gap: 15px;
  }

  .product-row {
    padding: 20px;
  }
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 767px) {

  .product-grid {
    grid-template-columns: 1fr;
    /* stack */
  }

  .product-row {
    padding: 18px;
  }

  .product-row input,
  .product-row select {
    font-size: 0.9rem;
    padding: 11px;
  }

  .remove-product-btn {
    width: 26px;
    height: 26px;
  }

  #add-product-btn {
    width: 100%;
  }


}