:root {
  --primary-color: #6B46C1;    /* Logo purple - Clinical Confidence */
  --primary-light: #4a3d8f;
  --primary-dark: #271f54;
  --secondary: #FF6B35;        /* Logo orange - energy, CTAs */
  --navy: #1A1A1A;             /* Authority black */
  --gold: #FF6B35;             /* Logo orange accent (unified) */
  --text-dark: #1E293B;        /* Charcoal - readable, serious */
  --text-gray: #475569;        /* Slate body text */
  --text-light: #737373;
  --bg-light: #FAFAFA;         /* Warm white */
  --bg-card: #FFFFFF;
  --border-color: #E5E5E5;
  --shadow-soft: 0 2px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --bg-blue-soft: rgba(107, 70, 193, 0.15);
}

[data-theme="dark"] {
  --primary-color: #8B6FD4;
  --primary-light: #7b6fc0;
  --secondary: #FF8A57;
  --text-dark: #f9fafb;
  --text-gray: #e5e7eb;
  --text-light: #d1d5db;
  --bg-light: #111111;
  --bg-card: #1A1A1A;
  --border-color: #2A2A2A;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography Bridge — Logo serif energy meets modern site */
h1, h2, h3 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
}

h1 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h2 {
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

h3 {
  font-weight: 600;
  line-height: 1.4;
}

/* Keep nav, buttons, labels, footer headings in Inter */
.nav-menu a,
.nav-menu h3,
button,
.btn,
.book-appointment,
.stat-label,
.emergency-sticky,
.trust-bar,
footer h3,
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px);
}

/* Basic Hero Section - Page-specific gradients will override */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.content-section {
  background-color: #FFFFFF;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
}

.content-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.content-section h3 {
  color: var(--text-dark);
  margin: 1.5rem 0 1rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background-color: #FFFFFF;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Doctor Cards */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.doctor-card {
  background-color: #FFFFFF;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-5px);
}

