/* ===================================
   GLOBAL RESETS & VARIABLES
   =================================== */
:root {
  --nav-height: 64px;
  --content-max: 1200px;
  --accent: rgba(255,255,255,0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #fff;
  background: #000;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--nav-height);
}

img {
  max-width: 100%;
  display: block;
}

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

/* ===================================
   NAVIGATION
   =================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: var(--nav-height);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: 1rem;
}

.brand {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  align-items: center;
}

.nav-links a {
  opacity: 0.9;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

/* Mobile nav hidden by default, toggled via .open class */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(var(--nav-height));
  right: 1rem;
  background: rgba(0,0,0,0.85);
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 24px rgba(0,0,0,0.6);
  z-index: 110;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ===================================
   FULLSCREEN SECTIONS BASE
   =================================== */
.fullscreen-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  padding: 4rem 2rem;
  scroll-margin-top: calc(var(--nav-height) + 8px);
}

.fullscreen-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

.content-wrapper {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  width: 100%;
  text-align: center;
  padding: 1rem;
}

/* ===================================
   HERO (1) — butterfly (KEEP)
   =================================== */
.hero {
  /* butterfly image — left unchanged */
  background-image: url('https://images.unsplash.com/photo-1595967444215-4901e8436909?q=80&w=2400&auto=format&fit=crop');
}

/* ===================================
   ABOUT (2) — hawk / mountain (KEEP)
   =================================== */
.about-section {
  background-image: url('https://images.unsplash.com/photo-1691255287352-e272f187552f?q=80&w=2400&auto=format&fit=crop');
  min-height: 80vh;
  padding: 4rem 2rem;
}

.about-content {
  max-width: var(--content-max);
  display: grid;
  grid-template-columns: 420px 1fr; /* image on the left, text on the right */
  gap: 3.5rem;
  align-items: start;
  text-align: left;
}

.about-photo-container {
  position: relative;
  align-self: start;
}

.about-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.about-text h2 {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: -0.4px;
}

.about-text p {
  font-size: clamp(1rem, 2vw, 1.05rem);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1rem;
  opacity: 0.95;
}

/* ===================================
   OFFER (3) — dragonfly (KEEP)
   =================================== */
.offer-section {
  /* dragonfly image — fixed full URL so it loads on desktop too */
  background-image: url('https://images.unsplash.com/photo-1554945121-0c64ff46da04?q=80&w=2400&auto=format&fit=crop&ixlib=rb-4.1.0');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 2rem;
  min-height: 50vh;
  position: relative;
}
.offer-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* reduce opacity if it's too dark */
  z-index: 1;
  pointer-events: none;
}

/* Make sure your content sits above the overlay */
.offer-section .content-wrapper {
  position: relative;
  z-index: 2;
}
.offer-section h2 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: -0.4px;
}

.offer-intro {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Offer grid: explicit columns to make layout predictable */
.offer-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: var(--content-max);
  grid-template-columns: 1fr; /* mobile default */
}

/* Cards */
.offer-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.6rem;
  border-radius: 6px;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.offer-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
}

.offer-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.offer-card p {
  font-size: 0.98rem;
  font-weight: 300;
  opacity: 0.95;
  line-height: 1.6;
  margin-top: auto;
}

.offer-closing {
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  margin-top: 2rem;
  opacity: 0.95;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ===================================
   TESTIMONIALS (4) — second hawk image (NEW)
   =================================== */
.testimonials-section {
  /* second hawk image — used here per your request */
  background-image: url('https://images.unsplash.com/photo-1531494391841-6ac2ef3859b8?q=80&w=2400&auto=format&fit=crop');

  padding: 4rem 2rem;
}

.testimonials-section h2 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.testimonial-grid {
  display: grid;
  gap: 1.5rem;
  max-width: var(--content-max);
  margin: 0 auto;
  grid-template-columns: 1fr;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.4rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  min-height: 160px;
}

.testimonial-card h4 {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.testimonial-card p {
  margin-top: auto;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.95;
}

/* ===================================
   ACCREDITATIONS (5) — mountain image (NEW)
   =================================== */
.accreditations-section {
  /* mountain image — placed as the 5th background per your request */
  background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?q=80&w=2400&auto=format&fit=crop');

  padding: 4rem 2rem;
}

.accreditations-grid {
  display: grid;
  gap: 1rem;
  max-width: var(--content-max);
  margin: 0 auto 1.5rem;
  grid-template-columns: 1fr;
}

.accreditation-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
}

/* Logo */
.cognitive-coaching-logo {
  text-align: center;
  margin-top: 2rem;
}

.cc-logo {
  max-width: 260px;
  height: auto;
  margin: 0 auto 0.75rem;
  transition: transform 0.25s;
  filter: brightness(1.1);
}

.cc-logo:hover {
  transform: scale(1.03);
}

/* ===================================
   CONTACT (6) — new link you gave (NEW)
   =================================== */
.contact-section {
  background-image: url('https://images.unsplash.com/photo-1470116073782-48ae2ccd8ffd?q=80&w=2400&auto=format&fit=crop');

  padding: 4rem 2rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  opacity: 0.95;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.btn-submit {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.18s;
}

.btn-submit:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.12);
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 6px;
  text-align: center;
  font-size: 0.95rem;
}

.success {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  color: #dfffe6;
}

.error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.25);
  color: #ffdede;
}

/* ===================================
   FOOTER
   =================================== */
footer {
  background: #000;
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.85;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ===================================
   RESPONSIVE LAYOUT RULES
   =================================== */
@media (min-width: 700px) {
  /* Offer: 2 columns from 700px */
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials: 2 columns from 700px */
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Accreditations: 2 columns */
  .accreditations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  /* Testimonials: 3 columns on large screens */
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Accreditations: 4 columns if enough space */
  .accreditations-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* About keeps image on left */
  .about-content {
    grid-template-columns: 420px 1fr;
  }
}

@media (max-width: 699px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .fullscreen-section {
    padding: 2.5rem 1.25rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .about-photo {
    height: 360px;
    border-radius: 6px;
    margin: 0 auto;
  }

  /* Ensure single column on small screens */
  .offer-grid,
  .testimonial-grid,
  .accreditations-grid {
    grid-template-columns: 1fr;
  }
}
