/* ===================================
   NFP WEBSITES
   Main Stylesheet
   =================================== */

:root {
  --dark-green: #004d32;
  --medium-green: #4c941c;
  --light-green: #eef7e8;
  --white: #ffffff;
}

/* Basic page settings */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--dark-green);
  background-color: var(--white);
}

/* ===================================
   REUSABLE CONTAINER
   =================================== */

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================================
   HEADER
   =================================== */

.site-header {
  background-color: var(--white);
  border-bottom: 3px solid var(--medium-green);
  position: relative;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 100px;
}

/* Branding */

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark-green);
}

.brand-icon {
  font-size: 52px;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 13px;
  color: #405846;
  white-space: nowrap;
}

/* Desktop Navigation */

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  color: var(--dark-green);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 6px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background-color: var(--light-green);
}

.nav-link.active {
  background-color: var(--medium-green);
  color: var(--white);
}

/* Mobile Menu Button */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--dark-green);
  border-radius: 2px;
}

/* ===================================
   RESPONSIVE HEADER
   =================================== */

@media (max-width: 1000px) {
  .header-container {
    min-height: 85px;
  }

  .brand-name {
    font-size: 26px;
  }

  .brand-tagline {
    font-size: 11px;
  }

  .brand-icon {
    font-size: 42px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 15px 5%;
    border-bottom: 2px solid var(--medium-green);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 21px;
  }

  .brand-tagline {
    font-size: 9px;
    white-space: normal;
  }

  .brand-icon {
    font-size: 34px;
  }

  .header-container {
    gap: 10px;
  }
}

/* ===================================
   HERO SECTION - TWO COLUMN LAYOUT
   =================================== */

.hero {
  position: relative;
  background-color: #eaf6dc;
  padding: 65px 0 85px;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 45px;
}

/* Hero Text */

.hero-text {
  min-width: 0;
}

.hero-text h1 {
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.15;
  margin: 0 0 25px;
  color: var(--dark-green);
}

.hero-text h1 span {
  display: block;
  color: var(--medium-green);
}

.hero-underline {
  width: 115px;
  height: 7px;
  background-color: var(--medium-green);
  margin-bottom: 25px;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 30px;
  max-width: 520px;
  color: #183b2b;
}

/* Hero Buttons */

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.btn-primary {
  background-color: var(--dark-green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--medium-green);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--dark-green);
  border: 2px solid var(--dark-green);
}

.btn-secondary:hover {
  background-color: var(--light-green);
  transform: translateY(-2px);
}

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

/* Hero Photograph */

.hero-image {
  min-width: 0;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 77, 50, 0.15);
}

/* Decorative Waves */

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
  pointer-events: none;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ===================================
   THREE KEY BENEFITS
   =================================== */

.hero-benefits {
  background-color: var(--white);
  padding: 30px 0;
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 10px 15px;
}

.benefit:not(:last-child) {
  border-right: 1px solid #ccd8cc;
}

