* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #f8f6f3;
  color: #231f20;
  line-height: 1.7;
}
p {
  font-family: "Inter", sans-serif;
  font-size: 18px;
}
main {
  padding-top: 100px;
}
main a{
    color: #00a499;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}
.designation {
  color: #00a499;
  margin-bottom: 10px;
}
/* =========================
   CONTAINER
========================= */
.container,
.practice-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

/* =========================
   HERO SECTION
========================= */
.practice-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  display: flex;
  align-items: center;
  background: #f8f6f3;
}

.practice-hero__inner {
  position: relative;
  z-index: 2;
}

.practice-hero__content {
  max-width: 850px;
}

/* =========================
   back to home icon
========================= */
.practice-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #00a499;
  text-decoration: none;
  font-family: monospace;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  margin-bottom: 40px;
}

.practice-hero__back:hover {
  color: #333333;
}

.practice-hero__back:hover .icon--arrow-left {
  transform: translateX(-3px);
}

.practice-hero__back .icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  transition: all 0.3s ease;
}

.practice-hero__back span {
  transition: all 0.3s ease;
}

.practice-hero__back:hover .icon {
  transform: translateX(-3px);
}
/* =========================
   TITLE
========================= */
.practice-hero__title {
  max-width: 56rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: #231f20;
  padding-bottom: 30px;
}

/* =========================
   INTRO
========================= */
.practice-hero__intro {
  max-width: 750px;
  font-size: 18px;
  color: #555;
  margin-top: 20px;
}

.practice-hero-anchor {
  text-decoration: none;
  font-size: 18px;
  color: #00a499;
  transition: 0.3s;
}

em {
  font-style: normal;
  color: #00a499;
}

.practice-hero-anchor:hover {
  color: #00867d;
}

.practice-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--color-ink-border);
}

/* Read More Button Css Code */

#moreText {
  display: none;
}

#moreText.show {
  display: block;
}

.read-more-btn-click {
  color: #00a499;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #00a499;
  margin: 5px;
  transition: 0.3s ease;
  font-size: 1.1rem;
}

.read-more-btn-click:hover {
  color: #131313;
  border-bottom: 1px solid #131313;
}

/* =========================
   BUTTONS
========================= */
.practice-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 30px;
}

.practice-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.35s ease;
}

.practice-hero__button--primary {
  background: #00a499;
  color: #111;
}

.practice-hero__button--primary:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

.practice-hero__button--secondary {
  border: 1px solid #111;
  color: #111;
}

.practice-hero__button--secondary:hover {
  background: #111;
  color: #fff;
}

/*left image large content */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  padding: 60px 0;
}
.content-layout h2 {
  color: #0f172a;
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
}
.content-image {
  position: sticky;
  top: 120px; /* adjust for your header height */
}

.content-image img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.content-text {
  min-width: 0;
}
.content-text p {
  font-size: 18px;
}
.list {
  margin-left: 19px;
  margin-top: 0;
  margin-bottom: 1rem;
}
.list li {
  list-style-type: disc;
  margin-bottom: 10px;
  letter-spacing: 0px;
  font-size: 18px;
}
.list li::marker {
  color: #00a499;
}
@media (max-width: 991px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .content-image {
    position: static;
  }
}

/*paralax image section */

/* ==========================================
   PARALLAX CTA SECTION
========================================== */

.custody-cta-parallax {
  position: relative;
  padding: 120px 0;
  background-image: url("/public/include/images/pages/attorneys/attorney-group-c.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.custody-cta-parallax__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* ==========================================
   CONTENT BOX
========================================== */

.custody-cta-parallax__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px;
  border: 1px solid #00a499;
  border-radius: 8px;
}

/* ==========================================
   HEADING
========================================== */

.custody-cta-parallax__content h2 {
  color: #fff;
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 30px;
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
  text-align: center;
}

/* ==========================================
   CONTENT
========================================== */

.custody-cta-parallax__content p {
  color: #fff;
  line-height: 1.9;
  margin-bottom: 25px;
  opacity: 0.95;
}

.custody-cta-parallax__content p:last-of-type {
  margin-bottom: 0;
}

/* ==========================================
   BUTTON
========================================== */

.custody-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 260px;
  margin: 40px auto 0;
  padding: 18px 35px;
  background: #00a499;
  color: #000;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-transform: none;
}

.custody-cta-btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

.custody-cta-btn:focus {
  color: #fff;
}

