/* ============================================
   Insight Coaching and Counseling — Design System
   ============================================ */

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

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --sage: #7A8B6F;
  --sage-light: #9AAD8E;
  --sage-dark: #5E6D54;
  --cream: #FAF6F0;
  --cream-dark: #F0EAE0;
  --charcoal: #3A3A3A;
  --charcoal-light: #5A5A5A;
  --gold: #C9A96E;
  --gold-light: #D4BC8E;
  --white: #FFFFFF;
  --overlay: rgba(58, 58, 58, 0.55);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;
  --font-script: 'Dancing Script', cursive;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1140px;
  --gap: 2rem;

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.6s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.25;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 1rem;
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--charcoal-light);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 3rem;
}

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.btn-primary:hover {
  background-color: var(--sage-dark);
  border-color: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(122, 139, 111, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--sage);
  transform: translateY(-2px);
}

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(250, 246, 240, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.8rem 0;
}

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

/* Text Logo */
.header-logo,
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: var(--transition);
}

.logo-amp {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.1em;
  color: var(--gold-light);
}

.header.scrolled .logo-text {
  color: var(--charcoal);
}

.header.scrolled .logo-amp {
  color: var(--sage);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--white);
  position: relative;
}

.header.scrolled .nav-links a {
  color: var(--charcoal);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--sage);
  transition: var(--transition);
}

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

.nav-links .btn {
  padding: 10px 26px;
  font-size: 0.85rem;
}

.header.scrolled .nav-links .btn-outline {
  color: var(--white);
  border-color: var(--sage);
  background-color: var(--sage);
}

.header.scrolled .nav-links .btn-outline:hover {
  background-color: var(--sage-dark);
  border-color: var(--sage-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background-color: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

.header.scrolled .hamburger span {
  background-color: var(--charcoal);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 50%, var(--sage-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(201, 169, 110, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 0 2rem;
}

/* Hero Portrait */
.hero-portrait {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-portrait img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.hero-portrait img:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-name {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

/* Hero Brand Text */
.hero-brand {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 1px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
  margin-bottom: 0.3rem;
}

.hero-brand-name .logo-amp {
  color: var(--gold-light);
  font-size: 0.9em;
}

.hero-brand-sub {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.hero .tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  font-style: italic;
  font-family: var(--font-heading);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease infinite;
}

.scroll-indicator svg {
  width: 28px;
  height: 28px;
  stroke: rgba(255, 255, 255, 0.6);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-8px);
  }

  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* --- Sections General --- */
section {
  padding: var(--section-padding);
}

.section-alt {
  background-color: var(--white);
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- About Section --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* About Images (portrait + office) */
.about-images {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-portrait {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 4px solid var(--sage-light);
  flex-shrink: 0;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 320px;
}

.about-text p {
  color: var(--charcoal-light);
  font-size: 1.05rem;
}

.about-text blockquote {
  border-left: 3px solid var(--sage);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--sage-dark);
  line-height: 1.6;
}

.about-credentials {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.credential-item {
  text-align: center;
}

.credential-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
}

.credential-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal-light);
  margin-top: 0.25rem;
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background-color: var(--cream);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  border-color: var(--sage-light);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--sage), var(--sage-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  fill: none;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--charcoal-light);
  font-size: 0.95rem;
}

/* Therapy approaches */
.approaches {
  text-align: center;
}

.approaches h3 {
  margin-bottom: 1.5rem;
}

.approach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.approach-tag {
  padding: 8px 18px;
  background-color: var(--cream);
  border: 1px solid var(--sage-light);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--sage-dark);
  transition: var(--transition);
}

.approach-tag:hover {
  background-color: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

/* --- Specialties --- */
.specialties-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 900px;
  margin: 2rem auto 0;
}

.specialty-badge {
  padding: 6px 16px;
  background-color: rgba(122, 139, 111, 0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--sage-dark);
}

/* --- Fees & Insurance Section --- */
.fees-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.fee-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  border: 2px solid transparent;
}

.fee-card:hover {
  border-color: var(--sage-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.fee-type {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--charcoal-light);
  margin-bottom: 0.75rem;
}

.fee-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--sage);
}

.fee-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--charcoal-light);
}

.fee-detail {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-top: 0.5rem;
}

.insurance-section {
  text-align: center;
}

.insurance-section h3 {
  margin-bottom: 1.5rem;
}

.insurance-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.insurance-item {
  padding: 12px 24px;
  background-color: var(--white);
  border-radius: 12px;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--charcoal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.insurance-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* --- Qualifications Section --- */
.quals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.qual-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.qual-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background-color: rgba(122, 139, 111, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qual-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--sage);
  fill: none;
}

.qual-card h4 {
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.qual-card p {
  color: var(--charcoal-light);
  font-size: 0.9rem;
}

/* --- Contact Section --- */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info>p {
  color: var(--charcoal-light);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background-color: rgba(122, 139, 111, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--sage);
  fill: none;
}

.contact-detail-text h4 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.contact-detail-text p {
  color: var(--charcoal-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-detail-text a:hover {
  color: var(--sage);
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--cream);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contact-form-wrapper h3 {
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background-color: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122, 139, 111, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #B0B0B0;
}

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

.btn-full {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* --- Footer --- */
.footer {
  background-color: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo .logo-branch {
  filter: brightness(0) invert(1) opacity(0.5);
}

.footer-logo .logo-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.footer-logo .logo-amp {
  color: var(--sage-light);
}

.footer p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.back-to-top:hover {
  background-color: var(--sage-light);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem;
    gap: 1.5rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--charcoal) !important;
    font-size: 1.1rem;
  }

  .nav-links .btn-outline {
    color: var(--white) !important;
    background-color: var(--sage);
    border-color: var(--sage);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

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

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .tagline {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-credentials {
    flex-direction: column;
    align-items: center;
  }
}