/* aihealthmastery - Custom Styles */

/* CSS Custom Properties */
:root {
	
#translator-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #ffffff;
}
	
  /* Primary Colors - Medical Blue Theme */
  --primary: 210 100% 50%; /* #0066FF */
  --primary-dark: 210 100% 40%; /* #0052CC */
  --primary-light: 210 100% 95%; /* #E6F2FF */
  
  /* Secondary Colors */
  --secondary: 220 15% 25%; /* #3A404A */
  --success: 145 63% 42%; /* #28A745 */
  --warning: 38 92% 50%; /* #FFC107 */
  --danger: 354 70% 54%; /* #DC3545 */
  --info: 188 78% 41%; /* #17A2B8 */
  
  /* Neutral Colors */
  --background: 0 0% 100%; /* #FFFFFF */
  --surface: 0 0% 100%; /* #FFFFFF */
  --text-primary: 220 15% 25%; /* #3A404A */
  --text-secondary: 220 9% 46%; /* #6C757D */
  --text-muted: 220 9% 61%; /* #9CA3AF */
  --border: 220 13% 91%; /* #E5E7EB */
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 hsl(220 43% 11% / 0.05);
  --shadow: 0 1px 3px 0 hsl(220 43% 11% / 0.1), 0 1px 2px -1px hsl(220 43% 11% / 0.1);
  --shadow-lg: 0 10px 15px -3px hsl(220 43% 11% / 0.1), 0 4px 6px -4px hsl(220 43% 11% / 0.1);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: hsl(var(--text-primary));
  background-color: #ffffff !important;
  scroll-behavior: smooth;
  padding-top: 76px; /* Account for fixed navbar */
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: hsl(var(--text-primary));
  margin-bottom: var(--spacing-md);
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700;
  line-height: 1.1;
}

p {
  margin-bottom: var(--spacing-md);
}

.lead {
  font-size: var(--font-size-lg);
  font-weight: 400;
  color: hsl(var(--text-secondary));
}

/* Custom Button Styles */
.btn {
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

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

.btn-primary:hover,
.btn-primary:focus {
  background-color: hsl(var(--primary-dark));
  border-color: hsl(var(--primary-dark));
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  background-color: transparent;
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: white;
  transform: translateY(-1px);
}

.btn-light {
  background-color: hsl(var(--surface));
  border-color: hsl(var(--border));
  color: hsl(var(--text-primary));
}

.btn-light:hover,
.btn-light:focus {
  background-color: hsl(var(--background));
  border-color: hsl(var(--border));
  color: hsl(var(--text-primary));
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-sm);
}

/* Navigation Styles */
.navbar {
  background-color: hsl(var(--surface)) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border));
  transition: all var(--transition-normal);
}

.navbar-brand {
  font-weight: 700;
  font-size: var(--font-size-xl);
  color: hsl(var(--primary)) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: hsl(var(--text-secondary)) !important;
  transition: color var(--transition-fast);
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius);
  margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: hsl(var(--primary)) !important;
  background-color: hsl(var(--primary-light));
}

