/* =========================================
   1. COLOURS, FONTS & BASICS
   Change the colours and fonts here only
   ========================================= */
:root {
  --pink: #EC5CA4;
  --green: #6ABD47;
  --black: #000;
  --white: #fff;
  --line: #e3e3e0;
  --font-heading: 'Fira Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* stops the sticky header covering section titles */
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font: 400 17px/1.65 var(--font-body);
}

a {
  color: inherit;
}

p {
  margin: 0 0 16px;
}

section {
  padding: 96px 0;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }
}


/* =========================================
   2. HEADINGS
   ========================================= */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 0;
}

h1 {
  color: var(--pink);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 33px;
  font-weight: 600;
  margin-bottom: 22px;
  color: var(--pink);
}

h3 {
  color: var(--black);
  font-size: 24px;
  font-weight: 600;
}

/* Small label above a heading, with the green bar */
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 5px solid var(--green);
  font-size: 15px;
  font-weight: 700;
}

.eyebrow-centre {
    display: inline-block;
    margin-bottom: 18px;
    padding-left: 14px;
    font-size: 15px;
    font-weight: 700;
}


/* =========================================
   3. BUTTONS
   .btn = pink filled | .btn.alt = outline
   ========================================= */
.btn {
  display: inline-block;
  padding: 15px 26px !important;
  background: var(--pink);
  color: #fff;
  border: 2px solid var(--pink);
  font: 700 15px var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn.alt {
  background: transparent;
  border-color: var(--black);
}

/* Hover state for both buttons */
.btn:hover,
.btn.alt:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--black);
}


/* =========================================
   5. HERO
   Background image is on .hero
   ========================================= */
.hero {
  padding: 88px 0 96px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 45%, rgba(255,255,255,.0) 80%),
    url("images/hero-banner.png") top center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 700px);   /* was 760px, make this bigger for a wider left side */
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 28px;
}

.hero p {
  font-size: 19px;
  margin-bottom: 34px;
}

.hero-logo {
  display: block;
  height: 70px;        /* change the logo size here */
  width: auto;
  margin-bottom: 24px; /* space between the logo and the eyebrow */
}

@media (max-width: 768px) {
  .hero-logo {
    height: 56px;      /* slightly smaller on phones */
  }
}

@media (max-width: 768px) {
  .hero {
    /* even white fade on phones so text stays readable */
    background:
      linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.88)),
      url("images/hero-banner.png") 70% center / cover no-repeat;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 40px;
  }
}


/* =========================================
   5. Pain Points
   Background image is on .pain
   ========================================= */
.pain .wrap {
  text-align: center;
}

.pain h2 {
  margin-left: auto;
  margin-right: auto;
}

.pain .wrap > p {
  margin-left: auto;
  margin-right: auto;
}

/* keep the text inside each column left-aligned */
.pain .col {
  text-align: left;
}


/* =========================================
   6. IMAGES & ICONS
   .ill = big illustration or photo
   .ico = small icon above a heading
   ========================================= */
.ill {
  display: block;
  width: 100%;
  height: auto;
}

.ico {
  display: block;
  width: 60px;
  height: 60px;
  margin-bottom: 14px;
  /* the lines below only apply to inline SVG icons */
  stroke: var(--black);
  stroke-width: 3;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}


/* =========================================
   7. THREE-COLUMN BLOCKS
   Used by Pain Points and Benefits
   ========================================= */
.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 48px 0;
}

.col {
  padding-top: 20px;
  border-top: 6px solid var(--green);
}

.col small {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

/* Photo at the top of each column */
.col-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;   /* keeps every photo the same shape */
  object-fit: cover;     /* crops instead of stretching */
  border-radius: 16px;
  margin-bottom: 18px;
}

.col h3 {
  margin-bottom: 12px;
}

/* Benefits: pink rule, no stagger */
.benefits .cols {
  margin-bottom: 40px;
}

.benefits .col {
  border-top: none;
  padding-top: 0;   /* removes the gap the border left behind */
}

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

  .pain .col:nth-child(2),
  .pain .col:nth-child(3) {
    margin-top: 0;
  }
}


/* =========================================
   8. SERVICES
   ========================================= */
#services {
  background: #f8f8f8;
}

