/* ==========================================================================
   APOTEK ASIA JAYA - DESIGN SYSTEM & MASTER STYLESHEET
   Brand: Apotek Asia Jaya ("Sehat Untuk Keluarga Anda")
   ========================================================================== */

/* Fonts are preloaded in layout head for performance */

:root {
  /* Color Palette */
  --color-deep-blue: #073B83;
  --color-royal-blue: #075BD8;
  --color-pharmacy-green: #009B50;
  --color-dark-green: #076B3A;
  --color-light-blue: #EAF7FF;
  --color-light-gray: #F5F8FC;
  --color-border: #E2E8F0;
  --color-text-main: #1E293B;
  --color-text-muted: #64748B;
  --color-white: #FFFFFF;
  --color-danger: #EF4444;
  --color-warning: #F59E0B;

  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Elevations & Shadows */
  --shadow-sm: 0 1px 3px rgba(7, 59, 131, 0.06), 0 1px 2px rgba(7, 59, 131, 0.04);
  --shadow-md: 0 4px 14px rgba(7, 59, 131, 0.08);
  --shadow-lg: 0 10px 25px rgba(7, 59, 131, 0.12);
  --shadow-hover: 0 14px 28px rgba(7, 59, 131, 0.15);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Core Typography */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: #FFFFFF;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-deep-blue);
  font-weight: 700;
  margin-top: 0;
}

a {
  color: var(--color-royal-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-deep-blue);
}

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

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Top Bar: Logo, Search, User, Cart */
.header-main {
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
}

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

.search-form-wrapper {
  max-width: 540px;
  width: 100%;
  position: relative;
}

.search-input-group {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.search-input-group:focus-within {
  border-color: var(--color-royal-blue);
  box-shadow: 0 0 0 3px rgba(7, 91, 216, 0.15);
}

.search-input-group input {
  border: none;
  padding: 10px 18px;
  font-size: 0.92rem;
  width: 100%;
  outline: none;
  color: var(--color-text-main);
}

.search-input-group input::placeholder {
  color: #94A3B8;
  font-size: 0.88rem;
}

.btn-search {
  background-color: var(--color-royal-blue);
  color: #FFFFFF;
  border: none;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.btn-search:hover {
  background-color: var(--color-deep-blue);
}

.header-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-deep-blue);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background-color var(--transition-fast);
}

.header-action-btn:hover {
  background-color: var(--color-light-blue);
  color: var(--color-royal-blue);
}

.cart-btn-wrapper {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #EF4444;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

/* Secondary Navigation Bar */
.header-nav {
  padding: 6px 0;
  background-color: #FFFFFF;
}

.nav-link-custom {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-deep-blue);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.nav-link-custom:hover {
  color: var(--color-royal-blue);
  background-color: var(--color-light-blue);
}

.nav-link-custom.active {
  color: #FFFFFF;
  background-color: var(--color-deep-blue);
  font-weight: 700;
}

/* ==========================================================================
   HERO BANNER AUTO SLIDER (REVISI WAJIB)
   Positioned immediately below Header, Full Width, Swiper.js, Fade Transition
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #EAF7FF 0%, #FFFFFF 100%);
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  min-height: 480px;
}

.hero-slide-item {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

/* Slide Overlay: completely disabled per user request */
.hero-slide-overlay {
  display: none !important;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  padding: 44px 0;
  max-width: 580px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(0, 155, 80, 0.12);
  color: var(--color-dark-green);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-main-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-deep-blue);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.hero-main-title .highlight-green {
  color: var(--color-pharmacy-green);
  display: block;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 24px;
}

/* 4 Feature Highlights Grid */
.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.hero-feature-icon.icon-green {
  background-color: var(--color-pharmacy-green);
}

.hero-feature-icon.icon-blue {
  background-color: var(--color-royal-blue);
}

.hero-feature-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-deep-blue);
  line-height: 1.3;
}

/* CTA: Belanja Sekarang Button */
.btn-cta-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-pharmacy-green);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px rgba(0, 155, 80, 0.35);
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-cta-hero:hover {
  background-color: var(--color-dark-green);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(7, 107, 58, 0.45);
}

