@charset "utf-8";
/* CSS Document */

:root {
  --colour-teal: #5ea7a0;
  --colour-blue: #5d98c0;
  --colour-sand: #c09a75;
  --colour-deep-teal: #254f4e;
  --colour-bg: #f5f7fa;
  --colour-text: #1f2933;
  --colour-muted: #6b7280;
  --colour-danger: #b91c1c;
  --colour-skyblue: #4fc3f7;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.06);
  --radius-lg: 14px;
  --radius-pill: 999px;
  --container-width: 1120px;
  --header-height: 72px;
  --transition-fast: 0.2s ease;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--colour-text);
  background: var(--colour-bg);
  line-height: 1.6;
}

/* Global links – remove underlines */
a {
  color: var(--colour-deep-teal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* Layout */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Top bar base */

.top-bar {
    background: #254f4e;
    color: #ffffff;
    font-size: 0.85rem;
    border-bottom: 6px solid var(--colour-skyblue); /* highlight line */
}

.top-bar a {
  color: #ffffff;
  font-weight: 600;
}

.top-bar a:hover {
  color: #e5f4f2; /* subtle hover, no underline */
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
}

.top-bar-left {
  white-space: nowrap;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-email-btn,
.top-bar-cta {
  border: none;
  border-radius: 999px;
  padding: 0.25rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: #5d98c0;
  color: #ffffff;
  cursor: pointer;
}

/* MOBILE STACKING  */
@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .top-bar-left {
    width: 100%;
    white-space: normal;
  }

  .top-bar-right {
    width: 100%;
    justify-content: stretch;
  }

  .top-bar-email-btn,
  .top-bar-cta {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
}

.top-phone a {
  font-weight: 600;
}

/* Nav */

.nav-bar {
  background: #ffffff;
}

/* Logo */

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

.logo img {
  display: block;
  max-height: 52px;
}

/* Nav bar container */

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

/* Mobile logo spacing */
@media (max-width: 768px) {
  .nav-inner {
    padding: 0.5rem 0.25rem;
  }

  .logo {
    padding: 0.25rem 0;
    margin-left: 0.25rem;
  }

  .logo img {
    max-height: 44px;
  }

  .nav-toggle {
    margin-right: 0.25rem;
  }
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--colour-deep-teal);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
}

/* nav underline effect is via ::after, not text-decoration */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--colour-teal);
  transition: width var(--transition-fast);
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  text-decoration: none; /* keep underline effect only via ::after */
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--colour-deep-teal);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    transition: max-height 0.3s ease;
  }
  .main-nav.open {
    max-height: 400px;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 0.75rem 1.5rem 1.25rem;
  }
}

/* Buttons */

.btn-primary,
.btn-outline,
.btn-top-cta,
.btn-link {
  text-decoration: none; /* ensure no underline on button-style links */
}