.benefit-icon {
  flex: 0 0 55px;
  width: 55px;
  height: 55px;
  color: var(--medium-green);
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-text h3 {
  font-size: 22px;
  line-height: 1.2;
  color: var(--dark-green);
  margin: 0 0 8px;
}

.benefit-text p {
  font-size: 15px;
  line-height: 1.5;
  color: #405846;
  margin: 0;
}

/* ===================================
   RESPONSIVE HERO
   =================================== */

@media (max-width: 1000px) {
  .hero-container {
    gap: 25px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .benefits-container {
    gap: 10px;
  }

  .benefit {
    gap: 12px;
    padding: 10px;
  }

  .benefit-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .benefit-text h3 {
    font-size: 19px;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 45px 0 65px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

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

  .hero-text h1 {
    font-size: clamp(30px, 7vw, 40px);
  }

  .hero-underline {
    margin: 0 auto 20px;
  }

  .hero-text p {
    margin: 0 auto 25px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-wave {
    height: 40px;
  }

  .benefits-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 0;
  }

  .benefit {
    padding: 18px 0;
    border-right: none !important;
  }

  .benefit:not(:last-child) {
    border-bottom: 1px solid #e0e8df;
  }

  .benefit-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }

  .benefit-text h3 {
    font-size: 21px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 35px 0 55px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* ===================================
   HOW IT WORKS
   =================================== */

.how-it-works {
  background-color: #f1f8e9;
  padding: 65px 0 75px;
}

/* Reusable Section Heading */

.section-heading {
  text-align: center;
  margin-bottom: 35px;
}

.section-heading h2 {
  font-size: clamp(30px, 3vw, 40px);
  color: var(--dark-green);
  line-height: 1.2;
  margin: 0 0 10px;
}

.section-heading p {
  font-size: 17px;
  color: #405846;
  margin: 0;
}

/* Four Step Cards */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  background-color: var(--white);
  padding: 25px 22px;
  border-radius: 14px;
  border: 1px solid #e1e9dc;
  box-shadow: 0 5px 15px rgba(0, 77, 50, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 77, 50, 0.13);
}

/* Step Number and Icon */

.step-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: var(--medium-green);
}

.step-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-number {
  font-size: 30px;
  font-weight: 700;
  color: var(--medium-green);
}

/* Card Text */

.step-card h3 {
  font-size: 19px;
  line-height: 1.3;
  color: var(--dark-green);
  margin: 0 0 12px;
}

.step-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #304a38;
  margin: 0;
}

/* ===================================
   RESPONSIVE HOW IT WORKS
   =================================== */

@media (max-width: 1000px) {
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .how-it-works {
    padding: 45px 0 55px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .step-card {
    padding: 22px;
  }

  .section-heading {
    margin-bottom: 25px;
  }

  .section-heading p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .step-card {
    transition: none;
  }

  .step-card:hover {
    transform: none;
  }
}

/* ===================================
   STAGE 6 - WEBSITE OPTIONS
   =================================== */

.website-options {
  background-color: var(--white);
  padding: 65px 0 75px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Individual Option Cards */

.option-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border: 1px solid #dce7d8;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 77, 50, 0.09);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 77, 50, 0.14);
}

/* Card Photographs */

.option-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #eaf6dc;
}

.option-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card Content */

.option-content {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 22px 22px;
}

.option-icon {
  position: absolute;
  top: -28px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--medium-green);
  border: 3px solid var(--white);
  color: var(--white);
}

.option-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.option-content h3 {
  font-size: 23px;
  line-height: 1.25;
  color: var(--dark-green);
  margin: 12px 0 4px;
}

.option-tagline {
  font-size: 15px;
  font-weight: 700;
  color: var(--medium-green);
  margin: 0 0 12px;
}

.option-description {
  font-size: 15px;
  line-height: 1.6;
  color: #304a38;
  margin: 0 0 25px;
  flex: 1;
}

/* Demo Buttons */

.option-button {
  display: inline-block;
  align-self: center;
  background-color: var(--dark-green);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.option-button:hover {
  background-color: var(--medium-green);
}

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

/* Basic Website Example Note */

.option-demo-note {
  font-size: 14px;
  color: #405846;
  text-align: center;
  margin: 0 0 12px;
}

/* Demonstrations Coming Soon */

.option-coming-soon {
  display: inline-block;
  align-self: center;
  padding: 12px 22px;
  border-radius: 8px;
  background-color: #eef7e8;
  color: #004d32;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* ===================================
   RESPONSIVE WEBSITE OPTIONS
   =================================== */

@media (max-width: 1000px) {
  .options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .website-options {
    padding: 45px 0 55px;
  }

  .options-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .option-card {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .option-card {
    transition: none;
  }

  .option-card:hover {
    transform: none;
  }
}

/* ===================================
   STAGE 7 - EASY WEBSITE UPDATES
   =================================== */

.easy-updates {
  background-color: #f1f8e9;
  padding: 65px 0 75px;
}

/* ===================================
   STAGE 7 - DEMO INSTRUCTIONS
   =================================== */

.demo-instructions {
  max-width: 850px;
  margin: 0 auto 30px;
  padding: 20px 30px;
  background-color: #ffffff;
  border: 2px solid #a4d48a;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 77, 50, 0.06);
}

.demo-instructions-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.demo-instructions-heading span {
  font-size: 26px;
  color: var(--medium-green);
}

.demo-instructions h3 {
  margin: 0;
  font-size: 23px;
  color: var(--dark-green);
}

.demo-instructions p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #304a38;
}

.demo-instructions strong {
  color: var(--dark-green);
}

/* Mobile Adjustments */

@media (max-width: 600px) {
  .demo-instructions {
    padding: 18px 20px;
    margin-bottom: 25px;
  }

  .demo-instructions h3 {
    font-size: 21px;
  }

  .demo-instructions p {
    font-size: 15px;
  }
}

.updates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: start;
}

.update-panel,
.preview-panel {
  min-width: 0;
  background-color: var(--white);
  padding: 25px;
  border: 1px solid #e1e9dc;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0, 77, 50, 0.08);
}

.update-panel h3,
.preview-panel h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  color: var(--dark-green);
  margin: 0 0 22px;
}