.custody-cta-btn svg {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  fill: none;
  stroke: currentColor;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 991px) {
  .custody-cta-parallax {
    background-attachment: scroll;
    padding: 80px 0;
  }

  .custody-cta-parallax__content {
    padding: 35px 25px;
  }

  .custody-cta-parallax__content h2 {
    font-size: 36px;
  }

  .custody-cta-parallax__content p {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .custody-cta-parallax {
    padding: 60px 0;
  }

  .custody-cta-parallax__content {
    padding: 25px 20px;
  }

  .custody-cta-parallax__content h2 {
    font-size: 30px;
  }

  .custody-cta-parallax__content p {
    font-size: 16px;
    line-height: 1.8;
  }

  .custody-cta-btn {
    width: 100%;
    max-width: 320px;
    padding: 16px 25px;
  }
}

/*next section */
/* ==========================================
   APPROACH SECTION
========================================== */

.approach-section {
  padding: 100px 0;
  background: #f8f7f5;
}

.approach-content {
  max-width: 900px;
  text-align: left;
}

.approach-content .section-tag {
  display: inline-block;
  margin-bottom: 18px;
  color: #00a499;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.approach-content h2 {
  max-width: 650px;
  margin-bottom: 30px;
  color: #0f172a;
  font-size: 64px;
  line-height: 1;
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
}

.approach-content p {
  color: #334155;
  font-size: 20px;
  line-height: 1.9;
  margin-bottom: 24px;
}

.approach-content p:last-child {
  margin-bottom: 0;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991px) {
  .approach-section {
    padding: 80px 0;
  }

  .approach-content h2 {
    font-size: 52px;
    max-width: 100%;
  }

  .approach-content p {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .approach-section {
    padding: 60px 0;
  }

  .approach-content h2 {
    font-size: 40px;
    line-height: 1.1;
  }

  .approach-content p {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* next-section */

.jos-content-txt {
  margin: 20px 0;
}

.jos-content-txt h2 {
  max-width: 55rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  color: #231f20;
  margin-top: 60px;
}

.jos-content-txt p {
  max-width: 1000px;
  font-size: 18px;
  color: #555;
  padding-top: 20px;
}
/*==========================================
CHILD CUSTODY CASE TYPES
==========================================*/

.custody-case-types {
  padding: 100px 0;
  background: #f8f7f5;
}

.custody-case-types .section-header {
  max-width: 850px;
  margin: 0 auto 60px;
  text-align: center;
}

.custody-case-types .section-tag {
  display: inline-block;
  margin-bottom: 15px;
  color: #00a499;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.custody-case-types h2 {
  margin-bottom: 20px;
  color: #111827;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 500;
  font-family: "Cormorant Garamond", serif;
}

.custody-case-types .section-header p {
  color: #64748b;
  font-size: 18px;
  line-height: 1.8;
}

.custody-case-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}

.custody-case-card {
  grid-column: span 4;
  padding: 40px;
  background: #f3efe9;
  border: 1px solid #e7e2dc;
  transition: 0.3s ease;
}

.custody-case-card--wide {
  grid-column: span 8;
}

.custody-case-card:hover {
  border-color: #00a499;
  transform: translateY(-4px);
}

.custody-case-card h3 {
  margin-bottom: 20px;
  color: #231f20;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
  font-family: "Cormorant Garamond", serif;
}

.custody-case-card p {
  margin: 0;
  color: #475569;
  line-height: 1.9;
}

/*==========================================
RESPONSIVE
==========================================*/

@media (max-width: 991px) {
  .custody-case-types {
    padding: 80px 0;
  }

  .custody-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .custody-case-card,
  .custody-case-card--wide {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .custody-case-types {
    padding: 60px 0;
  }

  .custody-case-types h2 {
    font-size: 40px;
  }

  .custody-case-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .custody-case-card {
    padding: 30px 25px;
  }

  .custody-case-card h3 {
    font-size: 26px;
  }
}

/*==========================================
RELATED PRACTICE AREAS
==========================================*/

.related-practice-areas {
  padding: 100px 0;
  background: #f8f7f5;
}

.related-practice-areas .section-heading {
  margin-bottom: 50px;
}

.related-practice-areas .section-heading h2 {
  color: #111827;
  font-size: 48px;
  line-height: 1;
  font-weight: 500;
  font-family: "Cormorant Garamond", serif;
  margin: 0;
}

.practice-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #e7e2dc;
}

.related-practice-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  padding: 40px 35px;
  text-decoration: none;
  color: #111827;
  border-right: 1px solid #e7e2dc;
  transition: all 0.35s ease;
  background: #f3efe9;
}

.related-practice-card:last-child {
  border-right: none;
}

.related-practice-card.active,
.related-practice-card:hover {
  background: #00a499;
}
.related-practice-card:hover .practice-label {
  color: black;
}
.practice-label {
  display: block;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9a9596;
  transition: all 0.35s ease;
}

.related-practice-card h3 {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 500;
  font-family: "Cormorant Garamond", serif;
  transition: all 0.35s ease;
  color: #231f20;
}

.practice-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000ba;
}

.practice-link svg {
  transition: transform 0.3s ease;
}

.related-practice-card:hover .practice-link svg {
  transform: translateX(6px);
}

/*==========================================
RESPONSIVE
==========================================*/

@media (max-width: 1200px) {
  .practice-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-practice-card:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 767px) {
  .related-practice-areas {
    padding: 70px 0;
  }

  .related-practice-areas .section-heading h2 {
    font-size: 32px;
  }

  .practice-cards {
    grid-template-columns: 1fr;
  }

  .related-practice-card {
    border-right: none;
    border-bottom: 1px solid #e7e2dc;
    min-height: auto;
    padding: 30px 25px;
  }

  .related-practice-card:last-child {
    border-bottom: none;
  }

  .related-practice-card h3 {
    margin-bottom: 30px;
    font-size: 16px;
  }
}

/* =========================================
   FAQ SECTION
========================================= */

.faq-section {
  padding: 100px 0;
}

.faq-header {
  max-width: 850px;
  margin: 0 auto 60px;
  text-align: center;
}

.faq-header .section-tag {
  display: inline-block;
  margin-bottom: 15px;
  color: #00a499;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.faq-header h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 48px;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 20px;
  font-weight: 700;
}

.faq-header p {
  color: #64748b;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 0;
}

.faq-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

/* =========================================
   FAQ ITEM
========================================= */

.faq-item {
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* =========================================
   QUESTION
========================================= */

.faq-question {
  font-family: "Cormorant Garamond", Georgia, serif;
  width: 100%;
  background: none;
  border: none;
  padding: 28px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
}

/* =========================================
   PLUS / MINUS ICON
========================================= */

.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: #00a499;
  transition: all 0.3s ease;
}

.faq-icon::before {
  width: 20px;
  height: 2px;
  top: 11px;
  left: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 20px;
  top: 2px;
  left: 11px;
}

.faq-item.active .faq-icon::after {
  transform: scaleY(0);
}

/* =========================================
   ANSWER
========================================= */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.faq-answer-inner {
  padding: 0 30px 30px;
}

.faq-answer p {
  margin: 0;
  color: #475569;
  line-height: 1.9;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 991px) {
  .faq-section {
    padding: 80px 0;
  }

  .faq-header h2 {
    font-size: 36px;
  }

  .faq-question {
    font-size: 20px;
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .faq-section {
    padding: 60px 0;
  }

  .faq-header h2 {
    font-size: 30px;
  }

  .faq-header p {
    font-size: 16px;
  }

  .faq-question {
    font-size: 18px;
    padding: 20px;
  }

  .faq-answer-inner {
    padding: 0 20px 20px;
  }

  .faq-answer p {
    font-size: 16px;
  }
}

/*==========================================
CONSULTATION CTA
==========================================*/

.consultation-cta {
  padding: 100px 0;
  background: #f8f7f5;
}

.consultation-cta__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 90px 80px;
  text-align: center;
  border: 2px solid #00a499;
  background: #f3efe9;
}

.consultation-cta .section-tag {
  display: block;
  margin-bottom: 30px;
  color: #00a499;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.consultation-cta h2 {
  max-width: 900px;
  margin: 0 auto 25px;
  color: #111827;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 500;
  font-family: "Cormorant Garamond", serif;
}

.consultation-cta p {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #6b7280;
  font-size: 20px;
  line-height: 1.8;
}

.consultation-cta__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/*==========================================
PRIMARY BUTTON
==========================================*/

.consultation-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 310px;
  height: 74px;
  padding: 0 40px;
  background: #00a499;
  color: #111827;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s ease;
}

.consultation-cta .btn-primary:hover {
  background: #111827;
  color: #fff;
}

.consultation-cta .btn-primary svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/*==========================================
OUTLINE BUTTON
==========================================*/

.consultation-cta .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  height: 74px;
  padding: 0 40px;
  border: 2px solid #111827;
  background: transparent;
  color: #111827;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s ease;
}

.consultation-cta .btn-outline:hover {
  background: #111827;
  color: #fff;
}

/*==========================================
RESPONSIVE
==========================================*/

@media (max-width: 991px) {
  .consultation-cta {
    padding: 80px 0;
  }

  .consultation-cta__inner {
    padding: 70px 40px;
  }

  .consultation-cta p {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .consultation-cta {
    padding: 60px 0;
  }

  .consultation-cta__inner {
    padding: 50px 25px;
  }

  .consultation-cta h2 {
    font-size: 48px;
  }

  .consultation-cta p {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .consultation-cta__actions {
    flex-direction: column;
    gap: 15px;
  }

  .consultation-cta .btn-primary,
  .consultation-cta .btn-outline {
    width: 100%;
    min-width: auto;
  }
}
