/* Total Healthy Nest - Global Styles (2025 Wellness Theme) */
:root {
  --primary: #27AE60; /* Herbal Green */
  --secondary: #5DADE2; /* Sky Blue */
  --accent: #F7DC6F; /* Soft Yellow */
  --bg-cream: #FAFAF5; /* Light Cream */
  --white: #FFFFFF;
  --text: #2C3E50; /* Charcoal Gray */
  --muted: #6c757d;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 16px;
}

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

/* Hero */
.hero-section { position: relative; background: linear-gradient(135deg, rgba(39,174,96,0.10), rgba(93,173,226,0.10)); }
.hero-overlay { padding: 60px 0; }
.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.75rem 1.5rem; box-shadow: var(--shadow); transition: transform .25s ease; }
.hero-buttons .btn:hover { transform: translateY(-2px); }

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

/* Cards */
.service-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.service-card .service-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(39,174,96,0.12); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 12px; }

.philosophy-card { background: var(--white); border-radius: var(--radius); padding: 20px; 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 10px 30px rgba(39,174,96,0.25); }

/* Newsletter */
.newsletter-section { background: linear-gradient(135deg, var(--primary), #1e8a4e); }
.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; }

/* 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: #0d6efd; border-color: #0d6efd; }
/* 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(39,174,96,0.12) !important; }
.bg-secondary-subtle { background-color: rgba(93,173,226,0.12) !important; }
.team-card .card-body { padding: 20px; }
.team-card .avatar { box-shadow: 0 6px 18px rgba(39,174,96,0.25); }

/* 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 6px 20px rgba(13,110,253,.3); }
.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; }
}