:root {
  --page-heading-size: clamp(2.5rem, 5vw, 4rem);       
  --subheading-size: clamp(1.8rem, 3.5vw, 2.4rem);     
  --body-text-size: clamp(1rem, 2vw, 1.2rem);          
  --small-text-size: clamp(0.85rem, 1.3vw, 1rem);      
  --nav-text-size: clamp(1rem, 1.8vw, 1.2rem);       
  --button-text-size: clamp(1rem, 2vw, 1.15rem);      
  --icon-size-large: clamp(2rem, 5vw, 2.5rem);         
  --icon-size-medium: clamp(1.5rem, 3vw, 2rem);        
}

/* --- AOS failsafe: show content even if AOS isn't initialized --- */
html:not(.aos-ready) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}


/* ========================================
   GLOBAL FONT SIZE STANDARDIZATION
   ======================================== */

.page-heading,
.page-heading h1,
.page-heading h2,
.services-overview h1,
.volunteer-hero h1,
.employment-title,
.referrals-title,
.about-text h2,
h1, h2, h3, h4, h5, h6,
.team-heading,
.team-diagram-heading,
.volunteer-form-section h2,
.employment-form h2,
.referral-form h2,
.service-content h2,
.service-content h3,
.hospice-content h2,
.hospice-content h3,
.about-text h3,
.about-mission-section .mission-text h3,
.what-text h3 {
font-family: 'Ysabeau', sans-serif !important;
}

/* Standardize all subheadings (h2, h3) */
h2,
h3,
.service-content h2,
.service-content h3,
.hospice-content h2,
.hospice-content h3,
.about-text h3,
.about-mission-section .mission-text h3,
.what-text h3,
.team-heading,
.team-diagram-heading,
.volunteer-form-section h2,
.employment-form h2,
.referral-form h2 {
  font-size: var(--subheading-size) !important;
  font-weight: 700 !important;
  color: #2c2c2c !important;
  margin-bottom: 15px !important;
} 

/* Standardize all body text (p, ul, li, etc.) */
p,
ul,
li,
.about-text p,
.about-mission-section .mission-text p,
.what-text p,
.team-container p.team-intro,
.team-role p,
.service-content p,
.service-content ul,
.hospice-content p,
.hospice-content ul,
.volunteer-hero p,
.volunteer-form-section label,
.volunteer-form-section input,
.volunteer-form-section textarea,
.employment-intro,
.employment-form label,
.employment-form input,
.employment-form textarea,
.referrals-subtitle,
.referral-form label,
.referral-form input,
.referral-form textarea,
.referral-form select,
.image-caption,
.mission-text p,
.contact-form label,
.contact-form input,
.contact-form textarea,
.contact-info address,
.contact-info p,
.map-note,
.footer-links a,
.copyright,
.office-hours,
.on-call-info p {
  font-size: var(--body-text-size) !important;
  line-height: 1.3 !important;
  color: #333 !important;
}

/* section p,
main p,
article p,
.content p,
.page-content p,
.hospice-content p,
.about-section p,
.referrals-content p,
.volunteer-hero p,
.employment-intro p,
.contact-section p,
.services-overview p {
  text-align: left;
  text-justify: none;
  line-height: 1.3;
} */


