/* ===================================
   INNER PAGES CSS - Shalom Care Mumbai
   Shared styles for about, services, contact, etc.
   =================================== */

/* PAGE HERO (smaller than homepage hero) */
.inner-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: calc(var(--header-height) + 2rem) 0 4rem;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.inner-hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.inner-hero-content { position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto; }
.inner-breadcrumb {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 1.25rem;
}
.inner-breadcrumb a { color: rgba(255,255,255,0.85); }
.inner-breadcrumb a:hover { color: var(--gold); }
.inner-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1rem;
}
.inner-hero h1 .gold-text { color: var(--gold); }
.inner-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.85); line-height: 1.7; }
.inner-hero-cta { margin-top: 1.75rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* CONTENT SECTION */
.content-section { padding: 4rem 0; }
.content-section.bg-light { background: var(--bg-light); }
.content-narrow { max-width: 840px; margin: 0 auto; }

.prose h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--navy);
    margin: 2rem 0 1rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; color: var(--navy); margin: 1.5rem 0 0.75rem; }
.prose p { margin-bottom: 1.1rem; line-height: 1.75; color: #475569; }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.25rem; color: #475569; line-height: 1.8; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: #1E293B; }
.prose a { color: var(--navy); text-decoration: underline; }

/* TWO COLUMN FEATURE */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.feature-split.reverse .feature-split-img { order: 2; }
.feature-split-img img {
    width: 100%; border-radius: 16px;
    box-shadow: 0 20px 50px rgba(30,58,138,0.15);
}
.feature-split-text h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--navy); margin-bottom: 1rem; }
.feature-split-text p { color: #475569; line-height: 1.75; margin-bottom: 1rem; }

/* VALUES GRID */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.value-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(30,58,138,0.06);
    border-top: 3px solid var(--gold);
    transition: transform 0.3s ease;
}
.value-card:hover { transform: translateY(-4px); }
.value-icon { font-size: 2rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.5rem; }
.value-card p { color: #64748B; font-size: 0.9rem; line-height: 1.6; }

/* TEAM / MILESTONE TIMELINE */
.timeline { position: relative; max-width: 700px; margin: 0 auto; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); }
.timeline-item { position: relative; padding-bottom: 2rem; padding-left: 1.5rem; }
.timeline-item::before {
    content: ''; position: absolute; left: -2.4rem; top: 0.3rem;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--navy); border: 3px solid var(--gold);
}
.timeline-year { font-weight: 700; color: var(--gold); font-size: 0.85rem; }
.timeline-item h3 { font-size: 1.05rem; color: var(--navy); margin: 0.3rem 0; }
.timeline-item p { color: #64748B; font-size: 0.9rem; }

/* STATS BAND */
.stats-band {
    background: var(--navy);
    padding: 3rem 0;
}
.stats-band-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    text-align: center;
}
.stats-band-item .num { font-size: 2.2rem; font-weight: 800; color: var(--gold); font-family: 'Playfair Display', serif; }
.stats-band-item .label { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin-top: 0.3rem; }

/* SERVICE DETAIL PAGE */
.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.service-detail-main .prose { margin-bottom: 2rem; }

