/**
 * TKM Pharma - Pharmaceutical Product Landing Page Stylesheet
 * Brand Aligned: TKM Theme Orange (#dc5a0b) & Corporate Deep Navy (#111d2e / #1e293b)
 * High-performance, responsive, accessible design system for B2B SEO Landing Pages
 */

:root {
  --pharma-brand: #dc5a0b;
  --pharma-brand-hover: #b94804;
  --pharma-brand-light: #fff3eb;
  --pharma-brand-subtle: #fef7f2;
  --pharma-primary: #111d2e;
  --pharma-primary-dark: #09121d;
  --pharma-primary-light: #1c304a;
  --pharma-accent: #059669;
  --pharma-accent-light: #ecfdf5;
  --pharma-warning: #d97706;
  --pharma-warning-light: #fef3c7;
  --pharma-text-main: #1e293b;
  --pharma-text-muted: #475569;
  --pharma-text-light: #64748b;
  --pharma-bg-surface: #ffffff;
  --pharma-bg-subtle: #f8fafc;
  --pharma-border: #e2e8f0;
  --pharma-border-focus: #dc5a0b;
  --pharma-radius-sm: 6px;
  --pharma-radius-md: 10px;
  --pharma-radius-lg: 16px;
  --pharma-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --pharma-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --pharma-shadow-lg: 0 10px 25px -5px rgba(17, 29, 46, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --pharma-font-main: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pharma-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & typography for landing page */
.pharma-landing-wrapper {
  font-family: var(--pharma-font-main);
  color: var(--pharma-text-main);
  background-color: var(--pharma-bg-subtle);
  overflow-x: hidden;
  font-size: 15.5px;
  line-height: 1.7;
}

.pharma-landing-wrapper h1,
.pharma-landing-wrapper h2,
.pharma-landing-wrapper h3,
.pharma-landing-wrapper h4 {
  color: var(--pharma-primary);
  font-family: var(--pharma-font-main);
  font-weight: 700;
  margin-top: 0;
  letter-spacing: -0.01em;
}

/* Hero Section */
.pharma-hero-section {
  position: relative;
  background: linear-gradient(135deg, #101c2b 0%, #182a3f 55%, #243c56 100%);
  color: #ffffff;
  padding: 50px 0 60px 0;
  overflow: hidden;
}

.pharma-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 85% 25%, rgba(220, 90, 11, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.pharma-hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pharma-brand), #f59e0b);
}

.pharma-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
}

.pharma-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: var(--pharma-transition);
}

.pharma-breadcrumb a:hover {
  color: #ff9852;
  text-decoration: underline;
}

.pharma-breadcrumb .separator {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.pharma-breadcrumb .current {
  color: #fed7aa;
  font-weight: 600;
}

.pharma-hero-title {
  color: #ffffff !important;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pharma-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.pharma-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}

.pharma-badge-pill i {
  color: #fb923c;
}

.pharma-hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.pharma-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--pharma-brand);
  color: #ffffff !important;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--pharma-radius-sm);
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(220, 90, 11, 0.38);
  transition: var(--pharma-transition);
  border: 1px solid transparent;
}

.pharma-btn-primary:hover {
  background: var(--pharma-brand-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 90, 11, 0.5);
}

.pharma-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--pharma-radius-sm);
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--pharma-transition);
}

.pharma-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff !important;
}

/* Featured Product Image Showcase under Hero */
.pharma-product-showcase {
  background: #ffffff;
  border: 1px solid var(--pharma-border);
  border-radius: var(--pharma-radius-lg);
  padding: 24px;
  box-shadow: var(--pharma-shadow-sm);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.pharma-product-img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--pharma-radius-md);
  transition: var(--pharma-transition);
}

.pharma-product-img:hover {
  transform: scale(1.02);
}

/* Main Content Layout */
.pharma-main-content-section {
  padding: 45px 0 80px 0;
}

.pharma-content-panel {
  background: var(--pharma-bg-surface);
  border-radius: var(--pharma-radius-lg);
  padding: 35px;
  box-shadow: var(--pharma-shadow-sm);
  border: 1px solid var(--pharma-border);
  margin-bottom: 30px;
}

.pharma-section-block {
  margin-bottom: 45px;
  position: relative;
}

.pharma-section-block:last-child {
  margin-bottom: 0;
}

.pharma-section-heading {
  color: var(--pharma-primary);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fed7aa;
  position: relative;
}

.pharma-section-heading::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--pharma-brand);
}

.pharma-sub-heading {
  color: var(--pharma-primary-light);
  font-size: 18px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 10px;
}

