/* Healthcare Landing Page Styles - Premium WhatsApp Medical Consultation */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Colors - Controlled Use Only */
  --brand-red: #DC2626;
  --brand-green: #16A34A;

  /* Base Colors */
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;

  /* Neutral Grays */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Border Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  min-height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo i {
  font-size: 28px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition-fast);
  position: relative;
}

.nav-menu a:hover {
  color: var(--text-primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-green);
  transition: var(--transition-fast);
}

.nav-menu a:hover::after {
  width: 100%;
}

.emergency-link {
  color: var(--brand-red) !important;
  font-weight: 600;
}

.emergency-link i {
  margin-right: 6px;
}

.btn-nav-login {
  padding: 10px 20px !important;
  background: var(--brand-green) !important;
  color: white !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  transition: var(--transition-fast) !important;
  border: none !important;
  cursor: pointer !important;
}

.btn-nav-login:hover {
  background: #15803d !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  margin-top: 70px;
  padding: 80px 0 120px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--bg-primary) 100%);
  z-index: -1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-green), #15803d);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.hero-badge i {
  font-size: 16px;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition-slow);
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary-lg {
  background: var(--brand-green);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary-lg:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.3);
}

.btn-secondary-lg {
  background: var(--brand-red);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-secondary-lg:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.3);
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Chat Preview */
.hero-visual {
  position: relative;
}

.chat-preview {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.chat-preview::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid var(--bg-secondary);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message {
  display: flex;
  gap: 12px;
  max-width: 80%;
  animation: messageSlideIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.message:nth-child(1) { animation-delay: 0.2s; }
.message:nth-child(2) { animation-delay: 0.8s; }
.message:nth-child(3) { animation-delay: 1.4s; }

.message.user-message {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-content {
  background: var(--gray-100);
  padding: 12px 16px;
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.user-message .message-content {
  background: var(--brand-green);
  color: white;
}

.doctor-message {
  align-items: flex-start;
}

.doctor-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--brand-green), #15803d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  flex-shrink: 0;
}

.message-time {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
  text-align: right;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  align-self: flex-start;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: var(--gray-400);
  border-radius: 50%;
  animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes messageSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typing {
  0%, 60%, 100% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.2);
  }
}

/* Section Styles */
section {
  padding: 100px 0;
}

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

.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* How It Works */
.how-it-works {
  background: var(--bg-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.step-card {
  text-align: center;
  background: var(--bg-secondary);
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-100);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: var(--brand-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--brand-green), #15803d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: var(--shadow-lg);
}

.step-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.step-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Doctors Section */
.doctors {
  background: var(--bg-primary);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.doctor-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition-normal);
  border: 1px solid var(--gray-100);
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-green);
}

.doctor-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--brand-green), #15803d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.doctor-info h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.doctor-specialty {
  color: var(--brand-green);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.doctor-credentials {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.credential, .experience {
  background: var(--gray-100);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
}

.doctor-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fbbf24;
  font-size: 14px;
}

.doctor-rating span {
  color: var(--text-secondary);
  font-size: 13px;
  margin-left: 8px;
}

/* Trust Section */
.trust {
  background: var(--bg-secondary);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.trust-card {
  text-align: center;
  background: var(--bg-secondary);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: var(--transition-normal);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.trust-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--brand-green), #15803d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: var(--shadow-md);
}

.trust-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.trust-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Emergency Section */
.emergency {
  background: linear-gradient(135deg, var(--brand-red), #b91c1c);
  color: white;
  padding: 60px 0;
}

.emergency-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.emergency-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  backdrop-filter: blur(10px);
}

.emergency-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.emergency-text p {
  font-size: 18px;
  margin-bottom: 24px;
  opacity: 0.9;
  line-height: 1.6;
}

.emergency-contacts {
  display: flex;
  gap: 16px;
}

.btn-emergency {
  background: white;
  color: var(--brand-red);
  padding: 12px 24px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.btn-emergency:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--brand-green), #15803d);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 600;
  color: white;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-section h4 {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-section a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--brand-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
  font-size: 14px;
  color: var(--gray-500);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.whatsapp-float {
  width: 60px;
  height: 60px;
  background: var(--brand-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  text-decoration: none;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition-slow);
}

.whatsapp-float:hover::before {
  width: 100px;
  height: 100px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.4);
}

.whatsapp-float i {
  position: relative;
  z-index: 1;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(22, 163, 74, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(22, 163, 74, 0.5);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

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

  .chat-preview {
    max-width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    gap: 20px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-title {
    font-size: 36px;
  }

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

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

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .steps-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .emergency-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .emergency-contacts {
    flex-direction: column;
  }

  .section-header h2 {
    font-size: 32px;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .step-card,
  .doctor-card,
  .trust-card {
    padding: 24px 20px;
  }

  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
}</content>
<parameter name="filePath">C:\laragon\www\whatasppalpha\public\css\healthcare-landing.css