.hero-section {
  background-color: #ede6f0; /* match the light purple */
  padding: 3rem 1rem;
  text-align: left;
}

.post-content p {
  margin-bottom: 1rem;
}

.post-content ul {
  margin: 1rem 0 1rem 1.5rem;
  list-style-type: disc;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content h2,
.post-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.post-content blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  color: #555;
  margin: 1.5rem 0;
  font-style: italic;
}

/* Solution 1: Force override with high specificity */
/* #google_translate_element .goog-te-gadget-simple {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: normal !important;
}

#google_translate_element .goog-te-gadget-simple .goog-te-menu-value {
  color: #495057 !important;
  font-family: "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  padding: 8px 12px !important;
  border: 2px solid #000 !important;
  border-radius: 6px !important;
  background: #fff !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  min-width: 150px !important;
}

#google_translate_element .goog-te-gadget-simple .goog-te-menu-value:hover {
  border-color: #0d6efd !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
}

#google_translate_element .goog-te-gadget-simple .goog-te-menu-value span {
  color: #495057 !important;
}

/* Hide the Google Translate icon */
/* #google_translate_element .goog-te-gadget-icon {
  display: none !important;
} */

/* Style the dropdown arrow */
/* #google_translate_element
  .goog-te-gadget-simple
  .goog-te-menu-value
  span:last-child {
  border-left: 1px solid #ced4da !important;
  padding-left: 8px !important;
  margin-left: 8px !important;
}  */

/* Container sizing — keep your existing size rules if you prefer */
#google_translate_element {
  width: 5%;
  min-width: 64px;
  display: inline-block;
}

/* Style the native combobox injected by Google so it matches your .form-select */
.goog-te-combo,
#google_translate_combo {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  width: 100%;
  min-width: 64px;
  padding: 0.25rem 0.5rem;
  border: 1px solid #ccc !important;
  border-radius: 0.5rem !important;
  background: #fff !important;
  font-family: "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  line-height: normal !important;
  color: #495057 !important;
  cursor: pointer;
}

/* Hide Google's floating iframe menu entirely (we rely on the native combo) */
.goog-te-menu-frame {
  display: none !important;
}

/* Hide Google translate icon that appears inside gadget */
.goog-te-gadget-icon {
  display: none !important;
}

/* iframe[title="Language Translate Widget"] {
  width: 100% !important;
  max-height: 300px !important;
  overflow: auto !important;
} */

.hero-section h1 {
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  max-width: 768px;
  color: #040106;
}

.hero-section p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5px;
  color: #040106;
  max-width: 768px;
}

.hero-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 1rem; /* adds space between buttons */
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Primary solid purple button */
.hero-buttons .btn-primary {
  background-color: #4d1a79;
  border: 1px solid #4d1a79;
  color: #fff;
  font-weight: 500;
  border-radius: 0;
  border: none;
  padding: 0.5rem 1.25rem;
}

/* Outline button with black text */
.hero-buttons .btn-outline-secondary {
  border: 1px solid #04010626;
  color: #000;
  font-weight: 500;
  border-radius: 0;
  padding: 0.5rem 1.25rem;
  background-color: transparent;
}

/* On hover, darken the border slightly */
.hero-buttons .btn-outline-secondary:hover {
  background-color: #000;
  color: #fff;
}

/* Image styles */
.hero-section .hero-image {
  margin-top: 1rem;
}

