/* ==========================================================================
   INTAZAR WELLNESS LADIES CLINIC - BRAND STYLESHEET
   Dr. Sumaira Intazar | Dietitian & Weight Loss Expert
   Tagline: "Be Healthy – Be Positive"
   ========================================================================== */

:root {
  --color-primary: #153476;
  --color-primary-dark: #0f2452;
  --color-primary-light: #2563eb;
  --color-magenta: #be185d;
  --color-magenta-light: #d946ef;
  --color-magenta-soft: #fdf2f8;
  --color-blue-soft: #eff6ff;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-border: #e2e8f0;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;
  
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --shadow-soft: 0 10px 25px -5px rgba(21, 52, 118, 0.05), 0 8px 10px -6px rgba(21, 52, 118, 0.05);
  --shadow-hover: 0 20px 30px -10px rgba(21, 52, 118, 0.12), 0 10px 10px -5px rgba(21, 52, 118, 0.04);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

.font-serif-luxury {
  font-family: var(--font-serif);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism & Cards */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.luxury-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Custom Brand Gradients */
.bg-gradient-royal {
  background: linear-gradient(135deg, #153476 0%, #1e40af 50%, #1e3a8a 100%);
}

.bg-gradient-soft-blue {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

.bg-gradient-soft-pink {
  background: linear-gradient(180deg, #fff1f2 0%, #ffffff 100%);
}

.bg-gradient-hero {
  background: radial-gradient(circle at 10% 20%, rgba(240, 247, 255, 0.8) 0%, rgba(255, 255, 255, 1) 90%);
}

.text-gradient-royal {
  background: linear-gradient(135deg, #153476 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-magenta {
  background: linear-gradient(135deg, #be185d 0%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button & Badge Styles */
.btn-primary-clinic {
  background: linear-gradient(135deg, #153476 0%, #1e40af 100%);
  color: #ffffff;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(21, 52, 118, 0.25);
}

.btn-primary-clinic:hover {
  background: linear-gradient(135deg, #0f2452 0%, #153476 100%);
  box-shadow: 0 6px 20px rgba(21, 52, 118, 0.35);
  transform: translateY(-1px);
}

.btn-whatsapp-clinic {
  background-color: #25D366;
  color: #ffffff;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-clinic:hover {
  background-color: #1eb956;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

.btn-outline-clinic {
  border: 1.5px solid #153476;
  color: #153476;
  background: transparent;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-outline-clinic:hover {
  background: #153476;
  color: #ffffff;
}

/* Pulse animation for WhatsApp badge */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.pulse-whatsapp {
  animation: pulse-ring 2.4s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

/* Soft floating animation */
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: float-slow 4s ease-in-out infinite;
}

/* Navigation active indicator */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #153476;
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #153476;
  font-weight: 600;
}

/* Condition filter pill active */
.filter-tab.active {
  background-color: #153476;
  color: #ffffff;
  border-color: #153476;
  box-shadow: 0 4px 12px rgba(21, 52, 118, 0.2);
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  }
  
  body {
    padding-bottom: 72px;
  }
}

/* Form styling */
.clinic-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.clinic-input:focus {
  outline: none;
  border-color: #153476;
  box-shadow: 0 0 0 3px rgba(21, 52, 118, 0.12);
}

/* Accordion transition */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-content {
  max-height: 500px;
  transition: max-height 0.35s ease-in-out;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Breadcrumbs */
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 8px;
  color: #94a3b8;
}

/* Detail page highlight banner */
.condition-hero-gradient {
  background: linear-gradient(135deg, #153476 0%, #1e40af 60%, #3b82f6 100%);
}

/* Doctor photo frame effects */
.doctor-portrait-frame {
  position: relative;
}

.doctor-portrait-frame::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(21, 52, 118, 0.15) 0%, rgba(217, 70, 239, 0.15) 100%);
  z-index: 0;
}

/* Printable / Clean rendering */
@media print {
  .no-print, .mobile-sticky-bar, #floating-whatsapp {
    display: none !important;
  }
}
