/*
Theme Name: Forever Carers
Theme URI: https://forevercarers.com.au/
Author: Jungle Studio
Author URI: https://junglestudio.au/
Description: A warm, accessible, logo-inspired WordPress theme for Forever Carers, a registered NDIS provider based in Granville, NSW.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: forever-carers
Tags: custom-logo, custom-menu, featured-images, accessibility-ready, block-styles, wide-blocks
*/

:root {
  --fc-purple: #5e1bc8;
  --fc-deep-purple: #3d108c;
  --fc-teal: #24b5bc;
  --fc-pink: #e84c97;
  --fc-yellow: #ebc568;
  --fc-dark: #22143d;
  --fc-text: #443757;
  --fc-muted: #73677f;
  --fc-bg: #ffffff;
  --fc-soft-purple: #f6edff;
  --fc-soft-teal: #eafafb;
  --fc-soft-pink: #fff0f7;
  --fc-soft-yellow: #fff9e8;
  --fc-border: #eee6f8;
  --fc-radius-lg: 34px;
  --fc-radius-md: 24px;
  --fc-radius-sm: 16px;
  --fc-shadow: 0 22px 55px rgba(36, 20, 61, 0.10);
  --fc-shadow-soft: 0 14px 35px rgba(36, 20, 61, 0.08);
  --fc-container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", Arial, sans-serif;
  color: var(--fc-text);
  background: #ffffff;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--fc-purple);
}

a:hover {
  color: var(--fc-teal);
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  z-index: 99999;
  background: #ffffff;
  color: var(--fc-purple);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: var(--fc-shadow-soft);
}

.fc-container {
  width: min(var(--fc-container), calc(100% - 40px));
  margin: 0 auto;
}

.fc-section {
  padding: 90px 0;
  position: relative;
}

.fc-section-soft-purple {
  background: var(--fc-soft-purple);
}

.fc-section-soft-teal {
  background: var(--fc-soft-teal);
}

.fc-section-soft-pink {
  background: var(--fc-soft-pink);
}

.fc-section-soft-yellow {
  background: var(--fc-soft-yellow);
}

.fc-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(94, 27, 200, 0.10);
  backdrop-filter: blur(16px);
}

.admin-bar .fc-site-header {
  top: 32px;
}

.fc-header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.fc-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.fc-brand img,
.custom-logo {
  display: block;
  width: auto;
  max-width: 185px;
  max-height: 72px;
  object-fit: contain;
}

.fc-brand-text {
  color: var(--fc-purple);
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.fc-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex: 1;
}

.fc-main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.fc-main-nav a {
  color: var(--fc-dark);
  text-decoration: none;
  font-size: 16px;
  font-weight: 850;
  line-height: 1;
  transition: color 0.2s ease;
}

.fc-main-nav a:hover,
.fc-main-nav .current-menu-item > a,
.fc-main-nav .current_page_item > a {
  color: var(--fc-purple);
}

.fc-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: var(--fc-soft-purple);
  color: var(--fc-purple);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.fc-btn,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 25px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none !important;
  transition: all 0.22s ease;
  line-height: 1;
  cursor: pointer;
}

.fc-btn-primary,
.wp-block-button__link,
input[type="submit"] {
  background: var(--fc-teal);
  color: #ffffff !important;
  border: 2px solid var(--fc-teal);
  box-shadow: 0 15px 30px rgba(36, 181, 188, 0.28);
}

.fc-btn-primary:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  background: var(--fc-purple);
  border-color: var(--fc-purple);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(94, 27, 200, 0.25);
}

.fc-btn-secondary {
  background: #ffffff;
  color: var(--fc-purple) !important;
  border: 2px solid rgba(94, 27, 200, 0.16);
  box-shadow: 0 12px 25px rgba(36, 20, 61, 0.06);
}

.fc-btn-secondary:hover {
  border-color: var(--fc-purple);
  color: var(--fc-purple) !important;
  transform: translateY(-2px);
}

.fc-btn-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.fc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--fc-purple);
  border: 1px solid rgba(94, 27, 200, 0.12);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(94, 27, 200, 0.08);
  margin-bottom: 18px;
}

.fc-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--fc-pink);
  border-radius: 50%;
  display: inline-block;
}

.fc-heading {
  color: var(--fc-purple);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 950;
  margin: 0 0 20px;
}

.fc-heading-small {
  color: var(--fc-purple);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 950;
  margin: 0 0 18px;
}

.fc-text {
  color: var(--fc-text);
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.fc-muted {
  color: var(--fc-muted);
}

.fc-highlight {
  color: var(--fc-pink);
}

.fc-centre {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 42px;
}

.fc-grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.fc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.fc-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fc-card {
  background: #ffffff;
  border: 1px solid rgba(94, 27, 200, 0.09);
  border-radius: var(--fc-radius-md);
  padding: 28px;
  box-shadow: var(--fc-shadow-soft);
  transition: all 0.22s ease;
  height: 100%;
}

.fc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fc-shadow);
}

.fc-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 950;
  color: var(--fc-purple);
  background: var(--fc-soft-purple);
}