.hero-section .hero-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.service-box {
  position: relative;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.service-box::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #4d1a79; /* Change to match your theme */
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.service-box:hover::after {
  width: 100%; /* How wide the underline becomes on hover */
}

.service-box:hover {
  transform: translateY(-5px); /* Slight lift effect */
}

/* === Section: Essential Services === */
.essential-services-section {
  background-color: #ede6f0; /* match the light purple */
  text-align: center;
  padding: 6rem;
}

.essential-services-section h2 {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 3rem;
  color: #1a1a1a;
}

.essential-services-section h5 {
  color: #040106;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.essential-services-section p {
  color: #040106;
}

/* === Section: Understanding Domestic Abuse === */
.info-section {
  background-color: #ffffff;
  padding: 8rem;
}

.info-section h2 {
  font-size: 40px;
  line-height: 120%;
  font-weight: 400;
  color: #040106;
}
.info-section-description {
  font-size: 18px;
  line-height: 150%;
  font-weight: 400;
  color: #040106;
}

.domestic-abuse-info h2 {
  font-size: 1.8rem;
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 2rem;
}

.domestic-abuse-info .lead {
  font-family: "Poppins", sans-serif;
  color: #555;
  font-size: 1.1rem;
}

.domestic-abuse-info i {
  color: #d0315e;
  font-size: 1.75rem;
  margin-top: 2px;
}

.domestic-abuse-info a:hover {
  text-decoration: underline;
  color: #d0315e;
}

.domestic-abuse-info a {
  color: #d0315e;
  font-weight: 500;
}

/* === Section: Make a Difference === */
.make-a-difference-section {
  background-color: #ede6f0;
  padding: 4rem 1rem;
}

.make-a-difference-section h2 {
  font-size: 48px;
  font-weight: 400;
  color: #040106;
  line-height: 120%;
}
.make-a-difference-section p {
  font-size: 18px;
  font-weight: 400;
  color: #040106;
  line-height: 150%;
}

.make-a-difference-section .btn-primary {
  background-color: #4d1a79;
  border: 1px solid #4d1a79;
  color: #fff;
  font-weight: 500;
  border-radius: 0;
  border: none;
  padding: 0.5rem 1.25rem;
}

.make-a-difference-section .btn-outline-secondary {
  border: 1px solid #04010626;
  color: #000;
  font-weight: 500;
  border-radius: 0;
  padding: 0.5rem 1.25rem;
  background-color: transparent;
}

.make-a-difference-section .btn-outline-secondary:hover {
  background-color: #fbe7f1;
  color: #fff;
}

/* === Section: Latest News === */
.latest-news-preview {
  background-color: #ffffff;
  padding: 5rem 1rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.latest-news-preview h2 {
  color: #040106;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -1%;
  margin-bottom: 80px;
}

.latest-news-preview .border {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
  padding: 1rem;
  background-color: #ffff;
}

.latest-news-preview .border:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.latest-news-preview h6 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* === Section: FAQ Accordion === */
.accordion-button {
  background-color: #faf8fc;
  font-weight: 500;
  color: #1a1a1a;
  border-radius: 0;
}

.accordion-button:not(.collapsed) {
  background-color: #eae2f8;
  color: #6a0dad;
}

.accordion-body {
  font-size: 1rem;
  color: #444;
  background-color: #fff;
}

/* === Typography Utilities === */
.text-muted {
  color: #666;
}

/* =========================================
   Reset Bootstrap Default Styles
   ========================================= */

/* Reset heading margins and font sizes */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* Reset paragraph margins */
p {
  margin-top: 0;
  margin-bottom: 0;
}

.accordion-body p {
  margin-bottom: 1rem !important;
}
.accordion-body ul,
.accordion-body ol {
  margin-bottom: 1rem !important;
  padding-left: 1.5rem !important; /* a bit more indentation looks better */
}

/* Richtext content spacing */
.richtext p {
  margin-bottom: 1rem;
}

.richtext p:last-child {
  margin-bottom: 0;
}

/* Ensure richtext content has proper height in flex containers */
.d-flex .richtext,
.d-flex > div > .richtext {
  min-height: fit-content;
}

/* Hero section specific richtext styling */
.hero-section .richtext p,
.hero-section p {
  font-size: 18px;
  font-weight: 400;
  color: #040106;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Reset other common elements */
ul,
ol {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
}

/* Work Sans heading class */
.heading-work-sans,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Work Sans", sans-serif;
}

.essential-services {
  background-color: #fff;
  padding: 4rem 1rem;
}

.essential-services h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 3rem;
}

.essential-services h5 {
  color: #6a0dad;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.essential-services p {
  color: #555;
  font-size: 1rem;
}

/* Custom Navbar Styling */
.custom-navbar {
  background-color: #ede6f0;
}

.gap-32px {
  gap: 32px !important;
}

.gap-24px {
  gap: 24px !important;
}

.gap-16px {
  gap: 16px !important;
}

.gap-8px {
  gap: 8px !important;
}

.mt-32px {
  margin-top: 32px !important;
}

.custom-navbar .navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
}

