/* ============================================
   Mercy Senior Solutions - Luxury Healthcare CSS
   ============================================ */

/* ----------------------------------------
   Google Fonts Import
   ---------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700;900&display=swap');

/* ============================================
   CSS Reset and Base Styles
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #1F2937;
  background-color: #FFFFFF;
  max-width: 1400px;
  margin: 0 auto;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
  color: #081B3A;
}

h1 { font-size: 56px; }
h2 { font-size: 44px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
  margin: 0;
  font-family: 'Lato', sans-serif;
  color: #6B7280;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: 'Lato', sans-serif;
}

input, textarea, select {
  font-family: 'Lato', sans-serif;
}

/* ============================================
   Top Bar (.top-bar)
   ============================================ */
.top-bar {
  background: #061428;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 1001;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.top-bar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.top-bar-logo .logo-icon {
  color: #D4A33A;
  font-size: 24px;
}

.top-bar-logo .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.3px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-link {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.top-bar-link:hover {
  color: #D4A33A;
}

.btn-sm {
  padding: 8px 22px;
  font-size: 13px;
}

/* ============================================
   Navigation (.navbar)
   ============================================ */
.navbar {
  position: sticky;
  top: 48px;
  z-index: 1000;
  background-color: #081B3A;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(8, 27, 58, 0.95);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo a {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.nav-logo .logo-accent {
  color: #D4A33A;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #FFFFFF;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #D4A33A;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #D4A33A;
}

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

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

.nav-dropdown > a::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: 6px;
  font-size: 11px;
  transition: transform 0.3s ease;
  display: inline;
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  min-width: 240px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.3s ease;
  z-index: 1001;
  margin-top: 20px;
}

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

.nav-dropdown-menu a {
  display: block;
  padding: 12px 24px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #1F2937 !important;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.nav-dropdown-menu a:hover {
  background: #F5F7FA;
  color: #D4A33A !important;
  padding-left: 28px;
}

.nav-dropdown-menu a i {
  width: 20px;
  color: #D4A33A;
  margin-right: 8px;
  font-size: 14px;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-buttons .btn {
  padding: 10px 22px;
  font-size: 13px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.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);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #081B3A;
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: #D4A33A;
}

/* ============================================
   Hero Section (.hero)
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: #D4A33A;
  border-color: #D4A33A;
  transform: scale(1.2);
}

.hero-dot:hover {
  background: rgba(255,255,255,0.7);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8,27,58,0.92) 0%, rgba(8,27,58,0.75) 50%, rgba(8,27,58,0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  width: 100%;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 62px;
  line-height: 1.12;
  color: #FFFFFF;
  margin-bottom: 0;
  max-width: 700px;
}

.hero-content h1 .gold {
  color: #D4A33A;
}

.hero-content p {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-top: 24px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 44px;
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 14px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: #081B3A;
  color: #FFFFFF;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(8, 27, 58, 0.3);
}

.btn-gold {
  background: #D4A33A;
  color: #081B3A;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 163, 58, 0.3);
}

.btn-green {
  background: #2F7D4A;
  color: #FFFFFF;
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(47, 125, 74, 0.3);
}

.btn-outline {
  background: transparent;
  color: #081B3A;
  border: 2px solid #081B3A;
}

.btn-outline:hover {
  background: #081B3A;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(8, 27, 58, 0.3);
}

/* ============================================
   Section Base Styles (.section)
   ============================================ */
.section {
  padding: 120px 0;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

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

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: #081B3A;
  margin-bottom: 16px;
}

