/* ==========================================================================
   HomeCare Asistenta - Modern UI/UX Design System Enhancements
   ========================================================================== */

:root {
  --primary-pink: #e91e63;
  --primary-pink-hover: #d81b60;
  --primary-teal: #26a69a;
  --primary-teal-hover: #00897b;
  --gradient-bg: linear-gradient(135deg, #e91e63 0%, #26a69a 100%);
  --gradient-soft: linear-gradient(135deg, rgba(233, 30, 99, 0.08) 0%, rgba(38, 166, 154, 0.08) 100%);
  --dark-navy: #1e293b;
  --text-dark: #0f172a;
  --text-body: #475569;
  --text-muted: #64748b;
  --bg-subtle: #f8fafc;
  --card-radius: 18px;
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  --card-shadow-hover: 0 16px 32px -4px rgba(15, 23, 42, 0.12);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Polish */
body {
  color: var(--text-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #ffffff;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Section Header Typography */
.section-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(233, 30, 99, 0.08);
  color: var(--primary-pink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 0.85rem;
}

.section-badge-pill i {
  font-size: 0.85rem;
}

.section-title h2 {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: var(--gradient-bg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Page Header for Inner Pages */
.page-header {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.95) 0%, rgba(38, 166, 154, 0.95) 100%), var(--gradient-bg) !important;
  padding: 135px 0 70px !important;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.16) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.page-header-content .lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}

.header-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.9);
}

.header-breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.header-breadcrumbs a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Enhanced Service Cards (Home Page)
   ========================================================================== */
.service-card-modern {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--card-radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-bg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(233, 30, 99, 0.3);
}

.service-card-modern:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--gradient-soft);
  color: var(--primary-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
}

.service-card-modern:hover .service-icon-box {
  background: var(--gradient-bg);
  color: #ffffff;
  transform: scale(1.08);
}

.service-card-modern h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.service-card-modern p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.service-feature-list li {
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-feature-list li i {
  color: var(--primary-teal);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-pill-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(38, 166, 154, 0.12);
  color: var(--primary-teal);
}

.service-link-btn {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-pink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.2s ease;
}

.service-link-btn:hover {
  transform: translateX(4px);
  color: var(--primary-pink-hover);
}

/* ==========================================================================
   Why Choose Us 4 Pillars
   ========================================================================== */
.pillar-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--card-radius);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(38, 166, 154, 0.3);
}

.pillar-number {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-teal);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.5rem;
}

.pillar-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  background: rgba(38, 166, 154, 0.12);
  color: var(--primary-teal);
}

.pillar-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   Work With Us Spotlight (Index Page)
   ========================================================================== */
.caregiver-spotlight-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 24px;
  color: #ffffff;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.caregiver-spotlight-box::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: var(--gradient-bg);
  opacity: 0.15;
  border-radius: 50%;
  filter: blur(50px);
}

.caregiver-spotlight-box h2 {
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: 800;
}

.spotlight-benefit-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}

.spotlight-benefit-badge i {
  color: #4ade80;
  font-size: 1.1rem;
}

/* ==========================================================================
   Destination Country Cards
   ========================================================================== */
.country-card-modern {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--card-radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  text-align: center;
  height: 100%;
}

.country-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(233, 30, 99, 0.3);
}

.country-flag-badge {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1rem;
  display: inline-block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

.country-card-modern h4 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.country-cities-tag {
  font-size: 0.825rem;
  color: var(--primary-teal);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.country-card-modern p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.country-meta-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
}

/* ==========================================================================
   Enhanced Testimonial Cards
   ========================================================================== */
.testimonial-card-modern {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--card-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.testimonial-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.testimonial-quote-text {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #334155;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.client-profile-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.client-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--gradient-bg);
  flex-shrink: 0;
}

.client-details h6 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.client-details small {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.verified-care-badge {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  display: inline-block;
  margin-top: 2px;
}

/* ==========================================================================
   4-Step Matching Process
   ========================================================================== */
.step-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  position: relative;
}

.step-number-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--primary-pink);
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.2);
  color: var(--primary-pink);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: var(--transition-smooth);
}

.step-card:hover .step-number-circle {
  background: var(--gradient-bg);
  border-color: transparent;
  color: #ffffff;
  transform: scale(1.1);
}

.step-card h5 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   Career / Job Cards (Jobs Page)
   ========================================================================== */
.job-card-modern {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--card-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  margin-bottom: 1.5rem;
}

.job-card-modern:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(233, 30, 99, 0.35);
  transform: translateY(-3px);
}

.job-salary-pill {
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-block;
}

.job-tag-badge {
  font-size: 0.78rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 4px 10px;
  border-radius: 12px;
}

/* ==========================================================================
   Contact Forms & Office Details
   ========================================================================== */
.contact-card-modern {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}

.office-card-modern {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--card-radius);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  height: 100%;
}

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

.status-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #16a34a;
  background: rgba(34, 197, 94, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.status-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
  animation: pulse-green 2s infinite;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 1.95rem;
  }
  .page-header {
    padding: 105px 0 50px !important;
  }
  .page-header-content h1 {
    font-size: 2.15rem;
  }
  .caregiver-spotlight-box {
    padding: 2.25rem 1.5rem;
  }
}