.btn-cta-hero i {
  transition: transform var(--transition-fast);
}

.btn-cta-hero:hover i {
  transform: translateX(4px);
}

/* Swiper Controls Custom Styling */
.hero-swiper-btn-prev,
.hero-swiper-btn-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-deep-blue);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.hero-swiper-btn-prev:hover,
.hero-swiper-btn-next:hover {
  background-color: #FFFFFF;
  color: var(--color-royal-blue);
  transform: scale(1.08);
}

.hero-swiper-btn-prev::after,
.hero-swiper-btn-next::after {
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--color-deep-blue);
  opacity: 0.3;
  transition: all var(--transition-fast);
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 6px;
  background-color: var(--color-pharmacy-green);
  opacity: 1;
}

/* ==========================================================================
   SERVICE HIGHLIGHTS (4 CARDS)
   ========================================================================== */
.service-cards-section {
  padding: 24px 0 36px 0;
  margin-top: -20px;
  position: relative;
  z-index: 10;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-normal);
  text-decoration: none;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #93C5FD;
}

.service-card-img {
  width: 80px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.service-card-info h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--color-deep-blue);
}

.service-card-info p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   PRODUCT CATEGORIES (8 ITEMS)
   ========================================================================== */
.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-deep-blue);
  margin-bottom: 0;
}

.btn-view-all {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-royal-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-view-all:hover {
  color: var(--color-deep-blue);
}

.category-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 18px 10px;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  height: 100%;
}

.category-card:hover {
  border-color: #93C5FD;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.category-icon-wrapper {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-icon-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.category-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.25;
}

/* ==========================================================================
   PROMOTIONAL MID BANNER
   ========================================================================== */
.promo-mid-banner {
  background: linear-gradient(90deg, #075BD8 0%, #009B50 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.promo-mid-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   FEATURED PRODUCTS (PRODUK UNGGULAN)
   ========================================================================== */
.product-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 14px;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  border-color: #93C5FD;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-badge-corner {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  z-index: 3;
}

.badge-promo {
  background-color: #DC2626;
  color: #FFFFFF;
}

.badge-terlaris {
  background-color: #16A34A;
  color: #FFFFFF;
}

.badge-resep {
  background-color: #DC2626;
  color: #FFFFFF;
}

.product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  cursor: pointer;
  z-index: 3;
  transition: all var(--transition-fast);
}

.product-wishlist-btn:hover,
.product-wishlist-btn.active {
  color: #EF4444;
  border-color: #FCA5A5;
  background-color: #FEF2F2;
}

.product-img-wrapper {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 8px;
}

.product-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.35;
  margin-bottom: 8px;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-title a {
  color: var(--color-text-main);
}

.product-title a:hover {
  color: var(--color-royal-blue);
}

.product-price-box {
  margin-bottom: 12px;
}

.product-selling-price {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #DC2626;
}

.product-original-price {
  font-size: 0.8rem;
  color: #94A3B8;
  text-decoration: line-through;
  margin-left: 6px;
}

.btn-add-cart {
  background-color: var(--color-royal-blue);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  width: 100%;
  transition: all var(--transition-fast);
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(7, 91, 216, 0.2);
}

.btn-add-cart:hover {
  background-color: var(--color-deep-blue);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(7, 59, 131, 0.3);
}

.btn-rx-warning {
  background-color: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.90rem;
  font-weight: 600;
  width: 100%;
  text-align: center;
  margin-top: auto;
  display: block;
}

/* ==========================================================================
   WHY CHOOSE US (MENGAPA MEMILIH APOTEK ASIA JAYA?)
   ========================================================================== */
.why-choose-section {
  padding: 48px 0;
  background-color: #FFFFFF;
}

.why-card {
  text-align: center;
  padding: 24px 16px;
  height: 100%;
}

.why-icon-bubble {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 1.6rem;
  color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.why-icon-bubble.icon-green {
  background-color: var(--color-pharmacy-green);
}

.why-icon-bubble.icon-blue {
  background-color: var(--color-royal-blue);
}

.why-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-deep-blue);
  margin-bottom: 8px;
}