.employment-intro {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.employment-text {
    max-width: 950px;
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-align: justify;
    text-align-last: center;
}

/* Standardize small text */
small,
.copyright,
.footer .copyright {
  font-size: var(--small-text-size) !important;
}

/* Standardize button text */
button,
.submit-btn,
.contact-form button,
.volunteer-form-section button,
.employment-form button {
  font-size: var(--button-text-size) !important;
}

/* Standardize navigation text */
nav ul a,
.main-nav .dropdown-content a,
.main-nav .dropdown-link,
.main-nav .dropdown-toggle {
  font-size: var(--nav-text-size) !important;
}


/* Team role headings */
.team-role h4 {
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  margin: 0 0 5px !important;
  color: #2c2c2c !important;
} 

/* ========================================
   RESPONSIVE FONT SIZE ADJUSTMENTS
   ======================================== */

@media (max-width: 1005px) {
  .page-heading,
  .page-heading h1,
  .page-heading h2,
  .services-overview h1,
  .volunteer-hero h1,
  .employment-title,
  .referrals-title,
  .about-text h2 {
    font-size: 2.5rem !important;
  }

  h2,
  h3,
  .service-content h2,
  .service-content h3,
  .hospice-content h2,
  .hospice-content h3,
  .about-text h3,
  .about-mission-section .mission-text h3,
  .what-text h3,
  .team-heading,
  .team-diagram-heading,
  .volunteer-form-section h2,
  .employment-form h2,
  .referral-form h2,
  .services h2 {
    font-size: 1.4rem !important;
  }
}

@media (max-width: 768px) {
  .page-heading,
  .page-heading h1,
  .page-heading h2,
  .services-overview h1,
  .volunteer-hero h1,
  .employment-title,
  .referrals-title,
  .about-text h2 {
    font-size: 2.2rem !important;
  }

  h2,
  h3,
  .service-content h2,
  .service-content h3,
  .hospice-content h2,
  .hospice-content h3,
  .about-text h3,
  .about-mission-section .mission-text h3,
  .what-text h3,
  .team-heading,
  .team-diagram-heading,
  .volunteer-form-section h2,
  .employment-form h2,
  .referral-form h2,
  .services h2 {
    font-size: 1.4rem !important;
  }
}

@media (max-width: 480px) {
  .page-heading,
  .page-heading h1,
  .page-heading h2,
  .services-overview h1,
  .volunteer-hero h1,
  .referrals-title,
  .about-text h2 {
    font-size: 2rem !important;
  }

  h2,
  h3,
  .service-content h2,
  .service-content h3,
  .hospice-content h2,
  .hospice-content h3,
  .about-text h3,
  .about-mission-section .mission-text h3,
  .what-text h3,
  .team-heading,
  .team-diagram-heading,
  .volunteer-form-section h2,
  .employment-form h2,
  .referral-form h2,
  .services h2 {
    font-size: 1.3rem !important;
  }
}

@media (max-width: 350px) {
  .page-heading,
  .page-heading h1,
  .page-heading h2,
  .services-overview h1,
  .volunteer-hero h1,
  /* .employment-title, */
  .referrals-title,
  .about-text h2 {
    font-size: 1.8rem !important;
  }

  h2,
  h3,
  .service-content h2,
  .service-content h3,
  .hospice-content h2,
  .hospice-content h3,
  .about-text h3,
  .about-mission-section .mission-text h3,
  .what-text h3,
  .team-heading,
  .team-diagram-heading,
  .volunteer-form-section h2,
  .employment-form h2,
  .referral-form h2,
  .services h2 {
    font-size: 1.2rem !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  font-family: 'Ysabeau', serif; 
  background-color: #fff9f9;
  color: #333333;
  line-height: 1.3;
  font-size: var(--body-text-size);
}

body {
  min-height: 100vh; /* Keep this */
  transform: none !important;
  padding-top: 88px;
  font-family: 'Ysabeau', sans-serif; 
  padding-bottom: 0;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrapper main {
  flex: 1 0 auto;
}

html {
  font-size: clamp(14px, 1.1vw, 20px) !important;
}

.service-card,
.info-icon,
.contact-form,
.contact-info,
.highlight-phone {
  will-change: transform, opacity;
}
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 10px maroon; }
  50% { box-shadow: 0 0 20px #ffaaaa; }
}

@keyframes pulseText {
  0%, 100% { text-shadow: 0 0 6px rgba(128, 0, 0, 0.4); }
  50% { text-shadow: 0 0 12px rgba(200, 0, 0, 0.6); }
}

@keyframes glowCall {
  0%, 100% { text-shadow: 0 0 5px maroon; }
  50% { text-shadow: 0 0 12px #ff7777; }
}

@keyframes ring {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(15deg); }
  30% { transform: rotate(-10deg); }
  45% { transform: rotate(8deg); }
  60% { transform: rotate(-6deg); }
  75% { transform: rotate(4deg); }
  100% { transform: rotate(0deg); }
}
.bi.bi-telephone-fill,
.call-icon{
  animation: ring 3s infinite ease-in-out, glowCall 3s infinite ease-in-out;
  display: inline-block;
  font-size: var(--body-text-size);
  color: white;
  margin-top: 3px;
  transition: transform 0.3s ease;
}

.call-icon:hover {
  transform: scale(1.2) rotate(-10deg);
}

.top-header {
  position: fixed;
  top: 30px;
  left: 0;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 999;
  border-bottom: 1px solid #ddd;
  font-weight: 600;
} 

.logo img {
  max-height: 60px;
  margin-right: auto;
  display: block;
}

.top-header nav ul a,
.main-nav .dropdown-content a,
.main-nav .dropdown-link,
.main-nav .dropdown-toggle {
  font-weight: 600;
}

.container,
.container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

/* .language-bar {
  position: fixed;
  width: 100%;
  background-color: white;
  height: 30px;
  padding: 0 20px; 
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: flex-end;
  align-items: center; 
  z-index: 1000;
}

.language-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-icon {
  font-size: 1.1rem;
  color: #5c9ca0;
}

.language-btn {
  background-color: transparent;
  border: none;
  color: #497dbd;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 500;
  padding: 4px 8px;
}

.language-btn:hover {
  text-decoration: underline;
} */


:root { --lang-strip-h: 36px; }

/* Make space so the fixed strip doesn't cover the header */
.has-lang-strip .page-wrapper {
  padding-top: calc(var(--lang-strip-h) + env(safe-area-inset-top, 0px));
}

/* Full-width white bar, fixed to top */
.language-strip{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--lang-strip-h);
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  z-index: 6000;                   /* above sticky header */
  padding-top: env(safe-area-inset-top, 0px);
  pointer-events: none;            /* let page below be clickable… */
}

/* …but keep the language controls clickable */
.language-inner{
  height: 100%;
  max-width: 1320px;               /* match your header width, or remove for edge-to-edge */
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  pointer-events: auto;
}

.language-inner .bi-translate{
  font-size: 1.05rem;
  color: #5c9ca0;
  opacity: .9;
}

/* “English / Español” links */
.lang-link{
  background: transparent;
  border: 0;
  padding: 0 2px;
  font: inherit;
  color: #2b4e87;
  font-weight: 500;
  cursor: pointer;
}
.lang-link:hover,
.lang-link:focus-visible{ text-decoration: underline; }

.lang-sep{ color: #2b4e87; opacity: .5; user-select: none; }

/* Keep Google banner from shifting layout */
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }

/* Hide Google widget offscreen */
.gt-hidden { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Mobile tweak */
@media (max-width: 768px){
  :root { --lang-strip-h: 32px; }
  .language-inner{ padding: 0 12px; gap: 8px; }
  .lang-link{ font-size: .95rem; }
}




/* Hide Google Translate default UI */
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
.goog-logo-link, .goog-te-gadget span { display: none !important; }
.goog-te-gadget { font-size: 0 !important; }

body {
   padding-top: 30px;
   } 

.hero-section {
    position: relative; 
    width: 100%;
    height: 75vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 32px;
  }

  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

/* This new rule styles the video itself */
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 2; 
}

.hero-overlay {
  position: relative; 
  z-index: 3; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-phone-wrapper {
  position: absolute;
  top: 40%; 
  left: 50%;
  transform: translateX(-50%);
  z-index: 4; 
}

/* Use this wrapper to position the title */
.hero-title-wrapper {
  position: absolute;
  top: 58%; 
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 90%;
}

/* Use this to place the title */
.hero-title-container {
  position: absolute;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  top: 55%; /* <-- Place the title wherever you want */
  width: 100%; /* Gives the text room to center */
}


/* .hero-phone a {
  color: #fff !important;
  text-decoration: none !important;
} */

.hero-title {
  color: white;
  text-align: center;
  font-size: clamp(3rem, 8vw, 4.8rem);
  font-weight: 900;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
  line-height: 1.1;
  white-space: nowrap; 
  margin-top: 390px;
  font-variation-settings: 'wght' 900;
}

/* Description text section below the hero */
.hero-description {
  background: rgb(252, 236, 236);
  color: #333;
  padding: 40px 20px;
  text-align: center;

  margin-top: -40px;
  position: relative;  
  z-index: 10;       

}

.hero-description p {
  font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
    font-weight: 600;
}
/* Navigation link styling */
nav ul a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #333;
  padding: 5px 10px;
  transition: all 0.3s ease;
  font-size: var(--nav-text-size);
}

nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: maroon;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

nav ul a:hover::after {
  transform: scaleX(1);
}

nav ul a:hover {
  color: maroon;
}

.dropdown {
  position: relative;
}

/* Wrapper to align dropdown text + arrow */
.dropdown-wrapper {
  display: flex;
  align-items: center;
}

/* Unstyled toggle button holding the arrow */
.dropdown-toggle {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent !important;
  border: none !important;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.dropdown-toggle::after {
  display: none !important;
}

/* Arrow icon style */
.arrow-icon {
  font-size: 0.7rem;
  /* margin-left: 4px; */
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Optional rotation on open */
.dropdown.open .arrow-icon {
  transform: rotate(180deg);
  color: maroon;
}


/* Ensure dropdown content is hidden by default */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
  border-radius: 4px;
}

.dropdown .dropdown-content {
  display: none;
}

.dropdown.open .dropdown-content {
  display: block;
}

.container,
.container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}
.dropdown-content li {
  list-style: none;
}
.dropdown-content a {
  display: block;       
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  font-weight: normal;
  transition: background 0.2s, color 0.2s;
}
.dropdown-content a:hover {
  background-color: #f8dcdc;
  color: maroon;
}

.mobile-arrow {
  display: none !important;
}
.dropdown-link::after {
  display: inline-block;
}



/* Home Page Services Section */

.our-services {
    background: #903032;
    padding: 30px 20px 15px 20px;
    text-align: center;
}

.section-heading {
    font-size: var(--page-heading-size);
    margin-bottom: 40px;
    color: white !important;
}

.service-box-link {
    display: block;
    text-decoration: none;
    border-radius: 18px;
}

.service-box {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 32px;
    margin: 0 auto 32px auto;
    max-width: 1100px;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    gap: 32px;
    text-align: left;
    transition: transform 0.35s ease;
    will-change: transform;
}

.service-box-link:hover .service-box {
    transform: scale(1.015); /* ✅ Only card content zooms */
}

.service-img {
  margin-top: 12px;
  width: 400px;
  height: 280px;           
  object-fit: cover;       
  border-radius: 15px;
  flex-shrink: 0;
  align-self: flex-start;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: var(--subheading-size);
    margin-bottom: 12px;
    color: #4b2e2e;
    margin-bottom: 12px;
}

.service-content p {
    font-size: var(--body-text-size);
    color: #444;
    line-height: 1.5;
    margin-bottom: 20px;
}

.service-content h3 {
    margin-top: 0 !important;  
}


.learn-more {
    display: inline-block;
    background: #943032;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}

.service-box-link:hover .learn-more {
    background: #7d2a2a;
}

.learn-more:hover {
    background: #7d2a2a;
}

@media (max-width: 768px) {
    .service-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-img {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 0 auto;
    }

    .service-content {
        text-align: center;
    }
}


/* Mission Section */
.mission-section {
    background: rgb(252, 236, 236);
    padding: 0px 20px 30px 20px;
    text-align: center;
}

.mission-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 1000px; 
    margin: 0 auto;
    padding: 0 20px; 
}

.mission-logo {
  margin-top: 20px;
    width: 220px; 
    height: auto;
}

.mission-text p {
    font-size: var(--body-text-size);
    color: #333;
    line-height: 1.75;
    max-width: 750px;
    text-align: center;
    margin: 0 auto;
}


/* Responsive */
@media (max-width: 768px) {
    .service-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-img {
        width: 100%;
        max-width: 320px;
    }

    .service-content {
        text-align: center;
    }

    .mission-content {
        padding: 0 10px;
    }
}

#contact {
  scroll-margin-top: 100px; /* Adjust based on your header height */
}


