/* ============================================
   MediKale Enterprises - Complete Redesign
   Modern Medical Solutions Website
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #0A7E8C;
  --primary-dark: #065A64;
  --primary-light: #0FA3B4;
  --accent: #E8475F;
  --navy: #0B1D3A;
  --navy-light: #132B52;
  --text-dark: #1A1A2E;
  --text-body: #3D3D5C;
  --text-light: #6B6B8D;
  --bg-white: #FFFFFF;
  --bg-light: #F7F9FC;
  --bg-warm: #FAFBFE;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(11,29,58,0.06);
  --shadow-md: 0 4px 14px rgba(11,29,58,0.08);
  --shadow-lg: 0 10px 40px rgba(11,29,58,0.12);
  --shadow-xl: 0 20px 60px rgba(11,29,58,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: var(--font-body);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(10,126,140,0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(10,126,140,0.4);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn svg, .btn .btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn:hover svg,
.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  transition: padding var(--transition);
}

.header.scrolled .header-inner {
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.85;
}

.logo-img {
  height: 40px;
  width: auto;
}

.header .logo-dark {
  display: none;
}

.header .logo-white {
  display: block;
}

.header.scrolled .logo-dark {
  display: block;
}

.header.scrolled .logo-white {
  display: none;
}

/* Legacy text logo - hidden when SVG present */
.logo-icon {
  display: none;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: 50px;
  transition: all var(--transition);
  position: relative;
}

.header.scrolled .nav-links a {
  color: var(--text-body);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
  color: var(--primary);
  background: rgba(10,126,140,0.08);
}

.nav-cta {
  margin-left: 12px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.88rem;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--text-body) !important;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.nav-dropdown-menu a:hover {
  background: var(--bg-light) !important;
  color: var(--primary) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.header.scrolled .menu-toggle span {
  background: var(--navy);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0d2847 50%, var(--navy-light) 100%);
  overflow: hidden;
}

/* Cinematic Video Background */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-video.loaded {
  opacity: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(11, 29, 58, 0.62) 0%,
      rgba(13, 40, 71, 0.52) 40%,
      rgba(6, 90, 100, 0.48) 100%
    );
  z-index: 1;
}

/* Fallback poster image (hidden when video plays) */
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

/* Cinematic vignette - subtle edge darkening only */
.hero-video-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(11, 29, 58, 0.35) 100%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(10,126,140,0.1) 0%, transparent 60%);
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,126,140,0.2);
  border: 1px solid rgba(10,126,140,0.3);
  padding: 8px 16px;
  border-radius: 50px;
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.15;
  font-weight: 800;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary-light), #4dd9e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
}

.hero-stat .stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 0;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.hero-visual-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.hero-visual-icon {
  width: 260px;
  height: 260px;
  margin: 0 auto 24px;
  position: relative;
}

.hero-visual-icon svg {
  width: 100%;
  height: 100%;
}

.dna-helix {
  width: 100%;
  height: 100%;
  position: relative;
}

.dna-strand {
  position: absolute;
  width: 4px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  animation: float 4s ease-in-out infinite;
}

.hero-float-card:nth-child(1) {
  top: 20px;
  right: -40px;
  animation-delay: 0s;
}

.hero-float-card:nth-child(2) {
  bottom: 40px;
  left: -30px;
  animation-delay: 1.5s;
}

.hero-float-card .float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.float-icon.green {
  background: rgba(16,185,129,0.2);
  color: #10b981;
}

.float-icon.blue {
  background: rgba(59,130,246,0.2);
  color: #3b82f6;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- Services / Solutions Section --- */
.services {
  background: var(--bg-light);
}

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

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

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

.service-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.service-icon.teal {
  background: rgba(10,126,140,0.1);
  color: var(--primary);
}

.service-icon.blue {
  background: rgba(59,130,246,0.1);
  color: #3b82f6;
}

.service-icon.rose {
  background: rgba(232,71,95,0.1);
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition);
}

.service-link:hover {
  gap: 12px;
}

/* --- About / Why Choose Us --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  height: 500px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,126,140,0.15) 0%, rgba(11,29,58,0.2) 100%);
}

.about-floating-stat {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-floating-stat .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}

.about-floating-stat .stat-text {
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 120px;
  line-height: 1.4;
}

.about-content .section-label {
  display: inline-flex;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 20px;
}

.about-content > p {
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.about-feature {
  display: flex;
  gap: 16px;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(10,126,140,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.about-feature h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* --- Approach / Process --- */
.approach {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2847 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.approach::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(10,126,140,0.12) 0%, transparent 50%);
}

.approach .section-label {
  color: var(--primary-light);
}

.approach .section-label::before {
  background: var(--primary-light);
}

.approach .section-title {
  color: #fff;
}

.approach .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.approach-step {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
  position: relative;
}

.approach-step:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 20px;
  color: #fff;
}

.approach-step h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.approach-step p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Testimonials / Trust Section --- */
.trust-bar {
  background: var(--bg-light);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(10,126,140,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0,0,0,0.1) 0%, transparent 50%);
}

