/*
Theme Name: PharmaRevix
Theme URI: https://pharmarevix.com
Author: Gatetouch
Author URI: https://gatetouch.com
Description: A modern, premium WordPress theme for Global Regulatory Affairs, Pharmacovigilance, and Materiovigilance services. Designed and Developed by Gatetouch.
Version: 1.0.0
Text Domain: pharmarevix
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Base Styles & Custom Utilities */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0F2A36;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', system-ui, sans-serif;
  letter-spacing: -0.01em;
}

h1 {
  letter-spacing: -0.02em;
}

*:focus-visible {
  outline: 2px solid #2BB6A6;
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 24px;
  top: -48px;
  z-index: 100;
  background: #f9b531;
  color: #0F2A36;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(229, 235, 238, 0.82);
}

.banner-bg, .hero-bg {
  background:
    radial-gradient(ellipse at top right, rgba(249,181,49, 0.20) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(43, 182, 166, 0.35) 0%, transparent 50%),
    linear-gradient(135deg, #0F5A52 0%, #1F8C80 60%, #2BB6A6 100%);
}

.cta-bg {
  background:
    radial-gradient(ellipse at left center, rgba(249,181,49, 0.24) 0%, transparent 52%),
    linear-gradient(135deg, #0F5A52 0%, #1F8C80 100%);
}

.section-tint-1 {
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFB 100%);
}

.section-tint-2 {
  background: linear-gradient(180deg, #F7FAFB 0%, #E6F6F4 50%, #F7FAFB 100%);
}

.grid-overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

.dot-overlay-light {
  background-image: radial-gradient(rgba(31, 140, 128, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.eyebrow.center::before {
  display: none;
}

.eyebrow.center::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.btn-primary {
  background: #f9b531;
  color: #0F2A36;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 1px 2px rgba(15, 42, 54, 0.06), 0 4px 12px rgba(249,181,49, 0.18);
}

.btn-primary:hover {
  background: #D8941F;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,181,49, 0.35);
}

.btn-secondary {
  background: white;
  color: #1F8C80;
  border: 1.5px solid #E5EBEE;
  padding: 12.5px 24.5px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-secondary:hover {
  border-color: #2BB6A6;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 140, 128, 0.12);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 13.5px 25.5px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-ghost-white:hover {
  background: white;
  color: #1F8C80;
}

.card {
  background: white;
  border: 1px solid #E5EBEE;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(15, 42, 54, 0.10), 0 8px 16px -4px rgba(15, 42, 54, 0.05);
  border-color: rgba(43, 182, 166, 0.4);
}

.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #E6F6F4 0%, #FFFFFF 100%);
  border: 1px solid rgba(43, 182, 166, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1F8C80;
  flex-shrink: 0;
}

.icon-tile-lg {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, #E6F6F4 0%, #FFFFFF 100%);
  border: 1px solid rgba(43, 182, 166, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1F8C80;
}

.icon-tile-gold {
  background: linear-gradient(135deg, #FCE9C9 0%, #FFFFFF 100%);
  border-color: rgba(249, 181, 49, 0.25);
  color: #D8941F;
}

.icon-tile-glass {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9b531;
}

.link-arrow {
  color: #1F8C80;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.link-arrow:hover {
  gap: 10px;
}

.header {
  transition: all 0.3s ease;
}

.header-scrolled {
  height: 90px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 1px 0 rgba(229, 235, 238, 1), 0 8px 24px rgba(15, 42, 54, 0.04);
}

.sec-pad {
  padding-top: 112px;
  padding-bottom: 112px;
}

@media (max-width: 768px) {
  .sec-pad {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

.tab-pill {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #E5EBEE;
  background: white;
  color: #4A5C68;
}

.tab-pill.active {
  background: #0F2A36;
  color: white;
  border-color: #0F2A36;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  font-weight: 500;
  font-size: 15px;
  color: #4A5C68;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #1F8C80;
}

.nav-link.active {
  color: #0F2A36;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2BB6A6;
  border-radius: 2px;
}

/* Custom Scrollbar for Megamenu */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #F7FAFB;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #2BB6A6;
}

/* Authority Chips & Client Badges */
.authority-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  background: white;
  border: 1px solid #E5EBEE;
  transition: all 0.2s ease;
}
.authority-chip:hover {
  border-color: rgba(43,182,166,0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31,140,128,0.10);
}
.authority-flag {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 11px; letter-spacing: 0.05em;
  color: white;
  flex-shrink: 0;
}
.client-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: white;
  border: 1px solid #E5EBEE;
  transition: all 0.2s ease;
  cursor: pointer;
}
.client-badge:hover {
  border-color: #2BB6A6;
  background: linear-gradient(135deg, #E6F6F4 0%, #FFFFFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31,140,128,0.12);
}

/* Custom Card & Badge Styling */
.industry-card {
  background: white;
  border: 1px solid #E5EBEE;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #E6F6F4 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.industry-card:hover::before {
  opacity: 1;
}
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(15,42,54,0.12);
  border-color: rgba(43,182,166,0.5);
}
.industry-card:hover h3 {
  color: #1F8C80;
}

/* Accordion Component Styles */
.accordion-item {
  background: white;
  border: 1px solid #E5EBEE;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.accordion-item.open {
  border-color: rgba(43,182,166,0.4);
  box-shadow: 0 20px 40px -12px rgba(15,42,54,0.08);
}
.accordion-trigger {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  background: transparent;
  transition: background 0.2s ease;
}
.accordion-trigger:hover {
  background: #F7FAFB;
}
.accordion-item.open .accordion-trigger {
  background: linear-gradient(90deg, #E6F6F4 0%, transparent 100%);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.accordion-item.open .accordion-content {
  max-height: 1000px;
}
.accordion-chevron {
  transition: transform 0.3s ease;
}
.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}
.accordion-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #8A9AA3;
  letter-spacing: 0.08em;
  width: 30px;
  flex-shrink: 0;
}
.accordion-item.open .accordion-num {
  color: #1F8C80;
}

/* Step Strip Process Component */
.step-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .step-strip {
    grid-template-columns: 1fr;
  }
}
.step-strip::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, #2BB6A6 0%, #f9b531 50%, #2BB6A6 100%);
  opacity: 0.3;
  z-index: 0;
}
@media (max-width: 1024px) {
  .step-strip::before {
    display: none;
  }
}

/* Family Intro Cards */
.family-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 48px;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
}
.family-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}
.family-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -15px rgba(15,42,54,0.20);
}
.family-card-teal {
  background: linear-gradient(135deg, #E6F6F4 0%, #FFFFFF 60%, #E6F6F4 100%);
  border: 1px solid rgba(43,182,166,0.25);
}
.family-card-gold {
  background: linear-gradient(135deg, #FCE9C9 0%, #FFFFFF 60%, #FCE9C9 100%);
  border: 1px solid rgba(249,181,49,0.3);
}

/* Filter Chips Component */
.filter-chip {
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #E5EBEE;
  background: white;
  color: #4A5C68;
  white-space: nowrap;
}
.filter-chip:hover {
  border-color: #2BB6A6;
  color: #1F8C80;
}
.filter-chip.active {
  background: #0F2A36;
  color: white;
  border-color: #0F2A36;
}
.filter-chip.active .chip-count {
  background: rgba(255,255,255,0.15);
  color: white;
}
.chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #F7FAFB;
  color: #4A5C68;
  font-size: 11px;
  font-weight: 700;
}

/* Service Cards */
.service-card {
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  opacity: 1;
  transform: scale(1);
}
.service-card.hidden-card {
  display: none;
}

/* Engagement Tiles */
.engage-tile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}
.engage-tile::before {
  content: '',
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f9b531 0%, #D8941F 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.engage-tile:hover::before {
  transform: scaleX(1);
}

/* Helper Box */
.helper-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

/* WordPress Admin Bar Compatibility for Fixed Header */
.admin-bar .header {
  top: 32px;
}
.admin-bar .mobile-menu {
  top: 132px;
}
@media screen and (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
  .admin-bar .mobile-menu {
    top: 146px;
  }
}


/* Engagement Background styling */
.engage-bg {
  background: linear-gradient(135deg, #0F5A52 0%, #1F8C80 60%, #2BB6A6 100%);
}

/* About Page Components */
.timeline-line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, #2BB6A6 10%, #f9b531 50%, #2BB6A6 90%, transparent 100%);
  transform: translateX(-50%);
}
@media (max-width: 1023px) {
  .timeline-line { left: 24px; transform: none; }
}

.value-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid #E5EBEE;
  transition: all 0.3s ease;
}
.value-row:last-child { border-bottom: none; }
.value-row:hover { padding-left: 16px; }
.value-row:hover .value-num { color: #f9b531; }
@media (max-width: 1023px) {
  .value-row { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .value-row:hover { padding-left: 0; }
}
.value-num {
  font-family: 'Poppins', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: #E5EBEE;
  line-height: 1;
  transition: color 0.3s ease;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: white;
  border: 1px solid #E5EBEE;
  transition: all 0.3s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(15,42,54,0.12);
  border-color: rgba(43,182,166,0.4);
}
.team-card:hover .team-social { opacity: 1; transform: translateY(0); }
.team-social {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.diff-card {
  position: relative;
  padding: 32px;
  border-radius: 20px;
  background: white;
  border: 1px solid #E5EBEE;
  transition: all 0.3s ease;
  overflow: hidden;
}
.diff-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, #2BB6A6 0%, #f9b531 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}
.diff-card:hover { transform: translateY(-4px); border-color: rgba(43,182,166,0.4); box-shadow: 0 20px 40px -12px rgba(15,42,54,0.10); }
.diff-card:hover::before { transform: scaleY(1); }

/* Gutenberg Full Width Support for Direct HTML Content */
.entry-content,
.wp-block-post-content,
.entry-content > *,
.wp-block-post-content > * {
  max-width: 100% !important;
  width: 100%;
}






