/* =====================================================
   People First Network of Kansas — Global Styles
   ===================================================== */

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

   :root {
     --navy:       #1a3a5c;
     --navy-light: #234f7d;
     --teal:       #2a9d8f;
     --teal-light: #3dbdae;
     --gold:       #e9c46a;
     --warm-white: #f8f6f2;
     --off-white:  #edf2f7;
     --text-dark:  #1e2a38;
     --text-mid:   #4a5568;
     --text-light: #718096;
     --white:      #ffffff;
     --shadow-sm:  0 2px 8px rgba(26,58,92,0.10);
     --shadow-md:  0 6px 24px rgba(26,58,92,0.14);
     --shadow-lg:  0 12px 48px rgba(26,58,92,0.18);
     --radius:     10px;
     --radius-lg:  18px;
     --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
   }
   
   *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
   
   html { scroll-behavior: smooth; }
   
   body {
     font-family: 'Nunito', sans-serif;
     background: var(--warm-white);
     color: var(--text-dark);
     line-height: 1.7;
     overflow-x: hidden;
   }
   
   /* ── NAVBAR ─────────────────────────────────────────── */
   .navbar {
     background: var(--white);
     box-shadow: var(--shadow-sm);
     position: sticky;
     top: 0;
     z-index: 1000;
   }
   
   .nav-inner {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 24px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     height: 78px;
   }
   
   .nav-logo {
     display: flex;
     align-items: center;
     gap: 14px;
     text-decoration: none;
     flex-shrink: 0;
   }
   
   .logo-circle {
     width: 52px;
     height: 52px;
     border-radius: 50%;
     background: linear-gradient(135deg, var(--navy), var(--teal));
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
     box-shadow: 0 3px 12px rgba(42,157,143,0.35);
   }
   
   .logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

   .logo-circle svg {
     width: 30px;
     height: 30px;
     fill: var(--white);
   }
   
   .logo-text {
     display: flex;
     flex-direction: column;
     line-height: 1.15;
   }
   
   .logo-text .org-name {
     font-family: 'Playfair Display', serif;
     font-weight: 700;
     font-size: 1.05rem;
     color: var(--navy);
     letter-spacing: 0.01em;
   }
   
   .logo-text .org-tagline {
     font-size: 0.72rem;
     font-weight: 600;
     color: var(--gold);
     letter-spacing: 0.06em;
     text-transform: uppercase;
   }
   
   /* Desktop Nav Links */
   .nav-links {
     display: flex;
     align-items: center;
     gap: 4px;
     list-style: none;
   }
   
   .nav-links li { position: relative; }
   
   .nav-links a {
     display: block;
     padding: 8px 14px;
     font-size: 0.88rem;
     font-weight: 600;
     color: var(--text-dark);
     text-decoration: none;
     border-radius: 6px;
     transition: color var(--transition), background var(--transition);
     letter-spacing: 0.02em;
   }
   
   .nav-links a:hover,
   .nav-links a.active {
     color: var(--teal);
     background: rgba(42,157,143,0.08);
   }
   
   /* Dropdown */
   .dropdown-menu {
     display: none;
     position: absolute;
     top: calc(100% + 6px);
     left: 0;
     background: var(--white);
     border-radius: var(--radius);
     box-shadow: var(--shadow-md);
     min-width: 210px;
     padding: 8px 0;
     border-top: 3px solid var(--teal);
   }
   
   .nav-links li:hover .dropdown-menu { display: block; }
   
   .dropdown-menu a {
     padding: 10px 20px;
     font-size: 0.84rem;
     border-radius: 0;
     color: var(--text-mid);
   }
   
   .dropdown-menu a:hover {
     color: var(--teal);
     background: rgba(42,157,143,0.06);
   }
   
   .nav-cta {
     background: var(--teal) !important;
     color: var(--white) !important;
     border-radius: 8px !important;
     padding: 9px 20px !important;
     font-weight: 700 !important;
     transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
   }
   
   .nav-cta:hover {
     background: var(--navy) !important;
     color: var(--white) !important;
     transform: translateY(-1px);
     box-shadow: 0 4px 16px rgba(42,157,143,0.3) !important;
   }
   
   /* Hamburger */
   .hamburger {
     display: none;
     flex-direction: column;
     gap: 5px;
     cursor: pointer;
     padding: 6px;
     border: none;
     background: none;
   }
   
   .hamburger span {
     display: block;
     width: 26px;
     height: 2.5px;
     background: var(--navy);
     border-radius: 2px;
     transition: var(--transition);
   }
   
   /* ── FOOTER ─────────────────────────────────────────── */
   footer {
     background: var(--navy);
     color: rgba(255,255,255,0.8);
     padding: 60px 24px 30px;
   }
   
   .footer-inner {
     max-width: 1200px;
     margin: 0 auto;
   }
   
   .footer-grid {
     display: grid;
     grid-template-columns: 2fr 1fr 1fr 1fr;
     gap: 40px;
     padding-bottom: 40px;
     border-bottom: 1px solid rgba(255,255,255,0.12);
   }
   
   .footer-brand .logo-circle { margin-bottom: 16px; }
   
   .footer-brand p {
     font-size: 0.88rem;
     line-height: 1.8;
     color: rgba(255,255,255,0.65);
     max-width: 280px;
   }
   
   .footer-col h4 {
     font-family: 'Playfair Display', serif;
     font-size: 1rem;
     font-weight: 700;
     color: var(--gold);
     margin-bottom: 16px;
   }
   
   .footer-col ul { list-style: none; }
   .footer-col ul li { margin-bottom: 8px; }
   
   .footer-col ul a {
     color: rgba(255,255,255,0.65);
     text-decoration: none;
     font-size: 0.875rem;
     transition: color var(--transition);
   }
   
   .footer-col ul a:hover { color: var(--teal-light); }
   
   .footer-bottom {
     padding-top: 28px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     font-size: 0.8rem;
     color: rgba(255,255,255,0.4);
     flex-wrap: wrap;
     gap: 12px;
   }
   
   /* ── SHARED UTILITIES ────────────────────────────────── */
   .section { padding: 80px 24px; }
   .section-inner { max-width: 1200px; margin: 0 auto; }
   
   .section-label {
     display: inline-block;
     font-size: 0.75rem;
     font-weight: 700;
     letter-spacing: 0.15em;
     text-transform: uppercase;
     color: var(--teal);
     margin-bottom: 10px;
   }
   
   .section-title {
     font-family: 'Playfair Display', serif;
     font-size: clamp(1.8rem, 3vw, 2.6rem);
     font-weight: 700;
     color: var(--navy);
     line-height: 1.25;
     margin-bottom: 16px;
   }
   
   .section-subtitle {
     font-size: 1.05rem;
     color: var(--text-mid);
     max-width: 600px;
     margin-bottom: 48px;
   }
   
   .btn {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 13px 28px;
     font-family: 'Nunito', sans-serif;
     font-size: 0.9rem;
     font-weight: 700;
     border-radius: 8px;
     text-decoration: none;
     border: none;
     cursor: pointer;
     transition: all var(--transition);
     letter-spacing: 0.02em;
   }
   
   .btn-primary {
     background: var(--teal);
     color: var(--white);
     box-shadow: 0 4px 16px rgba(42,157,143,0.3);
   }
   
   .btn-primary:hover {
     background: var(--navy);
     transform: translateY(-2px);
     box-shadow: 0 8px 24px rgba(26,58,92,0.3);
   }
   
   .btn-outline {
     background: transparent;
     color: var(--navy);
     border: 2px solid var(--navy);
   }
   
   .btn-outline:hover {
     background: var(--navy);
     color: var(--white);
   }
   
   .btn-white {
     background: var(--white);
     color: var(--navy);
   }
   
   .btn-white:hover {
     background: var(--gold);
     color: var(--navy);
   }
   
   /* ── PAGE HERO BANNER (inner pages) ─────────────────── */
    .page-hero {
      background:
        linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
        url("PFNK-Images/banner.png");

      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;

      padding: 140px 24px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .page-hero-banner {
      width: 100%;
      max-width: 1800px;
      height: 340px;
      margin: 0 auto 40px;
      border-radius: 0;
      overflow: hidden;
      position: relative;
      z-index: 1;
    }
   
   .page-hero h1 {
     font-family: 'Playfair Display', serif;
     font-size: clamp(2rem, 4vw, 3rem);
     font-weight: 700;
     color: var(--white);
     position: relative;
     z-index: 1;
     margin-bottom: 12px;
   }
   
   .page-hero p {
     color: rgba(255,255,255,0.78);
     font-size: 1.1rem;
     position: relative;
     z-index: 1;
   }
   
   .breadcrumb {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     margin-top: 16px;
     font-size: 0.85rem;
     color: rgba(255,255,255,0.6);
     position: relative;
     z-index: 1;
   }
   
   .breadcrumb a {
     color: var(--gold);
     text-decoration: none;
   }
   
   .breadcrumb a:hover { text-decoration: underline; }
   
   /* ── ANCHOR SMOOTH OFFSET ────────────────────────────── */
   [id] { scroll-margin-top: 90px; }
   
   /* ── ABOUT IMG ───────────────────────────────────────── */
   .about-img-block img {
     width: 100%;
     height: auto;
     border-radius: 12px;
   }
   
   /* =====================================================
      RESPONSIVE — Mobile First
      ===================================================== */
   
   /* ── TABLET (≤ 900px) ──────────────────────────────── */
   @media (max-width: 900px) {
   
     /* Navbar */
     .nav-links { display: none; }
     .hamburger { display: flex; }
   
     .mobile-menu {
       display: flex !important;
       flex-direction: column;
       background: var(--white);
       padding: 16px 20px 20px;
       gap: 2px;
       box-shadow: var(--shadow-md);
       max-height: 80vh;
       overflow-y: auto;
     }
   
     .mobile-menu a {
       padding: 10px 12px;
       font-size: 0.92rem;
       font-weight: 600;
       color: var(--text-dark);
       text-decoration: none;
       border-radius: 6px;
     }
   
     .mobile-menu a:hover {
       background: var(--off-white);
       color: var(--teal);
     }
   
     /* Sections */
     .section { padding: 56px 20px; }
     .section-subtitle { font-size: 0.97rem; margin-bottom: 32px; }
   
     /* Footer */
     .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
   
     /* Page hero */
     .page-hero { padding: 52px 20px; }
     .page-hero p { font-size: 1rem; }
   }
   
   /* ── MOBILE (≤ 600px) ───────────────────────────────── */
   @media (max-width: 600px) {
   
     /* Navbar */
     .nav-inner { height: 66px; padding: 0 16px; }
   
     .logo-circle { width: 42px; height: 42px; }
     .logo-circle svg { width: 24px; height: 24px; }
     .logo-text .org-name { font-size: 0.92rem; }
     .logo-text .org-tagline { font-size: 0.65rem; }
   
     /* Sections */
     .section { padding: 44px 16px; }
     .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
     .section-subtitle { font-size: 0.92rem; margin-bottom: 28px; }
   
     /* Buttons */
     .btn { padding: 12px 22px; font-size: 0.85rem; }
   
     /* Footer */
     .footer-grid { grid-template-columns: 1fr; gap: 28px; }
     .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
     footer { padding: 44px 16px 24px; }
     .footer-brand p { max-width: 100%; }
   
     /* Page hero */
     .page-hero { padding: 44px 16px; }
     .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
     .page-hero p { font-size: 0.93rem; }
     .breadcrumb { font-size: 0.78rem; flex-wrap: wrap; justify-content: center; }
   }
   
   /* ── VERY SMALL (≤ 380px) ────────────────────────────── */
   @media (max-width: 380px) {
     .logo-text .org-name { font-size: 0.82rem; }
     .nav-inner { gap: 8px; }
   }
   
   
   /* =====================================================
      PAGE-SPECIFIC RESPONSIVE — index.html (homepage)
      ===================================================== */
   
   /* Quick bar */
   @media (max-width: 900px) {
     .quick-bar-inner { flex-wrap: wrap; }
     .quick-item {
       flex: 0 0 50%;
       border-right: none;
       border-bottom: 1px solid rgba(255,255,255,0.08);
     }
   }
   
   @media (max-width: 600px) {
     .quick-item { flex: 0 0 100%; padding: 14px 16px; }
     .hero { height: 75vh; min-height: 480px; }
     .hero-overlay { padding: 0 20px; }
     .hero-content { max-width: 100%; }
     .hero-btns { flex-direction: column; gap: 10px; }
     .hero-btns .btn { width: 100%; justify-content: center; }
   }
   
   /* Vision section */
   @media (max-width: 900px) {
     .vision-inner {
       grid-template-columns: 1fr !important;
       gap: 40px !important;
     }
     .vision-stat-card.card-1 { bottom: -10px; left: 0; }
     .vision-stat-card.card-2 { top: -10px; right: 0; }
   }
   
   /* Services grid (homepage) */
   @media (max-width: 900px) {
     .services-grid { grid-template-columns: 1fr 1fr !important; }
   }
   
   @media (max-width: 600px) {
     .services-grid { grid-template-columns: 1fr !important; }
   }
   
   /* Testimonials */
   @media (max-width: 900px) {
     .testimonials-track { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding-bottom: 12px; }
     .testimonial-card { flex: 0 0 80vw; scroll-snap-align: start; }
   }
   
   @media (max-width: 600px) {
     .testimonial-card { flex: 0 0 90vw; padding: 24px; }
   }
   
   
   /* =====================================================
      PAGE-SPECIFIC RESPONSIVE — about.html
      ===================================================== */
   
   @media (max-width: 900px) {
     .about-intro-inner { grid-template-columns: 1fr !important; gap: 36px !important; }
     .values-grid { grid-template-columns: 1fr 1fr !important; }
     .blog-grid { grid-template-columns: 1fr 1fr !important; }
     .leadership-grid { grid-template-columns: 1fr 1fr !important; }
   }
   
   @media (max-width: 600px) {
     .values-grid { grid-template-columns: 1fr !important; }
     .blog-grid { grid-template-columns: 1fr !important; }
     .leadership-grid { grid-template-columns: 1fr 1fr !important; }
     .mission-quote { padding: 0 20px; font-size: 1rem !important; }
   }
   
   @media (max-width: 420px) {
     .leadership-grid { grid-template-columns: 1fr !important; }
   }
   
   
   /* =====================================================
      PAGE-SPECIFIC RESPONSIVE — care-services.html
      ===================================================== */
   
   @media (max-width: 900px) {
     .services-intro-inner { grid-template-columns: 1fr !important; gap: 36px !important; }
     .amenities-grid { grid-template-columns: 1fr 1fr !important; }
     .day-program-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
     .pricing-grid { grid-template-columns: 1fr 1fr !important; }
     .pricing-card.featured { transform: none !important; }
   }
   
   @media (max-width: 600px) {
     .amenities-grid { grid-template-columns: 1fr !important; }
     .pricing-grid { grid-template-columns: 1fr !important; }
     .pricing-card.featured { transform: none !important; }
     .schedule-row { flex-direction: column; align-items: flex-start; gap: 2px; }
   }
   
   
   /* =====================================================
      PAGE-SPECIFIC RESPONSIVE — careers.html
      ===================================================== */
   
   @media (max-width: 900px) {
     .careers-intro-inner { grid-template-columns: 1fr !important; gap: 36px !important; }
     .benefits-grid { grid-template-columns: 1fr 1fr !important; }
     .job-card { flex-direction: column !important; align-items: flex-start !important; }
     .job-card-right { align-items: flex-start !important; width: 100%; }
     .job-card-right .btn { width: 100%; justify-content: center; }
   }
   
   @media (max-width: 600px) {
     .benefits-grid { grid-template-columns: 1fr 1fr !important; }
     .job-card { padding: 20px !important; }
   }
   
   @media (max-width: 420px) {
     .benefits-grid { grid-template-columns: 1fr !important; }
   }
   
   
   /* =====================================================
      PAGE-SPECIFIC RESPONSIVE — contact.html
      ===================================================== */
   
   @media (max-width: 900px) {
     .contact-inner { grid-template-columns: 1fr !important; gap: 36px !important; }
     .form-row { grid-template-columns: 1fr !important; gap: 0 !important; }
   }
   
   @media (max-width: 600px) {
     .contact-form-wrap { padding: 24px 18px !important; }
     .contact-block { flex-direction: column; gap: 10px; }
     .hours-table td { font-size: 0.8rem; }
     .map-frame { height: 260px !important; }
   }
   
   
   /* =====================================================
      PAGE-SPECIFIC RESPONSIVE — staff-resources.html
      ===================================================== */
   
   @media (max-width: 900px) {
     .video-grid { grid-template-columns: 1fr 1fr !important; }
     .forms-categories { grid-template-columns: 1fr !important; }
   }
   
   @media (max-width: 600px) {
     .video-grid { grid-template-columns: 1fr !important; }
     .staff-login-banner p { font-size: 0.8rem; }
     .form-item { flex-direction: column; align-items: flex-start; gap: 10px; }
     .download-btn { align-self: flex-start; }
     .accordion-header { padding: 16px 16px !important; }
     .accordion-body { padding: 0 16px 16px !important; }
   }