.section-header p {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  color: #6B7280;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Services Section (.services)
   ============================================ */
.services {
  background: #F5F7FA;
  padding: 120px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.service-card {
  background: #FFFFFF;
  padding: 50px 40px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 32px;
}

.card-icon.blue {
  background: rgba(8, 27, 58, 0.08);
  color: #081B3A;
}

.card-icon.gold {
  background: rgba(212, 163, 58, 0.12);
  color: #D4A33A;
}

.card-icon.green {
  background: rgba(47, 125, 74, 0.1);
  color: #2F7D4A;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #081B3A;
  margin-bottom: 16px;
}

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

.service-card li {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #6B7280;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card li::before {
  content: '-';
  font-weight: 700;
}

.service-card.card-blue li::before {
  color: #081B3A;
}

.service-card.card-gold li::before {
  color: #D4A33A;
}

.service-card.card-green li::before {
  color: #2F7D4A;
}

/* ============================================
   How It Works (.how-it-works)
   ============================================ */
.how-it-works {
  background: #081B3A;
  color: #FFFFFF;
  padding: 120px 0;
}

.how-it-works .section-header h2 {
  color: #FFFFFF;
}

.how-it-works .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.steps-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 200px;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(212, 163, 58, 0.15);
  border: 3px solid #D4A33A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #D4A33A;
  transition: all 0.3s ease;
}

.step-circle:hover {
  background: #D4A33A;
  color: #081B3A;
  transform: scale(1.1);
}

.step h4 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.step p {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.step-connector {
  position: absolute;
  height: 3px;
  background: linear-gradient(90deg, #D4A33A, rgba(212, 163, 58, 0.3));
  top: 40px;
  z-index: 1;
}

/* ============================================
   For Families Section (.families)
   ============================================ */
.families {
  padding: 120px 0;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.families-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.families-text {
  width: 50%;
}

.families-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: #081B3A;
  margin-bottom: 20px;
}

.families-text p {
  font-size: 18px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 16px;
}

.families-filter {
  width: 50%;
  background: #FFFFFF;
  padding: 50px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.families-filter h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #081B3A;
  margin-bottom: 30px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.filter-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #1F2937;
  transition: border 0.3s ease, background 0.3s ease;
  background: #F5F7FA;
}

.filter-input:focus {
  border-color: #081B3A;
  outline: none;
  background: #FFFFFF;
}

.filter-input::placeholder {
  color: #9CA3AF;
}

.filter-checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #1F2937;
}

.filter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid #E5E7EB;
  border-radius: 4px;
  cursor: pointer;
  accent-color: #081B3A;
}

.filter-checkbox input[type="checkbox"]:checked {
  background: #081B3A;
  border-color: #081B3A;
}

/* ============================================
   Private Caregivers Section (.caregivers-section)
   ============================================ */
.caregivers-section {
  padding: 120px 0;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.caregivers-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.caregivers-image {
  width: 50%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.caregivers-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caregivers-text {
  width: 50%;
}

.caregivers-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: #081B3A;
  margin-bottom: 20px;
}

.caregivers-text > p {
  font-size: 18px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 30px;
}

.checklist {
  margin-top: 20px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #E5E7EB;
}

.checklist-item:last-child {
  border-bottom: none;
}

.checkmark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(47, 125, 74, 0.1);
  color: #2F7D4A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.checklist-item span {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: #1F2937;
}

/* ============================================
   Care Request Form (.care-form-section)
   ============================================ */
.care-form-section {
  padding: 120px 0;
  background: #F5F7FA;
}

.care-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.care-form-card {
  background: #FFFFFF;
  padding: 60px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.care-form-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #081B3A;
  margin-bottom: 8px;
}

.care-form-card > p {
  font-size: 16px;
  color: #6B7280;
  margin-bottom: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #1F2937;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #1F2937;
  transition: border 0.3s ease, background 0.3s ease;
  background: #F5F7FA;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #081B3A;
  outline: none;
  background: #FFFFFF;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9CA3AF;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

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

.form-submit {
  margin-top: 30px;
  text-align: center;
}

/* ============================================
   Careers Section (.careers)
   ============================================ */
.careers {
  padding: 120px 0;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.careers-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.careers-text {
  width: 50%;
}

.careers-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: #081B3A;
  margin-bottom: 20px;
}

.careers-text p {
  font-size: 18px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 16px;
}

.careers-form {
  width: 50%;
  background: #FFFFFF;
  padding: 50px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.careers-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #081B3A;
  margin-bottom: 30px;
}

/* ============================================
   Providers Section (.providers)
   ============================================ */
.providers {
  padding: 120px 0;
  background: #F5F7FA;
}

.providers-content {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.providers-text {
  width: 50%;
}

.providers-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: #081B3A;
  margin-bottom: 20px;
}

.providers-text p {
  font-size: 18px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 16px;
}

.providers-form {
  width: 50%;
  background: #FFFFFF;
  padding: 50px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.providers-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #081B3A;
  margin-bottom: 30px;
}

/* ============================================
   Resources Section (.resources)
   ============================================ */
.resources {
  padding: 120px 0;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-content {
  padding: 30px;
}

.category-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.badge-blue {
  background: rgba(8, 27, 58, 0.08);
  color: #081B3A;
}

.badge-gold {
  background: rgba(212, 163, 58, 0.12);
  color: #D4A33A;
}

.badge-green {
  background: rgba(47, 125, 74, 0.1);
  color: #2F7D4A;
}

.blog-card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #081B3A;
  margin-bottom: 12px;
}

.blog-card-content p {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more {
  color: #081B3A;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #D4A33A;
}

/* ============================================
   Contact Section (.contact)
   ============================================ */
.contact {
  padding: 120px 0;
  background: #F5F7FA;
}

.contact-content {
  display: flex;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.contact-map {
  width: 50%;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 18px;
}

.contact-form-area {
  width: 50%;
  background: #FFFFFF;
  padding: 50px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #F5F7FA;
  border-radius: 12px;
}

.contact-info-card .info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(8, 27, 58, 0.08);
  color: #081B3A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-card .info-text {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #1F2937;
}

/* ============================================
   Live Chat (.chat-widget)
   ============================================ */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #081B3A;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(8, 27, 58, 0.3);
  transition: all 0.3s ease;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-button:hover {
  transform: scale(1.1);
  background: #D4A33A;
}

.chat-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 500px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-popup.active {
  display: flex;
}

.chat-header {
  background: #081B3A;
  color: #FFFFFF;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #FFFFFF;
  margin: 0;
}

.chat-close {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.chat-message.sent {
  align-self: flex-end;
  background: #081B3A;
  color: #FFFFFF;
  border-radius: 18px 18px 4px 18px;
}

.chat-message.received {
  align-self: flex-start;
  background: #F5F7FA;
  color: #1F2937;
  border-radius: 18px 18px 18px 4px;
}

.chat-input-area {
  padding: 16px 20px;
  border-top: 1px solid #E5E7EB;
  display: flex;
  gap: 10px;
}

.chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #1F2937;
  transition: border 0.3s ease;
}

.chat-input:focus {
  outline: none;
  border-color: #081B3A;
}

.chat-send {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #081B3A;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.chat-send:hover {
  background: #D4A33A;
}

/* ============================================
   Footer (.footer)
   ============================================ */
.footer {
  background: #081B3A;
  color: #FFFFFF;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer h4 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-logo .logo-accent {
  color: #D4A33A;
}

.footer-description {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  padding: 6px 0;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #D4A33A;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 14px 18px;
  border-radius: 12px;
  width: 100%;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  transition: border 0.3s ease, background 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  border-color: #D4A33A;
  background: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 16px;
}

.social-icon:hover {
  background: #D4A33A;
  color: #081B3A;
  transform: translateY(-2px);
}

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

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Portal Styles (shared for all portals)
   ============================================ */
.portal-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: #081B3A;
  color: #FFFFFF;
  padding: 30px 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  transition: width 0.3s ease;
  z-index: 100;
}

.sidebar-logo {
  padding: 0 24px;
  margin-bottom: 40px;
}

.sidebar-logo a {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
}

.sidebar-logo .logo-accent {
  color: #D4A33A;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid #D4A33A;
}

.sidebar nav a .nav-icon {
  width: 20px;
  text-align: center;
  font-size: 16px;
}

.portal-main {
  flex: 1;
  margin-left: 280px;
  padding: 40px;
  background: #F5F7FA;
  min-height: 100vh;
}

.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.portal-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #081B3A;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.dashboard-card {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.dashboard-card .card-label {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  margin-bottom: 8px;
}

.dashboard-card .card-value {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #081B3A;
  margin-bottom: 4px;
}

.dashboard-card .card-change {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #2F7D4A;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
}

.data-table th {
  background: #F5F7FA;
  padding: 16px 20px;
  text-align: left;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: #6B7280;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #E5E7EB;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #1F2937;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: #F5F7FA;
}

/* ============================================
   Auth Pages (login/register)
   ============================================ */
.auth-layout {
  display: flex;
  min-height: 100vh;
}

.auth-left {
  flex: 1;
  background: #081B3A;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  padding: 60px;
}

.auth-left-content {
  max-width: 400px;
}

.auth-left-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.auth-left-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.auth-left .logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 40px;
}

.auth-left .logo .logo-accent {
  color: #D4A33A;
}

.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  padding: 60px;
}

.auth-form-card {
  max-width: 420px;
  width: 100%;
}

.auth-form-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #081B3A;
  margin-bottom: 8px;
}

.auth-form-card > p {
  font-size: 15px;
  color: #6B7280;
  margin-bottom: 32px;
}

.auth-form-card .form-group {
  margin-bottom: 20px;
}

.auth-form-card .form-group label {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #1F2937;
  margin-bottom: 8px;
}

.auth-form-card .form-group input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #1F2937;
  transition: border 0.3s ease, background 0.3s ease;
  background: #F5F7FA;
}

.auth-form-card .form-group input:focus {
  border-color: #081B3A;
  outline: none;
  background: #FFFFFF;
}

.auth-form-card .form-group input::placeholder {
  color: #9CA3AF;
}

.auth-form-card .btn {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
}

.auth-form-card .auth-link {
  text-align: center;
  margin-top: 24px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #6B7280;
}

.auth-form-card .auth-link a {
  color: #081B3A;
  font-weight: 700;
  text-decoration: none;
}

.auth-form-card .auth-link a:hover {
  color: #D4A33A;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.text-navy {
  color: #081B3A;
}

.text-gold {
  color: #D4A33A;
}

.text-green {
  color: #2F7D4A;
}

