/* 
============================================
EZAPLAZA MEDI PHARMACY
Premium, Clinical, Mobile-First Design
============================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --primary-blue: #0B3D6B;
  --primary-blue-dark: #082d50;
  --secondary-green: #10B981;
  /* Emerald */
  --secondary-green-dark: #059669;
  --accent-teal: #14B8A6;
  /* Soft Teal */
  --accent-teal-dark: #0d9488;

  /* Neutral Colors */
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-gray: #F1F5F9;
  --text-dark: #0F172A;
  --text-body: #475569;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;

  /* Shadow & Radius */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s ease;

  /* Layout */
  --header-height: 80px;
  --sticky-footer-height: 60px;
  --top-bar-height: 36px;
}

/* =========================================
   Base Styles
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--sticky-footer-height);
  /* For mobile sticky footer */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* =========================================
   Typography & Utilities
   ========================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-blue);
}

.text-emerald {
  color: var(--secondary-green);
}

.text-teal {
  color: var(--accent-teal);
}

.text-white {
  color: var(--bg-white);
}

.bg-white {
  background-color: var(--bg-white);
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-gray {
  background-color: var(--bg-gray);
}

.bg-primary {
  background-color: var(--primary-blue);
  color: white;
}

.bg-teal-light {
  background-color: #f0fdfa;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary-green);
  color: white;
  box-shadow: var(--shadow-sm);
}

/* Inject WhatsApp Icon directly into header and mobile menu buttons */
.nav-actions .btn-secondary::before,
.mobile-menu .btn-secondary::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: -2px;
}

.btn-secondary:hover {
  background-color: var(--secondary-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: white;
}

.btn-teal {
  background-color: var(--accent-teal);
  color: white;
}

.btn-teal:hover {
  background-color: var(--accent-teal-dark);
}

/* =========================================
   Top Bar
   ========================================= */
.top-bar {
  background-color: var(--primary-blue);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  display: block;
  position: sticky;
  top: 0;
  z-index: 1001;
  height: var(--top-bar-height);
}

@media(min-width: 992px) {
  .top-bar {
    display: block;
  }
}

.top-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
}

.top-bar a:hover {
  color: white;
}

.top-bar-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.top-bar-info span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
}

.top-bar-info span:not(:last-child) {
  display: none;
  /* Hide all except operating hours on mobile */
}

@media(max-width: 767px) {
  .top-bar-info span {
    font-size: 0.75rem;
  }
}

@media(min-width: 992px) {
  .top-bar-info {
    justify-content: center;
  }

  .top-bar-info span:not(:last-child) {
    display: inline-flex;
  }
}

.top-bar-social {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar-info svg {
  width: 16px;
  height: 16px;
  margin-right: 0.25rem;
  vertical-align: middle;
  flex-shrink: 0;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: var(--top-bar-height);
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 56px;
  width: auto;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.logo-text span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-teal);
}

/* Desktop Nav */
.nav-links {
  display: none;
  gap: 1.25rem; /* Reduced from 2rem to fit the new Wallet link */
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--primary-blue-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-teal-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem; /* Reduced from 1rem to save space */
}

