/* ============================================================
   SHREE KAVI PHARMACY (SKP) — Design System & Styles
   ============================================================ */

/* ── CSS Custom Properties ───────────────────────────────── */
:root {
  --primary: #0A3A82;
  --primary-dark: #072960;
  --primary-light: #134E9B;
  --accent: #22C55E; /* Changed to SKP green */
  --accent-dark: #16A34A;
  --accent-light: #4ade80;
  --whatsapp: #22C55E;
  --whatsapp-dark: #16A34A;
  --sale: #E53935;
  --sale-light: #fee2e2;
  --bg: #F7FBFF;
  --card: #ffffff;
  --text: #4B5563;
  --text-heading: #0A3A82;
  --text-light: #6B7280;
  --text-white: #ffffff;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Jost', 'Inter', sans-serif;
}

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

html, body {
  width: 100%;
  overflow-x: hidden;
  zoom: 100% !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

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

/* ── Utility Classes ─────────────────────────────────────── */
.container,
.main-container,
.wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.text-accent {
  color: var(--accent);
}

.text-primary {
  color: var(--primary);
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Top Bar ─────────────────────────────────────────────── */
.top-bar {
  background: var(--primary-dark);
  color: var(--text-white);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}

.top-bar-locations {
  display: flex;
  align-items: center;
  gap: 6px;
}

.location-divider {
  margin: 0 4px;
  opacity: 0.5;
}

.top-bar-left span i {
  font-size: 0.75rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-right a {
  color: var(--text-white);
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.top-bar-right a:hover {
  opacity: 1;
}

.top-bar-right a[href*="wa.me"] {
  background-color: var(--whatsapp);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  opacity: 1;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
}

.top-bar-right a[href*="wa.me"]:hover {
  background-color: var(--whatsapp-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  background: var(--card);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* SKP Logo - Compact, fits within navbar */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 11px;             /* ↓ was 16px */
  padding: 4px 8px;      /* ↓ was 6px 12px */
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.brand-logo:hover {
  background: rgba(24, 70, 179, 0.05);
}

.brand-shield-wrapper {
  background: #ffffff;
  border-radius: 10px;
  padding: 5px 6px;      /* ↓ was 8px */
  box-shadow: 0 4px 14px rgba(0,0,0,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.brand-logo:hover .brand-shield-wrapper {
  transform: scale(1.04);
}

.brand-shield-svg {
  width: auto;
  height: 50px;          /* ↓ was 80px — key fix */
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.10));
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 0px;
}

.brand-tamil {
  font-family: 'Noto Sans Tamil', 'Catamaran', 'Hind Madurai', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: #0B3A82;
  letter-spacing: 0.3px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-english {
  font-family: 'Montserrat', var(--font-heading);
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 600;
  color: #0B3A82;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
}

.footer-brand .brand-tamil {
  color: #ffffff;
  font-size: 1.25rem !important;
  white-space: normal;
}

.footer-brand .brand-english {
  color: #ffffff;
  font-size: 0.75rem !important;
  white-space: normal;
}

.footer-brand .brand-shield-wrapper {
  background: rgba(255, 255, 255, 0.95);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.btn-call-support {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  transition: color var(--transition-fast);
}

.btn-call-support:hover {
  color: var(--primary);
}

.header-wa-btn {
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.nav-links a {
  font-family: 'Poppins', var(--font-body);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--text);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(36, 174, 177, 0.08);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Mobile Menu Overlay ─────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--card);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path fill="%2304d47c" fill-opacity="0.05" d="M25,15 h10 v10 h10 v10 h-10 v10 h-10 v-10 h-10 v-10 h10 z"/></svg>');
  background-size: 60px 60px;
  z-index: 1050;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: panPattern 20s linear infinite;
}

.mobile-menu.active {
  right: 0;
}

@keyframes panPattern {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  font-size: 1.2rem;
  transition: all var(--transition-fast);
  z-index: 1;
}

.mobile-menu-close:hover {
  background: var(--sale-light);
  color: var(--sale);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  z-index: 1;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: rgba(36, 174, 177, 0.1);
  color: var(--accent);
}

.mobile-menu a i {
  width: 24px;
  text-align: center;
  font-size: 1.1rem;
}

/* ── Hero Section ────────────────────────────────────────── */
.hero,
.hero-section {
  background: #071e6b;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  max-height: 580px;
  width: 100%;
  display: flex;
  align-items: center;
}

/* ── Hero video background ── */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* ── Dark gradient overlay — keeps text readable ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(7, 30, 107, 0.88) 0%,
    rgba(10, 58, 130, 0.78) 50%,
    rgba(7, 41, 96, 0.70) 100%
  );
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: 2;  /* decorative glows above overlay */
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 30px;
  padding-bottom: 40px;
  position: relative;
  z-index: 2;      /* above overlay */
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  color: var(--accent-light);
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--text-white);
  border-color: var(--whatsapp);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
}

.btn-outline {
  background: var(--card);
  color: var(--primary);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
  background: var(--bg);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-collage-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
  height: 480px;
}

.hero-main-image-card {
  width: 80%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease;
}

.hero-main-image-card:hover .hero-image {
  transform: scale(1.05);
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 51, 102, 0.2), transparent);
  pointer-events: none;
}

.hero-floating-card {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  border: 3px solid #ffffff;
  z-index: 2;
  transition: transform 0.3s ease;
  background: #fff;
}

.hero-floating-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.floating-card-1 {
  width: 160px;
  height: 120px;
  bottom: 40px;
  left: -20px;
  animation: float-slow 4s ease-in-out infinite;
}

.floating-card-2 {
  width: 140px;
  height: 140px;
  top: 40px;
  right: -30px;
  animation: float-slow 5s ease-in-out infinite alternate;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(36, 174, 177, 0.3);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.hero-main-image img {
  max-width: 100%;
  height: 480px;
  object-fit: contain;
  animation: float-slow 4s ease-in-out infinite;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.1));
}


.hero-icon-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

@keyframes pulse-ring {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.7; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

/* ── Promo Offers Slider ─────────────────────────────────── */
.promo-section {
  background: var(--bg);
  padding: 24px 0; /* Reduced top/bottom spacing */
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.animated-fire {
  animation: fire-flicker 1.5s infinite alternate;
  display: inline-block;
}

.counter-effect {
  background: #ff0000;
  color: #fff;
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 20px;
  animation: pulse-badge 2s infinite;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.animated-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff416c, #ff4b2b);
  margin: 10px auto 16px;
  border-radius: 2px;
  animation: width-grow 2s infinite alternate ease-in-out;
}

.promo-section .section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.offers-section .container {
  width: 100%;
  max-width: 100%;          /* full viewport width */
  padding: 0 32px;          /* small breathing room on edges */
}

/* ── Offers section — compact header ── */
.offers-section {
  padding: 28px 0 24px !important;
}
.offers-section .section-header {
  margin-bottom: 16px;
}
.offers-section .section-title {
  font-size: 1.55rem;      /* ↓ was 2.5rem */
  gap: 8px;
}
.offers-section .section-subtitle {
  font-size: 0.92rem;
  margin-bottom: 14px !important;  /* ↓ was 64px — main culprit */
  color: var(--text-light);
}
.offers-section .animated-underline {
  margin: 6px auto 10px;  /* ↓ tighter */
}

/* ── Promo Grid ─────────────────────────────────────── */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  padding: 6px 0 20px;
}

/* Card entrance animation */
@keyframes promoSlideUp {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* Discount text shimmer */
@keyframes shimmerOffer {
  0%   { background-position: -200% center; }
  100% { background-position: 200%  center; }
}

/* Image subtle float */
@keyframes floatImg {
  0%, 100% { transform: translateY(0)   scale(1); }
  50%       { transform: translateY(-6px) scale(1.03); }
}

.promo-card {
  min-height: 280px;
  height: auto;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  display: flex;
  align-items: stretch;
  cursor: pointer;
  transition: transform 0.32s cubic-bezier(.34,1.56,.64,1),
              box-shadow 0.28s ease;
  animation: promoSlideUp 0.55s ease backwards;
}
.promo-card:nth-child(1) { animation-delay: 0.05s; }
.promo-card:nth-child(2) { animation-delay: 0.18s; }
.promo-card:nth-child(3) { animation-delay: 0.31s; }

.promo-card:hover {
  transform: translateY(-7px) scale(1.015);
  box-shadow: 0 18px 42px rgba(0,0,0,0.16);
}
.promo-card:hover .promo-image-wrapper img {
  animation: floatImg 2.4s ease-in-out infinite;
}

/* Right image panel */
.promo-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.promo-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.20));
}