.custom-navbar .nav-link {
  color: #0b0b0b;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  padding: 0.5rem;
  padding-left: 0rem !important;
  padding-right: 0rem !important;
  transition: color 0.2s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link:focus,
.custom-navbar .nav-link.active {
  color: #6a0dad;
  text-decoration: underline;
}

.custom-navbar .user-greeting {
  color: #6a0dad;
  font-weight: 600;
}

/* Responsive nav link spacing */
@media (max-width: 991.98px) {
  .custom-navbar .nav-link {
    padding: 0.75rem 1rem;
  }
}

body {
  font-family: "Poppins", sans-serif;
  color: #1a1a1a;
  background-color: #fff;
  line-height: 1.6;
}

/* === Section: Understanding Domestic Abuse === */

.domestic-abuse-info {
  background-color: #ffffff;
  padding: 4rem 1rem;
}

.domestic-abuse-info h2 {
  font-size: 1.8rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 2rem;
}

.domestic-abuse-info i {
  color: #d0315e;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.domestic-abuse-info a {
  color: #d0315e;
  font-weight: 500;
  font-size: 0.95rem;
}

.domestic-abuse-info a:hover {
  text-decoration: underline;
}

.domestic-abuse-info p {
  margin-bottom: 0.75rem;
}

.safety-banner {
}

.faq-section {
  background-color: #1e0a30; /* Very dark purple */
  color: #ffffff;
  padding: 4rem 1rem;
}

.faq-section h2 {
  color: #ffffff;
  font-weight: 400;
  font-size: 40px;
  line-height: 120%;
}

.faq-section .accordion-button {
  background-color: #1e0a30; /* Slightly lighter than background */
  color: #ffffff;
  font-weight: 500;
  border: none;
  padding: 4px 8px;
}
.faq-section .accordion {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-section .accordion-button.collapsed {
  background-color: #1e0a30;
  color: #ffffff;
}

.faq-section .accordion-button:not(.collapsed) {
  background-color: #1e0a30;
  color: #ffffff;
}

.faq-section .accordion-button:focus {
  box-shadow: none !important;
  outline: none !important;
}

.faq-section .accordion-body {
  background-color: #1e0a30;
  color: #ffffff;
}

.faq-section .accordion-item {
  border: 1px solid #ffffff;
  /* border-radius: 4px; */
  /* margin-bottom: 1rem; */
}

.faq-section .accordion-item:first-child {
  border-radius: 0 !important;
}

.faq-section .accordion-item:last-child {
  border-radius: 0 !important;
}

.faq-section .accordion-item:first-child .accordion-button {
  border-radius: 0 !important;
}

.faq-section .accordion-item:last-child .accordion-button {
  border-radius: 0 !important;
}
.faq-section .accordion-button::after {
  filter: brightness(0) invert(1); /* makes the default chevron white */
}

.faq-section p {
  font-size: 18px;
  line-height: 150%;
  font-weight: 400;
}
.faq-section h3 {
  font-size: 32px;
  line-height: 130%;
  font-weight: 400;
}

.faq-section .btn-outline-secondary {
  border: 1px solid #fff;
  color: #fff;
  font-weight: 500;
  border-radius: 0;
  padding: 0.5rem 1.25rem;
  background-color: transparent;
  width: fit-content;
}

.card-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-info .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 32px;
}

/* Ensure equal height cards in rows */
.row.gy-4 .col-md-6 {
  display: flex;
}

.card-info h6 {
  color: #040106;
  margin-bottom: 0px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
}

.card-info p {
  color: #040106;
  margin-bottom: 0px;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
}

.card-info a {
  color: #040106;
  margin-bottom: 0px;
  flex-shrink: 0;
  min-height: 1.5em; /* Consistent height for links */
  display: flex;
  align-items: center;
}

/* Ensure icon alignment */
.card-info .icon-img {
  margin-bottom: 0 !important;
  flex-shrink: 0;
  height: 48px; /* Fixed icon height */
  width: 48px; /* Fixed icon width */
  object-fit: contain;
}
.link-hover-underline {
  text-decoration: none;
}

.link-hover-underline:hover .link-text {
  text-decoration: underline !important; /* underline only the text */
}

.link-hover-underline i {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.black-link {
  color: black;
  text-decoration: none;
}

.news-card-info {
  /* background-color: #f8d1f5; */
  border-radius: 0.5rem;
  padding: 1rem;
}

.news-card-info h6 {
  color: #040106;
  margin-bottom: 0px;
}
.news-card-info p {
  color: #040106;
  margin-bottom: 0px;
  font-size: 16px;
  line-height: 150%;
  font-weight: 400;
}
.news-card-info a {
  color: #040106;
  margin-bottom: 0px;
}
.news-link-hover-underline {
  text-decoration: none;
}

.news-link-text {
  font-size: 16px;
  line-height: 150%;
}

.news-link-hover-underline:hover .news-link-text {
  text-decoration: underline !important; /* underline only the text */
}

.news-link-hover-underline i {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.terms-section {
  border-top: 1px solid #04010626;
  margin-top: 40px;
}
.terms-section a {
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  text-decoration: underline !important;
  color: #000;
}
.terms-section p {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
}

.abuse-heading {
  padding: 112px 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.abuse-heading h1 {
  font-weight: 400;
  font-size: 48px;
  color: #040106;
  line-height: 120%;
  max-width: 768px;
  text-align: center;
}
.abuse-section {
  background-color: #1e0a30; /* Very dark purple */
  color: #ffffff;
  padding: 4rem 1rem;
}

.abuse-accordion {
  margin: 60px 0;
}

/* .abuse-section h2 {
  color: #ffffff;
  font-weight: 400;
  font-size: 48px;
  line-height: 120%;
} */

.abuse-section .accordion-button {
  background-color: #fff; /* Slightly lighter than background */
  color: #000;
  font-weight: 400;
  border: none;
  border-radius: 0 !important;
  font-size: 18px;
  line-height: 150%;
  padding: 4px 8px;
  justify-content: space-between;
  box-shadow: none !important;
}

.abuse-section .accordion-button.collapsed {
  background-color: #fff;
  color: #000;
  box-shadow: none !important;
}

.abuse-section .accordion-button:focus {
  box-shadow: none !important;
  outline: none !important;
}

.abuse-section .accordion-body {
  background-color: #fff;
  color: #000;
}

.abuse-section .accordion-item {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 8px 4px;
}

.abuse-section .accordion-button::after {
  width: 24px;
  height: 24px;
  background-image: url("/static/images/svgs/chevron-purple.svg");
  background-repeat: no-repeat;
  background-size: 24px;
  margin-left: 12px;
  transition: transform 0.3s ease;
}
.abuse-section .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg); /* Flip arrow when expanded */
}
.abuse-section p {
  font-size: 18px;
  line-height: 150%;
  font-weight: 400;
}
.abuse-section h3 {
  font-size: 32px;
  line-height: 130%;
  font-weight: 400;
}

.abuse-section .btn-outline-secondary {
  border: 1px solid #fff;
  color: #fff;
  font-weight: 500;
  border-radius: 0;
  padding: 0.5rem 1.25rem;
  background-color: transparent;
  width: fit-content;
}

.full-height-img {
  height: 100%;
  width: 100%;
  object-fit: cover; /* Ensures image covers without distortion */
}

.complaints-section .accordion-button {
  background-color: #fff; /* Slightly lighter than background */
  color: #000;
  font-weight: 400;
  border: none;
  font-size: 18px;
  line-height: 150%;
  padding: 4px 8px;
  justify-content: space-between;
  box-shadow: none !important;
}

.complaints-section .accordion-button.collapsed {
  background-color: #fff;
  color: #000;
  box-shadow: none !important;
}

.complaints-section .accordion-button:focus {
  box-shadow: none !important;
  outline: none !important;
}

.complaints-section .accordion-body {
  background-color: #fff;
  color: #000;
}

.complaints-section .accordion-item {
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #04010626;
  padding: 8px 4px;
}

.complaints-section .accordion-button::after {
  width: 24px;
  height: 24px;
  background-image: url("/static/images/svgs/chevron-pink.svg");
  background-repeat: no-repeat;
  background-size: 24px;
  margin-left: 12px;
  transition: transform 0.3s ease;
}
.complaints-section .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg); /* Flip arrow when expanded */
}
.image-container {
  height: 600px;
}
.bg-lilac {
  background-color: #ede6f0; /* soft lilac */
}
.bg-violet {
  background-color: #d91377; /* soft lilac */
}
.bg-purple {
  background-color: #4d1a79; /* soft lilac */
}
.bg-dark-purple {
  background-color: #1e0a30; /* soft lilac */
}