.text-gray {
  color: #6B7280;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

/* ============================================
   Third Nav - Services Sub Navigation
   ============================================ */
.sub-nav {
  background: #F5F7FA;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 112px;
  z-index: 999;
}

.sub-nav-container {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  overflow: hidden;
}

.sub-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.sub-nav-links::-webkit-scrollbar {
  display: none;
}

.sub-nav-links a {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #6B7280;
  text-decoration: none;
  padding: 16px 24px;
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub-nav-links a:hover {
  color: #081B3A;
  background: rgba(8,27,58,0.03);
}

.sub-nav-links a.active {
  color: #081B3A;
  border-bottom-color: #D4A33A;
  font-weight: 700;
}

.sub-nav-links a i {
  font-size: 13px;
  color: #D4A33A;
}

/* ============================================
   Mobile Responsive (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .navbar {
    padding: 0;
  }

  .nav-container {
    padding: 0;
  }

  .nav-links {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 18px;
    padding: 0 6px;
    flex: 1;
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a,
  .nav-dropdown > a {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 14px;
  }

  .nav-dropdown-menu {
    min-width: 200px;
  }

  .nav-buttons {
    display: none;
  }

  .hamburger {
    display: none;
  }

  .top-bar-logo .logo-text {
    font-size: 20px;
  }

  .top-bar-link {
    font-size: 13px;
  }

  .sub-nav {
    top: 112px;
  }

  .sub-nav-container {
    padding: 0 24px;
  }

  .sub-nav-links {
    gap: 0;
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  }

  .sub-nav-links a {
    padding: 14px 18px;
    font-size: 13px;
  }

  .hero {
    min-height: 80vh;
  }

  .page-hero {
    padding: 70px 24px 40px;
  }

  .hero-content {
    padding: 100px 24px 60px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 44px;
    max-width: 100%;
  }

  .hero-content p {
    max-width: 100%;
  }

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

  .split-layout,
  .split-layout.reverse {
    flex-direction: column;
    gap: 40px;
  }

  .split-layout.reverse .split-left {
    order: 2;
  }

  .split-layout.reverse .split-right {
    order: 1;
  }

  .split-left,
  .split-right {
    width: 100%;
  }

  .split-left img {
    max-height: 400px;
    object-fit: cover;
  }

  .split-left h2,
  .split-right h2 {
    font-size: 34px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px;
  }

  .steps-container {
    flex-direction: column;
    gap: 40px;
    padding: 0 24px;
  }

  .step-connector {
    display: none;
  }

  .step {
    max-width: 100%;
  }

  .families-content {
    flex-direction: column;
  }

  .families-text {
    width: 100%;
  }

  .families-filter {
    width: 100%;
  }

  .caregivers-content {
    flex-direction: column;
  }

  .caregivers-image {
    width: 100%;
    order: 2;
  }

  .caregivers-text {
    width: 100%;
    order: 1;
  }

  .careers-content {
    flex-direction: column;
  }

  .careers-text {
    width: 100%;
  }

  .careers-form {
    width: 100%;
  }

  .providers-content {
    flex-direction: column;
  }

  .providers-text {
    width: 100%;
  }

  .providers-form {
    width: 100%;
  }

  .contact-content {
    flex-direction: column;
  }

  .contact-map {
    width: 100%;
    min-height: 300px;
  }

  .contact-form-area {
    width: 100%;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px;
  }

  .footer-bottom {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .care-form-container {
    padding: 0 24px;
  }
}

/* ============================================
   Mobile Responsive (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 32px;
  }

  .top-bar-container {
    padding: 0 16px;
  }

  .top-bar-right {
    gap: 10px;
  }

  .top-bar-logo .logo-text {
    font-size: 16px;
  }

  .top-bar-logo .logo-icon {
    font-size: 18px;
  }

  .top-bar-link {
    font-size: 12px;
  }

  .btn-sm {
    padding: 5px 12px;
    font-size: 11px;
  }

  .navbar {
    padding: 0;
    height: 54px;
  }

  .nav-container {
    padding: 0;
  }

  .nav-logo a {
    font-size: 17px;
  }

  .nav-links a {
    font-size: 12px;
    letter-spacing: 0;
  }

  .nav-links {
    gap: 12px;
  }

  .sub-nav {
    top: 100px;
  }

  .sub-nav-container {
    padding: 0 16px;
  }

  .sub-nav-links a {
    padding: 12px 14px;
    font-size: 12px;
  }

  .hero {
    min-height: 85vh;
    min-height: 85dvh;
  }

  .hero-content {
    padding: 40px 16px 40px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-buttons {
    margin-top: 56px;
  }

  .page-hero {
    padding: 50px 16px 28px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .page-hero p {
    font-size: 15px;
  }

  .section {
    padding: 60px 0;
    padding-left: 0;
    padding-right: 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

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

  .section-header p {
    font-size: 15px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }

  .service-card {
    padding: 28px 20px;
  }

  .hero-buttons {
    gap: 8px;
  }

  .hero-buttons .btn {
    padding: 10px 16px;
    font-size: 12px;
  }

  .split-left h2,
  .split-right h2 {
    font-size: 26px;
  }

  .split-right img,
  .split-left img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .families-content {
    padding: 0;
  }

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

  .filter-checkbox-group {
    grid-template-columns: 1fr;
  }

  .families-filter {
    padding: 24px 16px;
  }

  .families-text h2,
  .caregivers-text h2,
  .careers-text h2,
  .providers-text h2 {
    font-size: 28px;
  }

  .care-form-card {
    padding: 28px 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-card-image {
    height: 180px;
  }

  .careers-form,
  .providers-form,
  .contact-form-area {
    padding: 28px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .chat-widget {
    bottom: 16px;
    right: 16px;
  }

  .chat-popup {
    width: calc(100vw - 32px);
    right: -8px;
  }

  .data-table {
    font-size: 12px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
  }

  .auth-layout,
  .auth-page {
    flex-direction: column;
  }

  .auth-left {
    padding: 32px 20px;
    min-height: auto;
  }

  .auth-right {
    padding: 32px 20px;
  }

  .auth-left-content h2 {
    font-size: 26px;
  }

  .auth-form-card h2 {
    font-size: 26px;
  }

  .steps-container {
    padding: 0;
  }

  .care-form-container {
    padding: 0;
  }

}

/* ============================================
    Small Mobile (max-width: 480px)
    ============================================ */
@media (max-width: 480px) {
  .top-bar-container {
    padding: 0 12px;
  }

  .top-bar-logo .logo-text {
    font-size: 14px;
  }

  .top-bar-right {
    gap: 6px;
  }

  .top-bar-link {
    font-size: 11px;
  }

  .navbar {
    padding: 0;
    height: 48px;
  }

  .nav-container {
    padding: 0;
  }

  .nav-logo a {
    font-size: 15px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a,
  .nav-dropdown > a {
    font-size: 11px;
  }

  .nav-dropdown > a::after {
    margin-left: 3px;
    font-size: 9px;
  }

  .section {
    padding: 40px 0;
    padding-left: 0;
    padding-right: 0;
  }

  .container {
    padding: 0 12px;
  }

  .hero {
    min-height: 85vh;
    min-height: 85dvh;
  }

  .hero-content {
    padding: 32px 12px 32px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 14px;
    margin-top: 16px;
  }

  .hero-buttons {
    margin-top: 40px;
  }

  .hero-buttons .btn {
    padding: 8px 14px;
    font-size: 11px;
  }

  .services-grid {
    gap: 12px;
    padding: 0;
  }

  .service-card {
    padding: 24px 16px;
  }

  .service-card h3 {
    font-size: 20px;
  }

  .search-card {
    padding: 24px 16px;
  }

  .form-card {
    padding: 24px 16px;
  }

  .care-form-card {
    padding: 24px 12px;
  }

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

  .split-layout,
  .split-layout.reverse {
    gap: 24px;
  }

  .mobile-nav a {
    font-size: 22px;
  }

  .mobile-nav-buttons {
    width: 240px;
  }

  .mobile-nav-top {
    width: 240px;
  }

  .resources-grid {
    gap: 16px;
  }

  .resource-card .resource-content {
    padding: 20px;
  }

  .contact-grid {
    gap: 24px;
  }

  .contact-form-wrapper .form-card {
    padding: 24px 16px;
  }

  .auth-page {
    flex-direction: column;
  }

  .auth-left {
    padding: 24px 16px;
  }

  .auth-left .footer-logo {
    margin-bottom: 24px !important;
  }

  .auth-left-content h2 {
    font-size: 22px;
  }

  .auth-left-content p {
    font-size: 14px;
  }

  .auth-right {
    padding: 24px 16px;
  }

  .auth-form-container {
    max-width: 100%;
  }

  .auth-form-container h2 {
    font-size: 24px;
  }

}

/* ============================================
    ADDITIONAL STYLES - Matching HTML Classes
    ============================================ */

/* Hero Left/Right - removed, hero uses background image */

/* Nav Container */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  overflow: hidden;
}

@media (min-width: 1025px) {
  .nav-container {
    overflow: visible;
  }
}

/* Scroll Indicator for Nav */
.nav-links-wrapper {
  position: relative;
  flex: 1;
  overflow: hidden;
}

@media (min-width: 1025px) {
  .nav-links-wrapper {
    overflow: visible;
  }
}

.nav-scroll-indicator {
  display: none;
}

@media (max-width: 1024px) {
  .nav-scroll-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 0 16px 0 30px;
    background: linear-gradient(to right, rgba(8,27,58,0) 0%, rgba(8,27,58,0.95) 40%);
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .nav-scroll-indicator.hidden {
    opacity: 0;
  }

  .nav-scroll-indicator i {
    color: #D4A33A;
    font-size: 16px;
  }

  .nav-scroll-indicator span {
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #D4A33A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }
}

/* Logo Text / Icon */
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
}

.logo-icon {
  color: #D4A33A;
  font-size: 20px;
}

.gold {
  color: #D4A33A;
}

/* Button modifiers */
.btn-nav {
  padding: 10px 22px;
  font-size: 13px;
}

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

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile Nav Buttons */
.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  width: 280px;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  width: 280px;
}

.mobile-nav-link {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: #D4A33A;
}

/* Active nav link */
.nav-links a.active,
.mobile-nav a.active {
  color: #D4A33A;
}

/* Page Hero */
.page-hero {
  background: #081B3A;
  padding: 80px 0 50px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.page-hero h1 .gold {
  color: #D4A33A;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Stats Bar */
.stats-bar {
  background: #FFFFFF;
  padding: 50px 0;
  border-bottom: 1px solid #E5E7EB;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: #081B3A;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #6B7280;
  font-weight: 400;
}

/* Split Layout */
.split-layout {
  display: flex;
  align-items: center;
  gap: 60px;
}

.split-layout.reverse {
  flex-direction: row-reverse;
}

.split-left {
  flex: 1;
}

.split-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: #081B3A;
  margin-bottom: 20px;
  line-height: 1.2;
}

.split-left h2 .gold {
  color: #D4A33A;
}

.split-left p {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 16px;
}

.split-right {
  flex: 1;
}

.split-right h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: #081B3A;
  margin-bottom: 20px;
  line-height: 1.2;
}

.split-right h2 .gold {
  color: #D4A33A;
}

.split-right p {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 16px;
}

.split-right img,
.split-left img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Mobile Split Layout Overrides */
@media (max-width: 1024px) {
  .split-layout,
  .split-layout.reverse {
    flex-direction: column;
    gap: 40px;
  }

  .split-layout.reverse .split-left {
    order: 2;
  }

  .split-layout.reverse .split-right {
    order: 1;
  }

  .split-left,
  .split-right {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .split-left h2,
  .split-right h2 {
    font-size: 28px;
  }

  .split-right img,
  .split-left img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* Search Card */
.search-card {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.search-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #081B3A;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Filter Grid */
.filter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.filter-group label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #1F2937;
  margin-bottom: 6px;
}

.filter-group label i {
  color: #D4A33A;
  margin-right: 4px;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #1F2937;
  background: #F5F7FA;
  transition: all 0.3s ease;
  appearance: auto;
}

.filter-group select:focus,
.filter-group input:focus {
  border-color: #081B3A;
  outline: none;
  background: #FFFFFF;
}

/* Advanced Toggle */
.advanced-toggle {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #D4A33A;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.advanced-toggle:hover {
  color: #081B3A;
}

/* Advanced Filters */
.advanced-filters {
  display: none;
  margin-bottom: 16px;
  padding: 16px;
  background: #F5F7FA;
  border-radius: 12px;
}

.advanced-filters.active {
  display: block;
}

/* Checkbox Grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #1F2937;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #081B3A;
  cursor: pointer;
}

/* Checklist */
.checklist {
  margin-top: 24px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #E5E7EB;
}

.checklist-item:last-child {
  border-bottom: none;
}

.check-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(47,125,74,0.1);
  color: #2F7D4A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.checklist-item span {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #1F2937;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(47,125,74,0.06);
  border-radius: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #2F7D4A;
}

.trust-badge i {
  color: #2F7D4A;
}

/* Form Card */
.form-card {
  background: #FFFFFF;
  padding: 50px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* File Upload */
.file-upload {
  position: relative;
  width: 100%;
}

.file-upload input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border: 2px dashed #E5E7EB;
  border-radius: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #6B7280;
  background: #F5F7FA;
  transition: all 0.3s ease;
  cursor: pointer;
}

.file-upload:hover .file-label {
  border-color: #081B3A;
  color: #081B3A;
}

/* Service Link */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #081B3A;
  margin-top: 20px;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: #D4A33A;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(4px);
}

/* Resource Cards */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.resource-card {
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  cursor: pointer;
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.resource-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.resource-card:hover .resource-image img {
  transform: scale(1.05);
}

.resource-content {
  padding: 30px;
}

.resource-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #081B3A;
  margin-bottom: 12px;
}

.resource-content p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 16px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.resource-content::after {
  content: 'Read More \2192';
  display: block;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #081B3A;
  margin-top: 4px;
  transition: color 0.3s ease;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #081B3A;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #D4A33A;
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(4px);
}

/* Resource Modal */
.resource-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.resource-modal.active {
  display: block;
}

.resource-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}