/* Left content */
.promo-card-content {
  position: relative;
  z-index: 3;
  padding: 26px 16px 24px 28px;  /* padding-right 16px — keeps text away from image edge */
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 54%;                    /* slightly narrower so text has room */
  gap: 8px;
}

/* Offer percentage */
.promo-discount-massive {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 44px);   /* responsive — shrinks on smaller cards */
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 2px;
  letter-spacing: -0.5px;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  background: none;
  animation: none;
  word-break: break-word;
}

.promo-card-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}

.promo-card-content p {
  font-size: 0.9rem;
  margin-bottom: 16px;
  font-weight: 500;
}

.btn-medical-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 11px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  align-self: flex-start;
  margin-top: 2px;
  transition: all 0.28s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 4px 14px rgba(34,197,94,0.32);
  white-space: nowrap;
}

.btn-medical-cta:hover {
  background: #16a34a;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 22px rgba(34,197,94,0.45);
}

.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  border-radius: 24px;
}

.particle {
  position: absolute;
  color: rgba(255,255,255,0.3);
  font-size: 1.5rem;
  animation: float-anim 6s infinite ease-in-out;
}
.particle.p1 { top: 10%; right: 40%; animation-delay: 0s; font-size: 2rem; }
.particle.p2 { bottom: 20%; right: 50%; animation-delay: 2s; font-size: 1.2rem; }
.particle.p3 { top: 40%; right: 10%; animation-delay: 4s; font-size: 1.8rem; }