.why-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.45;
}

/* ==========================================================================
   HEALTH ARTICLES (ARTIKEL KESEHATAN)
   ========================================================================== */
.article-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 16px;
  height: 100%;
  transition: all var(--transition-normal);
}

.article-card:hover {
  border-color: #93C5FD;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.article-thumb {
  width: 110px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  display: flex;
  flex-direction: column;
}

.article-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-deep-blue);
  line-height: 1.35;
  margin-bottom: 4px;
}

.article-date {
  font-size: 0.75rem;
  color: #94A3B8;
  margin-bottom: 6px;
}

.article-excerpt {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article-read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-royal-blue);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   SOCIAL MEDIA CAROUSEL
   ========================================================================== */
.social-media-section {
  padding: 48px 0;
  background-color: #F8FAFC;
}

.social-icons-bar {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
}

.social-icon-btn:hover {
  transform: scale(1.1);
  color: #FFFFFF;
}

.social-icon-btn.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon-btn.tiktok {
  background: #000000;
}

.social-icon-btn.youtube {
  background: #FF0000;
}

.social-icon-btn.facebook {
  background: #1877F2;
}

.social-media-section {
  background: linear-gradient(180deg, #EDF7FF 0%, #FFFFFF 100%);
  position: relative;
}

.social-carousel-wrapper {
  position: relative;
  padding: 0 16px;
}

.social-swiper-btn-prev,
.social-swiper-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 14px rgba(7, 59, 131, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.social-swiper-btn-prev {
  left: -8px;
}

.social-swiper-btn-next {
  right: -8px;
}

.social-swiper-btn-prev:hover,
.social-swiper-btn-next:hover {
  background: #075BD8;
  color: #FFFFFF;
  border-color: #075BD8;
  box-shadow: 0 6px 18px rgba(7, 91, 216, 0.3);
}

.social-story-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(7, 59, 131, 0.08);
  transition: all var(--transition-normal);
  border: 1.5px solid rgba(226, 232, 240, 0.85);
  background: #FFFFFF;
}

.social-story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(7, 59, 131, 0.16);
  border-color: #075BD8;
}

.social-story-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 1024;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px 26px;
  height: 100%;
  box-shadow: 0 4px 14px rgba(7, 59, 131, 0.04);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(7, 59, 131, 0.1);
  border-color: #CBD5E1;
}

.testimonial-quote-row i {
  color: #94A3B8;
  font-size: 1.6rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.94rem;
  color: #334155;
  line-height: 1.6;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.testimonial-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: #073B83;
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 0.8rem;
  color: #64748B;
}

/* ==========================================================================
   LOCATION & CONTACT CTA BANNER
   ========================================================================== */
.location-cta-banner {
  background: #073B83 url('../images/banners/location_cta_composite.png') right center / cover no-repeat;
  border-radius: 20px;
  padding: 44px 48px;
  color: #FFFFFF;
  box-shadow: 0 12px 32px rgba(7, 59, 131, 0.18);
  overflow: hidden;
  position: relative;
  min-height: 240px;
}

.location-cta-content h2 {
  color: #FFFFFF;
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.25;
}

.location-cta-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 520px;
  line-height: 1.5;
}

.cta-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-cta-green {
  background-color: var(--color-pharmacy-green);
  color: #FFFFFF;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 155, 80, 0.3);
}

.btn-cta-green:hover {
  background-color: var(--color-dark-green);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 155, 80, 0.4);
}

.btn-cta-white {
  background-color: #FFFFFF;
  color: #073B83;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-cta-white:hover {
  background-color: #F8FAFC;
  color: #075BD8;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #062758;
  color: #E2E8F0;
  padding: 60px 0 24px 0;
  font-size: 0.9rem;
}