.resource-modal-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100vh;
  background: #FFFFFF;
  border-radius: 0;
  overflow: hidden;
  overflow-y: auto;
  z-index: 1;
}

.resource-modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(8,27,58,0.9);
  color: #FFFFFF;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.resource-modal-close:hover {
  background: #D4A33A;
}

.resource-modal-body {
  display: flex;
  flex-direction: column;
}

.resource-modal-image {
  width: 100%;
  height: 75vh;
  overflow: hidden;
}

.resource-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-modal-text {
  padding: 40px;
}

.resource-modal-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #081B3A;
  margin-bottom: 16px;
}

.resource-modal-text p {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.8;
  margin-bottom: 16px;
}

.resource-modal-text .badge {
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .resource-content p {
    -webkit-line-clamp: 2;
  }

  .resource-modal-content {
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .resource-modal-image {
    height: 50vh;
  }

  .resource-modal-text {
    padding: 24px;
  }

  .resource-modal-text h2 {
    font-size: 24px;
  }
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #E5E7EB;
}

.contact-card:last-of-type {
  border-bottom: none;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(8,27,58,0.06);
  color: #081B3A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card h4 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #081B3A;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 14px;
  color: #6B7280;
}

.contact-map {
  margin-top: 20px;
}

.contact-map iframe {
  border-radius: 18px;
  width: 100%;
}

/* CTA Section */
.cta-section {
  background: #081B3A;
  border-radius: 24px;
  text-align: center;
}

.cta-section h2 {
  color: #FFFFFF;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
}

/* Stats Inline */
.stats-inline {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.stat-inline-item {
  display: flex;
  flex-direction: column;
}

.stat-inline-item .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #081B3A;
}

.stat-inline-item .stat-label {
  font-size: 14px;
  color: #6B7280;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.value-card {
  background: #FFFFFF;
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  text-align: center;
  transition: all 0.4s ease;
}

.value-card:hover {
  transform: translateY(-8px);
}

.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(8,27,58,0.06);
  color: #081B3A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.value-icon.gold {
  background: rgba(212,163,58,0.12);
  color: #D4A33A;
}