.contact-highlight-box {
  background: linear-gradient(to right, #fbe9e7, #ffebee);
  border: 1px solid #f8bbd0;
  padding: 25px 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(128, 0, 0, 0.1);
  margin: 25px 0;
}

.emergency-heading {
  font-size: var(--body-text-size);
  font-weight: 700;
  color: maroon;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.highlight-text{
  font-size: var(--body-text-size);
  font-weight: 700;
  color: maroon;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

main{
  /* position: relative;
  z-index: 1; */
  overflow: visible !important;
} 




body {
    transform: none !important;
}

body.menu-open .fixed-phone-button {
    display: none !important;
}
.fixed-phone-button {
    position: fixed;
    top: 120px; /* fixed position so it doesn't jump */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    background-color: #943032;
    color: white;
    padding: 10px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease-in-out;
    white-space: nowrap;
    max-width: 90vw;
}

/* Small screen adjustments only for size, not position */
@media (max-width: 970px) {
    .fixed-phone-button {
        top: 117px; 
        padding: 8px 20px;
        font-size: 1.1rem;
        gap: 6px;
    }
}

@media (max-width: 400px) {
    .fixed-phone-button {
        white-space: normal;
        text-align: center;
    }
}



/* Hero heading is handled by global standardization rules above */

.contact-section {
  display: flex;
  flex-wrap: wrap;
  background-color: #943032;
  padding: 40px;
  border-radius: 12px;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  font-size: var(--body-text-size);
}

.contact-form,
.contact-info {
  flex: 1 1 360px;
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: 600;
  margin: 10px 0 5px;
  font-size: var(--body-text-size);
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  font-size: var(--body-text-size);
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 10px;
}

.contact-form button {
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: var(--button-text-size);
}

.contact-form button:hover {
  background-color: maroon;
}

#contact { scroll-margin-top: 220px; }  /* tweak for your fixed header height */
html { scroll-behavior: smooth; }       /* optional: smooth anchor scroll */


@media (max-width: 480px) {
  .highlight-phone {
    font-size: 0.95rem;
    padding: 10px 18px;
  }
}

.office-hours {
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 15px 20px;
  background-color: #fff;
  font-size: var(--body-text-size);
  font-weight: 600;
  color: #2c2c2c;
  text-align: center;
  margin-bottom: 20px;
}

.address-call-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-top: 10px;
  font-size: var(--body-text-size);
}

.on-call-info {
  flex: 1;
  font-style: italic;
  font-weight: 500;
  color: #333;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--body-text-size);
}

.on-call-info p {
  margin: 0;
  font-size: var(--body-text-size);
}

.contact-info address {
  margin: 15px 0;
  font-size: var(--body-text-size);
}

.emergency-heading {
  font-size: 1.4rem;
  font-weight: bold;
  color: #7d1d1d;
  margin-bottom: 15px;
  text-align: center;
}

.highlight-phone {
  display: inline-block;
  background-color: #943032;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
  text-align: center;
}

.highlight-phone i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.highlight-phone:hover {
  background-color: #7a2929;
  color: white;
}

.highlight-text {
  font-size: var(--body-text-size);
  color: #333;
  margin-top: 15px;
  text-align: center;
}


.map-address a {
  color: #333;
  text-decoration: underline;
  font-style: normal;
}

.map-address a:hover {
  color: maroon;
}

/* Map Section */
.map {
  margin: 0;
  padding: 0;
  /* line-height: 1.3; */
  background-color: #fcecec;
}

.map iframe {
  display: block;
  width: 100%;
  height: 400px; 
  border: none;
  border-radius: 15px;
  margin: 20px 0 0 0;
  padding: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06); 
}

.map-note-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: var(--body-text-size);
}

.map-note {
  margin: 0;
  padding: 30px 20px 20px;
  text-align: center;
  background-color: #fcecec;
  color: #333;
  border-top: 1px solid #e4bdbd; 
  border-radius: 0 0 15px 15px;
  font-size: var(--body-text-size);
  font-weight: 400; /* Make whole paragraph regular by default */
}

.map-note-bold {
  font-weight: 700;
  display: block;
  margin-top: 10px;
}


/* Footer */
.custom-footer {
  background-color: #943032;
  color: #fff;
  font-size: 1rem;
  padding: 60px 40px 10px;
  
}
.footer-top {
  margin-left: clamp(0px, 5vw, 250px) !important;
}


.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 30px;
  align-items: start;
}

/* === CENTER SECTION POSITIONED HIGHER AND LEFT === */
.footer-center {
  text-align: center;
  max-width: 480px;
  padding: 0 20px;
  /* transform: t ranslate(-50px, -30px);  */
  /* position: relative; */
  z-index: 1;
}

.footer-main-logo-wrapper {
  background-color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  overflow: hidden;
}