.btn-primary {
  background: var(--colour-teal);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
  background: var(--colour-deep-teal);
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.btn-outline {
  background: transparent;
  color: var(--colour-deep-teal);
  border-radius: var(--radius-pill);
  border: 1px solid var(--colour-teal);
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.btn-outline:hover {
  background: var(--colour-teal);
  color: #ffffff;
}

.btn-link {
  background: none;
  border: none;
  color: #e0f2f1;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-top-cta { 
  margin-left: 1rem;
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.1rem;
  background: var(--colour-teal);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.btn-top-cta:hover {
  background: var(--colour-deep-teal);
  color: #ffffff;
}


/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(135deg, #e8f3f2, #fdf9f5);
}

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

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--colour-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 0.5rem;
  color: var(--colour-deep-teal);
}

.hero p {
  margin-top: 0;
  color: var(--colour-muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-meta {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--colour-muted);
}

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.hero-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--colour-deep-teal);
}

.hero-with-image {
    background: linear-gradient(135deg, rgba(37,79,78,0.1), rgba(93,152,192,0.05)), 
                url('/assets/img/hero/hero-2.jpg') center/cover no-repeat;
    color: #ffffff;
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  margin: 0;
  font-size: 1.7rem;
  color: var(--colour-deep-teal);
}

.section-title p {
  color: var(--colour-muted);
  max-width: 620px;
  margin: 0.5rem auto 0;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.card p {
  margin-bottom: 0;
  font-size: 0.94rem;
  color: var(--colour-muted);
}

/* Process steps */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.step {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--colour-blue);
}

.step-num {
  font-weight: 700;
  color: var(--colour-blue);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Testimonials (placeholder styling) */

.testimonials {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

/* Footer */

/* Existing footer styles (keep as-is) */
.site-footer {
  background: #0f172a;
  color: #e5e7eb;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 2.5rem 0;
}

/* NEW: mobile footer stacking */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;       /* stack columns */
    gap: 1.75rem;                     /* more space between blocks */
  }

  .footer-col {
    text-align: left;                 /* keep text readable */
  }

  .footer-col h4 {
    margin-bottom: 0.4rem;
  }

  .footer-col p,
  .footer-col li,
  .footer-col a {
    font-size: 0.92rem;
    line-height: 1.5;
  }
}
/* Extra breathing room for footer on mobile */
@media (max-width: 768px) {
  .site-footer .container {
      padding-left: 1.75rem;
      padding-right: 1.75rem;
  }

  .footer-grid {
      grid-template-columns: 1fr;   /* already stacking */
      gap: 1.75rem;
  }

  .footer-col {
      text-align: left;
  }
}


.footer-col h4 {
  margin-top: 0;
  font-size: 1.02rem;
  margin-bottom: 0.75rem;
}

.footer-col p,
.footer-col li,
.footer-col a {
  font-size: 0.9rem;
  color: #d1d5db;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a:hover {
  color: #ffffff; /* brighter on hover, still no underline */
}

.footer-note {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: #9ca3af;
}

.footer-bottom {
    border-top: none;
    background: var(--colour-skyblue);
    color: #ffffff;
    padding: 0.9rem 0;
    text-align: center;
}

/* Modal */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.modal.show {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.modal-content {
  position: relative;
  background: #ffffff;
  padding: 1.75rem 1.5rem 1.75rem;
  max-width: 520px;
  width: 92%;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  z-index: 201;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  color: var(--colour-deep-teal);
}

.modal-content p {
  font-size: 0.9rem;
  color: var(--colour-muted);
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Forms */

form {
  margin-top: 0.8rem;
}

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

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--colour-deep-teal);
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  font-family: inherit;
}

input[type="password"] {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    font-family: inherit;
    background: #ffffff;
}
 
textarea {
  resize: vertical;
}

/* Page header for inner pages */

.page-header {
  background: linear-gradient(135deg, #254f4e, #5d98c0);
  color: #ffffff;
  padding: 2.5rem 0;
}

.page-header h1 {
  margin: 0;
  font-size: 1.8rem;
}

.page-header p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

/* Page header for inner pages */
.page-header {
  background: #254f4e;
  color: #ffffff;
  padding: 2.5rem 0;
}

.page-header--with-image {
    position: relative;
    color: #ffffff;
    padding: 3rem 0 3rem;
    background:
        linear-gradient(135deg, rgba(0,0,0,0.45), rgba(0,0,0,0.2)),
        url('/assets/img/hero/hero-1.jpg') center/cover no-repeat;
}

.page-header-inner h1 {
    margin: 0;
    font-size: 2.1rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}

.page-header-inner p {
    margin: 0.6rem 0 0;
    font-size: 0.98rem;
    max-width: 640px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .page-header--with-image {
        padding: 2.4rem 0 2.4rem;
    }
    .page-header-inner h1 {
        font-size: 1.7rem;
    }
}


/* About CTA card layout */
.about-cta-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.about-cta-text h2 {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.about-cta-text p {
    margin: 0;
    color: var(--colour-muted);
}

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .page-header--with-image {
        padding: 2.5rem 0 2.5rem;
    }
    .page-header-inner h1 {
        font-size: 1.7rem;
    }
    .about-cta-card {
        align-items: flex-start;
    }
}

/* Responsive tweaks */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Services cards */
.service-cards-grid .card {
    position: relative;
    padding-top: 1.8rem;
}

.service-tag {
    position: absolute;
    top: 1.1rem;
    right: 1.25rem;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(93,152,192,0.12);
    color: var(--colour-blue);
}

.service-tag--accent {
    background: rgba(192,154,117,0.15);
    color: var(--colour-sand);
}

.service-bullets {
    margin-top: 0.75rem;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: var(--colour-muted);
}

.service-bullets li {
    margin-bottom: 0.25rem;
}

/* CTA card layout on services page */
.services-cta-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.services-cta-text h2 {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.services-cta-text p {
    margin: 0;
    color: var(--colour-muted);
}

.services-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .services-cta-card {
        align-items: flex-start;
    }
}

/* CHC process timeline */
.process-timeline {
    position: relative;
    margin-top: 1.5rem;
    border-left: 2px solid rgba(37,79,78,0.18);
    padding-left: 2.8rem; /* increased from 1.75rem */
}

.process-step {
    position: relative;
    margin-bottom: 2rem;
}

/* Number bubble */
.process-step-marker {
    position: absolute;
    left: -1.1rem; /* moves bubble slightly right */
    top: 0.25rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #ffffff;
    border: 2px solid var(--colour-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--colour-teal);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* Actual text content now pushed to the right */
.process-step-content {
    padding-left: 1rem; /* <-- this fixes overlapping */
}

.process-step-content h3 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    color: var(--colour-deep-teal);
}

.process-step-content p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--colour-muted);
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .process-timeline {
        padding-left: 2.2rem;
    }
    .process-step-marker {
        left: -1.25rem;
    }
}

