/* 
	project:  Local Council Template, 2026
	author:   National Care Planning Council 
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --navy:   #1a2e44;
      --navy-l: #243d58;
      --gold:   #b8912a;
      --gold-l: #d4a93c;
      --cream:  #f8f5f0;
      --warm:   #f2ede4;
      --text:   #2c3e50;
      --muted:  #6b7a8d;
      --border: #ddd5c8;
      --white:  #ffffff;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--cream);
      color: var(--text);
      font-size: 16px;
      line-height: 1.7;
      overflow-x: hidden;
    }

    /* ── NOISE TEXTURE OVERLAY ── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 9999;
      opacity: 0.4;
    }

    /* ── TYPOGRAPHY ── */
    h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; line-height: 1.2; }
    h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
    h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 600; }
    h3 { font-size: 1.25rem; font-weight: 600; }

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

    /* ── TOP BAR ── */
    .topbar {
      background: var(--navy);
      color: rgba(255,255,255,0.7);
      font-size: 0.75rem;
      letter-spacing: 0.04em;
      padding: 8px 0;
    }
    .topbar-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 32px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .topbar a { color: var(--gold-l); transition: opacity 0.2s; }
    .topbar a:hover { opacity: 0.75; }

    /* ── HEADER / NAV ── */
    header {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 20px rgba(26,46,68,0.08);
    }
    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 32px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      gap: 24px;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-shrink: 0;
    }
    .brand img {
      width: 76px;
      height: 66px;
      object-fit: contain;
    }
    .brand-text { display: flex; flex-direction: column; }
    .brand-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--navy);
      letter-spacing: 0.01em;
      line-height: 1.1;
    }
    .brand-sub {
      font-size: 0.8rem;
      color: var(--gold);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-weight: 500;
    }
    nav { display: flex; align-items: center; gap: 4px; }
    .nav-link {
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--text);
      padding: 6px 14px;
      border-radius: 6px;
      transition: background 0.2s, color 0.2s;
      white-space: nowrap;
    }
    .nav-link:hover { background: var(--warm); color: var(--navy); }
    .nav-link.active { color: var(--gold); }
    .dropdown { position: relative; }
    .dropdown-toggle::after {
      content: '';
      display: inline-block;
      width: 5px; height: 5px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg) translateY(-2px);
      margin-left: 5px;
      vertical-align: middle;
    }
    .dropdown-menu {
      display: none;
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 10px;
      box-shadow: 0 8px 32px rgba(26,46,68,0.12);
      min-width: 280px;
      padding: 8px;
      z-index: 200;
    }
    .dropdown:hover .dropdown-menu { display: block; }
    .dropdown-item {
      display: block;
      font-size: 0.82rem;
      padding: 8px 14px;
      border-radius: 6px;
      color: var(--text);
      transition: background 0.15s;
    }
    .dropdown-item:hover { background: var(--warm); color: var(--navy); }
    .nav-cta {
      background: var(--gold);
      color: var(--white) !important;
      padding: 8px 18px !important;
      border-radius: 8px;
      font-weight: 600;
      transition: background 0.2s, transform 0.15s !important;
    }
    .nav-cta:hover { background: var(--gold-l) !important; transform: translateY(-1px); }

    /* hamburger */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 8px;
      border: none;
      background: none;
    }
    .hamburger span {
      display: block;
      width: 22px; height: 2px;
      background: var(--navy);
      border-radius: 2px;
      transition: all 0.3s;
    }
    .mobile-nav {
      display: none;
      flex-direction: column;
      background: var(--white);
      border-top: 1px solid var(--border);
      padding: 16px 24px 24px;
    }
    .mobile-nav.open { display: flex; }
    .mobile-nav .nav-link { padding: 10px 0; border-bottom: 1px solid var(--warm); border-radius: 0; }

    /* ── HERO ── */
    .hero {
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-l) 50%, #1e3a5f 100%);
      color: var(--white);
      padding: 80px 32px;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      top: -60px; right: -60px;
      width: 400px; height: 400px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(184,145,42,0.15) 0%, transparent 70%);
    }
    .hero::after {
      content: '';
      position: absolute;
      bottom: -80px; left: 10%;
      width: 300px; height: 300px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(184,145,42,0.08) 0%, transparent 70%);
    }
    .hero-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
      position: relative;
      z-index: 1;
    }
    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 1rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gold-l);
      font-weight: 600;
      margin-bottom: 20px;
    }
    .hero-eyebrow::before {
      content: '';
      display: block;
      width: 30px; height: 1px;
      background: var(--gold-l);
    }
    .hero h1 { margin-bottom: 20px; color: var(--white); }
    .hero h1 em { font-style: italic; color: var(--gold-l); }
    .hero-desc {
      font-size: 1rem;
      color: rgba(255,255,255,0.75);
      margin-bottom: 36px;
      max-width: 480px;
    }
    .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
    .btn-primary {
      background: var(--gold);
      color: var(--white);
      padding: 14px 28px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.9rem;
      letter-spacing: 0.02em;
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
      display: inline-block;
    }
    .btn-primary:hover {
      background: var(--gold-l);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(184,145,42,0.35);
    }
    .btn-outline {
      border: 1.5px solid rgba(255,255,255,0.35);
      color: var(--white);
      padding: 13px 28px;
      border-radius: 8px;
      font-weight: 500;
      font-size: 0.9rem;
      transition: background 0.2s, border-color 0.2s;
      display: inline-block;
    }
    .btn-outline:hover {
      background: rgba(255,255,255,0.08);
      border-color: rgba(255,255,255,0.6);
    }
    .hero-stats {
      display: flex;
      gap: 32px;
      margin-top: 44px;
      padding-top: 32px;
      border-top: 1px solid rgba(255,255,255,0.12);
    }
    .stat-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem;
      font-weight: 700;
      color: var(--gold-l);
      line-height: 1;
    }
    .stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-top: 4px; }
     
	 .contact-image img {
      width: 90%;
	  border-radius: 16px;
      box-shadow: 0 24px 60px rgba(0,0,0,0.35);
      object-fit: cover;
      display: block;
    }
    .contact-image {
      position: relative;
    }
	.hero-image {
      position: relative;
    }
    .hero-image img {
      width: 100%;
      border-radius: 16px;
      box-shadow: 0 24px 60px rgba(0,0,0,0.35);
      object-fit: cover;
      display: block;
    }
    .hero-image-badge {
      position: absolute;
      bottom: -20px;
      left: -20px;
      background: var(--white);
      border-radius: 12px;
      padding: 16px 20px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.18);
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .badge-icon {
      width: 44px; height: 44px;
      background: var(--gold);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .badge-icon svg { width: 22px; height: 22px; fill: white; }
    .badge-text-main { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
    .badge-text-sub { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

    /* ── TRUSTED BAR ── */
    .trust-bar {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      padding: 20px 32px;
    }
    .trust-bar-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 48px;
      flex-wrap: wrap;
    }
    .trust-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.82rem;
      color: var(--muted);
      font-weight: 500;
    }
    .trust-dot {
      width: 8px; height: 8px;
      background: var(--gold);
      border-radius: 50%;
      flex-shrink: 0;
    }

    /* ── SECTION WRAPPER ── */
    .section { padding: 80px 32px; }
    .section-inner { max-width: 1200px; margin: 0 auto; }
    .section-label {
      font-size: 0.73rem;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: var(--gold);
      font-weight: 600;
      margin-bottom: 12px;
    }
    .section-title { margin-bottom: 16px; color: var(--navy); }
    .section-desc { color: var(--muted); max-width: 580px; font-size: 0.95rem; }
    .section-header { margin-bottom: 56px; }

    /* ── SERVICES GRID ── */
    .services-section { background: var(--cream); }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 20px;
    }
    .service-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 28px;
      transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
      position: relative;
      overflow: hidden;
    }
    .service-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--gold), var(--gold-l));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s;
    }
    .service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,46,68,0.1); border-color: var(--gold); }
    .service-card:hover::before { transform: scaleX(1); }
    .service-icon {
      width: 48px; height: 48px;
      background: var(--warm);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 18px;
    }
    .service-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
    .service-title { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; font-family: 'DM Sans', sans-serif; }
    .service-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

    /* ── ABOUT / NETWORK BAND ── */
    .network-section {
      background: linear-gradient(135deg, var(--navy) 0%, #243d5a 100%);
      color: var(--white);
    }
    .network-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
    }
    .network-inner h1 em { font-style: italic; color: var(--gold-l); }
    .network-section .section-label { color: var(--gold-l); }
    .network-section h2 { color: var(--white); margin-bottom: 20px; }
    .network-section p { color: rgba(255,255,255,0.72); font-size: 0.95rem; margin-bottom: 14px; }
    .network-section .btn-primary { margin-top: 12px; }
    .network-features {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .network-contact {
      grid-auto-columns: auto;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .network-feat {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 12px;
      padding: 22px;
    }
    .feat-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--gold-l);
      line-height: 1;
      margin-bottom: 6px;
    }
    .feat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

    /* ── COUNCIL ── */
    .council-section { background: var(--white); }
    .council-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 24px;
    }
    .council-card {
      border: 1px solid var(--border);
      border-radius: 14px;
      overflow: hidden;
      transition: transform 0.25s, box-shadow 0.25s;
      background: var(--cream);
    }
    .council-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(26,46,68,0.1); }
    .council-img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      object-position: top center;
      display: block;
      background: var(--warm);
    }
    .council-info { padding: 18px; }
    .council-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--navy);
      margin-bottom: 4px;
      line-height: 1.2;
    }
    .council-role {
      font-size: 0.75rem;
      color: var(--gold);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 10px;
    }
    .council-phone {
      font-size: 0.8rem;
      color: var(--muted);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .council-phone svg { width: 13px; height: 13px; stroke: var(--gold); fill: none; stroke-width: 2; flex-shrink: 0; }

    /* ── CTA BAND ── */
    .cta-section {
      background: var(--warm);
      padding: 72px 32px;
      text-align: center;
    }
    .cta-section h2 { color: var(--navy); margin-bottom: 14px; max-width: 540px; margin-left: auto; margin-right: auto; }
    .cta-section p { color: var(--muted); margin-bottom: 32px; font-size: 0.95rem; }
    .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    .btn-dark {
      background: var(--navy);
      color: var(--white);
      padding: 14px 28px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.9rem;
      transition: background 0.2s, transform 0.15s;
      display: inline-block;
    }
    .btn-dark:hover { background: var(--navy-l); transform: translateY(-2px); }

    /* ── FOOTER ── */
    footer {
      background: var(--navy);
      color: rgba(255,255,255,0.7);
      padding: 64px 32px 32px;
    }
    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px;
      padding-bottom: 48px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      margin-bottom: 32px;
    }
    .footer-brand-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 4px;
    }
    .footer-brand-sub { font-size: 0.72rem; color: var(--gold-l); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
    .footer-desc { font-size: 0.83rem; line-height: 1.7; margin-bottom: 20px; }
    .footer-phone { font-size: 1.1rem; font-weight: 600; color: var(--gold-l); display: block; margin-bottom: 4px; }
    .footer-col-title {
      font-size: 0.7rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      font-weight: 600;
      margin-bottom: 16px;
    }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .footer-links a {
      font-size: 0.85rem;
      color: rgba(255,255,255,0.65);
      transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--gold-l); }
	.footer-links img {
	  margin: 10px 0px 0px 0px;
	  width: 75%;
	  border-radius: 10px;
	  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
	  object-fit: cover;
	  display: block;
	}
    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 0.78rem;
      color: rgba(255,255,255,0.35);
    }
    .footer-bottom a { color: var(--gold-l); }
    .powered-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(184,145,42,0.12);
      border: 1px solid rgba(184,145,42,0.25);
      border-radius: 8px;
      padding: 8px 14px;
      font-size: 0.78rem;
      color: var(--gold-l);
      margin-top: 16px;
    }
    .powered-badge svg { width: 14px; height: 14px; fill: var(--gold-l); flex-shrink: 0; }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .animate { animation: fadeUp 0.65s ease both; }
    .delay-1 { animation-delay: 0.1s; }
    .delay-2 { animation-delay: 0.2s; }
    .delay-3 { animation-delay: 0.3s; }
    .delay-4 { animation-delay: 0.4s; }

    /* ── RESPONSIVE ── */
    @media (max-width: 960px) {
      .hero-inner, .network-inner { grid-template-columns: 1fr; gap: 40px; }
      .hero-image { display: none; }
      .network-features { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      nav { display: none; }
      .hamburger { display: flex; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
      .hero { padding: 56px 24px; }
      .section { padding: 60px 24px; }
      .hero-stats { gap: 20px; flex-wrap: wrap; }
    }
    @media (max-width: 520px) {
      .footer-grid { grid-template-columns: 1fr; }
      .trust-bar-inner { gap: 20px; }
    }