.svc {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;   /* was: start */
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.svc .col-img {
  margin-bottom: 0;
}

.svc:last-of-type {
  border-bottom: 1px solid var(--line);
}

.svc h3 {
  color: var(--pink);
  font-size: 30px;
  font-weight: 600;
}

.svc h4 {
  margin: 0 0 8px;
  font: 600 18px var(--font-heading);
}

.svc .btn {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .svc {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .svc .col-img {
    margin-bottom: 10px;
  }
}


/* =========================================
   9. CASE STUDIES (3 cards)
   ========================================= */
.cases .wrap {
  text-align: center;   /* centres the title, intro and button */
}

.case-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 48px 0;
  text-align: left;     /* text inside each card stays left-aligned */
}

.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Hover state: card lifts slightly */
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.case-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-body {
  display: flex;
  flex-direction: column;
  flex: 1;              /* body fills the rest of the card height */
  padding: 24px;
}

.case-service {
  margin: auto 0 0;     /* auto pushes it to the bottom of the card */
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

/* Small label above the title, with the green bar */
.case-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 4px solid var(--green);
  font-size: 14px;
  font-weight: 700;
}

.case-body h3 {
  margin-bottom: 10px;
}

.benefit-icon img {
  display: block;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.cases-cta {
  text-align: center;
}

@media (max-width: 768px) {
  .case-cards {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px 0;
  }
}


/* =========================================
   10. FAQ
   ========================================= */
.benefits {
  background:
    linear-gradient(rgba(245,245,245,.83), rgba(245,245,245,.83)),
    url("images/benefits-bg.png") center / cover no-repeat;
}

.contact {
  background:
    url("images/contact-bg.png") center / cover no-repeat;
}

details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 600 1.2rem var(--font-heading);
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

/* the + icon */
summary::after {
  content: "+";
  color: var(--pink);
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.2s;
}

details p {
  margin: 14px 0 0;
}

/* Hover and open states */
summary:hover {
  color: var(--pink);
}

details[open] summary {
  color: var(--pink);
}

details[open] summary::after {
  transform: rotate(45deg);
}

#faq h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.faq-cta {
  margin-top: 36px;
  text-align: center;
}

details.is-closing summary {
  color: var(--black);
}

details.is-closing summary::after {
  transform: none;
}

/* =========================================
   11. CONTACT FORM
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
}

select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;   /* keeps long text from running under the arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;   /* 18px = distance from the right edge */
  background-size: 10px 6px;
}

textarea {
  resize: vertical;     /* can only be dragged up and down */
  min-height: 110px;    /* stops it from being dragged too small */
  max-height: 400px;    /* optional: stops it getting huge */
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  background-color: var(--white);
  color: var(--black);
  border: 2px solid var(--line);
  border-radius: 10px;
  font: 400 16px var(--font-body);
}

/* Pink border when clicked */
input:focus,
select:focus,
textarea:focus {
  border-color: var(--pink);
  outline: none;
}

/* Two fields side by side */
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Thank-you message after submitting */
#ok {
  display: none;
  padding: 18px;
  border-left: 6px solid var(--green);
  font-weight: 700;
}

/* Error Message */
#err {
  display: none;
  padding: 18px;
  border-left: 6px solid var(--pink);
  font-weight: 700;
}

/* Red asterisk for required fields */
.req {
  color: #e02424;
  font-weight: 700;
}

.contact-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;   /* keeps the shape consistent */
  object-fit: cover;     /* crops instead of stretching */
  margin-top: 28px;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .contact-grid,
  .two {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


/* =========================================
   12. FOOTER
   ========================================= */
footer {
  padding: 20px 0;
  background: #151515;
  color: #a0a0a0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer-text {
  margin: 0;
  max-width: 820px;
  line-height: 1.7;
}

.footer-text a {
  color: #a0a0a0;
  text-decoration: none;
}

/* Round social icons */
.footer-social {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #1a1a1a;
  border: 1px solid #2c2c2c;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

/* Hover state: circle turns pink, icon stays white */
.footer-social a:hover {
  background: var(--pink);
  border-color: var(--pink);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-text {
    text-align: center;
  }
}

/* =========================================
   13. FLOATING WHATSAPP BUTTON
   ========================================= */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;   /* WhatsApp's own green */
  color: #fff;
  border-radius: 50%;
  font-size: 32px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}

/* Hover state */
.wa-float:hover {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
    font-size: 28px;
  }
}