.footer-brand-logo {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

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

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

.footer-links a {
  color: #CBD5E1;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #38BDF8;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: #CBD5E1;
}

.footer-contact-item i {
  color: #38BDF8;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.newsletter-form {
  margin-top: 14px;
}

.newsletter-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input {
  background: #FFFFFF;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--color-text-main);
  outline: none;
  width: 100%;
}

.btn-newsletter {
  background-color: var(--color-pharmacy-green);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.btn-newsletter:hover {
  background-color: var(--color-dark-green);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #94A3B8;
}

/* ==========================================================================
   PROMO AUTO SLIDER (SWIPER - ITEM 3)
   ========================================================================== */
.promo-slider-container {
  position: relative;
  width: 100%;
}

.promo-swiper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.promo-mid-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 240;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.promo-mid-banner:hover img {
  transform: scale(1.008);
}

.promo-swiper-pagination .swiper-pagination-bullet {
  background: #CBD5E1;
  opacity: 0.7;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}

.promo-swiper-pagination .swiper-pagination-bullet-active {
  background: #009B50;
  opacity: 1;
  width: 24px;
  border-radius: 4px;
}

.promo-swiper-btn-prev,
.promo-swiper-btn-next {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  color: #073B83;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.promo-swiper-btn-prev:after,
.promo-swiper-btn-next:after {
  font-size: 15px;
  font-weight: 800;
}

.promo-swiper-btn-prev:hover,
.promo-swiper-btn-next:hover {
  background-color: #073B83;
  color: #FFFFFF;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (TASK 5)
   ========================================================================= */
.floating-action-wrapper {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 1045;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.floating-btn {
  pointer-events: auto;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

/* Back to top button */
.btn-back-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #073B83;
  color: #FFFFFF;
  font-size: 1.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
}

.btn-back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.btn-back-top:hover {
  background-color: #075BD8;
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.05);
}

/* Floating WhatsApp button */
.btn-floating-wa {
  position: relative;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  gap: 8px;
}

.btn-floating-wa i {
  font-size: 1.35rem;
}

.btn-floating-wa:hover {
  background: linear-gradient(135deg, #20BA5A 0%, #075E54 100%);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* Pulsing radar effect */
.wa-ripple-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 9999px;
  border: 2px solid #25D366;
  animation: waPulseRing 2s cubic-bezier(0.25, 0, 0, 1) infinite;
  pointer-events: none;
}

@keyframes waPulseRing {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Desktop PC / Laptop, Tablet 10", Mobile)
   ========================================================================== */

/* TABLET 10 INCI (768px - 1024px, iPad & Android Tablets) */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-slide-item {
    min-height: 480px;
    background-size: cover;
    background-position: right center;
  }
  
  .hero-slide-content {
    padding: 36px 0;
    max-width: 480px;
  }

  .hero-main-title {
    font-size: clamp(1.9rem, 3.2vw, 2.3rem);
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-feature-text {
    font-size: 0.88rem;
  }

  .hero-feature-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  .promo-mid-banner img {
    aspect-ratio: 1200 / 260;
  }
}

@media (max-width: 991px) {
  .search-form-wrapper {
    max-width: 100%;
    margin: 10px 0;
  }
}

/* MOBILE SCREEN (<= 767px / 360px - 430px) */
@media (max-width: 767px) {
  body {
    font-size: 0.9rem;
  }

  .site-header {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }

  .brand-logo-img {
    height: 40px;
  }

  .header-main {
    padding: 8px 0;
  }

  /* Hero Section Mobile */
  .hero-slide-item {
    min-height: 440px;
    background-size: cover;
    background-position: center right;
  }

  .hero-slide-content {
    padding: 24px 0 32px 0;
    max-width: 100%;
  }

  .hero-main-title {
    font-size: clamp(1.48rem, 6.2vw, 1.85rem);
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.4;
  }

  /* Compact 2-column feature highlight grid on mobile */
  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 18px;
  }

  .hero-feature-item {
    gap: 8px;
  }

  .hero-feature-icon {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }

  .hero-feature-text {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .btn-cta-hero {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.95rem;
  }

  /* Service Cards */
  .service-cards-section {
    margin-top: 0;
  }

  .service-card {
    padding: 12px 14px;
  }

  .service-card-info h6 {
    font-size: 0.9rem;
  }

  .service-card-info p {
    font-size: 0.78rem;
  }

  /* Product Cards on Mobile (2 columns) */
  .product-card {
    padding: 10px;
    border-radius: var(--radius-md);
  }

  .product-img-wrapper {
    height: 125px;
    margin-bottom: 8px;
  }

  .product-title a {
    font-size: 0.82rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .product-selling-price {
    font-size: 0.95rem;
  }

  .product-original-price {
    font-size: 0.75rem;
  }

  .btn-add-cart,
  .btn-rx-warning {
    font-size: 0.78rem;
    padding: 8px 10px;
  }

  /* Mid Promo Banner Mobile */
  .promo-mid-banner img {
    aspect-ratio: 600 / 150;
    border-radius: var(--radius-md);
  }

  /* Floating Buttons on Mobile */
  .floating-action-wrapper {
    bottom: 18px;
    right: 14px;
    gap: 10px;
  }

  .btn-back-top {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .btn-floating-wa {
    padding: 9px 14px;
    font-size: 0.85rem;
  }

  /* Location CTA Banner */
  .location-cta-banner {
    padding: 24px 16px;
    border-radius: var(--radius-md);
  }

  .location-cta-banner h2 {
    font-size: 1.35rem;
  }

  .location-cta-banner p {
    font-size: 0.86rem;
  }

  .cta-btn-group a {
    width: 100%;
    justify-content: center;
  }
}

/* Cart Quantity Selector */
.cart-qty-wrapper {
  background-color: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  padding: 3px 6px;
}

.btn-cart-qty {
  width: 28px;
  height: 28px;
  background-color: #FFFFFF;
  color: #073B83;
  border: 1px solid #CBD5E1;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-cart-qty:hover {
  background-color: #075BD8;
  color: #FFFFFF;
  border-color: #075BD8;
}

.cart-qty-val {
  font-size: 0.95rem;
  color: #073B83;
}

/* ==========================================================================
   MOBILE HEALTHCARE APP UI SYSTEM (BASED ON ATTACHED DESIGN)
   ========================================================================== */

/* 1. Mobile App Top Bar */
.mobile-app-header {
  background: linear-gradient(135deg, #00C853 0%, #009624 100%);
  padding: 20px 16px 26px 16px;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 8px 24px rgba(0, 200, 83, 0.22);
  color: #FFFFFF;
  position: relative;
  z-index: 1020;
}

.mobile-app-greeting {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2px;
}

.mobile-app-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 4px;
}

.mobile-app-location {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.12);
  padding: 3px 10px;
  border-radius: 20px;
}

.mobile-app-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  font-size: 1.15rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease, background 0.15s ease;
}

.mobile-app-icon-btn:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.35);
}

.mobile-notif-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 8px;
  height: 8px;
  background-color: #EF4444;
  border: 1.5px solid #00C853;
  border-radius: 50%;
}

.mobile-search-pill {
  background: #FFFFFF;
  border-radius: 50px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-top: 16px;
}

.mobile-search-pill input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 0.88rem;
  color: #1E293B;
}

.mobile-search-pill input::placeholder {
  color: #94A3B8;
  font-size: 0.82rem;
}

.btn-mobile-search {
  background: #00C853;
  color: #FFFFFF;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.btn-mobile-search:active {
  transform: scale(0.9);
}

/* 2. Mobile Hero Welcome Card (Screen 1 Style) */
.mobile-hero-welcome-wrapper {
  margin-top: 6px;
}

.mobile-hero-card {
  background: #FFFFFF;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #F1F5F9;
  position: relative;
}

.mobile-hero-doctor-area {
  position: relative;
  background: #F8FAFC;
  padding: 0;
  text-align: center;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
}

.mobile-heart-cross-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 2px solid #00C853;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00C853;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 5;
}

.mobile-doctor-img {
  width: 100%;
  height: 210px;
  max-height: 230px;
  margin: 0 auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.mobile-hero-pagination {
  position: relative !important;
  bottom: 0 !important;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.mobile-hero-pagination .swiper-pagination-bullet {
  background: #CBD5E1;
  opacity: 1;
  width: 8px;
  height: 8px;
  margin: 0 !important;
  transition: all 0.25s ease;
}

.mobile-hero-pagination .swiper-pagination-bullet-active {
  background: #00C853;
  width: 22px;
  border-radius: 10px;
}

.mobile-hero-green-box {
  background: linear-gradient(135deg, #00C853 0%, #00A844 100%);
  border-radius: 24px;
  padding: 22px 20px;
  color: #FFFFFF;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 200, 83, 0.28);
  margin: -15px 8px 8px 8px;
  position: relative;
  z-index: 3;
}

.mobile-hero-subtitle {
  font-size: 0.74rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  margin-bottom: 6px;
}

.mobile-hero-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.btn-mobile-get-started {
  background: #FFFFFF;
  color: #009624 !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 24px;
  display: block;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  font-size: 0.95rem;
  transition: transform 0.15s ease;
}

.btn-mobile-get-started:active {
  transform: scale(0.96);
}

/* 3. Section Typography on Mobile */
.mobile-section-heading {
  font-size: 1.12rem;
  font-weight: 700;
  color: #1E293B;
  letter-spacing: -0.2px;
}

.mobile-see-all-link {
  color: #00C853 !important;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.mobile-see-all-link:hover {
  color: #009624 !important;
}

/* 4. App Categories Grid (Screen 2 Style) */
.mobile-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mobile-cat-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 14px 6px 12px 6px;
  text-align: center;
  border: 1px solid #F1F5F9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mobile-cat-card:active {
  transform: scale(0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.cat-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: transform 0.15s ease;
}

.cat-color-pink   { background: #FEE2E2; color: #EF4444; }
.cat-color-purple { background: #EDE9FE; color: #8B5CF6; }
.cat-color-orange { background: #FFEDD5; color: #F97316; }
.cat-color-blue   { background: #DBEAFE; color: #3B82F6; }
.cat-color-yellow { background: #FEF3C7; color: #F59E0B; }
.cat-color-teal   { background: #CCFBF1; color: #14B8A6; }

.cat-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.25;
}

/* 5. Top Rated Scrollable Cards (Screen 2 Style) */
.mobile-scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 14px 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-scroll-row::-webkit-scrollbar {
  display: none;
}

.mobile-scroll-card {
  flex: 0 0 170px;
  scroll-snap-align: start;
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid #E2E8F0;
  padding: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.mobile-scroll-img-box {
  border-radius: 12px;
  height: 110px;
  overflow: hidden;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.mobile-scroll-img-box img {
  max-height: 95px;
  max-width: 95px;
  object-fit: contain;
}

.mobile-scroll-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.mobile-scroll-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1E293B !important;
  line-height: 1.3;
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.mobile-scroll-category {
  font-size: 0.72rem;
  color: #64748B;
  margin-bottom: 6px;
}

.mobile-rating {
  font-size: 0.75rem;
  font-weight: 700;
  color: #F59E0B;
  display: flex;
  align-items: center;
  gap: 3px;
}

.mobile-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: #009624;
}

/* 6. All Doctors List Cards (Screen 3 Style) */
.mobile-doctor-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-doc-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid #F1F5F9;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mobile-doc-card:active {
  transform: scale(0.98);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.mobile-doc-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  background: #F1F5F9;
  flex-shrink: 0;
  border: 1px solid #E2E8F0;
}

.mobile-doc-info {
  flex-grow: 1;
  min-width: 0;
}

.mobile-doc-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 2px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-doc-specialty {
  font-size: 0.74rem;
  font-weight: 600;
  color: #00C853;
  margin-bottom: 3px;
}

.mobile-doc-meta {
  font-size: 0.7rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-rating {
  font-weight: 700;
  color: #F59E0B;
}

.mobile-doc-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.badge-status-available {
  background: #E8F8EE;
  color: #00C853;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 50px;
}

.badge-status-busy {
  background: #FEE2E2;
  color: #EF4444;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 50px;
}

/* 7. Fixed Mobile Bottom Navigation Bar (Screens 2 & 3 Style) */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 68px;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1040;
  padding: 6px 12px;
  padding-bottom: max(6px, env(safe-area-inset-bottom));
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none !important;
  color: #94A3B8;
  font-size: 0.72rem;
  font-weight: 600;
  transition: color 0.15s ease;
  flex: 1;
}

.mobile-nav-link i {
  font-size: 1.35rem;
  line-height: 1;
}

.mobile-nav-link.active {
  color: #00C853 !important;
}

.mobile-nav-link.active i {
  color: #00C853 !important;
  transform: translateY(-1px);
}

.chat-icon-container {
  position: relative;
  display: inline-block;
}

.chat-pulse-badge {
  position: absolute;
  top: -2px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00C853;
  border: 1.5px solid #FFFFFF;
}

/* Adjust page content so bottom nav does not block footer or floating items */
@media (max-width: 991px) {
  body {
    padding-bottom: 74px !important;
    background-color: #F8FAFC !important;
  }

  .site-header {
    box-shadow: none !important;
    background: transparent !important;
  }

  .floating-action-wrapper {
    bottom: 84px !important;
  }
}

@media (min-width: 992px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* ==========================================================================
   USER PROFILE SCREEN (HEALTHCARE MOBILE APP STYLE)
   ========================================================================== */
.profile-screen-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.profile-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-top: 8px;
}

.profile-topbar-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #1E293B;
  letter-spacing: -0.5px;
  margin: 0;
}

.profile-bell-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background-color: #FFFFFF;
  border: 1px solid #EEF2F6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E293B;
  font-size: 1.25rem;
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
}

.profile-bell-btn:hover {
  background-color: #F8FAFC;
  color: #00A86B;
}

.profile-bell-dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #EF4444;
  border: 2px solid #FFFFFF;
}

/* User Card */
.profile-user-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #F1F5F9;
  margin-bottom: 24px;
}

.profile-user-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #E2E8F0;
  flex-shrink: 0;
}

.profile-avatar-fallback {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00C853 0%, #009624 100%);
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.25);
}

.profile-user-info {
  margin-left: 16px;
  overflow: hidden;
  flex-grow: 1;
}

.profile-user-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 2px;
  line-height: 1.25;
}

.profile-user-email {
  font-size: 0.85rem;
  color: #64748B;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Section Header */
.profile-section-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.3px;
  margin: 0 0 12px 6px;
}

/* Menu Group Card */
.profile-menu-card {
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #F1F5F9;
  overflow: hidden;
  padding: 6px 0;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  text-decoration: none;
  color: #1E293B;
  transition: all 0.2s ease;
  border-bottom: 1px solid #F8FAFC;
  cursor: pointer;
  background: transparent;
  width: 100%;
  border-top: none;
  border-left: none;
  border-right: none;
  text-align: left;
}

.profile-menu-item:last-child {
  border-bottom: none;
}

.profile-menu-item:hover,
.profile-menu-item:active {
  background-color: #F8FAFC;
  color: #00A86B;
}

.profile-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* Pastel Icon Variants matching screenshot */
.profile-icon-blue {
  background-color: #EEF4FF;
  color: #2F80ED;
}

.profile-icon-sky {
  background-color: #E6F7FF;
  color: #0288D1;
}

.profile-icon-green {
  background-color: #E8F8EE;
  color: #27AE60;
}

.profile-icon-teal {
  background-color: #E6FAF6;
  color: #00A896;
}

.profile-icon-amber {
  background-color: #FFF8E6;
  color: #F2994A;
}

.profile-icon-slate {
  background-color: #F1F5F9;
  color: #64748B;
}

.profile-icon-red {
  background-color: #FEECEB;
  color: #EB5757;
}

.profile-item-label {
  font-size: 0.96rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0;
}

.profile-menu-item:hover .profile-item-label {
  color: #00A86B;
}

.profile-item-chevron {
  color: #CBD5E1;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.profile-menu-item:hover .profile-item-chevron {
  color: #00A86B;
  transform: translateX(3px);
}