.value-icon.green {
  background: rgba(47,125,74,0.1);
  color: #2F7D4A;
}

.value-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #081B3A;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card {
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  text-align: center;
  padding-bottom: 30px;
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #081B3A;
  margin: 20px 0 8px;
  padding: 0 20px;
}

.team-card p {
  font-size: 14px;
  color: #6B7280;
  padding: 0 20px;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  color: #FFFFFF;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form .btn {
  padding: 14px 24px;
  font-size: 14px;
}

/* Footer Columns */
.footer-col p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col p i {
  color: #D4A33A;
  margin-right: 8px;
  width: 16px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #D4A33A;
  transform: translateY(-2px);
}

/* Chat Status */
.chat-status {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2F7D4A;
  display: inline-block;
}

/* Chat Form */
.chat-form {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid #E5E7EB;
}

.chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
}

.chat-input:focus {
  outline: none;
  border-color: #081B3A;
}

.chat-send {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #081B3A;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chat-send:hover {
  background: #D4A33A;
}

.chat-location-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F5F7FA;
  color: #081B3A;
  border: 1px solid #E5E7EB;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.chat-location-btn:hover {
  background: #E5E7EB;
}

.chat-location-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 20px 10px;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9CA3AF;
  display: inline-block;
  animation: chatTypingBounce 1.2s infinite ease-in-out;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-message.received p {
  white-space: pre-wrap;
}

/* Auth Page */
.auth-page {
  display: flex;
  min-height: 100vh;
}

.auth-left {
  flex: 1;
  background: #081B3A;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  color: #FFFFFF;
}

.auth-left-content {
  max-width: 400px;
}

.auth-left-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.auth-left-content p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}

.auth-feature i {
  color: #D4A33A;
  width: 20px;
  text-align: center;
}

.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: #FFFFFF;
}

.auth-form-container {
  max-width: 420px;
  width: 100%;
}

.auth-form-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #081B3A;
  margin-bottom: 8px;
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #E5E7EB;
}

.auth-divider span {
  background: #FFFFFF;
  padding: 0 16px;
  position: relative;
  font-size: 13px;
  color: #6B7280;
}

.social-auth {
  display: flex;
  gap: 12px;
}

.social-auth-btn {
  flex: 1;
  padding: 14px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background: #FFFFFF;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #1F2937;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.social-auth-btn:hover {
  background: #F5F7FA;
  border-color: #081B3A;
}

/* Portal Layout */
.portal-body {
  max-width: none;
  display: flex;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: #F5F7FA;
}

.portal-tab {
  display: none;
}

.portal-tab.active {
  display: block;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  padding: 0 0 40px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sidebar {
  width: 280px;
  background: #081B3A;
  color: #FFFFFF;
  position: fixed;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  padding: 30px 0;
  z-index: 120;
  transition: transform 0.3s ease, width 0.3s ease;
  box-shadow: 0 18px 45px rgba(0,0,0,0.2);
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 27, 58, 0.45);
  opacity: 0;
  pointer-events: none;
  z-index: 110;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  margin-bottom: 0;
  text-decoration: none;
}

.sidebar-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 18px 0;
  margin-bottom: 16px;
}

.sidebar-close {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: #FFFFFF;
  font-size: 18px;
  cursor: pointer;
}

.sidebar-logo .logo-text {
  font-size: 18px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #FFFFFF;
  background: rgba(255,255,255,0.08);
  border-left-color: #D4A33A;
}

.sidebar-nav a i {
  width: 20px;
  text-align: center;
  font-size: 16px;
}

.sidebar-logout {
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

.sidebar-logout:hover {
  color: #DC2626 !important;
}

.portal-main {
  flex: 1;
  margin-left: 280px;
  padding: 30px 40px;
  min-height: 100dvh;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portal-main > .portal-header {
  flex-shrink: 0;
}

.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.sidebar-toggle {
  display: none;
  background: #081B3A;
  color: #FFFFFF;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
}

.portal-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: #081B3A;
}

.portal-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-avatar-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #081B3A;
  color: #D4A33A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: box-shadow 0.2s;
}

.user-avatar-initials:hover {
  box-shadow: 0 0 0 3px rgba(212,163,58,0.4);
}

.user-avatar-initials img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.user-avatar-initials .avatar-upload-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(8,27,58,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 12px;
  color: #fff;
}

.user-avatar-initials:hover .avatar-upload-overlay {
  opacity: 1;
}

/* Dashboard Cards */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.dash-card {
  background: #FFFFFF;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.dash-card:hover {
  transform: translateY(-4px);
}

.dash-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.dash-card-icon.blue {
  background: rgba(8,27,58,0.06);
  color: #081B3A;
}

.dash-card-icon.gold {
  background: rgba(212,163,58,0.1);
  color: #D4A33A;
}

.dash-card-icon.green {
  background: rgba(47,125,74,0.08);
  color: #2F7D4A;
}

.dash-card-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #081B3A;
  margin-bottom: 4px;
}

.dash-card-info p {
  font-size: 13px;
  color: #6B7280;
}

/* Dashboard Section */
.dash-section {
  margin-bottom: 30px;
}

/* Activity List */
.activity-list {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  overflow: hidden;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid #F5F7FA;
  transition: background 0.2s ease;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-item:hover {
  background: #FAFBFC;
}

.activity-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.activity-icon.blue {
  background: rgba(8,27,58,0.06);
  color: #081B3A;
}

.activity-icon.gold {
  background: rgba(212,163,58,0.1);
  color: #D4A33A;
}

.activity-icon.green {
  background: rgba(47,125,74,0.08);
  color: #2F7D4A;
}

.activity-info p {
  font-size: 14px;
  color: #1F2937;
  line-height: 1.4;
}

.activity-info strong {
  color: #081B3A;
}

.activity-info span {
  font-size: 12px;
  color: #6B7280;
}

/* Dashboard Table */
.dash-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.dash-table thead {
  background: #F5F7FA;
}

.dash-table th {
  padding: 16px 20px;
  text-align: left;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
}

.dash-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #E5E7EB;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #1F2937;
}

.dash-table td strong {
  color: #081B3A;
}

.dash-table tbody tr:hover {
  background: #FAFBFC;
}

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.status-badge.active {
  background: rgba(8,27,58,0.08);
  color: #081B3A;
}

.status-badge.pending {
  background: rgba(212,163,58,0.12);
  color: #D4A33A;
}

.status-badge.review {
  background: rgba(107,114,128,0.1);
  color: #6B7280;
}

.status-badge.green {
  background: rgba(47,125,74,0.1);
  color: #2F7D4A;
}

/* Counter */
.counter {
  display: inline;
}

/* Form Row */
.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================
   FORM VALIDATION (Inline)
   ============================================ */
.field-error input,
.field-error select,
.field-error textarea {
  border-color: #DC2626 !important;
  background: #FEF2F2 !important;
}

.field-error-message {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: #DC2626;
  margin-top: 4px;
  display: none;
}