.fc-card:nth-child(2n) .fc-card-icon {
  color: var(--fc-teal);
  background: var(--fc-soft-teal);
}

.fc-card:nth-child(3n) .fc-card-icon {
  color: var(--fc-pink);
  background: var(--fc-soft-pink);
}

.fc-card h3 {
  color: var(--fc-purple);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
  margin: 0 0 10px;
}

.fc-card p {
  color: var(--fc-text);
  font-size: 16.5px;
  line-height: 1.65;
  margin: 0;
}

.fc-list {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.fc-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--fc-text);
  font-size: 17px;
  line-height: 1.55;
}

.fc-list li::before {
  content: "";
  width: 10px;
  min-width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--fc-teal);
  box-shadow: 0 0 0 5px rgba(36, 181, 188, 0.12);
}

.fc-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.fc-pill {
  background: #ffffff;
  color: var(--fc-purple);
  border: 1px solid rgba(94, 27, 200, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(36, 20, 61, 0.05);
}

.fc-hero {
  padding: 95px 0 80px;
  background:
    radial-gradient(circle at 8% 18%, rgba(232, 76, 151, 0.12), transparent 28%),
    radial-gradient(circle at 92% 20%, rgba(36, 181, 188, 0.14), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #fbf7ff 55%, #eafafb 100%);
}

.fc-hero-panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(94, 27, 200, 0.08);
  border-radius: 42px;
  padding: 48px;
  box-shadow: var(--fc-shadow);
  backdrop-filter: blur(12px);
}

.fc-hero h1 {
  color: var(--fc-purple);
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 950;
  margin: 0 0 22px;
}

.fc-hero h1 span {
  color: var(--fc-teal);
}

.fc-hero-visual {
  position: relative;
  min-height: 540px;
}

.fc-brand-art {
  position: relative;
  min-height: 480px;
  border-radius: 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(235, 197, 104, 0.35), transparent 20%),
    radial-gradient(circle at 85% 25%, rgba(232, 76, 151, 0.22), transparent 28%),
    radial-gradient(circle at 20% 88%, rgba(36, 181, 188, 0.25), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f6edff 52%, #eafafb 100%);
  box-shadow: var(--fc-shadow);
  border: 1px solid rgba(94, 27, 200, 0.10);
}

.fc-brand-art::before,
.fc-brand-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.95;
}

.fc-brand-art::before {
  width: 190px;
  height: 190px;
  left: 55px;
  top: 70px;
  background: var(--fc-purple);
  box-shadow: 185px 70px 0 -8px var(--fc-teal);
}

.fc-brand-art::after {
  width: 105px;
  height: 95px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: var(--fc-pink);
  border-radius: 55px 55px 12px 55px;
}

.fc-brand-art-content {
  position: absolute;
  inset: auto 28px 28px 28px;
  z-index: 2;
  background: #ffffff;
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--fc-shadow-soft);
}

.fc-brand-art-content strong {
  display: block;
  color: var(--fc-purple);
  font-size: 25px;
  line-height: 1.1;
  margin-bottom: 8px;
  font-weight: 950;
}

.fc-brand-art-content span {
  color: var(--fc-muted);
  font-size: 16px;
  line-height: 1.5;
}

.fc-floating-card {
  position: absolute;
  background: #ffffff;
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: var(--fc-shadow);
  z-index: 3;
  border: 1px solid rgba(94, 27, 200, 0.08);
  max-width: 250px;
}

.fc-floating-card strong {
  display: block;
  color: var(--fc-purple);
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.fc-floating-card span {
  color: var(--fc-muted);
  font-size: 14px;
  line-height: 1.4;
}

.fc-floating-one {
  left: -22px;
  top: 45px;
}

.fc-floating-two {
  right: -10px;
  bottom: 80px;
}

.fc-floating-three {
  left: 32px;
  bottom: 25px;
}

.fc-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -35px;
  position: relative;
  z-index: 4;
}

.fc-stat {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(94, 27, 200, 0.08);
  box-shadow: var(--fc-shadow-soft);
}

.fc-stat strong {
  display: block;
  color: var(--fc-purple);
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.fc-stat span {
  color: var(--fc-muted);
  font-size: 14.5px;
  line-height: 1.45;
}

.fc-about-image {
  border-radius: 40px;
  min-height: 500px;
  background:
    radial-gradient(circle at 20% 20%, rgba(232, 76, 151, 0.16), transparent 28%),
    radial-gradient(circle at 85% 24%, rgba(36, 181, 188, 0.20), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f6edff 50%, #eafafb 100%);
  box-shadow: var(--fc-shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(94, 27, 200, 0.10);
}

.fc-about-image::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 48% 52% 45% 55%;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--fc-purple), var(--fc-teal));
  opacity: 0.16;
}

.fc-about-badge {
  position: absolute;
  left: 26px;
  bottom: 26px;
  right: 26px;
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--fc-shadow-soft);
}

.fc-about-badge strong {
  color: var(--fc-purple);
  font-size: 21px;
  display: block;
  margin-bottom: 6px;
}

