/* =========================================================
   Consultants on Disability — Static Site Stylesheet
   Mirroring: https://sflynn88.wixsite.com/website
   ========================================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;500&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --ink:      #040B0F;
  --navy:     #0F2937;
  --mint:     #F4FCFB;
  --cyan:     #16CBEA;
  --white:    #FFFFFF;
  --max-w:    960px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', 'Century Gothic', Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Heading treatment — plain cyan, matches original */
.offset-heading {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--cyan);
}
.offset-heading span {
  color: var(--cyan);
}

.btn {
  display: inline-block;
  padding: 10px 36px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 50px;
  transition: background 0.25s, color 0.25s;
}
/* Default button: cyan outline + cyan text on any light background */
.btn-dark {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
}
.btn-dark:hover { background: var(--cyan); color: var(--white); }
/* On dark/navy/image backgrounds: white outline + white text */
.btn-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}
.btn-light:hover { background: var(--white); color: var(--ink); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-logo-bar {
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
}
.header-logo-bar img {
  height: 80px;
  width: auto;
}

.header-nav-bar {
  background: var(--ink);
  padding: 0 24px;
}
.header-nav-bar nav {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.header-nav-bar nav a {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 16px;
  transition: color 0.2s;
  font-weight: 400;
}
.header-nav-bar nav a:hover,
.header-nav-bar nav a.active { color: var(--mint); }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 0;
  color: var(--white);
  font-size: 1.4rem;
  margin-left: auto;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
#hero {
  background: var(--mint);
  padding: 60px 24px 80px;
  text-align: center;
}
.hero-photo {
  max-width: 940px;
  margin: 0 auto 48px;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
}
.hero-title-wrap {
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
}
.hero-subtitle {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-body {
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--ink);
  line-height: 1.8;
}

/* =========================================================
   ABOUT US SECTION
   ========================================================= */
#about {
  background: var(--navy);
  padding: 80px 24px;
  text-align: center;
  color: var(--white);
}
.about-logo {
  max-width: 440px;
  margin: 0 auto 48px;
}
.about-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.about-heading-wrap { margin-bottom: 32px; }
.about-heading {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}
.about-subheading {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--white);
  margin-bottom: 28px;
  font-style: italic;
}
.about-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
}
.about-body p { margin-bottom: 16px; }
.about-services {
  text-align: left;
  max-width: 680px;
  margin: 24px auto 0;
}
.about-services li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 0.97rem;
  line-height: 1.7;
}
.about-services li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--cyan);
}
.about-services li strong { color: var(--mint); font-weight: 500; }

/* =========================================================
   OUR TEAM SECTION
   ========================================================= */
#team {
  background: var(--mint);
  padding: 80px 24px;
}
.team-heading-wrap {
  text-align: center;
  margin-bottom: 64px;
}
.team-heading {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  color: var(--ink);
}

.team-member {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto 72px;
}
.team-member:last-child { margin-bottom: 0; }
.team-member.reverse { flex-direction: row-reverse; }

.team-photo {
  flex: 0 0 300px;
}
.team-photo img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: top center;
}

.team-bio { flex: 1; }
.team-name {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: inline-block;
  color: var(--cyan);
}
.team-name span { color: var(--cyan); }
.team-title {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  font-weight: 400;
}
.team-bio p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 14px;
}

/* =========================================================
   WHY CHOOSE US SECTION
   ========================================================= */
#why {
  display: flex;
  min-height: 480px;
}
.why-text {
  flex: 1;
  background: var(--navy);
  padding: 72px 48px 72px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.why-text-inner {
  max-width: 420px;
  margin: 0 0 0 auto;
}
.why-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 28px;
}
.why-body {
  color: var(--white);
  font-size: 0.97rem;
  line-height: 1.85;
}
.why-photo {
  flex: 1;
  background: url('../images/why_choose_bg.jpg') center/cover no-repeat;
  min-height: 400px;
}

/* =========================================================
   SERVICES SECTION
   ========================================================= */
#services {
  padding: 80px 0;
  background: var(--white);
  text-align: center;
}
.services-heading-wrap { margin-bottom: 16px; padding: 0 24px; }
.services-heading {
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  color: var(--ink);
}
.services-subheading {
  font-family: var(--font-head);
  font-size: 1rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 48px;
  padding: 0 24px;
}