.bg-red-violet {
  background-color: #fbe7f1;
}

.heading-style {
  font-size: 48px;
  font-weight: 400;
  line-height: 120%;
  color: #040106;
}

.heading-style-h4 {
  font-size: 32px;
  font-weight: 400;
  line-height: 130%;
  color: #040106;
}

.img-container {
  width: 100%;
  max-width: 616px;
  height: auto;
  aspect-ratio: 616 / 640; /* keeps correct ratio */
  object-fit: cover; /* crops gracefully if needed */
}

.p-style {
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  color: #040106;
}

.btn-primary-purple {
  background-color: #4d1a79;
  border: 1px solid #4d1a79;
  color: #fff;
  font-weight: 500;
  border-radius: 0;
  border: none;
  padding: 0.5rem 1.25rem;
}

.btn-secondary-outline {
  border: 1px solid #04010626;
  color: #000;
  font-weight: 500;
  border-radius: 0;
  padding: 0.5rem 1.25rem;
  background-color: transparent;
}

.our-policies-title {
  font-size: 56px;
}

.font-size-xxl {
  font-size: 56px;
}

.vertical-padding {
  padding-top: 112px;
  padding-bottom: 112px;
}

/* Accordion item styling */
#servicesAccordion .accordion-item {
  border: none; /* remove Bootstrap border */
  border-radius: 8px; /* rounded corners */
  background-color: #ffffff; /* white background */
  overflow: hidden; /* ensures rounded corners apply to children */
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Header (button) styling */
#servicesAccordion .accordion-button {
  border: none;
  background-color: #ffffff; /* same as item background */
  box-shadow: none; /* remove Bootstrap default shadow when open */
  border-radius: 8px 8px 0 0; /* round top when collapsed */
  font-weight: 500;
  width: 100%;
  justify-content: space-between;
}

