/* ===== Holy Trinity Care - Complete Stylesheet ===== */
/* Based on your design system specifications */

:root {
  /* Primary Colors */
  --primary-blue: #1e40af;
  --primary-hover: #1e3a8a;
  --primary-foreground: #ffffff;
  
  /* Secondary Colors */
  --secondary: #f0f4ff;
  --muted: #ececf0;
  --muted-foreground: #717182;
  
  /* Accent Colors */
  --green: #16a34a;
  --blue: #2563eb;
  --purple: #9333ea;
  --orange: #ea580c;
  --teal: #0d9488;
  
  /* Semantic Colors */
  --background: #ffffff;
  --foreground: #0a0a0a;
  --border: rgba(0, 0, 0, 0.1);
  --destructive: #d4183d;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 80px;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
  
  /* Container */
  --container-max: 1280px;
  --container-padding: 1rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

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

.text-large { font-size: 1.125rem; line-height: 1.75; }
.text-small { font-size: 0.875rem; line-height: 1.5; }
.text-xs { font-size: 0.75rem; line-height: 1.5; }

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ===== HEADER ===== */
.header {
  height: 80px;
  background: var(--background);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
}

/* Logo Image */
.logo-img {
  width: auto;
  height: 64px;
  max-width: 280px;
  object-fit: contain;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.2s ease;
}

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

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--foreground);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--background);
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--secondary);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-blue);
  padding: 12px 24px;
}

.btn-ghost:hover {
  text-decoration: underline;
}

.btn-white {
  background: var(--background);
  color: #374151;
  border-radius: var(--radius-full);
}

.btn-white:hover {
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.125rem;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: var(--spacing-4xl) 0;
  background: linear-gradient(135deg, #f9fafb 0%, #eff6ff 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.hero-content {
  max-width: 520px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: var(--background);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
}

.hero-badge .icon {
  width: 16px;
  height: 16px;
  color: #ef4444;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  color: #111827;
  margin-bottom: var(--spacing-lg);
}

.hero p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: var(--spacing-xl);
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--primary-blue);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 4px;
}

/* Hero Card */
.hero-card {
  background: var(--background);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: var(--spacing-xl);
}

.hero-card-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
}

.hero-card-item + .hero-card-item {
  border-top: 1px solid var(--border);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  background: #dbeafe;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-blue);
}

.hero-card-content h4 {
  margin-bottom: 4px;
  font-size: 1.125rem;
}

.hero-card-content p {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: var(--spacing-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-sm);
}

.section-header h2 {
  margin-bottom: var(--spacing-md);
}

.section-header p {
  color: #6b7280;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  gap: var(--spacing-xl);
}

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

.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ===== SERVICE CARD ===== */
.service-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%);
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.service-card-icon.blue { background: var(--blue); }
.service-card-icon.green { background: var(--green); }

.service-card-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--spacing-sm);
}

.service-card-description {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--spacing-md);
}

.service-card-list {
  list-style: none;
  margin-bottom: var(--spacing-md);
}

.service-card-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
  color: white;
  margin-bottom: 4px;
}

.service-card-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #93c5fd;
  flex-shrink: 0;
}

.service-card-list.green li::before {
  background: #86efac;
}

.service-card-link {
  color: white;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: gap 0.2s ease;
}

.service-card-link:hover {
  gap: 12px;
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
  background: var(--background);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-2xl);
  padding: var(--spacing-xl);
  transition: box-shadow 0.2s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
}