/* Hero Section */
.hero-section {
  background: hsl(var(--surface));
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(59,130,246,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.hero-image img:hover {
  transform: scale(1.02);
}

.stat-item {
  padding: var(--spacing-md);
  border-radius: var(--radius);
  background-color: hsl(var(--surface));
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Page Hero */
.page-hero {
  padding: 6rem 0 4rem;
  background: hsl(var(--surface));
}

/* Card Styles */
.card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  background-color: hsl(var(--surface));
}

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

.card-body {
  padding: 1.5rem;
}

/* Pricing Cards */
.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card.popular-plan {
  border: 2px solid hsl(var(--primary));
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: -2rem;
  background-color: hsl(var(--primary));
  color: white;
  padding: 0.5rem 3rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: var(--shadow);
}

.price-display {
  font-size: var(--font-size-3xl);
  font-weight: 700;
}

.feature-highlight {
  background-color: hsl(var(--primary-light));
  border-radius: var(--radius);
  padding: var(--spacing-md);
  text-align: center;
  font-weight: 600;
}

/* Coming Soon Cards */
.coming-soon-card {
  border-left: 4px solid hsl(var(--warning));
  background-color: hsl(var(--surface));
}

.coming-soon-card .badge {
  font-size: var(--font-size-xs);
  padding: 0.5rem 0.75rem;
}

/* Resource Cards */
.resource-card {
  transition: all var(--transition-normal);
  border: 1px solid hsl(var(--border));
}

.resource-card:hover {
  border-color: hsl(var(--primary));
  box-shadow: var(--shadow-lg);
}

.resource-icon {
  font-size: 2rem;
  color: hsl(var(--primary));
}

/* Video Cards */
.video-card {
  overflow: hidden;
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
}

.video-thumbnail img {
  transition: transform var(--transition-normal);
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.1);
}

.play-button {
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.video-card:hover .play-button {
  opacity: 1;
}

/* Tool Cards */
.tool-card {
  border-left: 4px solid hsl(var(--info));
}

.tool-icon {
  font-size: 1.5rem;
}

/* Contact Method Cards */
.contact-method-card {
  transition: all var(--transition-normal);
}

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

.contact-icon {
  font-size: 3rem;
}

/* Office Cards */
.office-card {
  border-left: 4px solid hsl(var(--primary));
}

/* Form Styles */
.form-control,
.form-select {
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
  background-color: hsl(var(--surface));
}

.form-control:focus,
.form-select:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 0.2rem hsl(var(--primary) / 0.25);
  outline: none;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: hsl(var(--danger));
}

.form-control.is-valid,
.form-select.is-valid {
  border-color: hsl(var(--success));
}

.form-label {
  font-weight: 600;
  color: hsl(var(--text-primary));
  margin-bottom: 0.5rem;
}

.invalid-feedback {
  color: hsl(var(--danger));
  font-size: var(--font-size-sm);
  margin-top: 0.25rem;
}

.valid-feedback {
  color: hsl(var(--success));
  font-size: var(--font-size-sm);
  margin-top: 0.25rem;
}

/* Newsletter Form */
.newsletter-form .input-group {
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.newsletter-form .form-control {
  border: none;
  border-radius: 0;
}

.newsletter-form .btn {
  border-radius: 0;
  border: none;
}

/* Badge Styles */
.badge {
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
}

.badge.bg-primary {
  background-color: hsl(var(--primary)) !important;
  color: white;
}

.badge.bg-warning {
  background-color: hsl(var(--warning)) !important;
  color: hsl(var(--text-primary));
}

/* Icon Styles */
.text-primary {
  color: hsl(var(--primary)) !important;
}

.text-secondary {
  color: hsl(var(--text-secondary)) !important;
}

.text-muted {
  color: hsl(var(--text-muted)) !important;
}

.text-success {
  color: hsl(var(--success)) !important;
}

.text-warning {
  color: hsl(var(--warning)) !important;
}

.text-danger {
  color: hsl(var(--danger)) !important;
}

.text-info {
  color: hsl(var(--info)) !important;
}

/* Background Colors */
.bg-primary {
  background-color: hsl(var(--primary)) !important;
  color: white;
}

.bg-light {
  background-color: hsl(var(--surface)) !important;
}

.bg-white {
  background-color: hsl(var(--surface)) !important;
}

.bg-dark {
  background-color: hsl(var(--secondary)) !important;
  color: white;
}

/* Footer Styles */
footer {
  background-color: hsl(var(--surface)) !important;
  color: hsl(var(--text-primary));
}

footer .text-muted {
  color: hsl(var(--text-muted)) !important;
}

footer a {
  transition: color var(--transition-fast);
}

footer a:hover {
  color: hsl(var(--primary)) !important;
}

.social-links a {
  font-size: var(--font-size-lg);
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
}

/*.social-links a:hover {*/
/*  background-color: hsl(var(--primary));*/
 /* transform: translateY(-2px);*/
/*}*/

/* Utility Classes */
.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow {
  box-shadow: var(--shadow) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.rounded-3 {
  border-radius: var(--radius-lg) !important;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding-top: 66px;
  }
  
  .hero-section {
    padding: 2rem 0;
    min-height: auto;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .pricing-card.popular-plan {
    transform: none;
    margin-top: 1rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-base);
  }
  
  .stat-item {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .page-hero {
    padding: 4rem 0 2rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .popular-badge {
    font-size: 0.65rem;
    padding: 0.25rem 2rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    padding-top: 0;
    background: white;
    color: black;
  }
  
  .card {
    border: 1px solid #ccc;
    box-shadow: none;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus Management */
:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --border: 0 0% 0%;
    --text-muted: 0 0% 30%;
  }
}

/* Dark Mode Support (for future implementation) */
@media (prefers-color-scheme: dark) {
  :root {
    --background: 220 15% 8%;
    --surface: 220 15% 12%;
    --text-primary: 220 9% 85%;
    --text-secondary: 220 9% 70%;
    --text-muted: 220 9% 55%;
    --border: 220 15% 20%;
  }
}

  @media only screen and (max-width: 768px) {
    .hide-on-mobile {
      display: none;
    }
  }