.footer-main-logo {
  width: 80px;         /* or try 70px if needed */
  height: auto;
  object-fit: contain; /* Ensures no distortion */
}

.footer-description {
  font-size: 20px !important ;            /* Slightly smaller font */
  line-height: 1.5;              /* Slightly tighter spacing */
  width: 600px;                  /* Fixed width ensures consistent wrapping */
  max-width: 110%;
  margin: 20px auto;
  color: white;
  text-align: center;
}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  margin-left: 1.5rem;
}

/* tile stays same size; icon gets bigger */
.footer-sub-logo {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 16px;
  padding: 10px;                 /* a little less padding */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;                 /* center icon perfectly */
  align-items: center;
  justify-content: center;
  overflow: visible;             /* allow icon to extend slightly */
  transition: transform .3s ease;
}

.footer-sub-logo > img,
.footer-sub-logo > svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.28);        /* make the logo “come out” */
  transform-origin: center;
}

.footer-sub-logo:hover {
  transform: scale(1.05);
}

/* .footer-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  margin-left: 1.5rem;
}

.footer-sub-logo {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.footer-sub-logo:hover {
  transform: scale(1.05);
} */

/* === QUICK LINKS SECTION LOWER === */
.footer-links {
  font-size: 20px;
  margin-left: 40px;
  margin-top: 40px; 
}

.footer-links h4 {
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff !important;
  text-decoration: none;
  transition: color 0.3s;
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.footer-links a:hover {
  color: #ffdede;
}

/* === CONTACT SECTION LOWER === */
.footer-contact {
  font-size: 20px;
  margin-top: 40px; 
  /* margin-left: 90px; */
  margin-left: auto;
  margin-right: auto;
  position: relative;
  left: 25px;


}

.footer-contact h4 {
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.footer-contact p,
.footer-contact a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  margin-bottom: 8px;
  display: block;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.footer-contact a:hover {
  color: #ffdede;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social-icons a {
  font-size: 1.3rem;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-social-icons a:hover {
  color: #ffdede;
}


@media (min-width: 992px) {

  .footer-center {
    /* Re-introduce the transform ONLY on large screens */
    transform: translate(-100px, -30px);
    position: relative; /* position is needed for transform to work predictably */
    
    /* You might not need auto margins on desktop */
    margin-left: 0; 
    margin-right: 0;
    position: relative;
    left: 55px;
  }

}


/* === BOTTOM SECTION === */
.footer-bottom {
  font-size: 20px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 15px;
  font-size: 0.95rem;
  color: #fff;
  
}
/* full-width (edge-to-edge) line */
/* Full-bleed line right ABOVE .footer-bottom */
.footer-bottom {
  position: relative;              /* anchor the pseudo line */
  /* your existing styles stay */
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: -1px;                       /* place it above the bottom area */
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;                    /* stretch across the viewport */
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

/* avoid accidental horizontal scrollbars on some browsers */
.custom-footer { overflow-x: clip; }


@media (max-width: 1070px) {
  /* Switch grid to flex for responsiveness */
  .footer-top {
    display: flex !important;
    flex-direction: column; /* Stack vertically */
    align-items: center;    /* Center horizontally */
    text-align: center;     /* Center text content */
    gap: 30px;               /* Space between sections */
    margin-left: 0 !important;
  }

  /* Center quick links */
  .footer-links {
    margin: 0;
  }
  .footer-links ul {
    text-align: center;
  }

  /* Center the middle logo section */
  .footer-center {
    max-width: 100%;
    padding: 0 10px;
    transform: none;
    position: static;
    left: auto;
  }

  /* Center icons row */
  .footer-logos {
    justify-content: center;
    margin-left: 0;
  }

  /* Contact section centered */
  .footer-contact {
    margin: 0;
    position: static;
    left: auto;
    text-align: center;
  }

  .footer-social-icons {
    justify-content: center;
  }
  /* Footer bottom stack */
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
}


  /* 3. Also makes the original hero phone badge (if used) smaller */
  .phone-badge,
  .hospice-phone-badge,
  .homehealth-phone-badge,
  .referrals-phone-badge,
  .employment-phone-badge,
  .volunteer-phone-badge {
      padding: 8px 18px;
      font-size: 1rem;
  }

  @media screen and (max-width: 380px) {
  .footer-logos {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important; /* spacing between logos */
  }

  .footer-sub-logo {
    width: auto !important;
    max-width: 120px; /* optional size limit */
  }
}


/* Force white text globally inside footer */
.custom-footer * {
  color: #fff !important;
}

/* Responsive */
@media (max-width: 380px) {
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    overflow-x: hidden !important;
  }

  *, *::before, *::after {
    box-sizing: border-box;
    max-width: 100vw;
  }

  section,
  div,
  img,
  main,
  .about-section,
  .about-text,
  .about-image {
    max-width: 100% !important;
  }
}


@media (max-width: 600px) {
  .address-call-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .on-call-info {
    margin-top: 15px;
  }
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }
  50% {
    opacity: 1;
    transform: translateX(5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.animated-text {
  animation: fadeSlide 1.8s ease-in-out forwards;
}

.animated-text p {
  animation: fadeSlide 4s ease-in-out infinite;
}

.animated-text p:first-child {
  animation-delay: 0s;
}

.animated-text p:last-child {
  animation-delay: 0.6s;
}

.mobile-toggle {
  display: none;
}
.mobile-toggle i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-toggle i:hover {
  transform: scale(1.3) !important;
  color: #800000 !important; 
}



body.menu-open{
  overflow: hidden;
}

/* Mobile styles start */
@media (max-width: 1399px) {
  .mobile-toggle {
    display: block;
    font-size: var(--subheading-size);
    color: maroon;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }

  .top-header {
    position: fixed;
    z-index: 10000;
  }

  nav.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: #fdf0f0;
    transition: transform 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
    transform: translateX(-100%);
    overflow-y: auto;
  }

  nav.main-nav.show {
    transform: translateX(0);
  }

  nav.main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
    margin: 0;
  }

  nav.main-nav ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
  }

  nav.main-nav ul li a,
  nav.main-nav .dropdown-content li a {
    display: block;
    width: 100%;
    padding: 15px 20px;
    font-size: var(--body-text-size);
    color: #333;
    text-decoration: none;
    background: none;
    transition: all 0.3s ease;
  }

  nav.main-nav>ul>li>a {
    border-bottom: 1px solid #eee;
  }

  /* Dropdown Structure */
  .main-nav ul {
    list-style: none;
  }

  .main-nav li {
    border-bottom: 1px solid #e6e6e6;
  }

/* Center dropdown header and position arrow nicely */
.main-nav .dropdown-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 16px 0;
  width: 100%;
}

.main-nav .dropdown-link {
  text-align: center;
  font-weight: 600;
  width: 100%;
}

.main-nav .dropdown-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

  .dropdown-toggle {
    display: inline-block;
    background: none;
    border: none;
    font-size: var(--body-text-size);
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    color: #444;
    transition: transform 0.3s ease;
  }

  .mobile-arrow {
    display: inline-block !important;
  }

  .main-nav .dropdown-content {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 0;
    margin-top: -1px;
    border-top: 1px solid #e6e6e6;
    transition: max-height 0.3s ease;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    z-index: auto !important;
  }

  .main-nav .dropdown.open .dropdown-content {
    max-height: 300px;
    margin-top: 0;
    border-top: none;
    display: block;
  }

  .main-nav .dropdown-content li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
  }

  .main-nav .dropdown-content li a:hover {
    background: #f9eaea;
  }
}