@keyframes float-anim {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(15deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.shine-sweep {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  animation: shine-sweep-anim 4s infinite;
  z-index: 4;
  pointer-events: none;
}

@keyframes shine-sweep-anim {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.pulse-badge {
  animation: pulse-anim 2s infinite;
}

@keyframes pulse-anim {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.glow-text {
  animation: glow-anim 3s infinite alternate;
}

@keyframes glow-anim {
  0% { text-shadow: 0 0 10px rgba(255,255,255,0.2); }
  100% { text-shadow: 0 0 25px rgba(255,255,255,0.6); }
}

@media (max-width: 992px) {
  .promo-card {
    flex: 0 0 500px;
  }
}

@media (max-width: 768px) {
  .promo-card {
    flex: 0 0 90%;
  }
}

@keyframes fire-flicker {
  0% { transform: scale(1) rotate(-5deg); opacity: 0.8; }
  100% { transform: scale(1.2) rotate(5deg); opacity: 1; }
}

@keyframes width-grow {
  0% { width: 50px; }
  100% { width: 120px; }
}

@keyframes text-glow {
  0% { text-shadow: 0 0 10px rgba(255,255,255,0.2); }
  100% { text-shadow: 0 0 25px rgba(255,255,255,0.6); }
}

@keyframes pulse-soft {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); box-shadow: 0 0 10px rgba(255,0,0,0.8); }
  100% { transform: scale(1); }
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes btn-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

@keyframes slow-zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

@keyframes float-slow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-15px); }
}

@keyframes float-particle {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(-50px) scale(0); opacity: 0; }
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* Slider Navigation */
.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.slider-btn:hover {
  background: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 50px;
}

/* ── Product Grid ────────────────────────────────────────── */
.products-section {
  background: var(--card);
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-light);
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-tab.active {
  background: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
}

/* Products Grid */
/* Products header */
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.products-header-text h2 {
  font-size: 1.6rem;
  margin-bottom: 4px;
  text-align: left;
}
.products-header-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  text-align: left;
}

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

