/* ═══════════════════════════════════════════════
   BETHEL HEALTHCARE SERVICES — SHARED STYLES
   Brand Colors from Logo:
   Green:      #4ca82c
   Red:        #d32f2f
   Brown:      #5c3d35
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Nunito+Sans:wght@300;400;500;600&display=swap');

:root {
  --green:        #4ca82c;
  --green-dark:   #3a8420;
  --green-light:  #6dc44a;
  --green-pale:   #edf7e8;
  --red:          #d32f2f;
  --red-light:    #ff6b6b;
  --brown:        #5c3d35;
  --brown-dark:   #3e2820;
  --brown-light:  #8c6b62;
  --cream:        #faf8f5;
  --white:        #ffffff;
  --gray-light:   #f4f4f0;
  --gray-mid:     #9e9e9e;
  --gray-text:    #555550;
  --shadow-sm:    0 2px 12px rgba(76,168,44,0.10);
  --shadow-md:    0 8px 32px rgba(76,168,44,0.14);
  --shadow-lg:    0 20px 60px rgba(76,168,44,0.18);
  --radius:       8px;
  --radius-lg:    16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--cream);
  color: var(--brown-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── NAVIGATION ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--green-pale);
  padding: 0 5%;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 20px rgba(76,168,44,0.08);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(76,168,44,0.15); }

.nav-logo img { height: 48px; display: block; }

.nav-menu { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-menu a {
  padding: 0.5rem 1rem; border-radius: 6px;
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--brown); text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-menu a:hover, .nav-menu a.active {
  background: var(--green-pale); color: var(--green-dark);
}
.nav-cta-btn {
  background: var(--green) !important; color: var(--white) !important;
  padding: 0.55rem 1.4rem !important; border-radius: 6px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(76,168,44,0.35) !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta-btn:hover {
  background: var(--green-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(76,168,44,0.45) !important;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--brown); border-radius: 2px;
  transition: all 0.3s;
}

/*---TAB---*/
.auth-tabs {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.9rem 5%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(76,168,44,0.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}


/* ── SECTION COMMONS ── */
.section { padding: 5rem 5%; }
.section-center { text-align: center; }

.tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-dark);
  background: var(--green-pale); padding: 0.35rem 1rem;
  border-radius: 20px; border: 1px solid rgba(76,168,44,0.2);
  margin-bottom: 1.2rem;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.2;
  color: var(--brown-dark); margin-bottom: 1rem;
}
.section-title span { color: var(--green); }
.section-sub {
  font-size: 1rem; color: var(--gray-text);
  max-width: 580px; line-height: 1.8;
}
.section-center .section-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.8rem; border-radius: var(--radius);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s;
}
.btn-green {
  background: var(--green); color: var(--white);
  box-shadow: 0 4px 16px rgba(76,168,44,0.35);
}
.btn-green:hover {
  background: var(--green-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76,168,44,0.45);
}
.btn-outline {
  background: transparent; color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green-pale); transform: translateY(-2px);
}
.btn-brown {
  background: var(--brown); color: var(--white);
  box-shadow: 0 4px 16px rgba(92,61,53,0.3);
}
.btn-brown:hover { background: var(--brown-dark); transform: translateY(-2px); }
.btn-white {
  background: var(--white); color: var(--green-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-white:hover { background: var(--green-pale); transform: translateY(-2px); }

/* ── CARDS ── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid rgba(76,168,44,0.1);
  padding: 2rem; transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ── FOOTER ── */
.footer {
  background: var(--brown-dark);
  padding: 4rem 5% 2rem;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-logo img { height: 50px; margin-bottom: 1rem; filter: brightness(10); }
.footer-about { font-size: 0.88rem; line-height: 1.8; color: rgba(255,255,255,0.6); }
.footer h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; color: var(--white);
  margin-bottom: 1.2rem; font-weight: 600;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 0.88rem; transition: color 0.2s;
}
.footer-links a:hover { color: var(--green-light); }
.footer-contact-item {
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem; line-height: 1.5;
}
.footer-contact-item .icon { font-size: 1rem; margin-top: 1px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a { color: var(--green-light); text-decoration: none; }

/* ── PAGE HERO BANNER (for inner pages) ── */
.page-banner {
  min-height: 320px;
  background: linear-gradient(135deg, var(--brown-dark) 0%, #2d1a14 100%);
  display: flex; align-items: center;
  padding: 8rem 5% 4rem;
  position: relative; overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(76,168,44,0.2) 0%, transparent 70%);
}
.page-banner-content { position: relative; z-index: 2; }
.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700;
  color: var(--white); margin-bottom: 0.75rem;
}
.page-banner h1 span { color: var(--green-light); }
.page-banner p { font-size: 1.05rem; color: rgba(255,255,255,0.65); max-width: 560px; }
.breadcrumb {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--green-light); text-decoration: none; }
.breadcrumb span { opacity: 0.4; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(76,168,44,0.35); }
  70% { box-shadow: 0 0 0 12px rgba(76,168,44,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,168,44,0); }
}

.anim-fadeup { animation: fadeUp 0.7s ease both; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-menu { display: none; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: white;
    padding: 1rem 5%; gap: 0.25rem;
    border-bottom: 2px solid var(--green-pale);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 3.5rem 5%; }
}
