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

:root {
  --primary-color: #1C2751;
  --primary-dark: #141c3d;
  --secondary-color: #51ACAC;
  --accent-color: #51ACAC;
  --text-dark: #1a1a1a;
  --text-light: #757781;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
}

html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

ul {
  list-style: none;
}

header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 120px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  transition: 0.3s;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

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

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

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--bg-white);
  padding: 3rem 2rem;
  overflow: hidden;
}

.hero-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-image {
  flex: 0 0 auto;
}

.hero-image img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 40px 20px rgba(28, 39, 81, 0.3), 0 0 80px 40px rgba(81, 172, 172, 0.15);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-subtext {
  font-size: 1rem;
  font-style: italic;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

.page-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--bg-white);
  padding: 4rem 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.125rem;
  opacity: 0.9;
}

.page-hero .hero-subtext {
  font-size: 1rem;
  font-style: italic;
  margin-top: 1rem;
  opacity: 0.85;
}

.features {
  padding: 5rem 2rem;
  background-color: var(--bg-light);
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--primary-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border-left: 4px solid var(--secondary-color);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-icon img {
  max-width: 180px;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.feature-card p {
  color: var(--text-light);
}

.cta {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 4rem 2rem;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.services-list {
  padding: 4rem 2rem;
}

.service-item {
  padding: 3rem 0;
  border-bottom: 3px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.service-image {
  flex-shrink: 0;
  width: 180px;
}

.service-image img {
  width: 100%;
  height: auto;
}

.service-item:last-child {
  border-bottom: none;
}

.service-content h2 {
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.service-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
}

.service-features li {
  color: var(--text-dark);
  padding-left: 1.5rem;
  position: relative;
}

.service-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.about-intro {
  padding: 4rem 2rem;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.values {
  padding: 4rem 2rem;
  background-color: var(--bg-light);
}

.values h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.value-card {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.value-card p {
  color: var(--text-light);
}

.team {
  padding: 4rem 2rem;
}

.team h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  padding: 2rem;
}

.member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
}

.team-member h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.member-title {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-member p:last-child {
  color: var(--text-light);
}

.credentials {
  padding: 4rem 2rem;
  background-color: var(--bg-light);
}

.credentials h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 2rem;
}

.credentials-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.credential-item {
  background: white;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.credential-item p {
  color: var(--text-dark);
  margin: 0;
}

.contact-section {
  padding: 4rem 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h2,
.contact-form-wrapper h2 {
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item h3 {
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--text-dark);
}

.intake-prompts {
  background-color: var(--bg-light);
  padding: 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--secondary-color);
}

.intake-prompts p {
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.intake-prompts ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.intake-prompts li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  padding-left: 1.25rem;
  position: relative;
}

.intake-prompts li::before {
  content: "\2022";
  color: var(--secondary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.intake-prompts li:last-child {
  margin-bottom: 0;
}

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

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

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-message {
  padding: 1rem;
  border-radius: 5px;
  display: none;
}

.form-message.success {
  display: block;
  background-color: #c6f6d5;
  color: #276749;
}

.form-message.error {
  display: block;
  background-color: #fed7d7;
  color: #c53030;
}

.legal-content {
  padding: 4rem 2rem;
}

.legal-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-text h2 {
  color: var(--primary-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.legal-text ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-text li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

footer {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 3rem 2rem 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

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

.footer-contact p {
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.6;
  font-size: 0.875rem;
}

.footer-legal {
  margin-top: 0.5rem;
}

.footer-legal a {
  color: var(--bg-white);
  opacity: 0.6;
  font-size: 0.875rem;
  margin: 0 0.5rem;
  text-decoration: none;
}

.footer-legal a:hover {
  opacity: 1;
}

/* Blog Styles */
.blog-list {
  padding: 4rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: var(--bg-white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border-color);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  font-size: 0.875rem;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.blog-link:hover {
  color: var(--primary-color);
}

.blog-archive {
  text-align: center;
  padding-top: 1rem;
}

/* Testimonials */
.testimonials {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.testimonials h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--secondary-color);
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.testimonial-location {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Blog Post Styles */
.blog-post-date {
  font-size: 1rem;
  opacity: 0.85;
  margin-top: 0.5rem;
}

.blog-post {
  padding: 4rem 0;
}

.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
}

.blog-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.blog-post-content h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-post-content h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-post-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.blog-post-content li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.blog-post-content em {
  color: var(--text-light);
  font-size: 0.9rem;
}

.blog-post-content em a {
  color: var(--text-light);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.blog-post-content em a:hover {
  color: var(--secondary-color);
}

.blog-callout {
  background: var(--bg-light);
  border-left: 4px solid var(--secondary-color);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
}

.blog-post-cta {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.blog-post-cta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.blog-back {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.blog-back a {
  color: var(--secondary-color);
  font-weight: 600;
  transition: color 0.2s ease;
}

.blog-back a:hover {
  color: var(--primary-color);
}

/* HubSpot Form Container */
.hubspot-form-container {
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

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

  .hero-layout {
    flex-direction: column;
    text-align: center;
  }

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

  .hero-image img {
    width: 220px;
    height: 220px;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-image {
    width: 140px;
    margin-bottom: 1rem;
  }

  .service-features {
    grid-template-columns: 1fr;
    text-align: left;
  }
}