.pharma-lead-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--pharma-text-main);
  margin-bottom: 16px;
}

.pharma-body-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--pharma-text-muted);
  margin-bottom: 14px;
}

/* Callout Highlights */
.pharma-callout-info {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-left: 4px solid var(--pharma-brand);
  padding: 20px 24px;
  border-radius: var(--pharma-radius-md);
  margin: 20px 0;
  color: #7c2d12;
}

.pharma-callout-warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-left: 4px solid var(--pharma-warning);
  padding: 18px 22px;
  border-radius: var(--pharma-radius-md);
  margin: 20px 0;
  color: #78350f;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pharma-callout-warning i {
  color: var(--pharma-warning);
  font-size: 20px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Structured Card Grids */
.pharma-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.pharma-cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.pharma-card-item {
  background: #ffffff;
  border: 1px solid var(--pharma-border);
  border-radius: var(--pharma-radius-md);
  padding: 22px;
  box-shadow: var(--pharma-shadow-sm);
  transition: var(--pharma-transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pharma-card-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--pharma-shadow-md);
  border-color: #fdba74;
}

.pharma-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--pharma-brand), #f59e0b);
  opacity: 0;
  transition: var(--pharma-transition);
}

.pharma-card-item:hover::before {
  opacity: 1;
}

.pharma-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--pharma-brand-light);
  color: var(--pharma-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.pharma-card-number {
  font-size: 13px;
  font-weight: 800;
  color: var(--pharma-brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.pharma-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--pharma-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.pharma-card-desc {
  font-size: 14px;
  color: var(--pharma-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Numbered Process / Steps */
.pharma-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.pharma-step-card {
  background: #ffffff;
  border: 1px solid var(--pharma-border);
  border-radius: var(--pharma-radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: var(--pharma-shadow-sm);
  transition: var(--pharma-transition);
}

.pharma-step-card:hover {
  border-color: #fdba74;
  box-shadow: var(--pharma-shadow-md);
}

.pharma-step-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pharma-brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.pharma-step-content h3,
.pharma-step-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--pharma-primary);
  margin-bottom: 6px;
}

.pharma-step-content p {
  font-size: 14px;
  color: var(--pharma-text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Specifications Table */
.pharma-specs-table-wrapper {
  margin: 24px 0;
  border-radius: var(--pharma-radius-md);
  overflow: hidden;
  border: 1px solid var(--pharma-border);
  box-shadow: var(--pharma-shadow-sm);
  background: #ffffff;
}

.pharma-specs-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
}

.pharma-specs-table thead th {
  background: var(--pharma-primary);
  color: #ffffff;
  font-weight: 700;
  padding: 14px 20px;
  font-size: 15px;
  border: none;
  text-align: left;
}

.pharma-specs-table tbody td {
  padding: 12px 20px;
  font-size: 14.5px;
  color: var(--pharma-text-main);
  border-top: 1px solid var(--pharma-border);
  vertical-align: middle;
}

.pharma-specs-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.pharma-specs-table tbody tr:hover {
  background-color: #fff7ed;
}

.pharma-specs-table .prop-name {
  font-weight: 600;
  color: var(--pharma-primary-dark);
  width: 35%;
}

.pharma-specs-table .prop-value {
  color: var(--pharma-text-muted);
}

/* Checkmark and Icon Lists */
.pharma-icon-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.pharma-icon-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid var(--pharma-border);
  padding: 12px 16px;
  border-radius: var(--pharma-radius-sm);
  font-size: 14px;
  color: var(--pharma-text-main);
  font-weight: 500;
}

.pharma-icon-list-item i {
  color: var(--pharma-brand);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Sticky Quote & Contact Sidebar */
.pharma-sticky-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  z-index: 20;
}

.pharma-quote-card {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: var(--pharma-radius-lg);
  padding: 28px 24px;
  box-shadow: var(--pharma-shadow-lg);
  position: relative;
  overflow: hidden;
}

.pharma-quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--pharma-brand), #f59e0b);
}

.pharma-quote-header {
  text-align: center;
  margin-bottom: 20px;
}

.pharma-quote-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--pharma-primary);
  margin-bottom: 6px;
}

.pharma-quote-subtitle {
  font-size: 13.5px;
  color: var(--pharma-text-muted);
  margin-bottom: 0;
}

.pharma-form-group {
  margin-bottom: 14px;
}

.pharma-form-control {
  width: 100%;
  height: 44px;
  padding: 8px 14px;
  font-size: 14px;
  border: 1px solid var(--pharma-border);
  border-radius: var(--pharma-radius-sm);
  color: var(--pharma-text-main);
  background: #f8fafc;
  transition: var(--pharma-transition);
}

