/* Intimate Care Center - Global Styles */
:root {
  --primary: #0F766E;
  --primary-rgb: 15, 118, 110;
  --primary-dark: #0B5D56;
  --secondary: #22C55E;
  --secondary-rgb: 34, 197, 94;
  --accent: #F59E0B;
  --accent-rgb: 245, 158, 11;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --text: #0F172A;
  --muted: #475569;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 18px 46px rgba(15, 23, 42, 0.14);
  --radius: 18px;
  --ring: 0 0 0 4px rgba(var(--accent-rgb), 0.22);

  --bs-primary: var(--primary);
  --bs-primary-rgb: var(--primary-rgb);
  --bs-secondary: var(--secondary);
  --bs-secondary-rgb: var(--secondary-rgb);
  --bs-success: var(--secondary);
  --bs-success-rgb: var(--secondary-rgb);
  --bs-link-color: var(--primary);
  --bs-link-hover-color: var(--primary-dark);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--text);
  letter-spacing: 0.2px;
}

.img-fluid { object-fit: cover; }

.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.btn-primary { background-color: var(--primary); border-color: var(--primary); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background-color: var(--primary); color: var(--white); }

.navbar .navbar-brand .logo { height: 40px; width: auto; object-fit: contain; }
.navbar .brand-text { font-weight: 600; margin-left: 8px; }
.navbar .nav-link { font-weight: 500; }
.navbar .btn { border-radius: 999px; }
.navbar { border-bottom: 1px solid rgba(15, 23, 42, 0.06); }
.navbar.bg-white { background: rgba(255,255,255,0.92) !important; backdrop-filter: blur(10px); }
.navbar .nav-link.active { color: var(--primary) !important; }
.navbar .dropdown-menu { border-radius: 14px; border-color: rgba(15, 23, 42, 0.10); box-shadow: 0 18px 46px rgba(15, 23, 42, 0.14); }

/* Hero */
.hero-section { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 15% 20%, rgba(var(--secondary-rgb), 0.20), transparent 60%), radial-gradient(1000px 520px at 85% 30%, rgba(var(--primary-rgb), 0.18), transparent 55%), linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.10)); }
.hero-section::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 520px; height: 520px; background: radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb), 0.22), transparent 62%); filter: blur(2px); pointer-events: none; }
.hero-section::after { content: ""; position: absolute; inset: auto auto -45% -25%; width: 640px; height: 640px; background: radial-gradient(circle at 35% 35%, rgba(var(--primary-rgb), 0.20), transparent 60%); filter: blur(2px); pointer-events: none; }
.hero-overlay { position: relative; padding: 68px 0; }
.hero-content { background: rgba(255,255,255,0.70); border: 1px solid rgba(15, 23, 42, 0.08); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-title { font-size: clamp(2rem, 4vw + 1rem, 3.2rem); font-weight: 700; }
.hero-subtitle { font-size: 1.05rem; color: var(--muted); max-width: 640px; }
.hero-buttons .btn { padding: 0.8rem 1.6rem; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.hero-buttons .btn:hover { transform: translateY(-2px); }
.hero-image .img-fluid { border-radius: calc(var(--radius) + 6px) !important; box-shadow: var(--shadow-lg); }

.page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 420px at 10% 20%, rgba(var(--secondary-rgb), 0.18), transparent 55%), radial-gradient(900px 420px at 90% 10%, rgba(var(--primary-rgb), 0.16), transparent 55%), linear-gradient(180deg, rgba(255,255,255,0.60), rgba(255,255,255,0.10)); border-bottom: 1px solid rgba(15, 23, 42, 0.06); }
.page-hero::before { content: ""; position: absolute; inset: -45% -25% auto auto; width: 520px; height: 520px; background: radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb), 0.20), transparent 64%); pointer-events: none; }
.page-hero .display-5 { font-weight: 700; letter-spacing: 0.2px; }
.page-hero .lead { max-width: 58ch; }
.page-hero .lead { color: var(--muted) !important; }
.page-hero img { border-radius: calc(var(--radius) + 6px) !important; box-shadow: var(--shadow-lg); }

/* Sections */
.section-title { font-weight: 700; }
.section-subtitle { color: var(--muted); }

/* Cards */
.service-card { background: rgba(255,255,255,0.92); border-radius: var(--radius); padding: 28px; border: 1px solid rgba(15, 23, 42, 0.08); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .service-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(var(--primary-rgb), 0.14); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 12px; }

.philosophy-card { background: rgba(255,255,255,0.92); border-radius: var(--radius); padding: 20px; border: 1px solid rgba(15, 23, 42, 0.08); box-shadow: var(--shadow); height: 100%; }

/* Testimonials */
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.testimonial-image { width: 92px; height: 92px; object-fit: cover; box-shadow: 0 14px 36px rgba(var(--primary-rgb), 0.25); }

/* Newsletter */
.newsletter-section { background: linear-gradient(135deg, var(--primary), #115E59); }
.newsletter-section .btn { border-radius: 999px; }

/* Partners */
.partners-section .logo-pill { padding: 10px 16px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); color: var(--text); font-weight: 600; }
.partners-section .logo-pill i { color: var(--primary); }
.partners-section .partner-name { font-size: 0.95rem; }

/* Footer */
.footer { position: relative; }
.footer a { text-decoration: none; }
.footer hr { border-color: rgba(255,255,255,0.15); }

/* Utilities */
.rounded-4 { border-radius: 1rem !important; }

/* Accessibility focus */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; box-shadow: var(--ring); }

/* Smooth reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Modern Footer Enhancements */
.footer-modern {
  background: linear-gradient(180deg, #0b1320 0%, #111827 100%);
  color: rgba(255,255,255,0.9);
}
.footer-modern .text-light-50 { color: rgba(255,255,255,0.6); }
.footer-modern .text-light-70 { color: rgba(255,255,255,0.8); }
.footer-modern .footer-brand span { font-weight: 600; letter-spacing: .3px; }
.footer-modern .footer-links a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-modern .footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-modern .two-col { columns: 2; column-gap: 1.25rem; }
.footer-modern .social-icons .btn { border-color: rgba(255,255,255,0.35); }
.footer-modern .social-icons .btn:hover { background: var(--primary); border-color: var(--primary); }
/* Added helper for footer policy link */
.link-underline-light { color: rgba(255,255,255,0.85); text-decoration: underline; }
.link-underline-light:hover { color: #fff; }

/* Content Append Blocks */
.content-append .card-title { font-weight: 600; }
.content-append .card { border-radius: .75rem; }
.content-append .faq-section .accordion-button { font-weight: 500; }

/* Team and Avatars (About page, testimonials) */
.avatar { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; letter-spacing: 0.5px; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.05rem; }
.bg-primary-subtle { background-color: rgba(var(--primary-rgb), 0.12) !important; }
.bg-secondary-subtle { background-color: rgba(var(--secondary-rgb), 0.12) !important; }
.team-card .card-body { padding: 20px; }
.team-card .avatar { box-shadow: 0 10px 26px rgba(var(--primary-rgb), 0.22); }

/* Back to top */
.back-to-top { position: fixed; right: 16px; bottom: 16px; z-index: 1050; opacity: 0; transform: translateY(8px); transition: all .2s ease; border-radius: 999px; box-shadow: 0 14px 34px rgba(var(--primary-rgb), 0.32); }
.back-to-top.show { opacity: 1; transform: translateY(0); }

/* Responsive tweaks */
@media (max-width: 576px) {
  .footer-modern .two-col { columns: 1; }
}
@media (max-width: 991.98px) {
  .hero-overlay { padding: 32px 0; }
}