@media (max-width: 1399px) {

    /* Style for the main navigation links */
    nav.main-nav ul li a,
    nav.main-nav .dropdown-link {
        padding: 18px 20px;         /* INCREASED PADDING for more vertical space */
        font-size: 1.2rem;          /* INCREASED FONT SIZE for better readability */
        font-weight: 600;           /* Makes the font a bit bolder */
        text-align: center;
        color: #2c2c2c;
        border-bottom: 1px solid #eee; /* Adds a subtle separator line */
    }

    /* Style for the dropdown links (Services, Join Our Team) */
    .main-nav .dropdown-content li a {
        padding: 15px 20px;
        font-size: 1.1rem;          /* Slightly smaller font for sub-items */
        background-color: #f9f9f9;  /* Light background to distinguish them */
    }

    /* Style for the dropdown arrows */
    .main-nav .dropdown-toggle .arrow-icon {
        font-size: 1rem;            /* Makes the arrow icon a bit bigger */
    }

    /* Style for the 'X' close button */
    .mobile-toggle {
        font-size: 1.8rem;          /* Makes the 'X' icon bigger */
    }
}



/* === About Us page=== */
.about-hero {
    background-image: url('/images/aboutus_1.png'); /* Make sure file is in /wwwroot/images */
    background-size: cover;
    background-position: center;
    height: 455px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 55px;
}

.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Dark overlay for better readability */
    z-index: 1;
    
    
}

.overlay-elements {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transform: translateY(-90px);
}


p {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* .phone-badge {
    background-color: #903230;
    color: white;
    margin-top: 35px;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    transform: translateY(-45px);
    white-space: nowrap; 


    

} */

.about-title {
    font-size: clamp(3rem, 7vw, 4.5rem) !important;
    font-weight: 900;
    color: white;
    margin: 5px;
        padding-top: 10rem;
    transform: translateY(-10px);
    font-variation-settings: 'wght' 900;
}

.about-section {
    background-color: rgb(252, 236, 236);;
    padding: 50px 20px;
    text-align: center;
}

.about-section h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.about-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

.about-unified-section {
  background-color: #903230;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px; /* This creates the space between the "Mission" and "What We Do" cards */
}

.info-block {
  display: flex;
  align-items: center; /* THIS IS THE FIX: Vertically centers the image and text */
  gap: 50px;
  max-width: 1100px;
  width: 100%;
}

/* This new rule flips the layout for the second block */
.info-block.reverse {
  flex-direction: row-reverse;
}

.info-image {
  flex: 1 1 45%; /* Let the image container be flexible */
}

.info-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  display: block; /* Good practice for images */
}

.info-text {
  flex: 1 1 55%; /* Let the text container be flexible */
  color: white !important;
}

.info-text h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: left;
  color: white !important;
}

.info-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: white !important;
  text-align: left; /* Aligns text to the left */
}

/* Responsive stacking for mobile devices */
@media (max-width: 768px) {
  .info-block,
  .info-block.reverse {
      flex-direction: column; /* Stack image and text on top of each other */
      text-align: center;
  }
  .info-text h3, 
  .info-text p {
      text-align: center; /* Center text when stacked */
  }
  .service-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .service-box {
    padding: 20px 16px; /* Optional: adds some space on the sides */
  }
}