.field-error .field-error-message {
  display: block;
}

/* ============================================
   FORM LOADING STATES
   ============================================ */
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn.loading {
  pointer-events: none;
}

@keyframes btnSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   INLINE CONFIRMATION PANELS
   ============================================ */
.inline-confirm {
  text-align: center;
  padding: 50px 30px;
}

.inline-confirm-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(47, 125, 74, 0.1);
  color: #2F7D4A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
}

.inline-confirm h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #081B3A;
  margin-bottom: 12px;
}

.inline-confirm > p {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 8px;
}

.inline-confirm-steps {
  text-align: left;
  max-width: 400px;
  margin: 24px auto 32px;
}

.inline-confirm-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}

.inline-confirm-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #081B3A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.inline-confirm-step span {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #1F2937;
  line-height: 1.5;
}

/* ============================================
   COMMUNITY SEARCH RESULTS
   ============================================ */
.search-results-container {
  margin-top: 30px;
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.search-results-header h4 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #081B3A;
}

.search-results-count {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #6B7280;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.search-result-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #F0F0F0;
  transition: all 0.3s ease;
}

.search-result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-color: #D4A33A;
}

.search-result-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #081B3A;
  margin-bottom: 6px;
}

.search-result-location {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-result-location i {
  color: #D4A33A;
}

.search-result-types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.search-result-type-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  background: rgba(8,27,58,0.06);
  color: #081B3A;
}

.search-result-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #F0F0F0;
}

.search-result-price {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #2F7D4A;
}

.search-result-price span {
  font-size: 12px;
  font-weight: 400;
  color: #6B7280;
}

.search-result-vacancy {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: #6B7280;
}

.search-result-vacancy i {
  margin-right: 4px;
}

.search-result-vacancy.available {
  color: #2F7D4A;
}

/* Search Loading Skeleton */
.search-loading {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.search-skeleton-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #F0F0F0;
}

.skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, #F0F0F0 25%, #E5E7EB 50%, #F0F0F0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
  margin-bottom: 10px;
}

.skeleton-line.title {
  height: 20px;
  width: 70%;
  margin-bottom: 12px;
}

.skeleton-line.short { width: 50%; }
.skeleton-line.medium { width: 80%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Search Empty State */
.search-empty {
  text-align: center;
  padding: 40px 20px;
  margin-top: 20px;
}

.search-empty i {
  font-size: 48px;
  color: #E5E7EB;
  margin-bottom: 16px;
  display: block;
}

.search-empty h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #081B3A;
  margin-bottom: 8px;
}

.search-empty p {
  font-size: 15px;
  color: #6B7280;
  margin-bottom: 20px;
}

.search-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.search-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #FFFFFF;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #081B3A;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-page-btn:hover:not(:disabled) {
  border-color: #D4A33A;
  color: #D4A33A;
  background: rgba(212,163,58,0.06);
}

.search-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.search-page-info {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #6B7280;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .search-pagination {
    gap: 10px;
  }
  .search-page-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  .search-page-info {
    font-size: 12px;
  }
}

/* ============================================
   RESOURCE FILTER PILLS
   ============================================ */
.resource-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.resource-filter-bar::-webkit-scrollbar {
  display: none;
}

.resource-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 30px;
  border: 2px solid #E5E7EB;
  background: #FFFFFF;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #6B7280;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.resource-filter-pill:hover {
  border-color: #081B3A;
  color: #081B3A;
}

.resource-filter-pill.active {
  background: #081B3A;
  border-color: #081B3A;
  color: #FFFFFF;
}

.resource-filter-pill i {
  font-size: 13px;
}

/* ============================================
   RESPONSIVE - NEW COMPONENTS
   ============================================ */