.update-panel h3 span,
.preview-panel h3 span {
  font-size: 28px;
  color: var(--medium-green);
}

/* Editing Form */

#demo-update-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#demo-update-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-green);
}

#demo-update-form input,
#demo-update-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #bccfc0;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  color: #183b2b;
  background-color: var(--white);
}

#demo-update-form textarea {
  resize: vertical;
}

#demo-update-form input:focus,
#demo-update-form textarea:focus {
  outline: 2px solid var(--medium-green);
  outline-offset: 1px;
}

.update-button {
  margin-top: 10px;
  padding: 13px 20px;
  border: none;
  border-radius: 8px;
  background-color: var(--medium-green);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.update-button:hover {
  background-color: var(--dark-green);
}

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

.demo-note {
  font-size: 13px;
  color: #526454;
  margin: 15px 0 0;
}

/* Website Preview */

.preview-browser {
  overflow: hidden;
  border: 1px solid #dce7d8;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 77, 50, 0.08);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  background-color: var(--dark-green);
  color: var(--white);
}

.preview-club-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.preview-header span {
  padding: 5px 10px;
  border-radius: 5px;
  background-color: var(--medium-green);
  font-size: 12px;
  font-weight: 600;
}

.preview-content {
  padding: 30px 22px;
  background-color: #f8fcf5;
}

.preview-notice {
  padding: 25px;
  border-radius: 12px;
  background-color: #eaf6dc;
}

.preview-notice h4 {
  font-size: 23px;
  color: var(--dark-green);
  margin: 0 0 15px;
  overflow-wrap: anywhere;
}

.preview-notice p {
  font-size: 15px;
  line-height: 1.6;
  color: #304a38;
  margin: 0 0 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

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

.update-message {
  min-height: 22px;
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--medium-green);
}

/* Responsive */

@media (max-width: 800px) {
  .updates-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 600px) {
  .easy-updates {
    padding: 45px 0 55px;
  }

  .update-panel,
  .preview-panel {
    padding: 18px;
  }

  .preview-content {
    padding: 18px 12px;
  }

  .preview-notice {
    padding: 18px;
  }

  .preview-notice h4 {
    font-size: 20px;
  }
}

/* ===================================
   STAGE 7 - PREVIEW VISUAL POLISH
   =================================== */

/* Club Branding */

.preview-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.preview-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background-color: #eaf6dc;
  color: var(--medium-green);
}

.preview-logo svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-club-name {
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}

.preview-home {
  flex-shrink: 0;
}

/* Notice Heading */

.preview-notice-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.preview-notice-heading svg {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--medium-green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-notice-heading h4 {
  margin: 0;
  min-width: 0;
}

/* Meeting Details */

.preview-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.preview-detail:last-child {
  margin-bottom: 0;
}

.preview-detail svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--medium-green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}

.preview-detail p {
  flex: 1;
  min-width: 0;
  margin: 0;
}

/* Mobile Adjustments */

@media (max-width: 600px) {
  .preview-header {
    padding: 14px 12px;
  }

  .preview-brand {
    gap: 8px;
  }

  .preview-logo {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .preview-logo svg {
    width: 27px;
    height: 27px;
  }

  .preview-club-name {
    font-size: 14px;
  }

  .preview-notice-heading {
    gap: 10px;
  }

  .preview-detail {
    gap: 10px;
  }
}

/* Matching Panel Heading Icons */

.panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: var(--medium-green);
}

.panel-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===================================
   STAGE 8 - ABOUT NFP WEBSITES
   =================================== */

.about-section {
  padding: 85px 0;
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  color: var(--dark-green);
  margin-bottom: 18px;
}

.about-divider {
  width: 75px;
  height: 4px;
  background-color: var(--medium-green);
  border-radius: 2px;
  margin-bottom: 25px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
  color: var(--dark-green);
}

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