/* Outer background */
.team-wrapper {
    background-color: rgb(252, 236, 236);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

/* Inner white card container */
.team-content-area {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Heading */
.team-heading {
    text-align: center;
    color: #a32121 !important;
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Subheading */
.team-intro {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 40px;
}

/* Team role container */
.team-role {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: stretch;
}

.team-role > .team-icon {
  display: block;
  height: 100%;
  width: auto;
  max-height: 100%;
  object-fit: contain;
}

/* Force icon to match text block height */
.team-role .team-icon {
    height: 100px;
    width: auto;
}

/* Role title */
.team-role h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

/* Role description */
.team-role p {
    margin-top: 6px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-content-area {
        padding: 40px 20px;
    }

    .team-role {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-role .team-icon {
        height: 80px;
        margin-bottom: 10px;
    }
}

/* === Services Page === */
.services-main {
    padding: 15px 20px 40px;
}

.services-section {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin-top: 100px;
}

/* Phone Number Pill */
/* .services-phone-wrapper {
    margin-bottom: 20px;
} */

/* .services-phone-link {
    display: inline-block;
    background-color: #943032;
    color: white;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 35px;
    white-space: nowrap; 
} */

/* .services-phone-link:hover {
    background-color: #7b2828;
    transform: scale(1.05);
} */

/* Global Heading Style */
.global-heading {
    font-size: 2.8rem;
    font-weight: 900;
    color: #333333;
    margin-bottom: 40px;
}

/* Cards Grid */
.services-cards {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

/* Individual Card */
.service-card {
    width: 400px;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.service-card img {
    width: 100%;
    height: 266.67px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    transition: transform 0.15s ease-in-out;
}

.service-card:hover {
    transform: translateY(-8px);
}







.about-hero,
.hospice-hero,
.homehealth-hero,
.referrals-hero,
.employment-hero,
.volunteer-hero,
.services-main,
.career-main-v2,
.volunteer-main {
  margin-top: 30px !important; /* Using a smaller, more appropriate margin */
}

/* This rule keeps the homepage margin as it is */
.hero-section {
  margin-top: 30px !important; /* Homepage margin remains large */
}



.service-label {
    background-color: #903032;
    color: white;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

/* === Hospice Care Page Section === */
/* === HERO SECTION === */
.gray {
  background-color: rgb(136, 131, 131); /* #888383 */
}

.light-gray {
  background-color: #f8f8f8;
}

.light-pink {
  background-color: rgb(252, 236, 236); /* #fcecec */
}

.peach {
  background-color: #fff4ec;
}

.red-bg {
  background-color: #903230;
}

.white {
  background-color: #ffffff;
}

@media (max-width: 414px) {

  /* This moves the content up on the smallest phone screens */
  .hero-section,
  .about-hero,
  .hospice-hero,
  .homehealth-hero,
  .referrals-hero,
  .employment-hero,
  .volunteer-hero,
  .services-main,
  .career-main-v2,
  .volunteer-main {
    margin-top: 20px !important; /* This is a smaller gap for small phones */
  }


  @media (max-width: 350px) {
    .hero-section,
    .about-hero,
    .hospice-hero,
    .homehealth-hero,
    .referrals-hero,
    /* .employment-hero, */
    .volunteer-hero,
    .services-main,
    .career-main-v2,
    .volunteer-main {
      margin-top: 18px !important; /* A smaller gap for the smallest phones */
    }
  
    .logo img {
      max-height: 45px !important; /* Make logo a little smaller */
    }
  }

}

.hospice-hero {
  background-image: url('/images/getty-images-MRmlxwtbg8w-unsplash.jpg'); /* Update as needed */
  background-size: cover;
  background-position: center;
  height: 455px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 55px;
}

.hospice-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hospice-overlay-elements {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  /* transform: translateY(-90px); */
  transform: none !important;
  width: 100%;
    height: 100%;
}

/* .hospice-phone-badge {
  background-color: #903230;
  color: white;
  margin-top: 15px;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  transform: translateY(-45px);
  white-space: nowrap; 
} */


/* .hospice-phone-badge{
  position: absolute;
  transform: translateX(-50%);
  top: 15px;
  margin-top: 0;
  left: 50%;
} */

/* .homehealth-phone-badge {
    position: absolute;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    /* top: 15%;  */
    /* margin-top: 0;  */
/* } */ */


.hospice-title,
.homehealth-title {
      padding-top: 10rem;
    position: absolute;
    left: 50%;
    /* transform: translateX(-50%); */
    top: 55%; /* Adjust this percentage to move up or down */
    width: 70%;
    text-align: center;
    margin: 0; /* Remove conflicting margin */
}

.hospice-title {
  font-size: clamp(3rem, 7vw, 4.5rem) !important;
  font-weight: 900 !important;
  color: white;
  margin: 5px;
  padding-top: 10rem;          /* match About Us vertical space */
  transform: translateY(-10px); /* same vertical shift as About Us */
  font-variation-settings: 'wght' 900;
}
.hospice-intro {
  background-color: white;
  padding: 50px 20px;
  text-align: center;
}

.hospice-intro p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
  font-weight: 600;
}

/* === SECTION STYLING === */

.hospice-container .text-side h3,
.hospice-section h3 {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #2c2c2c !important;
  margin-bottom: 15px !important;
  line-height: 1.4 !important;
}

.hospice-section {
  padding: 50px 20px;
}

.section-content {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: nowrap;
}

.section-content.reverse {
  flex-direction: row-reverse;
}

.image-side {
  flex: 1 1 45%;
}

.image-side img {
  width: 100%;
  height:100%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  
}

/* Default text styles (for light sections) */
.text-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 50%;
  font-size: 1.05rem;
  color: #333;
}


.text-side p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #333;
}

.text-side ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 10px;
  color: #333;
}

.text-side ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Text override for dark backgrounds */
.red-bg .text-side,
.gray .text-side {
  color: #fff !important;
}

.red-bg .text-side h3,
.gray .text-side h3,
.red-bg .text-side h4,
.gray .text-side h4,
.red-bg .text-side p,
.gray .text-side p,
.red-bg .text-side ul,
.gray .text-side ul,
.red-bg .text-side ul li,
.gray .text-side ul li {
  color: #fff !important;
}

.hospice-access {
  background-color: #888383;
  padding: 50px 20px;
  text-align: center;
}

.hospice-access-wrapper p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
  color: #ffffff !important;
}

.hospice-section.light-gray {
  padding: 30px 20px;
}

.full-width-text {
  width: 100%;
}

.full-width-text p {
  font-weight: 600;
  font-size: 1.6rem !important;
  color: #333333;
  margin: 0 auto;
  text-align: center;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 992px) {
  .section-content {
    flex-direction: column;
    text-align: left;
    gap: 30px;
  }

  .section-content.reverse {
    flex-direction: column;
  }

  .text-side,
  .image-side {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .hospice-hero-overlay h1 {
    font-size: 2.2rem;
  }

  .hero-phone-pill {
    font-size: 1rem;
    padding: 6px 16px;
  }
}

@media (max-width: 600px) {
  .text-side h3,
  .text-side h4 {
    font-size: 1.3rem;
  }

  .text-side {
    font-size: 1rem;
  }

  .hospice-intro {
    font-size: 1rem;
    padding: 30px 15px;
  }

  .hospice-hero {
    height: 360px;
  }
}


/* === Home Health Page Section === */
.homehealth-hero {
  background-image: url('/images/home_8.png'); 
  background-size: cover;
  background-position: center;
  height: 455px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 55px;
}

.homehealth-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.homehealth-overlay-elements {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  /* transform: translateY(-90px); */
  transform: none !important;
  width: 100%;
  height: 100%;
}


.homehealth-title {
  font-size: clamp(3rem, 7vw, 4.5rem) !important;
  font-weight: 900 !important;
  color: white;
  margin: 5px;
  padding-top: 10rem;          /* match About Us vertical space */
  transform: translateY(-10px); /* same vertical shift as About Us */
  font-variation-settings: 'wght' 900;
}

/* === INTRO SECTION === */
.homehealth-intro {
  background-color: white;
  padding: 50px 20px;
  text-align: center;
}

.homehealth-intro p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
  /* font-weight: 600; */
}

/* === SECTION STYLING === */
.homehealth-container .text-side h3,
.homehealth-section h3 {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #2c2c2c !important;
  margin-bottom: 15px !important;
  line-height: 1.4 !important;
}

.homehealth-section {
  padding: 50px 20px;
}

.section-content {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: nowrap;
}

.section-content.reverse {
  flex-direction: row-reverse;
}

.image-side {
  flex: 1 1 45%;
}

.image-side img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

.text-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 50%;
  font-size: 1.05rem;
  color: #333;
}

.text-side p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #333;
}

.text-side ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 10px;
  color: #333;
}

.text-side ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Dark background overrides */
.red-bg .text-side,
.gray .text-side {
  color: #fff !important;
}

.red-bg .text-side h3,
.gray .text-side h3,
.red-bg .text-side h4,
.gray .text-side h4,
.red-bg .text-side p,
.gray .text-side p,
.red-bg .text-side ul,
.gray .text-side ul,
.red-bg .text-side ul li,
.gray .text-side ul li {
  color: #fff !important;
}

/* ACCESS SECTION */
.homehealth-access {
  background-color: #888383;
  padding: 50px 20px;
  text-align: center;
}

.homehealth-access-wrapper p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
  color: #ffffff !important;
}

.homehealth-section.light-gray {
  padding: 30px 20px;

}

.full-width-text {
  width: 100%;
}