/* Bottom "Ask us" CTA bar */
.products-cta {
  margin-top: 36px;
  background: linear-gradient(135deg, #f0f7ff, #e8f4ff);
  border: 1px solid rgba(10, 58, 130, 0.1);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.products-cta p {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  margin: 0;
}
.products-cta strong { font-weight: 800; }

@media (max-width: 768px) {
  .products-header { flex-direction: column; align-items: center; text-align: center; }
  .products-cta { flex-direction: column; text-align: center; align-items: center; }
}

/* Product Card — equal height in every row */
.product-card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(10, 58, 130, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;              /* ← key fix */
  flex-direction: column;     /* ← stack image → info */
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(10, 58, 130, 0.12);
  border-color: transparent;
}

.product-image {
  height: 150px;       /* ↓ was 240px */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;   /* ↓ icon size */
  color: rgba(0, 51, 102, 0.15);
  position: relative;
  overflow: hidden;
}

.product-image.gradient-1 { background: linear-gradient(135deg, #e0f2fe, #f0f9ff); }
.product-image.gradient-2 { background: linear-gradient(135deg, #ede9fe, #f5f3ff); }
.product-image.gradient-3 { background: linear-gradient(135deg, #d1fae5, #ecfdf5); }
.product-image.gradient-4 { background: linear-gradient(135deg, #fce7f3, #fdf2f8); }
.product-image.gradient-5 { background: linear-gradient(135deg, #fef3c7, #fffbeb); }
.product-image.gradient-6 { background: linear-gradient(135deg, #e0e7ff, #eef2ff); }

.product-image-container {
  height: 280px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.product-real-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.6s ease;
  mix-blend-mode: multiply;
}

.product-card:hover .product-real-image {
  transform: scale(1.1);
}

/* Badges */
.badge {
  position: absolute;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
}

.badge.sale {
  top: 12px;
  left: 12px;
  background: var(--sale);
  color: var(--text-white);
}

.badge.stock {
  top: 12px;
  right: 12px;
  font-size: 0.68rem;
}

.badge.stock.in-stock {
  background: #d1fae5;
  color: #065f46;
}

.badge.stock.out-of-stock {
  background: #fee2e2;
  color: #991b1b;
}

.product-info {
  padding: 14px 18px 18px;  /* ↓ was 20px 24px 24px */
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;      /* ↓ was 1.25rem */
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;      /* ↓ was 12px */
  line-height: 1.3;
  flex: 1;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.current-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.original-price {
  font-size: 0.88rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: var(--whatsapp);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.whatsapp-btn:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn.disabled {
  background: #d1d5db;
  color: #9ca3af;
  pointer-events: none;
  cursor: not-allowed;
}

/* ── About Section ───────────────────────────────────────── */
.about-section {
  background: var(--bg);
}

/* ── About 2-column split layout ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 52px;
}

/* Left: video */
.about-video-col {
  position: relative;
}

.about-video {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 20px 48px rgba(10, 58, 130, 0.18);
}

.about-video-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

/* Right: text */
.about-text-col {
  text-align: left;
  padding-left: 8px;
}

.about-tagline {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.2;
}

.about-tagline span {
  color: var(--accent);
}

.about-text-col p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  text-align: justify;
}

/* Old about-content (keep as fallback) */
.about-content {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}
.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-video { height: 240px; }
  .about-tagline { font-size: 1.5rem; }
  .about-text-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-badge {
  background: var(--card);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(10, 58, 130, 0.05);
  border: 1px solid rgba(10, 58, 130, 0.05);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.trust-badge:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 58, 130, 0.12);
  border-color: transparent;
}

.trust-badge-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px auto;
  display: block;
  box-shadow: 0 10px 20px rgba(10, 58, 130, 0.15);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.trust-badge:hover .trust-badge-img {
  transform: scale(1.15);
}

.trust-badge h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.trust-badge p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Contact Section ─────────────────────────────────────── */
.contact-section {
  background: var(--card);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Contact Form */
.contact-form {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(36, 174, 177, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 14px 28px;
  background: var(--primary);
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(36, 174, 177, 0.1);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact-detail-text h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-detail-text p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.5;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 250px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Branch Location Cards ────────────────────────────────── */
.branch-maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.branch-map-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.branch-map-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.branch-map-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px 12px;
  border-bottom: 1px solid var(--border);
}

.branch-map-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branch-map-icon i {
  font-size: 1.3rem;
  color: #fff;
}

.branch-map-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px;
}

.branch-map-name {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.3px;
}

.branch-map-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 22px;
  color: var(--text-secondary);
  font-size: 0.87rem;
  line-height: 1.6;
}

.branch-map-address i {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.branch-map-embed {
  width: 100%;
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
}

.branch-map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.branch-map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 22px 20px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .branch-maps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }

  .branch-map-embed {
    height: 250px;
  }
}
/* ── / Branch Location Cards ─────────────────────────────── */


/* Working Hours Card */
.working-hours-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.working-hours-card:hover {
  box-shadow: var(--shadow);
}

.wh-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wh-header i {
  font-size: 1.4rem;
  color: var(--accent-light);
}

.wh-header h4 {
  color: var(--text-white);
  font-size: 1.2rem;
  margin: 0;
}

.wh-body {
  padding: 20px;
}

.wh-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
}

.wh-day {
  font-weight: 600;
  color: var(--text);
}

.wh-time {
  font-weight: 700;
  color: var(--primary);
  background: rgba(36, 174, 177, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

.wh-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* Contact Social */
.contact-social {
  margin-top: 8px;
}

.contact-social h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

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

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-white);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.social-icon.ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

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

.social-icon.wa {
  background: #25D366;
}

/* ── Our Branches ──────────────────────────────────────────────── */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.branch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.branch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: center;
}

.branch-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 58, 130, 0.2);
}

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

.branch-card-icon {
  width: 70px;
  height: 70px;
  background: rgba(11, 58, 130, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 2rem;
  transition: all var(--transition-normal);
}

.branch-card:hover .branch-card-icon {
  background: var(--primary);
  color: var(--text-white);
  transform: scale(1.1);
}

.branch-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.branch-card-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.branch-card-content .btn {
  width: 100%;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
  min-width: 0;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

.footer-brand-desc {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 0.8;
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

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

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

.footer-col ul li a {
  font-size: 1rem;
  opacity: 0.8;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 1rem;
  opacity: 0.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.footer-contact-item i {
  color: var(--accent-light);
  margin-top: 3px;
  width: 16px;
  text-align: center;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.6;
}

/* ── Floating WhatsApp Button ────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--whatsapp);
  z-index: -1;
  animation: whatsapp-ring 2s infinite;
}

@keyframes whatsapp-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes whatsapp-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ── Toast Notification ──────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 100px;
  right: 28px;
  background: var(--primary);
  color: var(--text-white);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: #059669;
}

.toast.error {
  background: var(--sale);
}

/* ── Responsive ──────────────────────────────────────────── */

/* Tablet: 1024px */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-illustration {
    flex: none;
    width: 280px;
    height: 280px;
  }

  .hero-medical-cross {
    width: 140px;
    height: 140px;
  }

  .hero-medical-cross::before {
    width: 50px;
    height: 140px;
  }

  .hero-medical-cross::after {
    width: 140px;
    height: 50px;
  }

  .hero-circle-1 { width: 220px; height: 220px; }
  .hero-circle-2 { width: 180px; height: 180px; }
  .hero-circle-3 { width: 260px; height: 260px; }

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

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

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

/* Tablet small: 768px */
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

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

  .top-bar-left {
    gap: 12px;
    font-size: 0.75rem;
  }

  .top-bar-right {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-illustration {
    display: none;
  }

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

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

  .promo-card {
    flex: 0 0 calc(100% - 10px); /* 1 card visible on mobile with tiny gap peek */
    padding: 24px;
    min-height: 200px;
  }

  .promo-card-content {
    max-width: 60%;
  }

  .promo-card-content h3 {
    font-size: 1.4rem;
  }

  .promo-card-image {
    width: 140px;
    height: 140px;
    right: -10px;
    bottom: -10px;
  }

  .promo-card-icon {
    display: none;
  }

  .filter-tabs {
    gap: 6px;
  }

  .filter-tab {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
}

/* Mobile: 480px */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

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

  .section-subtitle {
    font-size: 0.92rem;
    margin-bottom: 32px;
  }

  .top-bar-left {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px; /* for scrollbar spacing */
  }
  
  .top-bar-left::-webkit-scrollbar {
    height: 4px;
  }
  
  .top-bar-left::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .top-bar-left::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
  }

  .navbar .container {
    height: 62px;
  }

  .logo-shield {
    width: 44px;
    height: 48px;
  }

  .logo-skp {
    font-size: 1rem;
  }

  .logo-text-main {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .logo-text-sub {
    font-size: 0.6rem;
  }

  .hero {
    min-height: 420px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.92rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-image {
    height: 140px;
  }

  .product-info {
    padding: 12px;
  }

  .product-name {
    font-size: 0.92rem;
  }

  .current-price {
    font-size: 1.05rem;
  }

  .trust-badges {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .trust-badge {
    padding: 24px 16px;
  }

  .trust-badge-icon {
    font-size: 2rem;
  }

  .contact-form {
    padding: 24px;
  }

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

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }
}

/* ====== OFFERS RESPONSIVENESS FIX ====== */

/* Tablet: 1024px to 769px - 2 cards per row */
@media (max-width: 1024px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile: 768px and below - 1 card per row, vertical stacking */
@media (max-width: 768px) {
  .promo-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .promo-card {
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
  }

  .promo-image-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 220px !important;
    padding: 0 !important;
    margin-top: 20px !important;
  }

  .promo-image-wrapper img {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
  }

  .promo-card-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 30px 24px 0 24px !important;
    text-align: center !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .promo-card-content > * {
    text-align: center !important;
    align-self: center !important;
    width: 100% !important;
  }

  .promo-discount-massive,
  .promo-card-content h3,
  .promo-card-content p {
    white-space: normal !important;
    overflow: visible !important;
    word-break: break-word !important;
    display: block !important;
  }

  .promo-discount-massive {
    font-size: 32px !important;
    margin-bottom: 8px !important;
  }

  .promo-card-content h3 {
    font-size: 1.2rem !important;
    margin-bottom: 8px !important;
  }

  .promo-card-content p {
    font-size: 1rem !important;
    margin-bottom: 16px !important;
  }

  .btn-medical-cta {
    width: auto !important;
    align-self: center !important;
    margin-top: 8px !important;
  }
}


/* ── Promotional Popup ────────────────────────────────────── */
.promo-popup-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 58, 130, 0.85); backdrop-filter: blur(8px);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease;
}
.promo-popup-overlay.show { opacity: 1; visibility: visible; }
.promo-popup.modern {
  background: var(--bg); width: 92%; max-width: 420px;
  border-radius: 20px; box-shadow: 0 24px 48px rgba(0,0,0,0.3);
  position: relative; transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 15px; border: 1px solid rgba(255,255,255,0.1);
}
.promo-popup-overlay.show .promo-popup.modern { transform: scale(1); }
.promo-popup-close {
  position: absolute; top: -15px; right: -15px;
  background: #ffffff; color: var(--primary);
  border: none; font-size: 16px; width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer; display: flex;
  align-items: center; justify-content: center; z-index: 20;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: all 0.2s ease;
}
.promo-popup-close:hover { transform: scale(1.1); background: #f8f9fa; }

.promo-img-header {
  position: relative; height: 160px; width: 100%;
  border-radius: 20px 20px 0 0; overflow: hidden;
}
.promo-img-header img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.7);
}
.promo-img-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(10,58,130,0.9), rgba(10,58,130,0.3));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.popup-badge {
  background: #E53935; color: white; font-size: 0.75rem; font-weight: 700;
  padding: 6px 16px; border-radius: 20px; text-transform: uppercase;
  letter-spacing: 1px; box-shadow: 0 2px 8px rgba(229,57,53,0.4);
  margin-bottom: 10px;
}
.promo-img-overlay h2 {
  font-size: 1.6rem; color: #FFD700; margin: 0;
  font-weight: 800; letter-spacing: 0.5px; text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.promo-popup-body { padding: 24px; }
.modern-offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.modern-offer-card {
  background: #ffffff; border-radius: 12px; padding: 16px 12px;
  text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid var(--border); transition: transform 0.2s;
}
.modern-offer-card:hover { transform: translateY(-3px); border-color: var(--primary-light); }
.mo-img { width: 50px; height: 50px; margin: 0 auto 10px; }
.mo-img img { width: 100%; height: 100%; object-fit: contain; }
.mo-text h4 { font-size: 0.95rem; color: var(--text); margin-bottom: 5px; font-weight: 600; }
.mo-discount {
  display: inline-block; background: rgba(34,197,94,0.1); color: var(--whatsapp);
  font-weight: 700; font-size: 0.85rem; padding: 4px 10px; border-radius: 6px;
}

.modern-delivery-card {
  background: linear-gradient(135deg, var(--card), #f8fafc);
  border-radius: 12px; padding: 16px; display: flex; align-items: center;
  gap: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); border: 1px solid var(--border);
}
.md-icon {
  width: 45px; height: 45px; background: rgba(10,58,130,0.1); color: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.md-text h4 { font-size: 1rem; color: var(--primary); margin-bottom: 4px; font-weight: 700; }
.md-text p { font-size: 0.85rem; color: var(--text-light); margin: 0; }

.promo-popup-footer {
  background: #f8fafc; padding: 20px 24px; text-align: center;
  border-top: 1px solid var(--border); border-radius: 0 0 20px 20px;
}
.popup-address { font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.5; }
.popup-address p { margin: 0; }
.popup-address i { color: var(--primary); margin-bottom: 6px; font-size: 1.2rem; }
.popup-contact { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.contact-pill {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; padding: 8px 16px; border-radius: 20px;
  text-decoration: none; transition: all 0.2s; flex: 1; min-width: 140px;
}
.contact-pill.phone { background: rgba(10,58,130,0.1); color: var(--primary); }
.contact-pill.phone:hover { background: var(--primary); color: #fff; }
.contact-pill.wa { background: var(--whatsapp); color: #fff; box-shadow: 0 4px 10px rgba(34,197,94,0.3); }
.contact-pill.wa:hover { background: var(--whatsapp-dark); transform: translateY(-2px); }