@media (max-width: 1024px) {
  .search-results-grid,
  .search-loading {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .search-results-grid,
  .search-loading {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .search-result-card,
  .search-skeleton-card {
    padding: 12px;
    border-radius: 10px;
  }

  .search-result-name {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .search-result-location {
    font-size: 11px;
    margin-bottom: 8px;
    gap: 4px;
  }

  .search-result-types {
    gap: 4px;
    margin-bottom: 8px;
  }

  .search-result-type-tag {
    font-size: 9px;
    padding: 2px 7px;
  }

  .search-result-desc {
    font-size: 11px;
    margin: 4px 0;
    line-height: 1.3;
  }

  .search-result-meta {
    padding-top: 8px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .search-result-price {
    font-size: 13px;
  }

  .search-result-price span {
    font-size: 10px;
  }

  .search-result-vacancy {
    font-size: 10px;
  }

  .search-save-btn {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .search-result-partner-badge {
    font-size: 9px;
    padding: 2px 8px;
  }

  .partner-request-btn {
    font-size: 11px !important;
    padding: 6px !important;
  }

  .caregiver-cta-card .caregiver-cta-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }

  .caregiver-cta-card .caregiver-cta-icon i {
    font-size: 16px;
  }

  .resource-filter-bar {
    gap: 8px;
  }

  .resource-filter-pill {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* ============================================
   ADMIN PORTAL STYLES
   ============================================ */

.admin-tab-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #081B3A;
  margin-bottom: 4px;
}

.admin-tab-subtitle {
  color: #6B7280;
  margin-bottom: 24px;
}

.admin-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.admin-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.admin-chart-card {
  background: white;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.admin-chart-card h4 {
  color: #081B3A;
  margin-bottom: 16px;
}

.admin-bar-chart {
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-bottom: 30px;
}

.admin-table {
  width: 100%;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  border-collapse: collapse;
}

.admin-table thead {
  background: #081B3A;
}

.admin-table th {
  padding: 16px 20px;
  text-align: left;
  color: white;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #F0F2F5;
  font-size: 14px;
  color: #374151;
}

.admin-table tbody tr:hover {
  background: #F9FAFB;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-loading {
  text-align: center;
  padding: 40px;
  color: #6B7280;
  font-style: italic;
}

.admin-search-bar {
  margin-bottom: 20px;
}

.admin-search-input {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.admin-search-input:focus {
  outline: none;
  border-color: #D4A33A;
}

.admin-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-filter-btn {
  padding: 8px 20px;
  border: 2px solid #E5E7EB;
  border-radius: 20px;
  background: white;
  color: #6B7280;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Lato', sans-serif;
}

.admin-filter-btn:hover {
  border-color: #D4A33A;
  color: #D4A33A;
}

.admin-filter-btn.active {
  background: #081B3A;
  border-color: #081B3A;
  color: white;
}

.admin-action-btns {
  display: flex;
  gap: 6px;
}

.admin-action-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.admin-action-btn.view {
  background: #EFF6FF;
  color: #2563EB;
}

.admin-action-btn.edit {
  background: #FEF3C7;
  color: #D97706;
}

.admin-action-btn.delete {
  background: #FEE2E2;
  color: #DC2626;
}

.admin-action-btn:hover {
  opacity: 0.8;
}

/* Admin Modal */
.admin-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.admin-modal.active {
  display: flex;
}

.admin-modal-content {
  background: white;
  border-radius: 18px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
}

.admin-modal-lg {
  max-width: 800px;
}

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.admin-modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #081B3A;
}

.admin-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #6B7280;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.admin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
}

/* Full-screen Admin Modal — used for the Request Detail / Allocate-to-Provider flow */
.admin-modal-fullscreen {
  padding: 0;
}

.admin-modal-fullscreen .admin-modal-content {
  max-width: none;
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.admin-modal-fullscreen .admin-modal-header {
  margin-bottom: 0;
  padding: 20px 32px;
  border-bottom: 1px solid #E5E7EB;
  flex-shrink: 0;
}

.admin-modal-fullscreen .admin-modal-header-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-modal-fullscreen .admin-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.admin-modal-fullscreen .admin-modal-actions {
  flex-shrink: 0;
  margin-top: 0;
  padding: 16px 32px;
  background: #F9FAFB;
  justify-content: flex-start;
}

.request-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.request-detail-section {
  background: #F9FAFB;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.request-detail-section h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: #081B3A;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #E5E7EB;
}

.request-detail-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.request-detail-field label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9CA3AF;
  font-weight: 700;
  margin-bottom: 4px;
}

.request-detail-field span {
  display: block;
  font-size: 14px;
  color: #111827;
  font-weight: 600;
  word-break: break-word;
}

.request-detail-field.full-width {
  grid-column: 1 / -1;
}

.request-allocate-panel {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 24px;
  position: sticky;
  top: 0;
}

.request-allocate-panel h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: #081B3A;
  margin-bottom: 16px;
}

.request-current-provider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #F9FAFB;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #374151;
}

.request-timeline {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.request-timeline-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  position: relative;
}

.request-timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 32px;
  width: 2px;
  height: calc(100% - 12px);
  background: #E5E7EB;
}

.request-timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E5E7EB;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  z-index: 1;
}

.request-timeline-step.done .request-timeline-dot {
  background: #ECFDF5;
  color: #059669;
}

.request-timeline-step.current .request-timeline-dot {
  background: #D4A33A;
  color: white;
}

.request-timeline-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

@media (max-width: 900px) {
  .request-detail-grid {
    grid-template-columns: 1fr;
  }
  .request-allocate-panel {
    position: static;
  }
}

@media (max-width: 600px) {
  .request-detail-fields {
    grid-template-columns: 1fr;
  }
  .admin-modal-fullscreen .admin-modal-body,
  .admin-modal-fullscreen .admin-modal-header,
  .admin-modal-fullscreen .admin-modal-actions {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Admin Form */
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-form-checks {
  display: flex;
  gap: 24px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.admin-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #D4A33A;
}

/* Media Library */
.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.admin-media-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  position: relative;
}

.admin-media-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.admin-media-card .admin-media-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.admin-media-card:hover .admin-media-actions {
  opacity: 1;
}

.admin-media-card .admin-media-actions button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(0,0,0,0.6);
  color: white;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-media-card .admin-media-info {
  padding: 12px;
}

.admin-media-card .admin-media-info p {
  font-size: 12px;
  color: #6B7280;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Upload Area */
.admin-upload-area {
  border: 3px dashed #D4A33A;
  border-radius: 18px;
  padding: 60px 40px;
  text-align: center;
  background: #FFFBF0;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.admin-upload-area:hover {
  border-color: #081B3A;
  background: #F0F7FF;
}

.admin-upload-area i {
  font-size: 48px;
  color: #D4A33A;
  margin-bottom: 16px;
}

.admin-upload-area h4 {
  color: #081B3A;
  margin-bottom: 8px;
}

.admin-upload-area p {
  color: #6B7280;
  font-size: 14px;
}

/* Reports Grid */
.admin-reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.admin-report-card {
  background: white;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  text-align: center;
}

.admin-report-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.admin-report-icon.blue {
  background: #EFF6FF;
  color: #2563EB;
}

.admin-report-icon.gold {
  background: #FEF3C7;
  color: #D97706;
}

.admin-report-icon.green {
  background: #ECFDF5;
  color: #059669;
}

.admin-report-card h4 {
  color: #081B3A;
  margin-bottom: 8px;
}

.admin-report-card p {
  color: #6B7280;
  font-size: 14px;
  margin-bottom: 20px;
}

.report-content {
  text-align: left;
}

.report-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.report-stat {
  flex: 1;
  background: #F5F7FA;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.report-stat-num {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #081B3A;
  font-family: 'Playfair Display', serif;
}

.report-stat-label {
  font-size: 11px;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.report-breakdown {
  margin-top: 12px;
}

.report-breakdown h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  margin-bottom: 10px;
}

.report-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.report-bar-label {
  min-width: 80px;
  font-size: 13px;
  color: #374151;
}

.report-bar-track {
  flex: 1;
  height: 8px;
  background: #E5E7EB;
  border-radius: 4px;
  overflow: hidden;
}

.report-bar-fill {
  height: 100%;
  background: #081B3A;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.report-bar-fill.status-new { background: #2563EB; }
.report-bar-fill.status-pending { background: #D97706; }
.report-bar-fill.status-active, .report-bar-fill.status-completed { background: #059669; }
.report-bar-fill.status-rejected, .report-bar-fill.status-inactive { background: #DC2626; }
.report-bar-fill.status-read { background: #6B7280; }
.report-bar-fill.status-unread { background: #6366F1; }

.report-bar-pct {
  min-width: 36px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  text-align: right;
}

/* Content Management */
.admin-content-sections {
  display: grid;
  gap: 24px;
}

.admin-content-card {
  background: white;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.admin-content-card h4 {
  font-family: 'Playfair Display', serif;
  color: #081B3A;
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E5E7EB;
}

.cms-repeater {
  background: #F5F7FA;
  padding: 16px;
  border-radius: 10px;
  margin: 12px 0;
  border: 1px solid #E5E7EB;
}

.cms-repeater h5 {
  font-family: 'Playfair Display', serif;
  color: #081B3A;
  font-size: 14px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E5E7EB;
}

/* CMS Hero Slideshow Images */
.cms-hero-images-wrap {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
}

.cms-hero-images-wrap h5 {
  font-family: 'Playfair Display', serif;
  color: #081B3A;
  font-size: 16px;
  margin-bottom: 6px;
}

.cms-hero-images-hint {
  color: #6B7280;
  font-size: 13px;
  margin-bottom: 16px;
}

.cms-hero-loading {
  color: #6B7280;
  padding: 16px 0;
}

.cms-hero-image-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  background: #F5F7FA;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
}

.cms-hero-preview img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.cms-hero-fields .form-group {
  margin-bottom: 10px;
}

.cms-hero-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cms-hero-empty-card {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.cms-hero-empty-card input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .cms-hero-image-card {
    grid-template-columns: 1fr;
  }
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.status-badge.active,
.status-badge.approved,
.status-badge.admitted,
.status-badge.completed {
  background: #ECFDF5;
  color: #059669;
}

.status-badge.pending,
.status-badge.scheduled {
  background: #FEF3C7;
  color: #D97706;
}

.status-badge.rejected,
.status-badge.cancelled {
  background: #FEE2E2;
  color: #DC2626;
}

.status-badge.new,
.status-badge.unread,
.status-badge.draft {
  background: #EFF6FF;
  color: #2563EB;
}

.status-badge.contacted,
.status-badge.read {
  background: #F3F4F6;
  color: #6B7280;
}

.status-badge.assigned {
  background: #F3E8FF;
  color: #7C3AED;
}

/* Responsive Admin */

.portal-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Horizontal-scroll wrapper for wide admin tables. Only the table itself
   scrolls sideways when it doesn't fit — the rest of the panel stays put. */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  margin-bottom: 0;
}

.table-responsive .admin-table,
.table-responsive .dash-table {
  box-shadow: none;
  min-width: 640px;
}

@media (max-width: 1024px) {
  /* Sidebar becomes an off-canvas drawer instead of a fixed column */
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .sidebar-close {
    display: block;
  }

  .sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .portal-main {
    margin-left: 0;
    padding: 20px;
    height: 100dvh;
  }

  .admin-charts-grid,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-tab-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .dashboard-cards {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .portal-main {
    padding: 16px;
  }

  .dashboard-cards {
    grid-template-columns: 1fr 1fr;
  }

  .admin-modal-content {
    padding: 20px;
    max-height: 85vh;
  }

  .admin-reports-grid,
  .admin-media-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .report-stats {
    flex-wrap: wrap;
  }

  /* Several portal forms set grid-template-columns inline (e.g. style="grid-template-columns: 1fr 1fr");
     force single column on small screens since inline styles otherwise win over the stylesheet. */
  .form-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .dashboard-cards {
    grid-template-columns: 1fr;
  }

  .admin-tab-title {
    font-size: 22px;
  }

  .admin-modal-content {
    padding: 16px;
  }
}

/* ============================================
   NEW HOMEPAGE SECTIONS: Welcome, Why Choose Us,
   Testimonials, Leave a Review
   ============================================ */

/* Welcome Section */
.welcome-section .split-left p {
  margin-bottom: 18px;
}

/* Why Choose Us */
.why-choose-section {
  background: #F5F7FA;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.why-choose-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  padding: 22px 26px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.why-choose-item i {
  color: #2F7D4A;
  font-size: 22px;
  flex-shrink: 0;
}

.why-choose-item span {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1F2937;
}

/* Testimonials */
.testimonials-section {
  background: #F5F7FA;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #FFFFFF;
  padding: 40px 32px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  color: #D4A33A;
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.testimonial-quote {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 26px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(8, 27, 58, 0.08);
  color: #081B3A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  flex-shrink: 0;
}

.testimonial-author-info h5 {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #081B3A;
  margin-bottom: 2px;
}

.testimonial-author-info span {
  font-size: 13px;
  color: #6B7280;
}

/* Leave a Review */
.review-form-section {
  background: #F5F7FA;
}

.review-form-card {
  max-width: 700px;
  margin: 0 auto;
}

.star-rating-input {
  display: flex;
  gap: 10px;
  font-size: 30px;
  color: #D1D5DB;
  cursor: pointer;
  margin-bottom: 6px;
}

.star-rating-input i {
  transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating-input i:hover {
  transform: scale(1.15);
}

.star-rating-input i.active {
  color: #D4A33A;
}

/* Responsive: Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

/* Responsive: Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .stats-bar {
    padding: 16px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }

  .stat-number {
    font-size: 20px;
    margin-bottom: 2px;
  }

  .stat-label {
    font-size: 10.5px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 32px 24px;
  }

  .why-choose-item {
    padding: 18px 20px;
  }

  .star-rating-input {
    font-size: 26px;
    gap: 8px;
  }
}

/* Responsive: Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .stats-bar {
    padding: 12px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 8px;
  }

  .stat-number {
    font-size: 18px;
  }

  .stat-label {
    font-size: 9.5px;
  }

  .review-form-card {
    padding: 28px 18px;
  }
}

/* ============================================
   Save Button on Search Results
   ============================================ */
.search-save-btn {
  position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.9); border: 1px solid #E5E7EB; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #9CA3AF; font-size: 16px; transition: all 0.2s; z-index: 2;
}
.search-save-btn:hover { color: #D4A33A; background: #fff; border-color: #D4A33A; }
.search-save-btn.saved { color: #DC2626; background: #FEE2E2; border-color: #DC2626; }
.search-result-card { position: relative; }
.search-result-partner-badge { display: inline-block; background: #081B3A; color: #D4A33A; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 4px; margin-bottom: 6px; letter-spacing: 0.3px; }
.search-result-partner-badge i { margin-right: 4px; }
.search-result-desc { font-size: 13px; color: #6B7280; line-height: 1.4; margin: 6px 0; }
.search-result-card.partner-card { border-color: #D4A33A; border-width: 2px; }
.search-result-card.caregiver-cta-card { background: linear-gradient(135deg, #081B3A 0%, #0d284f 100%); border: none; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.caregiver-cta-card .caregiver-cta-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(212,163,58,0.15); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.caregiver-cta-card .caregiver-cta-icon i { font-size: 22px; color: #D4A33A; }
.caregiver-cta-card .search-result-name { color: #fff; }
.caregiver-cta-card .search-result-desc { color: rgba(255,255,255,0.75); }

/* ============================================
   Partners Directory Cards
   ============================================ */
.partners-hero { background: linear-gradient(135deg, #081B3A 0%, #0d284f 100%); color: #fff; padding: 80px 20px 60px; text-align: center; }
.partners-hero h1 { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; margin-bottom: 16px; }
.partners-hero p { font-size: 18px; opacity: 0.85; max-width: 700px; margin: 0 auto; line-height: 1.6; }
.partners-search-section { background: #F9FAFB; padding: 40px 20px; }
.partners-search-inner { max-width: 600px; margin: 0 auto; display: flex; gap: 12px; }
.partners-search-inner input { flex: 1; padding: 14px 20px; border: 2px solid #E5E7EB; border-radius: 12px; font-size: 16px; outline: none; }
.partners-search-inner input:focus { border-color: #D4A33A; }
.partners-search-inner button { padding: 14px 28px; border-radius: 12px; }
.partners-grid-section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.partner-card { background: #FFFFFF; border-radius: 18px; padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); text-align: center; transition: transform 0.2s; border: 1px solid #F3F4F6; }
.partner-card:hover { transform: translateY(-4px); }
.partner-card-logo { width: 72px; height: 72px; border-radius: 50%; background: #F3F4F6; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; overflow: hidden; }
.partner-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.partner-card-name { font-family: 'Playfair Display', serif; font-size: 20px; color: #081B3A; margin-bottom: 6px; }
.partner-card-location { font-size: 14px; color: #6B7280; margin-bottom: 12px; }
.partner-card-location i { color: #D4A33A; margin-right: 4px; }
.partner-card-types { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 12px; }
.partner-card-types .search-result-type-tag { background: #F3F4F6; color: #374151; padding: 4px 10px; border-radius: 6px; font-size: 12px; }
.partner-card-price { font-size: 18px; font-weight: 700; color: #081B3A; margin-bottom: 8px; }
.partner-card-price span { font-size: 13px; color: #6B7280; font-weight: 400; }
.partner-card-desc { font-size: 14px; color: #6B7280; line-height: 1.5; margin-bottom: 16px; }

/* ============================================
   Caregiver Portal - Availability Grid
   ============================================ */
.availability-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.avail-day { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 10px; cursor: pointer; font-size: 14px; color: #374151; transition: all 0.2s; }
.avail-day:hover { border-color: #D4A33A; background: #FFFBEB; }
.avail-day input { accent-color: #D4A33A; width: 18px; height: 18px; }

/* ============================================
   Caregiver Portal - Messages
   ============================================ */
.cg-message-item { padding: 16px; border-bottom: 1px solid #F3F4F6; cursor: pointer; transition: background 0.2s; }
.cg-message-item:hover { background: #F9FAFB; }
.cg-message-item.unread { background: #FFFBEB; border-left: 3px solid #D4A33A; }
.cg-message-item.read { border-left: 3px solid transparent; }
.cg-msg-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.cg-msg-date { font-size: 12px; color: #9CA3AF; }
.cg-msg-subject { font-size: 14px; color: #081B3A; margin-bottom: 4px; }
.cg-msg-body { font-size: 13px; color: #6B7280; }