.fc-about-badge span {
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.5;
}

.fc-step {
  position: relative;
}

.fc-step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--fc-purple);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 950;
  font-size: 18px;
  margin-bottom: 18px;
  box-shadow: 0 12px 24px rgba(94, 27, 200, 0.22);
}

.fc-warning-note {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(94, 27, 200, 0.10);
  box-shadow: var(--fc-shadow-soft);
  padding: 22px;
  color: var(--fc-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.fc-cta {
  background:
    radial-gradient(circle at 10% 20%, rgba(235, 197, 104, 0.25), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(36, 181, 188, 0.18), transparent 30%),
    linear-gradient(135deg, var(--fc-purple), var(--fc-deep-purple));
  border-radius: 42px;
  padding: 58px;
  color: #ffffff;
  text-align: center;
  box-shadow: var(--fc-shadow);
}

.fc-cta h2 {
  color: #ffffff;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  font-weight: 950;
}

.fc-cta p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
}

.fc-cta .fc-btn-secondary {
  background: #ffffff;
  color: var(--fc-purple) !important;
  border-color: #ffffff;
}

.fc-site-footer {
  background: var(--fc-dark);
  color: #ffffff;
  padding: 58px 0 26px;
}

.fc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.fc-footer-logo img {
  max-width: 190px;
  max-height: 90px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 18px;
  padding: 8px;
}

.fc-site-footer h2,
.fc-site-footer h3 {
  color: #ffffff;
  margin: 0 0 14px;
  font-weight: 950;
}

.fc-site-footer p,
.fc-site-footer li,
.fc-site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.fc-site-footer a:hover {
  color: #ffffff;
}

.fc-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.fc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 38px;
  padding-top: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.70);
}

.fc-page-header {
  padding: 76px 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(232, 76, 151, 0.10), transparent 30%),
    linear-gradient(135deg, #ffffff, var(--fc-soft-purple));
}

.fc-page-header h1 {
  color: var(--fc-purple);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0;
  font-weight: 950;
}

.fc-content-wrap {
  padding: 70px 0;
}

.fc-content {
  max-width: 860px;
  margin: 0 auto;
}

.fc-content h1,
.fc-content h2,
.fc-content h3,
.entry-content h1,
.entry-content h2,
.entry-content h3 {
  color: var(--fc-purple);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.fc-content p,
.entry-content p {
  color: var(--fc-text);
  font-size: 18px;
  line-height: 1.75;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 16px !important;
  border: 1px solid rgba(94, 27, 200, 0.18) !important;
  padding: 14px 16px !important;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--fc-teal) !important;
  box-shadow: 0 0 0 4px rgba(36, 181, 188, 0.15) !important;
  outline: none !important;
}

@media (max-width: 1024px) {
  .fc-grid-2,
  .fc-grid-3,
  .fc-grid-4,
  .fc-stat-strip,
  .fc-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fc-hero-visual {
    min-height: 480px;
  }
}

@media (max-width: 782px) {
  .admin-bar .fc-site-header {
    top: 46px;
  }
}

@media (max-width: 768px) {
  .fc-container {
    width: min(100% - 28px, var(--fc-container));
  }

  .fc-header-inner {
    min-height: 74px;
  }

  .fc-brand img,
  .custom-logo {
    max-width: 145px;
    max-height: 64px;
  }

  .fc-menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .fc-nav-wrap {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    background: #ffffff;
    border: 1px solid rgba(94, 27, 200, 0.10);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--fc-shadow);
  }

  .fc-site-header.is-open .fc-nav-wrap {
    display: flex;
  }

  .fc-main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .fc-main-nav a {
    display: block;
    padding: 13px 6px;
  }

  .fc-header-cta {
    width: 100%;
  }

  .fc-header-cta .fc-btn {
    width: 100%;
  }

  .fc-section {
    padding: 62px 0;
  }

  .fc-hero {
    padding: 55px 0 60px;
  }

  .fc-hero-panel {
    padding: 30px 22px;
    border-radius: 28px;
  }

  .fc-grid-2,
  .fc-grid-3,
  .fc-grid-4,
  .fc-stat-strip,
  .fc-footer-grid {
    grid-template-columns: 1fr;
  }

  .fc-stat-strip {
    margin-top: 22px;
  }

  .fc-hero-visual {
    min-height: auto;
  }

  .fc-brand-art {
    min-height: 380px;
    border-radius: 28px;
  }

  .fc-brand-art::before {
    width: 130px;
    height: 130px;
    left: 42px;
    top: 58px;
    box-shadow: 136px 54px 0 -8px var(--fc-teal);
  }

  .fc-brand-art::after {
    width: 78px;
    height: 70px;
  }

  .fc-floating-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
    margin-top: 14px;
    max-width: none;
  }

  .fc-about-image {
    min-height: 420px;
    border-radius: 28px;
  }

  .fc-about-badge {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .fc-cta {
    padding: 38px 22px;
    border-radius: 28px;
  }

  .fc-btn {
    width: 100%;
  }

  .fc-btn-row {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
