/* ----------------------------------------------------
   SERENITY PREMIUM LIVING - GLOBAL STYLESHEET
   Consolidated from globals.css & all CSS modules.
   ---------------------------------------------------- */

:root {
  --font-playfair: 'Playfair Display', serif;
  --font-open-sans: 'Open Sans', sans-serif;
  
  /* Brand Colours */
  --color-teal: #2C9FA3;
  --color-sand: #E6D8C3;
  --color-lavender: #C8B9E6;
  --color-white: #F8F9F9;
  --color-charcoal: #333333;

  /* Usage */
  --background: var(--color-white);
  --foreground: var(--color-charcoal);
  
  --primary: var(--color-teal);
  --primary-hover: #248a8e;
  
  --secondary: var(--color-sand);
  --accent: var(--color-lavender);
}

/* Base & Resets */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-open-sans), Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-playfair), serif;
  font-weight: 700;
  color: var(--color-charcoal);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
  width: 100%;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 968px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Common Page Header */
.page-header {
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-white);
}

.page-header p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .page-header {
    padding: 3rem 0;
  }
}

/* Common Page Section */
.page-section {
  padding: 5rem 0;
}

@media (max-width: 968px) {
  .page-section {
    padding: 3rem 0;
  }
}

/* ----------------------------------------------------
   COMPONENTS: Button
   ---------------------------------------------------- */
.btn {
  padding: 12px 24px;
  font-family: var(--font-open-sans);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-sand);
  color: var(--color-charcoal);
}

.btn-secondary:hover {
  background-color: #d8c8af;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-teal);
  border: 2px solid var(--color-teal);
}

.btn-outline:hover {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ----------------------------------------------------
   COMPONENTS: Navbar
   ---------------------------------------------------- */
.navbar {
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  transition: padding 0.3s ease;
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0.75rem 1rem;
  }
}

.logo {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links li {
  font-weight: 600;
  color: var(--color-charcoal);
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--color-teal);
}

.nav-links li.active a {
  color: var(--color-teal);
}

.contact-btn {
  background-color: var(--color-teal);
  color: var(--color-white) !important;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: var(--primary-hover);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.bar {
  width: 100%;
  height: 3px;
  background-color: var(--color-charcoal);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Responsive Navbar */
@media (max-width: 968px) {
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: rgba(248, 249, 249, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }

  .nav-links.active {
    max-height: 500px;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
  }

  .contact-btn {
    margin: 1rem auto;
    display: inline-block !important;
    width: auto;
  }
}

/* Hamburger active transformation */
.hamburger.active .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ----------------------------------------------------
   COMPONENTS: Footer
   ---------------------------------------------------- */
.footer {
  background-color: var(--color-white);
  padding: 4rem 0 0 0;
  border-top: 1px solid var(--color-sand);
  margin-top: auto;
  flex-shrink: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.brand-col .description {
  color: var(--color-charcoal);
  line-height: 1.6;
  margin-top: 1rem;
}

.col-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--color-charcoal);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-charcoal);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-teal);
}

.contact-info p {
  color: var(--color-charcoal);
  margin-bottom: 0.75rem;
}

.bottom-bar {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-sand);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a:hover {
  color: var(--color-teal);
}