.cta-inner {
  position: relative;
  text-align: center;
  padding: 80px 0;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.cta-inner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo-img {
  height: 36px;
  width: auto;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

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

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
}

.footer-col a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.7);
}

/* --- Page Hero (Inner Pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2847 100%);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(10,126,140,0.15) 0%, transparent 50%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
}

.breadcrumb a:hover {
  color: var(--primary-light);
}

.breadcrumb .sep {
  color: rgba(255,255,255,0.3);
}

/* --- Specialty Tags --- */
.specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.specialty-tag {
  display: inline-block;
  padding: 10px 22px;
  background: rgba(10,126,140,0.08);
  border: 1px solid rgba(10,126,140,0.18);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.specialty-tag:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Partner Grid --- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.partner-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}

.partner-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.partner-card span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

@media (max-width: 1024px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .specialty-tag {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
}

/* --- Mission Page --- */
.mission-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.value-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Why Choose Us Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.why-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
}

.why-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Products Page --- */
.products-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: -60px;
  position: relative;
  z-index: 5;
}

.product-hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: all var(--transition);
}

.product-hero-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.product-hero-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.product-hero-card .product-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.product-hero-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.product-hero-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Product Detail Section */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-detail.reverse {
  direction: rtl;
}

.product-detail.reverse > * {
  direction: ltr;
}

.product-detail-visual {
  height: 400px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.product-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.product-detail-visual.lab {
  background: linear-gradient(135deg, #065A64, #0A7E8C);
}

.product-detail-visual.lab::after {
  background: linear-gradient(135deg, rgba(6,90,100,0.25) 0%, rgba(10,126,140,0.15) 100%);
}

.product-detail-visual.surgical {
  background: linear-gradient(135deg, #1e3a5f, #2d5a87);
}

.product-detail-visual.surgical::after {
  background: linear-gradient(135deg, rgba(30,58,95,0.25) 0%, rgba(45,90,135,0.15) 100%);
}

.product-detail-visual.wound {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.product-detail-visual.wound::after {
  background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(168,85,247,0.1) 100%);
}

.product-detail-content h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.product-detail-content p {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 1.02rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.feature-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(10,126,140,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-top: 2px;
  font-size: 0.75rem;
}

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

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  background: #fff;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10,126,140,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-form-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-light);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,126,140,0.1);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.form-submit-row .privacy-note {
  font-size: 0.8rem;
  color: var(--text-light);
  max-width: 240px;
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  animation: forceVisible 0.1s ease forwards;
  animation-delay: 2s;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

/* CSS-only guaranteed fallback - elements become visible after 2s regardless of JS */
@keyframes forceVisible {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback: if JS hasn't run after 2s, show elements anyway */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

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

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

  .product-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-detail.reverse {
    direction: ltr;
  }

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

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

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

@media (max-width: 768px) {
  /* Force ALL hidden/animated elements visible on mobile */
  .fade-up,
  .fade-up.visible,
  .service-card,
  .about-image,
  .about-content,
  .approach-step,
  .value-card,
  .why-card,
  .contact-info-card,
  .contact-form-wrapper {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    z-index: 9999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8) !important;
    padding: 16px 32px;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.05);
    opacity: 1;
    visibility: visible;
    margin-top: 4px;
    padding: 0;
    border: none;
  }

  .nav-dropdown-menu a {
    color: rgba(255,255,255,0.6) !important;
    font-size: 1rem;
    padding: 10px 32px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
  }

  .logo-img {
    height: 34px;
  }

  .menu-toggle {
    display: flex;
    z-index: 10000;
    position: relative;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 6px 12px;
    margin-bottom: 16px;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }

  .hero-buttons .btn {
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .hero-stats {
    flex-direction: row !important;
    gap: 20px !important;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 28px;
    padding-top: 20px;
  }

  .hero-stat {
    min-width: auto;
    text-align: center;
  }

  .hero-stat .stat-number {
    font-size: 1.4rem;
  }

  .hero-stat .stat-label {
    font-size: 0.65rem;
  }

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

  .service-card {
    padding: 20px;
  }

  .service-card-image {
    height: 180px;
  }

  .approach-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .approach-step {
    padding: 24px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .section-padding {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .products-hero-cards {
    grid-template-columns: 1fr;
    margin-top: -40px;
    gap: 20px;
  }

  .mission-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .form-submit-row {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .trust-content {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
  }

  .trust-item {
    justify-content: center;
  }

  .trust-bar {
    padding: 20px 0;
  }

  .cta-inner {
    padding: 40px 20px;
  }

  .cta-inner h2 {
    font-size: 1.4rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .about-grid {
    gap: 24px;
  }

  .about-floating-stat {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: -30px;
    margin-left: auto;
    margin-right: 20px;
    max-width: 200px;
  }

  .about-features {
    gap: 16px;
  }

  .page-hero {
    min-height: 220px;
    padding-top: 100px;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .contact-grid {
    gap: 32px;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-form-wrapper {
    padding: 20px;
  }

  .container {
    padding: 0 16px;
  }
}