/* .accordion-button {
  background-color: #fff;
  color: #000;
  font-weight: 400;
  border: none;
  font-size: 18px;
  line-height: 150%;
  padding: 4px 8px;
  justify-content: space-between;
  box-shadow: none !important;
} */

#servicesAccordion .accordion-button::after {
  width: 24px;
  height: 24px;
  background-image: url("/static/images/svgs/chevron-pink.svg");
  background-repeat: no-repeat;
  background-size: 24px;
  margin-left: 12px;
  transition: transform 0.3s ease;
}
#servicesAccordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg); /* Flip arrow when expanded */
}

/* When accordion is open, keep background white */
#servicesAccordion .accordion-button:not(.collapsed) {
  background-color: #ffffff;
  color: inherit;
  box-shadow: none;
}

/* Body styling */
#servicesAccordion .accordion-body {
  background-color: #ffffff;
  border-radius: 0 0 8px 8px; /* round bottom edges */
}

/* Apply full black border around every item */
#referralAccordion .accordion-item {
  border: 1px solid #000000; /* ensures all sides have border */
  border-radius: 8px; /* rounded corners */
  background-color: #ffffff;
  overflow: hidden;
  margin-bottom: 10px; /* add spacing so stacked items don't "double-border" */
}

/* Remove the border suppression Bootstrap applies */
#referralAccordion .accordion-item:not(:first-of-type) {
  border-top: 1px solid #000000 !important;
}