.testimonial-text {
  font-size: 1rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: var(--spacing-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  color: var(--foreground);
}

.testimonial-role {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ===== FEATURE CARD ===== */
.feature-card {
  background: var(--background);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  text-align: center;
  transition: box-shadow 0.2s ease;
  border: 1px solid var(--border);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.feature-card-icon.blue { background: #dbeafe; }
.feature-card-icon.blue svg { color: var(--primary-blue); }
.feature-card-icon.green { background: #dcfce7; }
.feature-card-icon.green svg { color: var(--green); }
.feature-card-icon.purple { background: #f3e8ff; }
.feature-card-icon.purple svg { color: var(--purple); }
.feature-card-icon.orange { background: #ffedd5; }
.feature-card-icon.orange svg { color: var(--orange); }

.feature-card-icon svg { width: 24px; height: 24px; }

.feature-card h3 { font-size: 1.25rem; margin-bottom: var(--spacing-sm); }
.feature-card p { font-size: 0.875rem; color: #6b7280; margin-bottom: 0; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: #1e3a5f;
  padding: var(--spacing-4xl) 0;
  text-align: center;
}

.cta-section h2 { color: white; margin-bottom: var(--spacing-md); }

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons { display: flex; gap: var(--spacing-md); justify-content: center; flex-wrap: wrap; }

/* ===== CONTENT SECTION ===== */
.content-section { padding: var(--spacing-4xl) 0; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.content-image {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

/* ===== CONTACT INFO ===== */
.contact-info { display: flex; flex-direction: column; gap: var(--spacing-lg); }

.contact-item { display: flex; gap: var(--spacing-md); align-items: flex-start; }

.contact-icon {
  width: 48px; height: 48px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.contact-icon.blue { background: #dbeafe; } .contact-icon.blue svg { color: var(--primary-blue); }
.contact-icon.green { background: #dcfce7; } .contact-icon.green svg { color: var(--green); }
.contact-icon.purple { background: #f3e8ff; } .contact-icon.purple svg { color: var(--purple); }
.contact-icon.orange { background: #ffedd5; } .contact-icon.orange svg { color: var(--orange); }

.contact-icon svg { width: 24px; height: 24px; }
.contact-text h4 { margin-bottom: 4px; }
.contact-text p { color: #6b7280; margin-bottom: 0; }

/* ===== FORMS ===== */
.form-container {
  background: var(--background); border: 1px solid #e5e7eb;
  border-radius: var(--radius-2xl); padding: var(--spacing-xl);
}

.form-title { font-size: 1.5rem; font-weight: 600; margin-bottom: var(--spacing-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-md); }
.form-group { margin-bottom: var(--spacing-md); }

.form-group label {
  display: block; font-size: 0.875rem; font-weight: 500;
  margin-bottom: var(--spacing-sm); color: var(--foreground);
}

.form-input, .form-textarea, .form-select {
  width: 100%; height: 48px; padding: 12px 16px; background: #f3f3f5;
  border: 1px solid #e5e5e5; border-radius: var(--radius-lg);
  font-size: 1rem; font-family: var(--font-family);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.3);
}

.form-checkbox { display: flex; align-items: flex-start; gap: var(--spacing-sm); }

.form-checkbox input[type="checkbox"] {
  width: 20px; height: 20px; border-radius: 4px; border: 1px solid #d1d5db;
  accent-color: var(--primary-blue); margin-top: 2px; flex-shrink: 0;
}

.form-checkbox label { font-size: 0.875rem; color: #374151; }

/* ===== ALERTS ===== */
.alert { padding: var(--spacing-lg); border-radius: var(--radius-xl); margin-bottom: var(--spacing-lg); display: flex; gap: var(--spacing-md); align-items: flex-start; }
.alert-danger { background: #fef2f2; border: 1px solid #fecaca; }
.alert-danger .alert-icon { color: #dc2626; }
.alert-info { background: #eff6ff; border: 1px solid #bfdbfe; }
.alert-info .alert-icon { color: var(--primary-blue); }
.alert-icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.alert-content h4 { margin-bottom: 4px; font-size: 1rem; }
.alert-content p { font-size: 0.875rem; margin-bottom: 0; }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: #f9fafb; border-bottom: 1px solid #e5e7eb; padding: var(--spacing-md) 0; }
.breadcrumb .container { display: flex; align-items: center; gap: var(--spacing-sm); font-size: 0.875rem; color: #6b7280; }
.breadcrumb a { color: #6b7280; text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-blue); }
.breadcrumb .current { color: var(--foreground); font-weight: 500; }

/* ===== TABS ===== */
.tabs { display: flex; flex-wrap: wrap; gap: var(--spacing-sm); margin-bottom: var(--spacing-lg); }
.tab { padding: 8px 16px; background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; color: #374151; }
.tab:hover { border-color: var(--primary-blue); color: var(--primary-blue); }
.tab.active { background: var(--primary-blue); color: white; border-color: var(--primary-blue); }

/* ===== FOOTER ===== */
.footer { background: #1e3a5f; padding: var(--spacing-2xl) 0; color: white; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-xl); }
.footer-column h4 { color: white; font-size: 1.125rem; margin-bottom: var(--spacing-lg); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--spacing-sm); }
.footer-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.875rem; transition: color 0.2s ease; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: var(--spacing-xl); padding-top: var(--spacing-lg); border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.footer-google-btn { display: inline-flex; align-items: center; gap: var(--spacing-sm); background: white; color: #374151; padding: 8px 20px; border-radius: var(--radius-full); text-decoration: none; font-size: 0.875rem; font-weight: 500; margin-top: var(--spacing-md); transition: box-shadow 0.2s ease; }
.footer-google-btn:hover { box-shadow: var(--shadow-md); }

/* ===== STAFF LOGIN PAGE ===== */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f9fafb 0%, #eff6ff 100%); padding: var(--spacing-xl); }
.login-card { width: 100%; max-width: 448px; text-align: center; }
.login-logo { width: 96px; height: 96px; margin: 0 auto var(--spacing-lg); background: linear-gradient(135deg, #0f766e, #115e59); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.login-logo svg { width: 64px; height: 64px; color: #d4a574; }
.login-card h1 { font-size: 1.875rem; margin-bottom: var(--spacing-sm); }
.login-card > p { color: #6b7280; margin-bottom: var(--spacing-xl); }
.login-form { background: var(--background); border-radius: var(--radius-2xl); padding: var(--spacing-xl); box-shadow: var(--shadow-lg); text-align: left; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-blue); }
.bg-light { background: #f9fafb; }
.bg-gradient-blue-green { background: linear-gradient(135deg, #eff6ff 0%, #dcfce7 100%); }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .container { padding: 0 1.5rem; }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  .container { padding: 0 1rem; }
  
  .nav { display: none; position: fixed; top: 80px; left: 0; right: 0; background: var(--background); flex-direction: column; padding: var(--spacing-lg); box-shadow: var(--shadow-lg); z-index: 999; }
  .nav.active { display: flex; }
  .mobile-toggle { display: block; }
  .header .btn { display: none; }
  .hero .container, .content-grid { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .cards-grid-2, .cards-grid-3, .cards-grid-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: var(--spacing-md); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: var(--spacing-sm); }
  .hero { padding: var(--spacing-2xl) 0; }
  .section { padding: var(--spacing-2xl) 0; }
  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; }
  .content-section { padding: var(--spacing-2xl) 0; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: var(--spacing-sm); }
  .logo-img { height: 48px; max-width: 200px; }
}

/* ===== DROPDOWN NAVIGATION ===== */
.nav-dropdown { position: relative; }
.nav-link.dropdown-toggle { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-link.dropdown-toggle svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.nav-dropdown:hover .nav-link.dropdown-toggle svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #ffffff; min-width: 200px; border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12); border: 1px solid #e5e7eb;
  opacity: 0; visibility: hidden; transition: all 0.2s ease;
  z-index: 1000; padding: 8px 0; margin-top: 4px;
}

.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.dropdown-menu a {
  display: block; padding: 10px 20px; color: #374151; text-decoration: none;
  font-size: 0.95rem; font-weight: 500; white-space: nowrap; transition: all 0.15s ease;
}

.dropdown-menu a:hover { background: #eff6ff; color: #1e40af; }
.nav-dropdown .nav-link.active { color: #1e40af; }

/* ===== CTA BUTTON FIX ===== */
.btn-outline-white {
  background: transparent !important; border: 2px solid #ffffff !important;
  color: #ffffff !important; padding: 12px 32px; font-size: 1rem; font-weight: 500;
  border-radius: 10px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.2s ease;
}

.btn-outline-white:hover { background: rgba(255, 255, 255, 0.15) !important; color: #ffffff !important; }
.btn-outline-white.btn-large { padding: 16px 40px; font-size: 1.125rem; }

/* ===== MOBILE DROPDOWN ===== */
@media (max-width: 768px) {
  .nav-dropdown { width: 100%; }
  .dropdown-menu { position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 16px; background: transparent; min-width: auto; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 8px 16px; font-size: 0.9rem; }
  .nav-link.dropdown-toggle { cursor: pointer; }
}

/* ===== HERO CAROUSEL ===== */
.hero { position: relative; padding: 80px 0; overflow: hidden; min-height: 600px; }
.hero-carousel-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out; }
.hero-carousel-slide.active { opacity: 1; }
.hero-carousel-slide::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(239, 246, 255, 0.65) 50%, rgba(255, 255, 255, 0.75) 100%); }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-carousel-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.hero-carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); border: 2px solid rgba(30, 64, 175, 0.4); cursor: pointer; transition: all 0.3s ease; padding: 0; }
.hero-carousel-dot.active { background: #1e40af; border-color: #1e40af; transform: scale(1.3); }

/* ===== TESTIMONIAL CAROUSEL ===== */
.carousel-section { padding: 80px 0; background: #ffffff; }
.carousel-container { position: relative; max-width: 900px; margin: 0 auto; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; }
.carousel-slide { min-width: 100%; padding: 40px 60px; text-align: center; }
.carousel-stars { color: #fbbf24; font-size: 1.5rem; margin-bottom: 24px; letter-spacing: 4px; }
.carousel-quote { font-size: 1.25rem; line-height: 1.8; color: #374151; font-style: italic; margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.carousel-quote::before { content: '"'; font-size: 4rem; color: #1e40af; display: block; line-height: 0.5; margin-bottom: 20px; font-family: Georgia, serif; }
.carousel-author { font-size: 1.125rem; font-weight: 600; color: #111827; margin-bottom: 4px; }
.carousel-role { font-size: 0.875rem; color: #6b7280; }
.carousel-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; }
.carousel-dots { display: flex; gap: 10px; }
.carousel-dot { width: 12px; height: 12px; border-radius: 50%; background: #d1d5db; border: none; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.carousel-dot.active { background: #1e40af; transform: scale(1.3); }
.carousel-arrow { width: 48px; height: 48px; border-radius: 50%; background: #ffffff; border: 2px solid #e5e7eb; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; color: #374151; }
.carousel-arrow:hover { background: #1e40af; color: #ffffff; border-color: #1e40af; }
.carousel-arrow svg { width: 20px; height: 20px; }

/* ===== MOBILE CAROUSEL FIXES ===== */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 48px 0; }
  .hero-carousel-slide::after { background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(239, 246, 255, 0.75) 50%, rgba(255, 255, 255, 0.82) 100%); }
  .hero-grid { grid-template-columns: 1fr; }
  .carousel-slide { padding: 20px; }
  .carousel-quote { font-size: 1.1rem; }
}

/* Logo Text */
.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #2563eb;
    display: block;
    font-weight: 400;
}
/* ===== MOBILE TAB & IMAGE FIXES ===== */
@media (max-width: 768px) {
    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        gap: 6px;
    }
    
    .tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .tab-content {
        max-height: 400px;
        overflow-y: auto;
        font-size: 0.9rem;
    }
    
    .tab-content h3 {
        font-size: 1.1rem;
    }
    
    .tab-content h4 {
        font-size: 0.95rem;
    }
    
    .tab-content p,
    .tab-content li {
        font-size: 0.85rem;
    }
    
    .hero-content {
        max-width: 100% !important;
    }
    
    /* Image grid mobile */
    .hero .container > div:last-child img[style*="width: 100%"] {
        height: auto !important;
    }
}
 /* ===== MOBILE TAB CONTENT FIX ===== */
@media (max-width: 768px) {
    .tab-content {
        max-height: none;
        overflow-y: visible;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .tab-content p,
    .tab-content li {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-content {
        max-width: 100% !important;
        width: 100%;
    }
    
    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        gap: 6px;
        display: flex;
    }
    
    .tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .hero .container {
        display: flex;
        flex-direction: column;
    }
    
    .hero .container > div:last-child {
        width: 100%;
    }
}