.service-includes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}
.include-item {
    display: flex; align-items: flex-start; gap: 0.75rem;
    background: #fff; padding: 1rem 1.1rem; border-radius: 10px;
    box-shadow: 0 2px 10px rgba(30,58,138,0.06);
}
.include-item .ic { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.include-item span { font-size: 0.875rem; color: #334155; }

.service-sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(30,58,138,0.08);
    margin-bottom: 1.25rem;
}
.sidebar-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 1rem; }
.sidebar-price { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.sidebar-price span { font-size: 0.85rem; font-weight: 400; color: #64748B; }
.sidebar-list { margin: 1rem 0; }
.sidebar-list li { list-style: none; padding: 0.4rem 0; font-size: 0.85rem; color: #475569; border-bottom: 1px solid #F1F5F9; }
.sidebar-list li:last-child { border: none; }
.related-services { list-style: none; }
.related-services li { border-bottom: 1px solid #F1F5F9; }
.related-services li:last-child { border: none; }
.related-services a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.7rem 0; font-size: 0.875rem; color: #334155;
}
.related-services a:hover { color: var(--navy); }

/* CONTACT PAGE */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
}
.contact-info-list { display: flex; flex-direction: column; gap: 1.25rem; margin: 1.5rem 0; }
.contact-info-item {
    display: flex; align-items: flex-start; gap: 1rem;
    background: #fff; padding: 1.25rem; border-radius: 12px;
    box-shadow: 0 2px 12px rgba(30,58,138,0.06);
}
.cii-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(212,160,23,0.12); color: var(--gold);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item strong { display: block; color: var(--navy); margin-bottom: 0.2rem; }
.contact-info-item span, .contact-info-item a { color: #64748B; font-size: 0.9rem; display: block; }
.contact-map { border-radius: 14px; overflow: hidden; margin-top: 1.5rem; box-shadow: 0 4px 20px rgba(30,58,138,0.08); }
.contact-map iframe { width: 100%; height: 280px; border: 0; display: block; }

/* GALLERY */
.gallery-filters { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.gallery-filter-btn {
    padding: 0.55rem 1.2rem; border-radius: 99px; border: 1.5px solid #E2E8F0;
    font-size: 0.85rem; font-weight: 600; color: #475569; background: #fff; cursor: pointer;
    transition: all 0.2s;
}
.gallery-filter-btn.active, .gallery-filter-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.gallery-item { border-radius: 14px; overflow: hidden; position: relative; aspect-ratio: 4/3; box-shadow: 0 4px 16px rgba(30,58,138,0.08); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,58,138,0.8), transparent 50%);
    display: flex; align-items: flex-end; padding: 1rem; opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: #fff; font-size: 0.85rem; font-weight: 600; }

/* BLOG */
.blog-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.blog-detail-hero { max-width: 820px; margin: 0 auto; }
.blog-detail-image { width: 100%; border-radius: 16px; margin: 2rem 0; box-shadow: 0 10px 40px rgba(30,58,138,0.1); }
.blog-meta-bar { display: flex; gap: 1.25rem; align-items: center; color: #94A3B8; font-size: 0.85rem; margin-bottom: 1rem; flex-wrap: wrap; }
.blog-meta-bar span { display: flex; align-items: center; gap: 0.3rem; }

/* CAREERS */
.job-card {
    background: #fff; border-radius: 14px; padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(30,58,138,0.06); margin-bottom: 1.25rem;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap;
}
.job-card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 0.5rem; }
.job-meta { display: flex; gap: 1rem; flex-wrap: wrap; color: #64748B; font-size: 0.85rem; margin-bottom: 0.75rem; }
.job-meta span { display: flex; align-items: center; gap: 0.3rem; }
.job-card p { color: #64748B; font-size: 0.9rem; line-height: 1.6; max-width: 600px; }

/* CAREGIVER VERIFICATION SEARCH */
.verify-search-box {
    background: #fff; border-radius: 16px; padding: 2rem;
    box-shadow: 0 10px 40px rgba(30,58,138,0.1); max-width: 560px; margin: 0 auto 2rem;
}
.verify-result { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 12px; padding: 1.5rem; margin-top: 1.5rem; }
.verify-result.not-found { background: #FEF2F2; border-color: #FECACA; }

/* FORM CARD (contact/careers/join) */
.form-card {
    background: #fff; border-radius: 16px; padding: 2rem;
    box-shadow: 0 10px 40px rgba(30,58,138,0.08);
}

@media (max-width: 900px) {
    .feature-split, .service-detail-grid, .contact-grid { grid-template-columns: 1fr; }
    .feature-split.reverse .feature-split-img { order: 0; }
    .service-sidebar { position: static; }
}

@media (max-width: 640px) {
    .inner-hero { padding: 6rem 0 3rem; }
    .content-section { padding: 2.5rem 0; }
}

/* ============================================================
   SHARED COMPONENTS (reused from homepage across inner pages)
   ============================================================ */

/* Service cards (used in services.php tiles) */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.service-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.service-card:hover::before { transform: scaleX(1); }
.sc-icon { font-size: 2.2rem; margin-bottom: var(--space-4); }
.service-card h3 { font-size: var(--text-lg); color: var(--navy); margin-bottom: var(--space-2); font-family: var(--font-display); }
.service-card p { color: var(--gray-500); font-size: var(--text-sm); line-height: 1.65; margin-bottom: var(--space-4); }
.sc-price { font-weight: 700; color: var(--gold-dark); font-size: var(--text-sm); margin-bottom: var(--space-3); }
.sc-link { color: var(--navy); font-weight: 600; font-size: var(--text-sm); display: inline-flex; align-items: center; gap: var(--space-1); }
.service-card:hover .sc-link { gap: var(--space-2); color: var(--gold-dark); }

/* Wellness pricing cards */
.wellness-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.wp-card { background: var(--white); border: 1.5px solid var(--gray-100); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); box-shadow: var(--shadow-sm); }
.wp-icon { font-size: 2rem; }
.wp-info h3 { font-size: var(--text-base); color: var(--navy); margin-bottom: var(--space-1); }
.wp-info p { font-size: var(--text-xs); color: var(--gray-500); margin-bottom: var(--space-2); }
.wp-meta span { font-size: var(--text-xs); color: var(--gold-dark); font-weight: 600; }
.wp-price { font-family: var(--font-body); font-size: var(--text-xl); font-weight: 800; color: var(--navy); }

/* Why-us cards */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.why-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); transition: var(--transition); }
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-icon { font-size: 1.8rem; margin-bottom: var(--space-3); }
.why-card h3 { font-size: var(--text-base); color: var(--navy); margin-bottom: var(--space-2); }
.why-card p { font-size: var(--text-sm); color: var(--gray-500); line-height: 1.6; }

/* Verification steps */
.verif-steps { display: flex; flex-direction: column; gap: var(--space-5); }
.vs-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.vs-num { font-family: var(--font-body); font-size: var(--text-xl); font-weight: 800; color: var(--gold); flex-shrink: 0; width: 40px; }
.vs-content strong { display: block; color: var(--navy); font-size: var(--text-base); margin-bottom: 2px; }
.vs-content span { font-size: var(--text-sm); color: var(--gray-500); }

/* How it works steps */
.hiw-steps { display: flex; align-items: flex-start; justify-content: center; gap: var(--space-4); flex-wrap: wrap; }
.hiw-step { flex: 1; min-width: 200px; max-width: 230px; text-align: center; background: var(--white); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.hiw-num { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 800; color: var(--gold); margin-bottom: var(--space-2); }
.hiw-icon { font-size: 2rem; margin-bottom: var(--space-3); }
.hiw-step h3 { font-size: var(--text-base); color: var(--navy); margin-bottom: var(--space-2); }
.hiw-step p { font-size: var(--text-xs); color: var(--gray-500); line-height: 1.6; }
.hiw-arrow { color: var(--gold); font-size: 1.5rem; align-self: center; margin-top: 2.5rem; }

/* Caregiver cards */
.caregivers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.cg-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition); }
.cg-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cg-photo { aspect-ratio: 280/320; overflow: hidden; background: var(--bg-light); }
.cg-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph-avatar { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--white); font-size: 2.5rem; font-weight: 700; font-family: var(--font-display); }
.cg-info { padding: var(--space-5); }
.cg-info h3 { font-size: var(--text-base); color: var(--navy); margin-bottom: var(--space-1); }
.cg-spec { font-size: var(--text-xs); color: var(--gold-dark); font-weight: 600; margin-bottom: var(--space-3); }
.cg-meta { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-3); }
.cg-meta span { font-size: var(--text-xs); color: var(--gray-500); }
.cg-verified { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.v-badge { font-size: 10px; font-weight: 700; background: var(--success-bg); color: var(--success); padding: 2px var(--space-2); border-radius: var(--radius-full); }

/* Testimonial cards */
.testimonials-slider { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.testi-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-card); position: relative; }
.testi-stars { color: var(--gold); font-size: var(--text-sm); margin-bottom: var(--space-3); letter-spacing: 2px; }
.testi-quote { position: absolute; top: var(--space-4); right: var(--space-6); font-family: var(--font-display); font-size: 3.5rem; color: var(--gold-pale); line-height: 1; }
.testi-card p { color: var(--gray-600); font-size: var(--text-sm); line-height: 1.75; margin-bottom: var(--space-5); position: relative; z-index: 1; }
.testi-author { display: flex; align-items: center; gap: var(--space-3); }
.ta-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--text-sm); flex-shrink: 0; }
.testi-author strong { display: block; font-size: var(--text-sm); color: var(--navy); }
.testi-author span { font-size: var(--text-xs); color: var(--gray-400); }