/* Header (button) styling */
#referralAccordion .accordion-button {
  border: none;
  background-color: #ffffff;
  box-shadow: none;
  font-weight: 500;
  border-radius: 0; /* prevent button from interfering with rounded corners */
  /* flex-direction: column; */
  display: flex;
  justify-content: space-between;
}

#referralAccordion .accordion-button::after {
  width: 24px;
  height: 24px;
  background-image: url("/static/images/svgs/chevron-pink.svg");
  background-repeat: no-repeat;
  background-size: 24px;
  margin-left: 12px;
  transition: transform 0.3s ease;
}
#referralAccordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg); /* Flip arrow when expanded */
}

/* Keep background white when open */
#referralAccordion .accordion-button:not(.collapsed) {
  background-color: #ffffff;
  color: inherit;
  box-shadow: none;
}

/* Body styling */
#referralAccordion .accordion-body {
  background-color: #ffffff;
  color: #000;
}

#jobsAccordion .accordion-item {
  border: none; /* remove Bootstrap border */
  border-radius: 8px; /* rounded corners */
  background-color: #ffffff; /* white background */
  overflow: hidden; /* ensures rounded corners apply to children */
}

/* Header (button) styling */
#jobsAccordion .accordion-button {
  border: none;
  background-color: #ffffff; /* same as item background */
  box-shadow: none; /* remove Bootstrap default shadow when open */
  border-radius: 8px 8px 0 0; /* round top when collapsed */
  font-weight: 500;
}

/* When accordion is open, keep background white */
#jobsAccordion .accordion-button:not(.collapsed) {
  background-color: #ffffff;
  color: inherit;
  box-shadow: none;
}

/* Body styling */
#jobsAccordion .accordion-body {
  background-color: #ffffff;
  border-top: 1px solid #eee; /* subtle divider */
  border-radius: 0 0 8px 8px; /* round bottom edges */
}
#jobsAccordion .accordion-body p {
  margin-bottom: 0 !important;
}

/* Contact Form */
.contact-form {
  width: 100%;
  max-width: 768px;
  /* border: 1px solid #ccc; */
  /* padding: 24px; */
  /* border-radius: 8px; */
  /* background-color: #fff; */
}

.contact-form .form-row {
  display: flex;
  gap: 16px;
}

.contact-form .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.contact-form .form-section {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form .radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns */
  gap: 12px 32px; /* row gap and column gap */
}