/* FAQ accordion */
.faq-accordion {
    margin-top: 0.75rem;
}

.faq-accordion details {
    background: #f9fafb;
    border-radius: var(--radius-lg);
    border: 1px solid #e5e7eb;
    padding: 0.7rem 1rem;
    margin-bottom: 0.7rem;
}

.faq-accordion details:last-child {
    margin-bottom: 0;
}

.faq-accordion summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--colour-deep-teal);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Hide default marker */
.faq-accordion summary::-webkit-details-marker {
    display: none;
}
.faq-accordion summary::marker {
    content: "";
}

/* Plus / minus icon */
.faq-accordion summary::after {
    content: "+";
    font-weight: 700;
    margin-left: 0.75rem;
    color: var(--colour-teal);
}

.faq-accordion details[open] summary::after {
    content: "–";
}

/* Answer text */
.faq-answer {
    margin-top: 0.55rem;
    font-size: 0.94rem;
    color: var(--colour-muted);
}

.faq-answer p {
    margin: 0;
}

/* Secure payments strip – sits flush on top of footer */
.footer-secure-payments {
  background: #5ea7a0;
  color: #ffffff;
  padding: 1.25rem 0;
  margin: 0;                 /* no gap above/below */
}

.footer-secure-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Text block */
.footer-secure-text strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.footer-secure-text p {
  margin: 0;
  max-width: 40rem;
}

/* Badge + lock */
.footer-secure-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.footer-security-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.secure-lock {
  font-size: 1.1rem;
}

.stripe-badge {
  height: 80px;              /* slightly smaller & consistent */
  width: auto;
}

/* Make sure the footer touches the strip */
.site-footer {
  margin-top: 0;             /* remove any top margin */
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .footer-secure-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-secure-text {
    width: 100%;
  }

  .footer-secure-logos {
    align-self: flex-start;
  }

  .stripe-badge {
    height: 50px;            /* shrink a bit more on mobile */
  }
}

.footer-compliance {
    background: #ffffff; /* white clear background */
    padding: 18px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-compliance-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.compliance-icon {
    height: 50px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.25s ease;
}

.compliance-icon:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .footer-compliance-inner {
        gap: 20px;
    }
    .compliance-icon {
        height: 30px;
    }
}