/* FAQ accordion */
.faq-accordion { display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item { border: 1px solid var(--gray-100); border-radius: var(--radius-md); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: var(--space-5); background: var(--white); border: none; text-align: left; font-weight: 600; font-size: var(--text-sm); color: var(--navy); cursor: pointer; }
.faq-icon { color: var(--gold); font-size: var(--text-lg); font-weight: 700; transition: var(--transition); flex-shrink: 0; margin-left: var(--space-3); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-a { max-height: 300px; }
.faq-a p { padding: 0 var(--space-5) var(--space-5); color: var(--gray-500); font-size: var(--text-sm); line-height: 1.7; }

/* CTA section */
.cta-section { position: relative; padding: var(--space-20) 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy-deeper), var(--navy)); }
.cta-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(212,160,23,0.15), transparent 50%); }
.cta-content { position: relative; z-index: 2; color: var(--white); }
.cta-content h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: var(--space-4); color: var(--white); }
.cta-content p { color: rgba(255,255,255,0.8); font-size: var(--text-lg); margin-bottom: var(--space-8); max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* Blog cards */
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.bc-image { position: relative; aspect-ratio: 360/220; overflow: hidden; background: var(--bg-light); }
.bc-image img { width: 100%; height: 100%; object-fit: cover; }
.bc-category { position: absolute; top: var(--space-3); left: var(--space-3); background: var(--gold); color: var(--navy-deeper); font-size: 10px; font-weight: 700; padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); }
.bc-content { padding: var(--space-5); }
.bc-date { font-size: var(--text-xs); color: var(--gray-400); margin-bottom: var(--space-2); }
.bc-content h3 { font-size: var(--text-base); margin-bottom: var(--space-2); }
.bc-content h3 a { color: var(--navy); }
.bc-content p { font-size: var(--text-sm); color: var(--gray-500); line-height: 1.6; margin-bottom: var(--space-3); }
.bc-read-more { color: var(--gold-dark); font-weight: 600; font-size: var(--text-sm); }

/* Empty state */
.empty-state { text-align: center; padding: 2.5rem 1rem; }

/* Button text/loading spans + outline variant + utility */
.btn-outline { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-text, .btn-loading { display: inline-flex; align-items: center; gap: var(--space-2); }

/* Careers modal (job application popup) */
.modal-overlay-jobs { backdrop-filter: blur(4px); }

@media (max-width: 1100px) {
  .services-grid, .why-grid, .caregivers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .services-grid, .why-grid, .caregivers-grid, .wellness-pricing-grid, .testimonials-slider { grid-template-columns: 1fr; }
  .hiw-steps { flex-direction: column; align-items: center; }
  .hiw-step { max-width: 100%; width: 100%; }
  .hiw-arrow { display: none; }
}