.contact-form .radio-option {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-form .terms {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-form .submit-row {
  text-align: center;
}

.contact-form .submit-btn {
  background-color: #5c267d;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .submit-btn:hover {
  background-color: #4a1e65;
}

/* =========================================
   Responsive Typography & Layout
   ========================================= */

/* Tablet adjustments (Bootstrap md & sm sizes) */
@media (max-width: 991.98px) {
  .vertical-padding {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .image-container {
    height: auto;
  }
  .our-policies-title {
    font-size: 40px;
  }
  .font-size-xxl {
    font-size: 40px;
  }

  /* Headings */
  h1,
  .heading-style {
    font-size: 36px;
    line-height: 120%;
  }
  .make-a-difference-section h2,
  .essential-services-section h2 {
    font-size: 32px;
    line-height: 120%;
  }

  h2,
  .info-section h2,
  .heading-style-h4 {
    font-size: 28px;
    line-height: 125%;
  }

  .abuse-section h3,
  h3 {
    font-size: 24px;
  }

  /* Paragraphs & text blocks */
  p,
  .p-style,
  .info-section p,
  .abuse-section p,
  .make-a-difference-section p,
  .faq-section p,
  .news-card-info p {
    font-size: 16px;
    line-height: 145%;
  }

  /* Hero section */
  .hero-section {
    padding: 4rem 1rem;
    text-align: center;
  }
  .hero-section h1 {
    font-size: 2.25rem;
  }
  .hero-section p {
    font-size: 1.1rem;
  }
  .hero-buttons {
    justify-content: center;
    margin-bottom: 4rem;
  }

  /* Section paddings */
  .essential-services-section,
  .info-section,
  .make-a-difference-section,
  .faq-section,
  .abuse-section {
    padding: 3rem 1rem;
  }

  /* Abuse heading */
  .abuse-heading {
    padding: 80px 24px;
  }
  .abuse-heading h1 {
    font-size: 36px;
  }

  .abuse-accordion {
    margin: 30px 0;
  }

  .news-card-info {
    width: 100%;
  }
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
  /* Headings */
  h1,
  .heading-style {
    font-size: 28px;
  }
  h2,
  .heading-style-h4 {
    font-size: 22px;
  }
  h3 {
    font-size: 20px;
  }
  .our-policies-title {
    font-size: 32px;
  }
  .font-size-xxl {
    font-size: 32px;
  }

  /* Paragraphs */
  p,
  .p-style,
  .info-section p,
  .abuse-section p,
  .make-a-difference-section p,
  .faq-section p,
  .news-card-info p {
    font-size: 14px;
    line-height: 140%;
  }

  /* Hero section */
  .hero-section {
    padding: 3rem 1rem;
  }
  .hero-section h1 {
    font-size: 1.75rem;
    line-height: 130%;
  }
  .hero-section p {
    font-size: 1rem;
  }

  /* Buttons */
  .btn-primary-purple,
  .btn-secondary-outline,
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline-secondary {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }

  /* Section paddings */
  .essential-services-section,
  .info-section,
  .make-a-difference-section,
  .faq-section,
  .latest-news-preview,
  .mobile-padding-section,
  .abuse-section {
    padding: 2rem 2rem;
  }

  /* Abuse heading */
  .abuse-heading {
    padding: 60px 16px;
  }
  .abuse-heading h1 {
    font-size: 28px;
  }
  footer a {
    font-size: 13px;
  }
  .terms-section p {
    font-size: 13px;
    text-align: center;
  }
  .vertical-padding {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .contact-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .contact-form .radio-group {
    display: flex;
    flex-direction: column; /* stack vertically */
    gap: 12px; /* vertical spacing */
  }
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
}

/* Footer styling - inherits Poppins from body */

/* =========================================
   Text Size Utility Classes
   ========================================= */

/* Text Size 18px */
.text-18 {
  font-size: 18px;
  line-height: 150%;
  font-weight: 400;
  color: #040106;
}

/* Text Size 16px */
.text-16 {
  font-size: 16px;
  line-height: 150%;
  font-weight: 400;
  color: #040106;
}

/* Text Size 20px */
.text-20 {
  font-size: 20px;
  line-height: 140%;
  font-weight: 400;
  color: #040106;
}

/* Text Size 24px */
.text-24 {
  font-size: 24px;
  line-height: 140%;
  font-weight: 400;
  color: #040106;
}
.text-40 {
  font-size: 40px;
  line-height: 120%;
  font-weight: 400;
  color: #040106;
}

/* =========================================
   Responsive Text Size Adjustments
   ========================================= */

/* Tablet adjustments (Bootstrap md & sm sizes) */
@media (max-width: 991.98px) {
  .text-24 {
    font-size: 20px;
    line-height: 140%;
  }

  .text-40 {
    font-size: 32px;
    line-height: 120%;
    font-weight: 400;
    color: #040106;
  }

  .text-20 {
    font-size: 18px;
    line-height: 140%;
  }

  .text-18 {
    font-size: 16px;
    line-height: 150%;
  }

  .text-16 {
    font-size: 15px;
    line-height: 150%;
  }
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
  .text-24 {
    font-size: 18px;
    line-height: 140%;
  }

  .text-40 {
    font-size: 28%px;
    line-height: 120%;
    font-weight: 400;
    color: #040106;
  }

  .text-20 {
    font-size: 16px;
    line-height: 140%;
  }

  .text-18 {
    font-size: 15px;
    line-height: 150%;
  }

  .text-16 {
    font-size: 14px;
    line-height: 150%;
  }
}