@media (max-width: 968px) {
  .footer {
    padding: 3rem 0 0 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .brand-col, .link-col {
    border-bottom: 1px solid rgba(230, 216, 195, 0.4);
    padding-bottom: 1.5rem;
  }
  .bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ----------------------------------------------------
   COMPONENTS: Contact Form
   ---------------------------------------------------- */
.contact-form {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-sand);
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 2px rgba(44, 159, 163, 0.2);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.success-message {
  padding: 1rem;
  margin-bottom: 1.5rem;
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
}

.error-message {
  padding: 1rem;
  margin-bottom: 1.5rem;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
}

/* ----------------------------------------------------
   PAGE: Home
   ---------------------------------------------------- */
.home-page {
  display: flex;
  flex-direction: column;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-teal) 0%, #1a7175 100%);
  color: var(--color-white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image-placeholder {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Intro Section */
.intro-section {
  padding: 5rem 0;
  background-color: var(--color-white);
}

.intro-text h2, .intro-cards h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--color-teal);
}

.intro-text p, .intro-cards p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 1.1rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.check {
  color: var(--color-teal);
  margin-right: 1rem;
  font-size: 1.5rem;
}

/* Home Services Section */
.home-services-section {
  padding: 5rem 0;
  background-color: var(--color-sand);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--color-teal);
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.home-services-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.home-services-card:hover {
  transform: translateY(-5px);
}

.home-services-card h3 {
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.home-services-card p {
  color: var(--color-charcoal);
  line-height: 1.5;
}

.who-we-support {
  text-align: center;
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.who-we-support h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.who-we-support p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.support-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.support-card {
  background-color: var(--color-sand);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.support-image-wrapper {
  width: 100%;
  height: 200px;
  position: relative;
}

.support-card h3 {
  padding: 1.5rem;
  font-size: 1.2rem;
  color: var(--color-charcoal);
  margin: 0;
}

/* Home Bottom CTA */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--color-teal) 0%, #1a7175 100%);
  text-align: center;
  color: var(--color-white);
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  color: var(--color-white);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

@media (max-width: 968px) {
  .hero {
    padding: 3rem 0;
  }
  .intro-section, .home-services-section, .cta-section {
    padding: 3rem 0;
  }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .hero-image-placeholder {
    height: 300px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn,
  .cta-buttons .btn {
    width: 100%;
  }
  .home-services-grid {
    grid-template-columns: 1fr;
  }
  .support-cards-row {
    grid-template-columns: 1fr;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
}

/* ----------------------------------------------------
   PAGE: About Us
   ---------------------------------------------------- */
.about-section {
  padding: 5rem 0;
  background-color: var(--color-white);
}

.mission-vision {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-card {
  background-color: var(--color-sand);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-teal);
}

.about-card h3 {
  color: var(--color-teal);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.values-section {
  padding: 5rem 0;
  background-color: var(--color-sand);
}

.center-heading {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--color-teal);
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.value-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.value-card h4 {
  color: var(--color-teal);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.value-card p {
  line-height: 1.5;
}

@media (max-width: 768px) {
  .values-section {
    padding: 3rem 0;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------
   PAGE: Our Services
   ---------------------------------------------------- */
.services-list {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.services-list li {
  list-style-type: none;
  font-size: 1.1rem;
  line-height: 1.7;
  position: relative;
  margin-bottom: 0.5rem;
}

.services-list li::before {
  content: "•";
  color: var(--color-teal);
  font-weight: bold;
  font-size: 1.5em;
  position: absolute;
  left: -1.2rem;
  top: -0.3rem;
}

.card-box {
  background-color: var(--color-sand);
  padding: 3rem;
  border-radius: 8px;
}

.subheading {
  color: var(--color-teal);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.approach-section {
  padding: 5rem 0;
  background-color: var(--color-sand);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.approach-card {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.approach-card h3 {
  color: var(--color-teal);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.approach-card p {
  line-height: 1.6;
}

.support-types {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.support-type-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 2rem;
}

.support-type-item.reverse .support-content {
  grid-row: 1;
  grid-column: 1;
}

.support-type-item.reverse .support-image-box {
  grid-row: 1;
  grid-column: 2;
}

.support-image-box {
  background-color: var(--color-sand);
  height: 300px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}

.support-content h3 {
  font-size: 2rem;
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.support-content p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.cta-box {
  margin-top: 5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--color-teal), #005f5f);
  padding: 4rem 2rem;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 60%);
  transform: rotate(30deg);
  pointer-events: none;
}

.cta-content-wrapper {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  color: var(--color-white);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .approach-section {
    padding: 3rem 0;
  }
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .card-box {
    padding: 1.5rem;
  }
  .support-type-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .support-type-item.reverse .support-content {
    grid-row: auto;
    grid-column: auto;
  }
  .support-type-item.reverse .support-image-box {
    grid-row: auto;
    grid-column: auto;
  }
  .cta-box {
    padding: 3rem 1.5rem;
    margin-top: 3rem;
  }
}

/* ----------------------------------------------------
   PAGE: Careers
   ---------------------------------------------------- */
.careers-intro-section {
  padding: 5rem 0;
  background-color: var(--color-white);
}

.why-work-box {
  background-color: var(--color-sand);
  padding: 3rem;
  border-radius: 8px;
}

.why-work-box h3 {
  font-size: 1.5rem;
  color: var(--color-teal);
  margin-bottom: 1.5rem;
}

.apply-section {
  padding: 0 0 5rem 0;
}

.apply-box {
  background-color: var(--color-sand);
  border-left: 4px solid var(--color-teal);
  padding: 4rem;
  text-align: center;
  border-radius: 8px;
}

.apply-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.apply-box p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.apply-contact {
  background-color: var(--color-white);
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 30px;
  margin-bottom: 2rem;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--color-teal);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

@media (max-width: 480px) {
  .apply-contact {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    display: block;
    width: 100%;
    text-align: center;
  }
}

.apply-contact:hover {
  background-color: #f1f2f2;
}

@media (max-width: 768px) {
  .careers-intro-section {
    padding: 3rem 0;
  }
  .apply-box {
    padding: 2rem;
  }
}

/* ----------------------------------------------------
   PAGE: Contact Us
   ---------------------------------------------------- */
.contact-section {
  padding: 5rem 0;
  background-color: var(--color-white);
}

.info-col h2, .form-col h2 {
  font-size: 2rem;
  color: var(--color-teal);
  margin-bottom: 1.5rem;
}

.contact-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background-color: var(--color-sand);
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

@media (max-width: 480px) {
  .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.icon-box {
  font-size: 2rem;
  background-color: var(--color-white);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.detail-item h3 {
  color: var(--color-teal);
  margin-bottom: 0.25rem;
}

.detail-item p {
  margin: 0;
  font-weight: 600;
  color: var(--color-charcoal);
  font-size: 1.1rem;
  word-break: break-word;
}

.commitment-box {
  padding: 2rem;
  border-left: 4px solid var(--color-teal);
  background-color: var(--color-white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.commitment-box h3 {
  color: var(--color-charcoal);
  margin-bottom: 0.75rem;
}

.commitment-box p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 968px) {
  .contact-section {
    padding: 3rem 0;
  }
}

/* ----------------------------------------------------
   PAGE: Referrals
   ---------------------------------------------------- */
.referrals-section {
  padding: 5rem 0;
  background-color: var(--color-sand);
}

.info-col > p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.process-box {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--color-teal);
}

.process-box h3 {
  color: var(--color-charcoal);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-list li {
  display: flex;
  gap: 1rem;
}

.step-num {
  background-color: var(--color-lavender);
  color: var(--color-charcoal);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-list strong {
  display: block;
  color: var(--color-teal);
  margin-bottom: 0.25rem;
}

.step-list p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.who-can-refer {
  margin-bottom: 2rem;
}

.who-can-refer h3 {
  margin-bottom: 1rem;
  color: var(--color-charcoal);
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.direct-contact {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 8px;
}

.direct-contact p {
  margin-bottom: 0.5rem;
}

.form-intro {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--color-charcoal);
}

@media (max-width: 968px) {
  .referrals-section {
    padding: 3rem 0;
  }
}

/* ----------------------------------------------------
   PAGE: Resources
   ---------------------------------------------------- */
.resources-section {
  padding: 5rem 0;
  background-color: var(--color-white);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-content: center;
  justify-items: center;
  gap: 2rem;
}

.resources-card {
  background-color: var(--color-white);
  border-radius: 8px;
  text-align: center;
  align-items: center;
  border-top: 4px solid var(--color-teal);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

.card-image-container {
  width: 100%;
  height: 200px;
  position: relative;
  background-color: var(--color-sand);
}

.resources-card h3 {
  color: var(--color-teal);
  margin: 1.5rem 1.5rem 1rem 1.5rem;
  font-size: 1.25rem;
}

.resources-card p {
  color: var(--color-charcoal);
  line-height: 1.6;
  margin: 0 1.5rem 1.5rem 1.5rem;
  flex-grow: 1;
}

.read-more {
  color: var(--color-teal);
  font-weight: bold;
  transition: color 0.3s ease;
  margin: 0 1.5rem 2rem 1.5rem;
  display: inline-block;
}

.read-more:hover {
  text-decoration: underline;
}

.resources-cta-section {
  background-color: var(--color-sand);
  padding: 4rem 0;
  text-align: center;
}

.resources-cta-section h2 {
  font-size: 2rem;
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.resources-cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ----------------------------------------------------
   PAGE: Privacy & Cookies Policy
   ---------------------------------------------------- */
.policy-section {
  padding: 5rem 0;
  background-color: var(--color-white);
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
  width: 100%;
}

.policy-content h2 {
  color: var(--color-teal);
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--color-charcoal);
}

.policy-content ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.policy-content li {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  color: var(--color-charcoal);
}

.last-updated {
  margin-top: 3rem;
  color: #666 !important;
}

/* Scroll to Top Button */
#scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-teal);
  color: var(--color-white);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

#scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
}