.full-width-text p {
  font-weight: 600;
  font-size: 1.6rem !important;
  color: #333333;
  margin: 0 auto;
  text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .section-content {
    flex-direction: column;
    text-align: left;
    gap: 30px;
  }

  .section-content.reverse {
    flex-direction: column;
  }

  .text-side,
  .image-side {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .homehealth-hero-overlay h1 {
    font-size: 2.2rem;
  }

  .hero-phone-pill {
    font-size: 1rem;
    padding: 6px 16px;
  }
}

@media (max-width: 600px) {
  .text-side h3,
  .text-side h4 {
    font-size: 1.3rem;
  }

  .text-side {
    font-size: 1rem;
  }

  .homehealth-intro {
    font-size: 1rem;
    padding: 30px 15px;
  }

  .homehealth-hero {
    height: 360px;
  }
}
.homehealth-section .text-side strong {
  color: white !important;
}


/* Refferals Page */
/* === HERO SECTION === */
.referrals-hero {
    background-image: url('/images/Refferals.png');
    background-size: cover;
    background-position: center;
    height: 455px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 55px;
}

.referrals-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.referrals-overlay-elements {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transform: translateY(-90px);
}


.referrals-title {
  font-size: clamp(3rem, 7vw, 4.5rem) !important;
  font-weight: 900 !important;
  color: white;
  margin: 5px;
  padding-top: 10rem;          /* match About Us vertical space */
  transform: translateY(-10px); /* same vertical shift as About Us */
  font-variation-settings: 'wght' 900;
}

/* === INTRO PARAGRAPH === */
.referrals-intro {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.referrals-text {
    max-width: 950px;
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-align: justify;
    text-align-last: center;
    font-weight: 600;
}

/* === FORM WRAPPER === */
.referrals-form-wrapper {
    background: rgb(252, 236, 236);
    padding: 60px 0;
}

.referrals-form-background {
    background-color: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    max-width: 950px;
    margin: 0 auto;
}

.referrals-form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.referrals-form {
    width: 100%;
    max-width: 750px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
}

.referrals-form h2 {
    grid-column: span 2;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333333;
}

.referrals-form label {
    font-weight: 600;
    color: #333;
}

.referrals-form input[type="text"],
.referrals-form input[type="email"],
.referrals-form input[type="tel"],
.referrals-form input[type="file"],
.referrals-form select,
.referrals-form textarea {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.referrals-form select {
    appearance: none;
    background-color: #fff;
}

.referrals-form textarea {
    resize: vertical;
    min-height: 100px;
    grid-column: span 2;
}

.referrals-form .submit-btn {
    grid-column: span 2;
    padding: 12px 24px;
    background-color: #943032 !important;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.referrals-form .submit-btn:hover {
    background-color: black !important;
}

.alert.alert-success {
    margin-bottom: 20px;
    background-color: #d1f7d6;
    color: #226622;
    border: 1px solid #b4e5bc;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
}

#referral-form { scroll-margin-top: 200px; }  /* adjust 80–140px to taste */
html { scroll-behavior: smooth; }     
/* Career page */
.career-main-v2 {
    padding: 15px 20px 40px;
}

.career-section-v2 {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 100px;
    text-align: center;
}


/* Heading */
.career-heading-v2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #333333;
    margin-bottom: 40px;
}

/* Cards Grid */
.career-cards-v2 {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

/* Individual Career Card */
.career-card-v2 {
    width: 400px;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.career-card-v2:hover {
    transform: translateY(-8px);
}

.career-card-v2 img {
    width: 100%;
    height: auto;
    display: block;
}

.career-label-v2 {
    background-color: #903032;
    color: white;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}



/* Employment Page */
.employment-hero {
    background-image: url('/images/Employment.png'); /* Change as needed */
    background-size: cover;
    background-position: center;
    height: 455px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 55px;
}

.employment-title {
      font-size: clamp(3rem, 7vw, 4.5rem) !important;
  font-weight: 900 !important;
  color: white;
  margin: 5px;
  padding-top: 10rem;          /* match About Us vertical space */
  transform: translateY(-10px); /* same vertical shift as About Us */
  font-variation-settings: 'wght' 900;
}

.employment-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.employment-overlay-elements {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transform: translateY(-90px);
}


.employment-intro {
   max-width: 700px;
  margin: 0 auto 2rem;
  color: #555;
  font-size: var(--body-text-size);
  /* line-height: 1.3; */
  padding: 1rem 1rem;
}


.employment-benefits {
  padding: 60px 20px 40px;
  background-color: #fff;
}

.benefit-cards-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background-color: #e5e5e5;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  width: 279px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card i {
  font-size: 36px;
  color: #943032;
  margin-bottom: 20px;
}

.benefit-card p {
  font-size: 16px;
  color: #333333;
  line-height: 1.5;
}

.form-wrapper {
  background: rgb(252, 236, 236);; /* Light pink or your desired color */
  padding: 30px 0 60px 0;
}

.form-wrapper-background {
  background-color: #fff;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  max-width: 950px;
  margin: 0 auto;
}


.employment-form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.employment-form {
  width: 100%;
  max-width: 750px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
  font-family: 'Ysabeau', sans-serif;
}

.employment-form h2 {
  grid-column: span 2;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333333;
}

.employment-form label {
  font-weight: 600;
  color: #333333;
}

.employment-form input[type="text"],
.employment-form input[type="email"],
.employment-form input[type="tel"],
.employment-form input[type="file"],
.employment-form textarea {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.employment-form textarea {
  resize: vertical;
  min-height: 100px;
  grid-column: span 2;
}

.employment-form .submit-btn {
  grid-column: span 2;
  padding: 12px 24px;
  background-color: #943032 !important;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.employment-form .submit-btn:hover {
  background-color: black !important; /* Darker shade for hover effect */
}

.alert.alert-success {
  margin-bottom: 20px;
  background-color: #d1f7d6;
  color: #226622;
  border: 1px solid #b4e5bc;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
}
#employment-form { scroll-margin-top: 200px; }  /* tweak 80–140px to fit your header */
html { scroll-behavior: smooth; }   

/* Volunteer - Responsive Styles */

/* === HERO SECTION === */
.volunteer-hero {
    background-image: url('/images/volunteer.jpg');
    background-size: cover;
    background-position: center;
    height: 455px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 55px;
}

.volunteer-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.volunteer-overlay-elements {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transform: translateY(-90px);
}



.volunteer-title{
  font-size: clamp(3rem, 7vw, 4.5rem) !important;
  font-weight: 900 !important;
  color: white;
  margin: 5px;
  padding-top: 10rem;          /* match About Us vertical space */
  transform: translateY(-10px); /* same vertical shift as About Us */
  font-variation-settings: 'wght' 900;
}

/* === INTRO PARAGRAPH === */
/* This is your existing code for the background section */
.volunteer-intro {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    text-align: center;
    background-color: #f8f9fa; /* Added a light background for the section */
}

/* This is your existing code for the text container */
.volunteer-text {
    max-width: 950px;
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-align: center; /* Simplified from justify for better readability */
}

/* --- NEW CSS TO ADD --- */

/* This rule adds space BETWEEN each <p> tag */
.volunteer-text p {
    margin-bottom: 1.5rem; /* Adjust this value to control the spacing */
}

/* This rule removes the extra space after the VERY LAST paragraph */
.volunteer-text p:last-child {
    margin-bottom: 0;
}

/* This media query reduces the spacing on mobile screens */
@media (max-width: 768px) {
    .volunteer-text p {
        margin-bottom: 1rem; /* Less space on mobile */
    }
}

/* === FORM SECTION === */
.volunteer-form-wrapper {
    background-color: #fcecec;
    padding: 60px 0;
}

.volunteer-form-background {
    background-color: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    max-width: 870px;
    margin: 0 auto;
}

.volunteer-form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Ysabeau', sans-serif;
    font-size: 23px;
    color: #333333;
    width: 100%;
}

.volunteer-form {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px 30px;
}

.volunteer-form h2 {
    grid-column: span 2;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333333;
}

.volunteer-form label {
    font-weight: 600;
    color: #333;
    align-self: center;
}

.volunteer-form input[type="text"],
.volunteer-form input[type="email"],
.volunteer-form input[type="tel"],
.volunteer-form textarea {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.volunteer-form textarea {
    resize: vertical;
    min-height: 100px;
    grid-column: 2 / 3;
}

.volunteer-submit-btn {
    grid-column: span 2;
    padding: 12px 24px;
    background-color: #943032 !important;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.volunteer-submit-btn:hover {
    background-color: black !important;
}

/* === SUCCESS ALERT === */
.alert.alert-success {
    margin-bottom: 20px;
    background-color: #d1f7d6;
    color: #226622;
    border: 1px solid #b4e5bc;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
}

#volunteer-form { scroll-margin-top: 200px; }  /* adjust 80–140px to match your header */
html { scroll-behavior: smooth; }              /* optional smooth anchor scroll */


/* ========================================
   GOOGLE TRANSLATE - HIDE DEFAULT UI
   ======================================== */

/* Hide the entire Google Translate widget container */
#google_translate_element {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Hide Google Translate dropdown/select */
.goog-te-combo {
  display: none !important;
  visibility: hidden !important;
}

/* Hide Google Translate banner */
.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
}

/* Hide "Powered by Google Translate" text */
.goog-te-gadget {
  display: none !important;
  visibility: hidden !important;
}

/* Hide Google Translate toolbar */
.goog-te-ftab {
  display: none !important;
  visibility: hidden !important;
}

/* Hide any Google Translate related elements */
.goog-te-menu-value,
.goog-te-menu-frame,
.goog-te-menu2,
.goog-te-balloon-frame,
.goog-te-spinner-pos {
  display: none !important;
  visibility: hidden !important;
}

/* Hide the top frame that Google Translate sometimes adds */
body > .skiptranslate {
  display: none !important;
  visibility: hidden !important;
}

/* Hide the Google Translate iframe */
iframe.goog-te-menu-frame,
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
}

/* Remove any margin/padding that Google Translate might add to body */
body {
  top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Ensure no Google Translate elements are visible anywhere */
[id*="google_translate"],
[class*="goog-te"],
[class*="skiptranslate"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Hide any remaining Google Translate UI elements */
.goog-te-gadget-simple,
.goog-te-gadget-icon,
.goog-te-gadget-simple .goog-te-menu-value,
.goog-te-gadget-simple .goog-te-menu-value span,
.goog-te-gadget-simple .goog-te-menu-value span:first-child {
  display: none !important;
  visibility: hidden !important;
}

/* Additional cleanup for any lingering elements */
div[id*="google_translate_element"],
div[class*="goog-te"],
span[class*="goog-te"],
table[class*="goog-te"],
td[class*="goog-te"],
tr[class*="goog-te"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.goog-te-combo {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.no-default-arrow::after {
  display: none !important;
}

.page-wrapper {
  transform: none !important;
}

/* =========================
   Privacy page – hard overrides
   ========================= */
/* body.privacy-page {
  background: #faf9f9;
} */
/* Use ONLY this page class */
body.privacy-document-page {
  background-color: #fff; /* match other pages */
}

/* Push page content down under navbar/phone pill */
.privacy-document-page .privacy-container {
  padding-top: clamp(24px, 5vw, 48px);
  background-color: #fff9f9;;
}

/* Main card */
.privacy-content {
  max-width: 1100px;           /* match your usual container width */
  margin: 40px auto;
  background-color: #fff;      /* same as site */
  padding: clamp(24px, 4vw, 48px);
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.05);
}

/* Header */
.privacy-header {
  text-align: center;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 24px;
  margin-top: clamp(16px, 3vw, 32px);   /* modest top gap */
  margin-bottom: 32px;
}
.privacy-header h1 {
  font-size: var(--page-heading-size);
  line-height: 1.2;
  color: #2c2c2c;
  margin: 0;                              /* no extra push */
}
.privacy-header .effective-date {
  margin-top: 12px;
  font-size: var(--small-text-size);
  color: #6c757d;
}

/* Typography */
.privacy-content h2 {
  font-size: var(--subheading-size);
  font-weight: 600;
  color: #2c2c2c;
  margin: 32px 0 16px;
}
.privacy-content h3 {
  font-size: calc(var(--subheading-size) * 0.85);
  font-weight: 600;
  color: #2c2c2c;
  margin-top: 24px;
}
.privacy-content p,
.privacy-content li,
.privacy-content address {
  font-size: var(--body-text-size);
  line-height: 1.7;
  color: #333;
}
.privacy-content ul { padding-left: 20px; margin-bottom: 16px; }
.privacy-content li { margin-bottom: 8px; }
.privacy-content address {
  font-style: normal;
  background-color: #f8f9fa;
  border-left: 4px solid #903032;
  padding: 16px;
  border-radius: 4px;
  margin-top: 24px;
}

/* Prevent overlap on narrow screens */
@media (max-width: 783px) {
  .privacy-document-page .privacy-header { margin-top: 60px; }
}

/* Keep font sizes sensible on tablets */
@media (max-width: 900px) {
  .privacy-document-page .privacy-header h1 { font-size: 2.2rem !important; }
  .privacy-document-page .privacy-content h2 { font-size: 1.5rem !important; }
  .privacy-document-page .privacy-content h3 { font-size: 1.2rem !important; }
}

/* ===== Admin list look ===== */
.admin-page .page-header{
  display:flex; align-items:center; gap:12px; margin:8px 0 18px;
}
.admin-page .page-header h1{ margin:0; font-weight:800; letter-spacing:.2px; }
.admin-page .pill{
  display:inline-block; padding:2px 10px; border-radius:999px;
  background:#eef2ff; color:#3730a3; font-weight:700; font-size:.95rem;
}

/* Card container */
.card{
  background:#fff; border:0; border-radius:18px; padding:8px 0;
  box-shadow:0 10px 24px rgba(16,24,40,.06);
}

/* Table styling */
.table.admin-table{ margin:0; }
.table.admin-table thead th{
  position:sticky; top:0; z-index:1;
  background:#fafafa; border-bottom:1px solid #eaeaea;
  font-size:.92rem; padding-top:12px; padding-bottom:12px;
}
.table.admin-table tbody td{ vertical-align:middle; padding:14px 12px; }
.table.admin-table tbody tr:hover{ background:#f9fafb; }

/* Helpers */
.truncate{
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; line-height:1.35;
}
.mono{
  font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}

/* Responsive */
@media (max-width: 768px){
  .admin-page .page-header{ flex-wrap:wrap; gap:8px; }
  .table.admin-table .w-50{ width:auto; }
}
