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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  background: url('/images/bg-texture.png') top center;
  background-attachment: fixed;
}

a { color: #61ce70; text-decoration: none; transition: color 0.2s; }
a:hover { color: #4baf5a; }

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

h1, h2, h3, h4 { font-family: 'Raleway', sans-serif; font-weight: 400; line-height: 1.3; }

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

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 5.25px 10px rgba(0,0,0,0.133);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  padding: 0 20px;
}

.header-brand a {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  color: #333;
  letter-spacing: 1px;
}

.header-nav a {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  color: #333;
  padding: 8px 14px;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #61ce70;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.header-nav a:hover::after,
.header-nav a.active::after {
  transform: scaleX(1);
}

.header-phone {
  font-weight: 600;
  color: #61ce70 !important;
  white-space: nowrap;
}

.header-phone::after { display: none !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: transform 0.3s, opacity 0.3s;
}

/* === Hero === */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 90px);
  height: calc(100svh - 90px);
  max-height: calc(100vh - 90px);
  max-height: calc(100svh - 90px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top center;
  z-index: 0;
}

.hero-white-wash {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 1;
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: 'Raleway', sans-serif;
}

.hero-card {
  background: rgba(0, 0, 0, 0.60);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 25px;
  padding: 30px 50px;
  opacity: 0;
}

.hero-content .hero-name {
  font-size: 50px;
  font-weight: 300;
  letter-spacing: 2px;
  opacity: 0;
}

.hero-content .hero-tagline {
  font-size: 25px;
  font-weight: 300;
  margin-top: 10px;
  opacity: 0;
}

.hero-content .hero-services {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 20px;
  opacity: 0;
}

/* === Quote Carousel === */
.quotes-section {
  padding: 20px 0;
}

.quote-carousel {
  max-width: 75%;
  margin: 0 auto;
  min-height: 150px;
  position: relative;
  overflow: hidden;
}

.quote-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.quote-slide.active {
  opacity: 1;
}

.quote-slide blockquote {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 2;
  color: #333;
  text-align: center;
}

.quote-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 20px;
}

.quote-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.quote-dot.active {
  background: rgba(0,0,0,0.82);
}

/* === Content Sections === */
.section {
  padding: 50px 0;
}

.section-welcome {
  padding-top: 5px;
}

.section-welcome h2 {
  padding-top: 15px;
  font-size: 35px!important;

}

.section-welcome img {
  width: 70%;
  margin: 0 auto;
}

.two-col {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.two-col > * { flex: 1; }

.section-text h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #333;
  margin-bottom: 20px;
}

.section-text p,
.section-text {
  font-size: 15px;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
}

.section-text a { color: blue; }

.body-text {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  font-size: 15px;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
}

.body-text a { color: blue; }

/* === CTA Band === */
.cta-band {
  padding: 50px 0;
}

.cta-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-text h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 400;
}

.cta-text p {
  margin-top: 10px;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.3s, color 0.3s;
  text-align: center;
}

.btn-accent {
  background: #61ce70;
  color: #fff;
}

.btn-accent:hover {
  background: #4baf5a;
  color: #fff;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

/* === Resources === */
.resources {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.resources h2 {
  text-align: center;
  margin-bottom: 30px;
}

.resources-grid {
  display: flex;
  gap: 40px;
  text-align: center;
}

.resources-grid > * { flex: 1; }
.resources-grid a { color: blue; }

.resources-grid p {
  margin-bottom: 12px;
  text-align: center;
}

.pe-logo {
  display: block;
  max-width: 20%;
  margin: 30px auto 0;
}

/* === Accordion (My Practice) === */
.accordion { margin: 20px 0; }

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-align: left;
}

.accordion-trigger::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 20px;
}

.accordion-item.open .accordion-trigger::after {
  content: '−';
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-body-inner {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.accordion-body-inner ul {
  margin: 10px 0 10px 20px;
}

.accordion-body-inner li {
  margin-bottom: 6px;
}

/* === Office Page === */
.office-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.office-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.office-carousel-track img {
  width: 100%;
  flex-shrink: 0;
  height: 500px;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 2;
}

.carousel-btn:hover { background: rgba(0,0,0,0.7); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.map-embed {
  width: 100%;
  height: 350px;
  border: 0;
}

.office-contact {
  font-size: 15px;
  line-height: 1.8;
}

.office-contact a { color: blue; }

/* === APS Page === */
.aps-columns {
  display: flex;
  gap: 40px;
}

.aps-columns > * { flex: 1; }

.aps-columns h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.aps-columns ul {
  margin: 0 0 0 20px;
}

.aps-columns li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* === Forms Page === */
.forms-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 40px;
  font-size: 15px;
  line-height: 2.2;
}

.forms-list a { color: blue; }

/* === Footer === */
.site-footer {
  text-align: center;
  padding: 30px 20px;
}

.footer-nav {
  margin-bottom: 12px;
}

.footer-nav a {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  color: #333;
  padding: 0 12px;
}

.footer-nav a:hover { color: #61ce70; }

.footer-credentials {
  font-size: 13px;
  color: #666;
}

.footer-credentials a { color: blue; }

/* === Responsive === */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .header-nav {
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    display: none;
  }

  .header-nav.open {
    display: flex;
  }

  .header-nav a {
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
  }

  .header-nav a::after { display: none; }

  .header-nav a:hover,
  .header-nav a.active {
    background: #61ce70;
    color: #fff;
  }

  .hero {
    height: calc(100vh - 90px);
    height: calc(100svh - 90px);
    max-height: calc(100vh - 90px);
    max-height: calc(100svh - 90px);
  }

  .hero-content .hero-name { font-size: 30px; }
  .hero-content .hero-tagline { font-size: 15px; }
  .hero-content .hero-services { font-size: 12px; }
  .hero-card { padding: 20px 25px; }

  .two-col {
    flex-direction: column;
    gap: 20px;
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .resources-grid {
    flex-direction: column;
  }

  .quote-carousel {
    max-width: 95%;
  }

  .pe-logo { max-width: 63%; }

  .aps-columns { flex-direction: column; }

  .office-carousel-track img { height: 300px; }
}

.section-text p {
  margin: 0 0 1rem;
}

.section-text p:last-child {
  margin-bottom: 0;
}

.accordion-body-inner p {
  margin: 0 0 1rem;
}

.accordion-body-inner p:last-child {
  margin-bottom: 0;
}