/* About Image */

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 77, 50, 0.12);
}

/* Tablet */

@media (max-width: 900px) {
  .about-grid {
    gap: 35px;
  }

  .about-section {
    padding: 65px 0;
  }
}

/* Mobile */

@media (max-width: 700px) {
  .about-section {
    padding: 55px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-content h2 {
    font-size: 28px;
  }

  .about-content p {
    font-size: 16px;
    line-height: 1.7;
  }
}

/* ===================================
   STAGE 9 - CONTACT SECTION
   =================================== */

.contact-section {
  background-color: var(--dark-green);
  padding: 80px 0;
}

/* Two-column desktop layout */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 65px;
  align-items: start;
}

/* Left introduction */

.contact-intro {
  padding-top: 25px;
}

.contact-intro h2 {
  color: #ffffff;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.2;
  margin: 0 0 22px;
}

.contact-intro p {
  color: #e5f2e8;
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
}

/* White enquiry form */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: 32px;
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Name and organisation side by side */

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* Individual fields */

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.contact-field label {
  color: var(--dark-green);
  font-size: 14px;
  font-weight: 600;
}

.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #b9cdbd;
  border-radius: 8px;
  background-color: #ffffff;
  color: #183b2b;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
}

.contact-field textarea {
  resize: vertical;
  min-height: 130px;
}

/* Accessible keyboard focus */

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 2px solid var(--medium-green);
  outline-offset: 2px;
  border-color: var(--medium-green);
}

/* Submit button and direct email */

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.contact-submit {
  display: inline-block;
  padding: 13px 28px;
  border: none;
  border-radius: 8px;
  background-color: var(--medium-green);
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-submit:hover {
  background-color: var(--dark-green);
}

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

.contact-email-text {
  margin: 8px 0 0;
  color: #405846;
  font-size: 14px;
}

.contact-email-link {
  color: var(--dark-green);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.contact-email-link:hover {
  color: var(--medium-green);
}

/* Form feedback message */

.contact-status {
  margin: 0;
  color: var(--dark-green);
  font-size: 14px;
  line-height: 1.5;
}

.contact-status:empty {
  display: none;
}

/* ===================================
   RESPONSIVE CONTACT SECTION
   =================================== */

/* Tablet */

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

  .contact-intro {
    padding-top: 0;
  }

  .contact-section {
    padding: 60px 0;
  }
}

/* Mobile */

@media (max-width: 600px) {
  .contact-section {
    padding: 50px 0;
  }

  .contact-grid {
    gap: 25px;
  }

  .contact-intro h2 {
    font-size: 30px;
  }

  .contact-intro p {
    font-size: 16px;
    line-height: 1.7;
  }

  .contact-form {
    padding: 22px 18px;
    gap: 18px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-submit {
    width: 100%;
    text-align: center;
  }
}

/* Reduced motion preference */

@media (prefers-reduced-motion: reduce) {
  .contact-submit {
    transition: none;
  }
}

/* ===================================
   STAGE 10 - FOOTER
   =================================== */

.site-footer {
  background-color: #003d2a;
  color: #ffffff;
  padding: 28px 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-name {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.footer-tagline {
  margin: 0;
  color: #d4e8dc;
  font-size: 13px;
  line-height: 1.5;
}

.footer-copyright {
  margin: 0;
  color: #d4e8dc;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

/* Footer - Tablet and Mobile */

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

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


/* ===================================
   STAGE 10 - BASIC WEBSITE NOTIFICATION
   =================================== */

.basic-demo-notice {
  background-color: var(--dark-green);
  color: var(--white);
  border-bottom: 3px solid var(--medium-green);
}

/* Keep notification hidden until activated */

.basic-demo-notice[hidden] {
  display: none;
}

.basic-demo-notice-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.basic-demo-notice p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.basic-demo-notice strong {
  display: block;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 5px;
}

.basic-demo-notice-close {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 30px;
  cursor: pointer;
  padding: 5px 10px;
}

.basic-demo-notice-close:hover {
  color: #c9ed9b;
}

.basic-demo-notice-close:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Mobile adjustments */

@media (max-width: 600px) {
  .basic-demo-notice-content {
    align-items: flex-start;
    gap: 10px;
  }

  .basic-demo-notice p {
    font-size: 14px;
  }

  .basic-demo-notice strong {
    font-size: 17px;
  }
}