.pharma-form-control:focus {
  outline: none;
  border-color: var(--pharma-border-focus);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(220, 90, 11, 0.15);
}

textarea.pharma-form-control {
  height: 85px;
  resize: vertical;
}

.pharma-btn-submit {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, #dc5a0b 0%, #ea580c 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: var(--pharma-radius-sm);
  cursor: pointer;
  transition: var(--pharma-transition);
  box-shadow: 0 4px 12px rgba(220, 90, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pharma-btn-submit:hover {
  background: linear-gradient(135deg, #b94804 0%, #c2410c 100%);
  box-shadow: 0 6px 16px rgba(220, 90, 11, 0.45);
  transform: translateY(-1px);
}

.pharma-sidebar-quick-contacts {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--pharma-border);
}

.pharma-quick-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: var(--pharma-text-muted);
}

.pharma-quick-contact-item:last-child {
  margin-bottom: 0;
}

.pharma-quick-contact-item i {
  color: var(--pharma-brand);
  font-size: 15px;
  width: 20px;
  text-align: center;
}

.pharma-quick-contact-item a {
  color: var(--pharma-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--pharma-transition);
}

.pharma-quick-contact-item a:hover {
  color: var(--pharma-brand);
  text-decoration: underline;
}

/* Mobile Fixed Bottom Quote Action Bar */
.pharma-mobile-quote-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 10px 16px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  z-index: 990;
  border-top: 1px solid var(--pharma-border);
}

.pharma-mobile-quote-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.pharma-mobile-bar-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--pharma-primary);
  line-height: 1.2;
}

.pharma-mobile-bar-text small {
  display: block;
  font-weight: 400;
  color: var(--pharma-text-muted);
  font-size: 11px;
}

.pharma-mobile-bar-btn {
  background: var(--pharma-brand);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--pharma-radius-sm);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Recommendations Card */
.pharma-recommend-card {
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  border: 1px solid #fed7aa;
  border-radius: var(--pharma-radius-md);
  padding: 14px 20px;
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.pharma-recommend-icon {
  color: var(--pharma-brand);
  font-size: 16px;
  display: flex;
  align-items: center;
}

.pharma-recommend-text {
  font-size: 14.5px;
  color: var(--pharma-primary-dark);
  font-weight: 700;
}

.pharma-recommend-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #fdba74;
  color: var(--pharma-brand) !important;
  font-weight: 700;
  text-decoration: none !important;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 50px;
  transition: var(--pharma-transition);
  box-shadow: 0 1px 3px rgba(220, 90, 11, 0.08);
}

.pharma-recommend-link:hover {
  background: var(--pharma-brand);
  border-color: var(--pharma-brand);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(220, 90, 11, 0.25);
}

.pharma-content-panel a:not(.pharma-recommend-link) {
  color: var(--pharma-brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--pharma-transition);
}

.pharma-content-panel a:not(.pharma-recommend-link):hover {
  color: var(--pharma-brand-hover);
  text-decoration: underline;
}

/* Responsive Media Queries */
@media (max-width: 1199px) {
  .pharma-hero-title {
    font-size: 30px;
  }
}

@media (max-width: 991px) {
  .pharma-sticky-sidebar {
    position: static;
    margin-top: 40px;
  }
  
  .pharma-content-panel {
    padding: 26px 20px;
  }
  
  .pharma-mobile-quote-bar {
    display: block;
  }
  
  body {
    padding-bottom: 60px;
  }
  
  .whats-app {
    bottom: 75px !important;
  }
  .whats-app1 {
    bottom: 130px !important;
  }
  .scroll-to-top {
    bottom: 185px !important;
  }
}

@media (max-width: 767px) {
  .pharma-hero-section {
    padding: 35px 0 45px 0;
  }
  
  .pharma-hero-title {
    font-size: 24px;
  }
  
  .pharma-cards-grid,
  .pharma-cards-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .pharma-specs-table thead th,
  .pharma-specs-table tbody td {
    padding: 10px 14px;
    font-size: 13.5px;
  }
  
  .pharma-specs-table .prop-name {
    width: 45%;
  }
  
  .pharma-step-card {
    padding: 14px 16px;
    gap: 12px;
  }
  
  .pharma-step-badge {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
}

@media (max-width: 375px) {
  .pharma-hero-title {
    font-size: 22px;
  }
  
  .pharma-badge-pill {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .pharma-content-panel {
    padding: 20px 15px;
  }
}