/* Mobile Hamburger */
.hamburger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media(min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .nav-actions {
    display: flex;
  }

  .hamburger {
    display: none;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: var(--bg-white);
  z-index: 999;
  padding: 2rem;
  transform: translateX(100%);
  transition: var(--transition);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a:not(.btn) {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

.mobile-menu a.active:not(.btn) {
  color: var(--primary-blue);
}

.mobile-menu a.btn {
  display: flex;
  margin-bottom: 1rem;
  color: white;
  /* Ensure text is white overriding inherited colors */
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1rem;
  font-size: 1.125rem;
  padding: 1rem;
  justify-content: center;
}

/* =========================================
   Sticky Mobile Footer Actions
   ========================================= */
.mobile-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--sticky-footer-height);
  background: var(--bg-white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  z-index: 998;
}

.mobile-footer-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  gap: 0.25rem;
  border-right: 1px solid var(--border-color);
}

.mobile-footer-btn:last-child {
  border-right: none;
}

.mobile-footer-btn svg {
  width: 20px;
  height: 20px;
}

.mobile-footer-btn.call-btn {
  color: var(--primary-blue);
}

.mobile-footer-btn.wa-btn {
  color: var(--secondary-green);
}

.mobile-footer-btn.book-btn {
  color: var(--bg-white);
  background: var(--primary-blue);
}

@media(min-width: 768px) {
  .mobile-footer {
    display: none;
  }
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  background: linear-gradient(135deg, rgba(11, 61, 107, 0.05) 0%, rgba(20, 184, 166, 0.1) 100%), var(--bg-white);
  padding: 0.5rem 0 3rem;
  /* Further reduced space for CTA to show */
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media(max-width: 991px) {
  .hero-content {
    order: 2;
  }

  .hero-image {
    order: 1;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-radius: 0;
  }

  .hero-image img {
    height: 65vh;
  }
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.hero-badge-icon {
  width: 48px;
  height: 48px;
  background: #e0f2fe;
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.hero-badge-text h4 {
  font-size: 1rem;
  margin-bottom: 0.125rem;
  color: var(--primary-blue);
}

.hero-badge-text p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
}

@media(min-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 767px) {
  .hero-badge {
    left: 1rem;
    bottom: 1rem;
    right: auto;
    width: calc(100% - 2rem);
    max-width: 400px;
  }
}

/* =========================================
   Services Grid
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media(min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-teal);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
  font-size: 2rem;
  transition: var(--transition);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card:hover .service-icon {
  background: var(--primary-blue);
  color: white;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.service-card p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.service-link {
  font-weight: 600;
  color: var(--accent-teal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link:hover {
  color: var(--primary-blue);
  gap: 0.75rem;
}

.service-link svg {
  width: 20px;
  height: 20px;
  transition: var(--transition);
}

/* =========================================
   Trust Section
   ========================================= */
.trust-section {
  background-color: var(--primary-blue);
  color: white;
  padding: 4rem 0;
  position: relative;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-weight: 500;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================
   Value Proposition Layout
   ========================================= */
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  align-items: center;
}

.value-content h2 {
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.value-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.value-list-icon {
  width: 32px;
  height: 32px;
  background: rgba(37, 211, 102, 0.1);
  color: var(--secondary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-list-icon svg {
  width: 18px;
  height: 18px;
}

.value-list-text h4 {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.value-list-text p {
  font-size: 0.9375rem;
  margin: 0;
}

.value-image {
  position: relative;
}

.value-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* =========================================
   Booking Modal (Iframe Embed)
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  padding: 0;
  /* Eliminate padding on mobile for full screen */
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-white);
  width: 100%;
  height: 100%;
  /* Full height mobile */
  max-width: 600px;
  border-radius: 0;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
  max-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media(min-width: 768px) {
  .modal-overlay {
    padding: 1rem;
  }

  .modal-content {
    height: 90vh;
    border-radius: var(--radius-lg);
  }
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  color: var(--primary-blue);
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  color: var(--text-dark);
  background: var(--bg-gray);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-body {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  /* Avoid double scrolling */
  flex-grow: 1;
}

.modal-body>p {
  padding: 1rem 1rem 0;
  margin-bottom: 0.5rem;
}

#booking-widget {
  width: 100%;
  flex-grow: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: var(--bg-white);
  overflow: hidden;
}

#booking-widget iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================================
   Internal Pages (Header & Content)
   ========================================= */
.page-header {
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
  padding: 6rem 0 4rem;
  text-align: center;
  color: white;
}

.page-header h1 {
  color: white;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.breadcrumb {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a {
  color: var(--accent-teal);
}

.breadcrumb a:hover {
  color: white;
}

.content-wrapper {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  margin-bottom: 4rem;
}

.content-wrapper h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.content-wrapper h2:first-child {
  margin-top: 0;
}

.content-wrapper h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.content-wrapper p,
.content-wrapper ul {
  margin-bottom: 1.5rem;
}

.content-wrapper ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.content-wrapper li {
  margin-bottom: 0.5rem;
}

/* =========================================
   Page Header Subtitle
   ========================================= */
.page-header-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

/* =========================================
   Prescription Page — Hero Split
   ========================================= */
.rx-hero {
  background: linear-gradient(135deg, rgba(11, 61, 107, 0.03) 0%, rgba(20, 184, 166, 0.06) 100%), var(--bg-white);
  padding: 4rem 0;
}

.rx-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media(min-width: 992px) {
  .rx-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.rx-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.rx-hero-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.rx-hero-content h2 {
  color: var(--primary-blue);
  margin-bottom: 1.25rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.rx-hero-content p {
  color: var(--text-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.rx-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================================
   Prescription Page — Service Cards
   ========================================= */
.rx-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media(min-width: 600px) {
  .rx-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 1024px) {
  .rx-services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.rx-service-card {
  background: var(--bg-white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
}

.rx-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-teal);
}

.rx-service-icon {
  width: 64px;
  height: 64px;
  background: rgba(11, 61, 107, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--primary-blue);
  transition: var(--transition);
}

.rx-service-icon svg {
  width: 28px;
  height: 28px;
}

.rx-service-icon--teal {
  background: rgba(20, 184, 166, 0.1);
  color: var(--accent-teal);
}

.rx-service-icon--green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary-green);
}

.rx-service-icon--red {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.rx-service-card:hover .rx-service-icon {
  background: var(--primary-blue);
  color: white;
}

.rx-service-card:hover .rx-service-icon--teal {
  background: var(--accent-teal);
}

.rx-service-card:hover .rx-service-icon--green {
  background: var(--secondary-green);
}

.rx-service-card:hover .rx-service-icon--red {
  background: #ef4444;
}

.rx-service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--primary-blue);
}

.rx-service-card p {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* =========================================
   Prescription Page — How It Works Steps
   ========================================= */
.rx-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.rx-step {
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  padding: 0 1rem;
  position: relative;
}

.rx-step-number {
  position: absolute;
  top: -8px;
  right: calc(50% - 50px);
  width: 28px;
  height: 28px;
  background: var(--accent-teal);
  color: white;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  z-index: 2;
}

.rx-step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: white;
  box-shadow: 0 4px 16px rgba(11, 61, 107, 0.2);
}

.rx-step-icon svg {
  width: 32px;
  height: 32px;
}

.rx-step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
}

.rx-step p {
  font-size: 0.9375rem;
  color: var(--text-body);
}

.rx-step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-color), var(--accent-teal), var(--border-color));
  margin-top: 40px;
  flex-shrink: 0;
}

@media(max-width: 767px) {
  .rx-steps {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .rx-step {
    max-width: 100%;
  }

  .rx-step-connector {
    width: 2px;
    height: 40px;
    margin-top: 0;
    background: linear-gradient(180deg, var(--border-color), var(--accent-teal), var(--border-color));
  }
}

/* =========================================
   Prescription Page — Chronic Care Feature
   ========================================= */
.rx-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media(min-width: 992px) {
  .rx-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.rx-feature-content h2 {
  color: var(--primary-blue);
  margin-bottom: 1.25rem;
}

.rx-feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.rx-feature-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

@media(max-width: 991px) {
  .rx-feature-image {
    order: -1;
  }
}

/* =========================================
   Prescription Page — WhatsApp CTA Banner
   ========================================= */
.rx-cta-banner {
  background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.rx-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 50%;
}

.rx-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.rx-cta-text h2 {
  color: white;
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.rx-cta-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  max-width: 550px;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  white-space: nowrap;
}

@media(max-width: 767px) {
  .rx-cta-content {
    flex-direction: column;
    text-align: center;
  }

  .rx-cta-text p {
    max-width: 100%;
  }

  .rx-cta-banner {
    padding: 3rem 0;
  }
}

/* =========================================
   Section Labels (reusable)
   ========================================= */
.section-label {
  text-align: center;
  color: var(--text-light);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.bg-light {
  background-color: var(--bg-light);
}

.pt-0 {
  padding-top: 0 !important;
}

/* =========================================
   Value List (check icon + text pairs)
   ========================================= */
.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-list-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(20, 184, 166, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.value-list-icon svg {
  width: 16px;
  height: 16px;
  color: var(--accent-teal);
}

.value-list-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.25rem;
}

.value-list-text p {
  font-size: 0.9375rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.5;
}

.bg-white {
  background-color: var(--bg-white);
}

/* =========================================
   Contact Page Setup
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media(min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-card {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  height: 100%;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.contact-item-content p,
.contact-item-content a {
  color: var(--text-body);
  font-size: 1.05rem;
}

.contact-item-content a:hover {
  color: var(--primary-blue);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media(max-width: 767px) {
  .contact-info-card {
    padding: 1.5rem 1.25rem;
  }

  .contact-item {
    gap: 0.875rem;
    margin-bottom: 1.5rem;
  }

  .contact-item-icon {
    width: 42px;
    height: 42px;
  }

  .contact-item-icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-item-content h3 {
    font-size: 1rem;
  }

  .contact-item-content p,
  .contact-item-content a {
    font-size: 0.9375rem;
  }

  .map-container {
    min-height: 280px;
  }

  .contact-grid {
    gap: 2rem;
  }
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .logo-text {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-blue);
  transform: translateY(-3px);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: var(--accent-teal);
  padding-left: 0.25rem;
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
  font-size: 0.9375rem;
}

.footer-contact svg {
  color: var(--accent-teal);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  text-align: center;
}

@media(min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom a {
  color: var(--text-light);
}

.footer-bottom a:hover {
  color: white;
}

.footer-bottom .powered-by a {
  color: var(--secondary-green);
  font-weight: 600;
}

.footer-bottom .powered-by a:hover {
  color: white;
}

/* =========================================
   Medical Aid Logos Section
   ========================================= */
.medical-aid-section {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.medical-aid-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.medical-aid-section .section-label {
  text-align: center;
  color: var(--text-light);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.medical-aid-section h3 {
  text-align: center;
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.medical-aid-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(11, 61, 107, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: all 0.5s ease;
}

.medical-aid-logos:hover {
  box-shadow: 0 8px 32px rgba(11, 61, 107, 0.12);
  transform: translateY(-2px);
}

.medical-aid-logos img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.9;
  transition: all 0.5s ease;
}

.medical-aid-logos:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.medical-aid-note {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-body);
  font-size: 0.9375rem;
}

@media(max-width: 767px) {
  .medical-aid-section {
    padding: 2.5rem 0;
  }

  .medical-aid-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .medical-aid-logos {
    padding: 1.25rem;
    margin: 0 0.5rem;
    border-radius: var(--radius-md);
  }
}