/* Slideshow */
.slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slide {
  display: none;
  position: relative;
}
.slide.active { display: block; }
.slide-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,11,15,0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  color: var(--white);
}
.slide-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  margin-bottom: 24px;
}
.slide-body {
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 600px;
  text-align: left;
  margin-bottom: 32px;
}
.slide-body ul { list-style: disc; padding-left: 20px; }
.slide-body ul li { margin-bottom: 8px; }
.slide-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slide-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.slide-dot.active { background: var(--white); }
.slide-prev, .slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(4,11,15,0.5);
  border: 1.5px solid var(--white);
  color: var(--white);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10;
  transition: background 0.2s;
}
.slide-prev:hover, .slide-next:hover { background: rgba(4,11,15,0.8); }
.slide-prev { left: 16px; }
.slide-next { right: 16px; }

/* =========================================================
   CONTACT SECTION
   ========================================================= */
#contact {
  background: var(--navy);
  padding: 80px 0;
}
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.contact-info { flex: 1; }
.contact-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 36px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-detail .icon {
  color: var(--cyan);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-detail a { color: var(--white); }
.contact-detail a:hover { color: var(--cyan); }

.contact-form-col {
  flex: 1;
}
.form-placeholder {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 32px 24px;
  color: var(--white);
  text-align: center;
}
.form-placeholder p {
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}
/* When Google Form iframe is added, target it here */
.contact-form-col iframe {
  width: 100%;
  min-height: 520px;
  border: none;
  background: transparent;
}

/* Map — full browser width */
.map-wrap {
  width: 100%;
  margin-top: 48px;
}
.map-wrap iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

/* =========================================================
   SOCIAL / FOOTER
   ========================================================= */
#social {
  background: var(--white);
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}
.social-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
  font-weight: 400;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.social-links a { display: inline-block; }
.social-links img { width: 36px; height: 36px; }

footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 20px 24px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
footer a { color: var(--cyan); }
footer p { margin-bottom: 4px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: block; }
  .header-nav-bar nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--ink);
  }
  .header-nav-bar nav.open { display: flex; }
  .header-nav-bar nav a {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: center;
  }

  /* Hero */
  .hero-photo img { height: 240px; }

  /* Team */
  .team-member, .team-member.reverse {
    flex-direction: column;
    align-items: center;
  }
  .team-photo { flex: none; width: 100%; max-width: 300px; margin: 0 auto; }
  .team-photo img { width: 100%; height: 300px; }

  /* Why Choose Us */
  #why { flex-direction: column; }
  .why-text { padding: 48px 24px; }
  .why-text-inner { max-width: 100%; margin: 0; }
  .why-photo { min-height: 260px; }

  /* Services */
  .slide-img { height: 320px; }
  .slide-overlay { padding: 24px 16px; }

  /* Contact */
  .contact-inner { flex-direction: column; gap: 40px; }

  /* Offset headings — reduce offset on mobile */
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .about-heading, .team-heading, .services-heading { font-size: 2rem; }
  .why-heading, .contact-heading { font-size: 1.8rem; }
}

/* Native contact form */
/* =========================================================
   NATIVE CONTACT FORM — matches original Wix contact layout
   ========================================================= */

.contact-form-wix {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

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

.contact-form-wix .form-field {
  margin: 0 0 18px;
}

.contact-form-wix input,
.contact-form-wix textarea {
  display: block;
  width: 100%;
  padding: 7px 11px 10px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.45;
  box-shadow: none;
}

.contact-form-wix input::placeholder,
.contact-form-wix textarea::placeholder {
  color: rgba(255, 255, 255, 0.82);
  opacity: 1;
}

.contact-form-wix input:focus,
.contact-form-wix textarea:focus {
  border-bottom-color: var(--cyan);
  box-shadow: 0 1px 0 var(--cyan);
}

.contact-form-wix textarea {
  height: 114px;
  resize: vertical;
}

.contact-form-wix .form-message-field {
  margin-top: 6px;
  margin-bottom: 34px;
}

.contact-form-wix .contact-submit {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--white);
  border-radius: 0;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.2;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.contact-form-wix .contact-submit:hover,
.contact-form-wix .contact-submit:focus-visible {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
}

/* Keeps placeholder labels available to screen readers only. */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Spam honeypot: intentionally invisible to real visitors. */
.website-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .contact-form-col {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .contact-form-wix .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}