.doctor-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.doctor-credentials {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.doctor-specialties {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.doctor-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.doctor-link:hover {
  background-color: var(--primary-color);
  color: white;
}

/* When to See Section */
.when-to-see-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.when-item {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary-color);
}

.when-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer h3 {
  color: #FF6B35;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer ul li a {
  display: block;
  padding: 0.4rem 0;
  line-height: 1.8;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer ul li a:hover {
  padding-left: 4px;
}

.footer p, .footer li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.footer a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2.5rem;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Emergency Sticky Bar */
.emergency-sticky {
  position: relative;
  background: #dc2626;
  color: white;
  text-align: center;
  padding: 8px 16px;
  z-index: 1000;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.emergency-sticky a {
  color: white !important;
  text-decoration: underline;
}

.emergency-alert-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.emergency-sticky .close-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 44px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emergency-sticky.hidden { 
  display: none; 
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background-color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 1002;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color, #6B46C1);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 64px;
  width: auto;
  mix-blend-mode: multiply;
}

.logo-text {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(0.95rem, 2.8vw, 1.4rem);
  font-weight: 700;
  color: #6B46C1;
  white-space: nowrap;
  line-height: 1.2;
}

.hamburger {
  z-index: 1003;
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  border-radius: 8px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background-color: var(--text-dark, #1f2937);
  margin: 2px 0;
  transition: 0.3s;
  border-radius: 2px;
}

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

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

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  background-color: #FFFFFF;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark, #4a5568);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  min-height: 56px;
  display: flex;
  align-items: center;
}

.nav-menu a:hover { 
  color: var(--primary-color, #6B46C1); 
}

.nav-menu .book-appointment-btn {
  background: #6B46C1 !important;
  color: #ffffff !important;
  padding: 14px 32px !important;
  white-space: nowrap;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
  margin-right: 0.5rem;
}

.theme-toggle {
  background: none;
  border: 2px solid #e5e7eb;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  min-height: 56px;
  min-width: 44px;
  margin-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav-overlay {
  display: none;
}

.nav-overlay.active { 
  display: none; 
}

/* Dropdown Navigation */
.nav-menu .dropdown {
  position: relative;
}

.nav-menu .dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon,
.dropdown.active .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid var(--border-color);
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block !important;
  padding: 12px 18px !important;
  color: var(--text-gray) !important;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid var(--border-color);
  min-height: auto !important;
  font-weight: 500 !important;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--bg-light);
  color: var(--primary-color) !important;
  padding-left: 24px !important;
}

.dropdown-menu a::after {
  display: none;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.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(7px, -6px);
}

/* Logo Watermark - Parallax */
.logo-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: url('/images/logo-watermark.png') center/contain no-repeat;
  opacity: 0.20;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Mobile Responsive */
@media (min-width: 769px) {
  .emergency-desktop { display: inline; }
  .emergency-mobile { display: none; }
}

@media (max-width: 768px) {
  .emergency-desktop { display: none; }
  .emergency-mobile { display: inline; }
  
  .hamburger {
    z-index: 1003; 
    display: flex; 
  }
  
  .theme-toggle { 
    display: none; 
  }
  
  .nav { 
    padding: 0.75rem 20px; 
  }
  
  .logo { 
    max-width: none;
    gap: 0.4rem;
  }
  
  .logo-img {
    height: 44px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    padding-top: 80px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
  }
  
  .nav-menu.active { 
    transform: translateX(0); 
  }
  
  .nav-menu li { 
    padding: 0 2rem; 
    width: 100%; 
  }
  
  .nav-menu a { 
    padding: 1rem 0; 
    border-bottom: 1px solid #e5e7eb; 
    width: 100%; 
    justify-content: center; 
  }

  /* Mobile Dropdown Styles */
  .nav-menu .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(107, 70, 193, 0.05);
    margin: 0.5rem 0 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .nav-menu .dropdown.active .dropdown-menu {
    max-height: 500px;
  }
  
  .nav-menu.active {
    overflow-y: auto;
  }
  
  .nav-menu .dropdown-menu a {
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
    border-bottom: 1px solid rgba(107, 70, 193, 0.1);
    text-align: center !important;
    justify-content: center !important;
  }
  
  .nav-menu .dropdown > a {
    justify-content: center;
  }
  
  .nav-menu li {
    text-align: center;
  }
  
  .nav-menu .book-appointment-btn { 
    margin: 1rem 2rem; 
    justify-content: center; 
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .features-grid,
  .doctors-grid {
    grid-template-columns: 1fr;
  }
  
  .logo-watermark {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-btn {
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white !important;
    text-align: center;
}

.footer-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.footer-btn-primary {
    background: #6B46C1;
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

.footer-btn-secondary {
    background: #FF6B35;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.footer-btn-tertiary {
    background: #FF6B35;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

@media (max-width: 480px) {
  .footer h3 {
    font-size: 1rem;
  }

  .footer-btn {
    font-size: 0.85rem;
    padding: 10px 16px;
  }
}

/* Scroll Reveal Animations */
/* IMPORTANT: Content visible by default - animation is progressive enhancement only */
/* Never hide content with opacity:0 - mobile Safari IntersectionObserver is unreliable */
.reveal {
  opacity: 1 !important;
  transform: none !important;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-children > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  section {
    padding: 2rem 0;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}

.logo, .site-title, .logo-text {
  font-family: 'Lora', Georgia, serif;
}

/* Elite Article Meta - Blog Posts */
.article-meta { background: #FAFAFA; padding: 1.25rem 0; border-bottom: 1px solid #E5E5E5; }
.meta-row { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; max-width: 800px; margin: 0 auto; }
.meta-top { display: flex; align-items: center; gap: 1.25rem; }
.meta-chip { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; color: #64748B; font-family: 'Inter', sans-serif; letter-spacing: 0.01em; }
.meta-chip svg { width: 15px; height: 15px; fill: #94A3B8; flex-shrink: 0; }
.meta-divider { width: 4px; height: 4px; border-radius: 50%; background: #CBD5E1; flex-shrink: 0; }
.reviewer-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: linear-gradient(135deg, rgba(107,70,193,0.06), rgba(255,107,53,0.04)); border: 1px solid rgba(107,70,193,0.12); border-radius: 2rem; padding: 0.4rem 1.1rem; font-size: 0.78rem; color: #6B46C1; font-weight: 600; font-family: 'Inter', sans-serif; letter-spacing: 0.01em; }
.reviewer-badge svg { width: 13px; height: 13px; fill: #22C55E; flex-shrink: 0; }
.reviewer-badge a { color: #6B46C1; text-decoration: none; font-weight: 700; }
.reviewer-badge a:hover { text-decoration: underline; }
@media (max-width: 768px) { .meta-top { gap: 0.75rem; } .meta-chip { font-size: 0.78rem; } .reviewer-badge { font-size: 0.75rem; padding: 0.35rem 0.9rem; } }

/* FAQ Accordion — Standardized across all pages */
.faq-section { padding: 3rem 0; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
  background-color: #FFFFFF;
  margin-bottom: 1rem;
  border-radius: 16px;
  overflow: hidden;
  border-bottom: 1px solid #E5E5E5;
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}
.faq-item.open {
  box-shadow: 0 4px 20px rgba(107, 70, 193, 0.08);
  transform: scale(1.01);
}
.faq-item:last-child { border-bottom: none; }
.faq-item:hover { border-color: #6B46C1; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  padding: 1.5rem 2rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.faq-question:hover { background: rgba(107, 70, 193, 0.02); }
.faq-question.active {
  background: rgba(107, 70, 193, 0.04);
  border-left-color: #6B46C1;
}
.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: #6B46C1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(107, 70, 193, 0.06);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}
.faq-question:hover .faq-toggle { background: rgba(107, 70, 193, 0.12); }
.faq-question.active .faq-toggle {
  transform: rotate(135deg);
  background: rgba(107, 70, 193, 0.15);
}
.faq-answer {
  color: #475569;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem 0 2.25rem;
  transform: translateY(-8px);
  opacity: 0;
  transition: max-height 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.4s ease 0.08s,
              transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.08s,
              padding 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.faq-answer.show {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  padding: 0.25rem 2rem 1.75rem 2.25rem;
}
@media (max-width: 768px) {
  .faq-question { padding: 1.25rem 1.5rem; font-size: 1rem; }
  .faq-answer.show { padding: 0 1.5rem 1.25rem; }
}

/* Footer White Box Fix */
.footer-content > div {
  background: transparent !important;
  background-color: transparent !important;
}

.footer-buttons {
  background: transparent !important;
  background-color: transparent !important;
}

.footer a:focus,
.footer a:focus-visible,
.footer ul li a:focus,
.footer ul li a:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
}

/* Breadcrumbs Component */
/* Breadcrumbs - Default (for light/white backgrounds) */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  padding: 1rem 0;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: #6B46C1;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: #553C9A;
  text-decoration: underline;
}
.breadcrumbs .separator {
  color: #cbd5e1;
}
.breadcrumbs .current {
  color: #1e293b;
  font-weight: 500;
}

/* Breadcrumbs - Light variant (for dark/purple backgrounds) */
.breadcrumbs.breadcrumbs-light {
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.breadcrumbs.breadcrumbs-light a {
  color: rgba(255,255,255,0.9);
}
.breadcrumbs.breadcrumbs-light a:hover {
  color: white;
}
.breadcrumbs.breadcrumbs-light .separator {
  color: rgba(255,255,255,0.7);
}
.breadcrumbs.breadcrumbs-light .current {
  color: white;
}

/* Badge Component */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-primary { background: #EDE9FE; color: #6B46C1; }
.badge-success { background: #D1FAE5; color: #059669; }
.badge-warning { background: #FEF3C7; color: #D97706; }
.badge-info { background: #DBEAFE; color: #2563EB; }
.badge-new { background: #FF6B35; color: white; }

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #1e293b;
  color: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  animation: slideIn 0.3s ease;
}
.toast-success { border-left: 4px solid #10B981; }
.toast-error { border-left: 4px solid #EF4444; }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Progress Steps */
.progress-steps {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #f1f5f9;
  border-radius: 2rem;
  font-size: 0.85rem;
  color: #64748b;
}
.progress-step .step-number {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
  color: white;
  flex-shrink: 0;
}
.progress-step.active {
  background: #EDE9FE;
  color: #6B46C1;
}
.progress-step.active .step-number {
  background: #6B46C1;
}
.progress-step.completed {
  background: #D1FAE5;
  color: #059669;
}
.progress-step.completed .step-number {
  background: #10B981;
}
.progress-step .step-label {
  white-space: nowrap;
}

/* ========== MODERN UI STYLES ========== */

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
}
.glass-dark {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Borders */
.gradient-border {
  position: relative;
  background: white;
  border-radius: 1rem;
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, #6B46C1, #FF6B35, #6B46C1);
  z-index: -1;
}

/* Animated Counter */
.counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: #6B46C1;
}
.counter-wrapper {
  text-align: center;
}
.counter-label {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 0.25rem;
}

/* Skeleton Loader */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s infinite;
  border-radius: 0.5rem;
}
@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-text { height: 1rem; margin-bottom: 0.5rem; }
.skeleton-title { height: 1.5rem; width: 60%; margin-bottom: 1rem; }
.skeleton-avatar { width: 3rem; height: 3rem; border-radius: 50%; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card Hover Lift */
.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(107, 70, 193, 0.15);
}

/* Pulse Animation for CTAs */
.pulse {
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(107, 70, 193, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(107, 70, 193, 0); }
  100% { box-shadow: 0 0 0 0 rgba(107, 70, 193, 0); }
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #6B46C1, #FF6B35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Floating Labels */
.float-label {
  position: relative;
}
.float-label input,
.float-label textarea {
  padding: 1.5rem 1rem 0.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  width: 100%;
  transition: border-color 0.3s;
}
.float-label label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  transition: all 0.3s;
  pointer-events: none;
}
.float-label input:focus + label,
.float-label input:not(:placeholder-shown) + label {
  top: 0.5rem;
  transform: translateY(0);
  font-size: 0.75rem;
  color: #6B46C1;
}
.float-label input:focus {
  border-color: #6B46C1;
  outline: none;
}

/* Glow Effect */
.glow {
  box-shadow: 0 0 20px rgba(107, 70, 193, 0.3);
}
.glow-hover:hover {
  box-shadow: 0 0 30px rgba(107, 70, 193, 0.4);
}

/* Clickable Resource Cards */
a.resource-card {
    text-decoration: none;
    display: block;
    cursor: pointer;
}
a.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(107, 70, 193, 0.15);
}
a.resource-card h3 {
    color: #6B46C1;
}
a.resource-card p {
    color: #64748b;
}
