@import url('https://fonts.googleapis.com/css2?family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #1f2937;
  --color-text-muted: #4b5563;
  --color-brand: #b91c1c;
  --color-brand-dark: #991b1b;
  --color-border: #e5e7eb;
  /* Section backgrounds — alternating for clear separation */
  --section-1: #f3f4f6;
  --section-2: #ffffff;
  --section-3: #f8fafc;
  --section-4: #fff5f5;
  --section-5: #eef2f7;
  --section-divider: rgba(15, 23, 42, 0.08);
  /* Typography — restrained */
  --color-heading: #1e293b;
  --color-body-strong: #334155;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  color: var(--color-text);
  background: #fafbfc;
}

.nav-container{
    max-width: 1310px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#nav{
    font-size: 14px;
    font-weight: 400;
    align-content: center;
    height: 80px;
    background-color: white;
    padding: 0 20px;
    /* color: white; */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.logo{
    font-family: "Playfair", serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: bold;
    font-style: italic;
    color: var(--color-text);

}
#nav a{
    text-decoration: none;
    color: var(--color-text);
    font-size: 1rem;
    margin: 0 15px;
}

#nav a.nav-link:hover {
    color: var(--color-brand);
    transition: color 0.3s ease;
}

/* Nav CTA: white text on red (override #nav a color) */
#nav a.nav-cta,
#nav a#nav-button.nav-cta {
    color: #ffffff !important;
    background-color: var(--color-brand);
}

#nav a.nav-cta:hover,
#nav a#nav-button.nav-cta:hover {
    color: #ffffff !important;
    background-color: var(--color-brand-dark);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.nav-link--active {
    color: var(--color-brand) !important;
    font-weight: 600;
    box-shadow: inset 0 -2px 0 0 var(--color-brand);
    padding-bottom: 2px;
}

/* Resources: Blog + FAQ tucked under expandable dropdown */
.nav-resources-dropdown {
  position: relative;
  margin: 0 15px;
}

.nav-resources-dropdown__summary {
  list-style: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 4px 0;
  user-select: none;
}

.nav-resources-dropdown__summary::-webkit-details-marker {
  display: none;
}

.nav-resources-dropdown__summary::after {
  content: "▾";
  display: inline-block;
  font-size: 0.65em;
  margin-left: 5px;
  opacity: 0.65;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.nav-resources-dropdown[open] > .nav-resources-dropdown__summary::after {
  transform: rotate(-180deg);
}

.nav-resources-dropdown__summary:hover {
  color: var(--color-brand);
}

.nav-resources-dropdown__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--color-border);
  padding: 6px 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#nav .nav-resources-dropdown__link {
  margin: 0 !important;
  padding: 10px 20px !important;
  display: block;
  text-align: left;
  border-radius: 0;
}

#nav .nav-resources-dropdown__link.nav-link--active {
  box-shadow: none;
  border-left: 3px solid var(--color-brand);
  padding-left: 17px !important;
  background: rgba(185, 28, 28, 0.06);
  font-weight: 600;
}

.nav-resources-dropdown:has(.nav-link--active) > .nav-resources-dropdown__summary {
  color: var(--color-brand);
  font-weight: 600;
}

#hero {
  min-height: calc(100vh - 80px);
  position: relative;
  background-image: url("assets/pexels-adrien-olichon-1257089-3137056.jpg");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  padding: 120px 10%;
  color: #f9fafb;
}

#hero h1{
color: #ffffff;
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
/* dark overlay */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.78),
    rgba(15, 23, 42, 0.48)
  );
  z-index: 0;
}

/* keep content above overlay */
 #hero > * {
  position: relative;
  z-index: 1;
}

#hero .container p {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* #hero {
  position: relative;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.3)
  );
} */



.section{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 630px));
    gap: 50px;
    justify-content: center;
    align-items: center;
    padding: 72px 20px;

}

.section:nth-child(even) {
  background: #f8f9fb;
}

/* Team / inner pages: single-column layout (not 2-col grid); full-bleed bg */
.team-page.section {
  display: flex;
  flex-direction: column;
  max-width: none;
  margin: 0;
  padding: 72px 0;
  width: 100%;
  background: var(--section-2);
  grid-template-columns: unset;
  align-items: stretch;
}

.team-page.section > * {
  max-width: 1310px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Blog listing page */
.blog-container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 72px 20px;
  background-color: var(--section-3);
  background-image: radial-gradient(
    ellipse 80% 45% at 50% 0%,
    rgba(185, 28, 28, 0.035) 0%,
    transparent 52%
  );
  min-height: 50vh;
}

.blog-container .heading-container,
.blog-container .blog-grid {
  max-width: 1310px;
  margin-left: auto;
  margin-right: auto;
}


.hero-actions {
  display: flex;
  gap: 15px;
}

/* #hero {
  min-height: calc(100vh - 80px);
} */

 /* hero image */
.hero-image{
  display: flex;
  flex-direction: column;
  justify-content: left;
  padding: 5px 30px;
  color: white;
}

/* .hero-image li{
  font-family: "Inter", sans-serif;
  font-size: 18px;
  margin-bottom: 20px;
} */

.service-list li::marker{
  color: #b91c1c;
  font-size: 20px;
}

/* .hero-image ul{
  padding-left: 18px;
  margin: 0px;
} */

ul{
  padding-left: 18px;
  margin: 0px;
}

li{
  font-family: "Inter", sans-serif;
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-image h3 {
  font-family: "Playfair", serif;
  color: #f9fafb;
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
  margin-top: 15px;
}

.hero-image p{
  font-family: "Inter", sans-serif;
  color: #f9fafb;
  opacity: 0.7;
  line-height: 24px;
  font-size: 17px;
  margin-bottom: 15px;
}

.hero-image .cta-button{
  text-align: center;
}

.about-image{
  display: flex;
  flex-direction: column;
  justify-content: left;
  padding: 5px 30px;
}

.about-text li{
  font-family: "Inter", sans-serif;
  font-size: 18px;
  margin-bottom: 20px;
  opacity: 0.8;
}

#about {
  background-color: var(--section-1);
  background-image: radial-gradient(
    ellipse 90% 55% at 92% 8%,
    rgba(185, 28, 28, 0.04) 0%,
    transparent 58%
  );
}

#practice-areas{
    display: flex;
    flex-direction: column;
    padding: 72px 20px;
    max-width: none;
    width: 100%;
    margin: 0;
    background: var(--section-2);
}

#practice-areas .heading-container,
#practice-areas .card-grid {
    max-width: 1310px;
    margin-left: auto;
    margin-right: auto;
}

#team{
    display: flex;
    flex-direction: column;
    padding: 72px 0;
    max-width: none;
    width: 100%;
    margin: 0;
    background: var(--section-3);
}

#team .heading-container,
#team .team-grid2 {
    max-width: 1310px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    box-sizing: border-box;
}

#clients{
    display: flex;
    flex-direction: column;
    padding: 72px 20px;
    margin: 0;
    width: 100%;
    max-width: none;
    background-color: var(--section-5);
}

#clients .heading-container,
#clients .carousel-wrapper,
#clients .clients-note {
    max-width: 1310px;
    margin-left: auto;
    margin-right: auto;
}

/* #contact{
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
} */

/* #contact .heading-container{
  max-width: 1310px;
  margin: auto;
} */

.contact-cont{
  display: grid;
  grid-template-columns: 630px 630px;
  gap: 50px;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
}

#contact .left-contact{
  display: grid;
  gap: 25px;
}



.card-grid {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
#clients .card-grid {
    /* padding: 0 calc((100vw- 1310px)/2); */
    max-width: 1310px;
    margin: auto;
}
/* #practice-areas *{
    text-align: center;

} */

.heading-container {
  max-width: 750px;
  text-align: center;
  margin: 0 auto 30px auto;
}

/* One subtle accent bar — only on main section intros (not About, Contact, or in-card titles) */
#practice-areas .heading-container h2,
#team .heading-container h2,
#clients .heading-container h2,
.team-page .heading-container h2,
.blog-container .heading-container h2 {
  color: var(--color-heading);
  letter-spacing: -0.015em;
  margin-bottom: 0.65rem;
}

#practice-areas .heading-container h2::after,
#team .heading-container h2::after,
#clients .heading-container h2::after,
.team-page .heading-container h2::after,
.blog-container .heading-container h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0.55rem auto 0;
  border-radius: 2px;
  background: var(--color-brand);
}

.heading-container .sub-text {
  margin-top: 0.35rem;
}



/* cards */
.card{
    background-color: #1f2937;
    width: 630px;
    height: 350px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
 /*new cards*/
.card-list .card-item{
    user-select: none;
    background: white;
    border: 1px solid #ddd;
    padding: 18px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    margin: 10px;
    min-width: 0;
}

.card-list .card-link .card-image2 {

    aspect-ratio: 9/16;
    object-fit: cover;
    border-radius: 10px;
}
.card-image2 {
  height: 500px;      /* adjust to taste */
  object-fit: cover;  /* prevents distortion */
  border-radius: 8px;
}

.card-list .card-item{
    width: auto;
}
.card-wrapper{
    width: 100%;
    max-width: 1310px;
    margin: 0 auto 35px;
    padding: 20px 10px;
    overflow: hidden;
}

.team-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.team-carousel::-webkit-scrollbar {
  display: none;
}

#team .team-carousel-wrapper {
  --carousel-fade-bg: var(--section-3);
}

#clients .carousel-wrapper {
  --carousel-fade-bg: var(--section-5);
}

.team-slide {
  flex: 0 0 calc((100% - 40px) / 3);
}

.type-1{
    height: 150px;
    border: 1px solid #E5E7EB;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0;
    background-color: white;
}
.type-1 h3{
    margin: 0 0 5px 0
}

.type-2{
    background-color: white;
    width: 630px;
    height: 280px;
    border-radius: 5px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 0;
}

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

h1{
    font-family: "Playfair", serif;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
}

h2 {
  font-family: "Playfair", serif;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--color-heading);
}

h3 {
  font-family: "Playfair", serif;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--color-heading);
}

p{
    color: var(--color-text-muted);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
    margin-top: 0px;
    margin-bottom: 25px;
}

.card,
.blog-card,
.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.blog-card:hover,
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Clients Carousel */
#clients p{
    margin-bottom: 10px;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1310px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.clients-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  min-width: 0;
  scrollbar-width: none;
}

.clients-carousel::-webkit-scrollbar {
  display: none;
}

.client-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}

/* Client logos: logo + name only */
#clients .client-card.area {
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 0;
  padding: 1.5rem 1rem;
  min-height: 170px;
}

#clients .client-logo-frame {
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

#clients .client-logo-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  object-position: center;
}

#clients .client-card__name {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: var(--color-text);
}

/* Veenak UK — green background on logo area only */
#clients .client-card--veenuk .client-logo-frame {
  background: linear-gradient(160deg, #15803d 0%, #22c55e 55%, #4ade80 100%);
  border-radius: 10px;
  padding: 14px 12px;
  margin-bottom: 0.75rem;
}

#clients .client-card--veenuk .client-logo-img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

#clients h3{
    margin: 0px;
}
.accent{
    font-size: 14px;
    font-weight: 600;
    color: #b91c1c
}

.sub-text {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  color: var(--color-body-strong);
  line-height: 1.62;
}

.comment-text{
    font-size: 16px;
    font-family: "Inter", sans-serif;


}

.tag-line {
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  font-family: "Inter", sans-serif;
  color: var(--color-text);
  line-height: 1.68;
}

.metrix-text{
    font-size: 16px;
    font-family: "Inter", sans-serif;
}


.metrix{
    font-size: 36px;
}

.area {
  display: flex;
  flex-direction: column;
  align-items: start;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  margin-bottom: 20px;
}

.area:hover {
  background-color: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
  transition: box-shadow 0.25s ease;
}

/* #about p{
    font-size: 18px;
} */

.team-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

 .card-text{
    font-style: italic;
}

.cta-button{
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    border: none;
    background-color: var(--color-brand);
    color: white;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
 }
 .cta-button:hover{
    background-color: var(--color-brand-dark);
    transition: background-color 0.3s ease;
 }

 .learn {
  background-color: transparent;
  border: 1px solid #b91c1c;
  color: #b91c1c;
}

.learn:hover {
  background-color: #fee2e2;
}

.cta-button.small {
  padding: 10px 16px;
  font-size: 13px;
}

.profile-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

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

.card-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
  margin-bottom: 15px;
}

.card-name {
  font-size: 1.5em;
  margin: 10px 0 5px;
  text-align: center;
  font-family: "Playfair", serif;
  font-weight: 700;
  color: var(--color-heading);
}

.card-role {
  color: #b91c1c;
  margin-bottom: 16px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

.card-bio {
  font-size: 0.95em;
  color: #444;
  text-align: center;
  margin-bottom: 15px;
  padding: 0 10px;
}

.card-contact {
  margin-top: auto;
  font-weight: 400;
  font-style: italic;
  color: #333;
  font-size: 0.75em;
  text-align: center;
}

.card-contact:hover{
    color:#b91c1c;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  background-color: #fee2e2;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.svg-icon {
  width: 32px;
  height: 32px;
  margin: 12px;
  transition: filter 0.3s ease;
}


.area:hover .icon-button {
  background: red;
}

.area:hover .svg-icon {
  filter: brightness(0) invert(1); /* turns it white */
}


.area-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--color-heading);
}

.section-2{
    margin: 0;
}

#footer{
    background-color: #1f2937;
    color: white;
    padding: 20px 0;
    margin: 0;
    /* text-align: center; */
}

.footer-text{
    font-size: 14px;
    font-family: "Inter", sans-serif;
}

#footer a{
    /* color: #b91c1c; */
    color: white;
    text-decoration: none;
}

#footer li{
    list-style: none;
    margin: 5px 0px;
}

#footer ul{
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: start;
    flex-wrap: wrap;
}

/* #footer a:hover{
    /* text-decorat ion: underline; */


.footer-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
}
.footer-col{
    /* justify-items: start; */
    /* justify-items: start; */
    text-align: left;
    width: 25%;

}

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

.footer-col h4{
    font-family: "Playfair", serif;
    font-size: 1.5em;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 25px;
    position: relative;
}

#footer p{
    font-family: "Inter", sans-serif;
    color:white;
    font-size: 16px;
    line-height: 30px;
    margin-top: 0px;
}

.footer-col h4::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #b91c1c;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}


#footer ul li a:hover{
    color: #b91c1c;
    transition: color 0.3s ease;
    padding-left: 10px;
}

#footer  .mail-link{
    color: #b91c1c;
    text-decoration: none;
}

.clients-note {
  text-align: center;
  font-style: italic;
  font-size: 14px;
  margin-top: 20px;
}

#contact{
    background-color: var(--section-3);
}

.contact-container{
    /* height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly; */
    display: grid;
    grid-template-columns: 630px 630px;
    gap: 50px;
    max-width: 1310px;
    margin: auto;
    padding: 60px 20px;

}

.contact-right{
    display: grid;
    gap: 1rem;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    color: black;
    padding: 60px 40px;

    /* flex-direction: column;
    align-items: start;
    gap: 20px; */
}

.contact-input{
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    border-radius: 5px;
    background-color: white;
    font-family: "Inter", sans-serif;
}

/* Contact */
#contact h2 {
  text-align: start;
  margin-bottom: 0;
}

#contact h3{
  margin-top: 0;
}

.left-contact .heading-container{
  text-align: start;
  margin: 0;
}

.contact-left h3 {
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--color-brand);
  color: var(--color-heading);
}

.contact-details p {
  margin-bottom: 10px;
  font-size: 16px;
}

.contact-right textarea {
  height: 100px;
  padding-top: 15px;
  resize: none;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

input,
textarea,
button,
select{
  font: inherit;
}

.form-group{
  display: grid;
  gap: 0.5rem;
}

label{
  /* text-transform: uppercase; */
  font-family: "Inter", sans-serif;
  font-weight: 500;
  color: #374151;
  font-size: 1rem;
}

input{
  /* width: 100%; */
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 1ex 2ex;
}


.contact-right button{
  justify-self: start;
}

/* p:has(#policy-text){
  font-size: 1px;
  color: #6b7280;
  margin-top: -10px;
  margin-bottom: 10px;
} */

/* Inputs hover/focus */
.contact-input:focus,
.contact-right input:focus,
.contact-right textarea:focus {
  border: 1px solid #b91c1c;
}


/* Carousel buttons */
.carousel-btn {
  background-color: #1f2937;
  color: white;
  border: none;
  font-size: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background-color: #b91c1c;
}

.carousel-btn.left {
  margin-right: 10px;
}

.carousel-btn.right {
  margin-left: 10px;
}


/* Footer note */
/* Card styling */
.contact-card {
  background: #ffffff;
  padding: 40px;
  /* border-radius: 20px; */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  margin-bottom: 35px;
}

.contact-card h3 {
  margin-bottom: 25px;
}


/* List */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
}


/* SVG icons */
.icon {
  width: 22px;
  height: 22px;
  fill: #0b3c5d; /* your brand color */
  flex-shrink: 0;
}

/* Blog posts */
.blog-grid {
  display: grid;
  gap: 24px;
  margin: 40px 40px;

  /* desktop: max 3 */
  grid-template-columns: repeat(3, 1fr);
}

/* tablet */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* mobile */
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-content {
  padding: 16px;
}

.blog-category {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.6;
}

.blog-title {
  margin: 8px 0;
  font-size: 18px;
}

.blog-summary {
  font-size: 14px;
  line-height: 1.5;
}

.blog-meta {
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.6;
}



#hero {
    background-position: center;
    background-size: cover;
    }



/* FAQ styling*/

.faq {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 72px 20px 96px;
  background-color: var(--section-3);
  background-image: radial-gradient(
    ellipse 85% 50% at 10% 0%,
    rgba(30, 58, 95, 0.045) 0%,
    transparent 55%
  );
  min-height: 50vh;
}

.faq h2 {
  color: var(--color-heading);
  text-align: center;
}

.faq h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0.55rem auto 1.25rem;
  border-radius: 2px;
  background: var(--color-brand);
}

.faq > * {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq details {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
  cursor: pointer;
}

.faq summary {
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none; /* hide default arrow */
}

.faq summary::after {
  content: "+";
  float: right;
  font-size: 20px;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin-top: 12px;
  color: #555;
}

/*. Nav Burger*/

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  border: none;
  background: transparent;
  padding: 0;
}

.burger span {
  width: 28px;
  height: 3px;
  background: #000;
  transition: 0.3s ease;
}

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

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

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


/* Tablet Mode (< 1024px) */

@media (max-width: 1024px) {

  .section,
  .contact-cont {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 20px;
    margin-top: 0px;
  }

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

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

  .team-slide,
  .client-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  h1 {
    font-size: 48px;
    line-height: 52px;
  }

  h2 {
    font-size: 40px;
  }

  .stats-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile mode (<640px) */
@media (max-width: 640px) {

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  #nav {
    padding: 0 12px;
    height: 72px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .team-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  #hero, #about{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 56px 16px;
  }

  #practice-areas,
  #team,
  #clients,
  #contact {
    padding: 56px 16px;
  }

  .type-2{
    width: auto;
  }

  .hero-image{
    width: auto;
    height: auto;
    padding-bottom: 20px;
  }

  #hero h1{
    text-align: center;
  }

  #hero p:not(.comment-text) {
    text-align: center;
  }

  .about-image, .type-1{
    height: auto;
  }

  #about .card-text{
    margin-bottom: 5px;
  }

  .container h2{
    text-align: center;
  }

  .footer-row {
    flex-direction: column;
  }

  .footer-col {
    width: 100%;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  #firm-stats {
    padding: 8px 16px 28px;
  }

  h1 {
    font-size: 36px;
    line-height: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .cta-button {
    width: auto;
    min-width: 160px;
    padding: 10px 16px;
    font-size: 13px;
    text-align: center;
  }
}

/* Carousel */
.carousel-scroll-hint {
  display: none;
}

@media (max-width: 768px) {

  .carousel-wrapper {
    overflow: hidden;
    position: relative;
  }

  /* Edge fades so it’s obvious the row continues off-screen */
  .carousel-wrapper::before,
  .carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    z-index: 1;
    pointer-events: none;
  }

  .carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--carousel-fade-bg, var(--color-surface)), transparent);
  }

  .carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--carousel-fade-bg, var(--color-surface)), transparent);
  }

  .team-carousel,
  .clients-carousel {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 41, 55, 0.4) transparent;
  }

  .team-carousel::-webkit-scrollbar,
  .clients-carousel::-webkit-scrollbar {
    display: block;
    height: 6px;
  }

  .team-carousel::-webkit-scrollbar-thumb,
  .clients-carousel::-webkit-scrollbar-thumb {
    background: rgba(31, 41, 55, 0.35);
    border-radius: 3px;
  }

  .team-slide,
  .client-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .carousel-btn {
    display: none; /* Hide arrows on mobile */
  }

  .carousel-scroll-hint {
    display: block;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin: 6px 0 0;
    letter-spacing: 0.03em;
  }

  #team .carousel-scroll-hint {
    margin-top: 14px;
  }

}

/* Mobile scroll motion */
.mobile-reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .js-mobile-motion .mobile-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }

  .js-mobile-motion .mobile-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Burger activation */
@media (max-width: 910px) {

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 30px 0;

    display: none;
  }

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

  .nav-resources-dropdown {
    width: 100%;
    max-width: 320px;
    margin: 0;
    text-align: center;
  }

  .nav-resources-dropdown__summary {
    display: inline-block;
  }

  .nav-resources-dropdown__panel {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 12px;
    box-shadow: none;
    border-radius: 8px;
    align-items: stretch;
  }

  #nav .nav-resources-dropdown__link {
    text-align: center;
  }

  #nav .nav-resources-dropdown__link.nav-link--active {
    border-left: none;
    padding-left: 20px !important;
    border-bottom: 2px solid var(--color-brand);
    padding-bottom: 8px !important;
  }

  .burger {
    display: flex;
  }

}

/*. add ons */

.cta-button {
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


/* team page*/
.team-page {
  display: flex;
  flex-direction: column
  /*padding: 100px 6%;*/
}

.team-group {
  margin-top: 0px;
}

.team-category {
  margin-bottom: 30px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  font-family: "Playfair", serif;
  color: var(--color-heading);
  padding-left: 12px;
  border-left: 3px solid var(--color-brand);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  width: 300px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.team-info {
  padding: 20px;
}

.team-info h4 {
  margin-bottom: 5px;
  font-family: "Playfair", serif;
  font-size: 1.5em;
  color: var(--color-heading);
}

.role {
  color: #b91c1c;
  font-size: 14px;
  font-weight:600;
  opacity: 0.8;
  margin-bottom: 10px;
}


.email {
  font-size: clamp(9px, 0.95vw, 13px);
  color: #000;
  text-decoration: none;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
  line-height: 1.4;
}

.email:hover {
  text-decoration: underline;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Mobile: center narrative body text; keep nav + forms readable */
@media (max-width: 768px) {
  body {
    text-align: center;
  }

  #nav,
  #nav .nav-container,
  #nav .logo,
  #nav a {
    text-align: left;
  }

  .contact-right,
  .contact-right label,
  .contact-right input,
  .contact-right textarea,
  .contact-right button,
  .contact-right p {
    text-align: left;
  }

  /* Centred elements — headings, labels, metadata */
  section .heading-container,
  .clients-note,
  .blog-meta,
  .blog-category,
  .role,
  .team-info,
  .team-category,
  .stat-label,
  .accent,
  #clients > p {
    text-align: center;
  }

  /* Justified body copy */
  section p:not(.contact-right p),
  section .heading-container p,
  .tag-line,
  .sub-text,
  .comment-text,
  .blog-summary,
  .blog-content,
  .faq p {
    text-align: justify;
  }

  section h1,
  section h2,
  section h3,
  .area-heading {
    text-align: center;
  }

  .area-heading {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
    align-items: center;
  }

  /* Lists: restore left-aligned bullets */
  li {
    text-align: left;
  }

  ul.service-list,
  .about-text {
    padding-left: 18px;
    list-style-position: outside;
    text-align: left;
  }

  .team-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .team-card {
    width: 100%;
    max-width: 320px;
  }

  .blog-grid {
    margin: 24px 0;
  }

  .blog-container,
  .faq {
    padding-left: 16px;
    padding-right: 16px;
  }

  .team-page.section {
    padding-left: 16px;
    padding-right: 16px;
  }

  #contact h2,
  .left-contact .heading-container,
  .contact-left h3,
  .contact-left p {
    text-align: center;
  }

  .contact-cont {
    padding-top: 48px;
    padding-left: 0;
    padding-right: 0;
  }

  .contact-right {
    padding: 36px 20px;
  }

  .contact-input {
    width: 100%;
    max-width: 100%;
  }

  #footer,
  #footer .footer-col,
  #footer ul {
    text-align: center;
  }

  #footer ul {
    align-items: center;
  }
}

/* Floating mobile call CTA */
.mobile-call-fab {
  display: none;
}

@media (max-width: 768px) {
  .mobile-call-fab {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(185, 28, 28, 0.82);
    color: #ffffff;
    text-decoration: none;
    font-size: 28px;
    line-height: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
    z-index: 1250;
    backdrop-filter: blur(2px);
  }

  .mobile-call-icon-svg {
    display: block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }
}

/* Compact stats section under About */
#firm-stats {
  padding: 16px 20px 36px;
  background: var(--section-2);
}

.stats-container {
  max-width: 1310px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}

.stat-value {
  margin: 0 0 6px 0;
  font-family: "Playfair", serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1;
  color: var(--color-brand);
}

.stat-label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ================================================
   PAGE BANNER — inner page hero strip
   ================================================ */
.page-banner {
  position: relative;
  background-image: url("assets/pexels-adrien-olichon-1257089-3137068.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  padding: 88px 20px;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.88),
    rgba(15, 23, 42, 0.58)
  );
  z-index: 0;
}

.page-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 1310px;
  margin: 0 auto;
}

.page-banner__breadcrumb {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.58);
  margin: 0 0 16px;
  letter-spacing: 0.03em;
}

.page-banner__breadcrumb a {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
}

.page-banner__breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.page-banner__title {
  font-family: "Playfair", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
  margin: 0 0 14px;
  line-height: 1.1;
}

.page-banner__sub {
  font-family: "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.65;
  margin: 0;
  max-width: 580px;
}

/* ================================================
   PAGE CTA STRIP — closing strip before footer
   ================================================ */
.page-cta-strip {
  background: #1e293b;
  padding: 76px 20px;
  text-align: center;
}

.page-cta-strip__inner {
  max-width: 680px;
  margin: 0 auto;
}

.page-cta-strip__title {
  font-family: "Playfair", serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.2;
}

.page-cta-strip__sub {
  font-family: "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 30px;
}

.page-cta-strip__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button.outline-white {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.cta-button.outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: none;
  transform: translateY(-3px);
}

/* ================================================
   TEAM PAGE — full-width alternating group bands
   ================================================ */

/* Remove section padding; groups own their spacing */
.team-page.section {
  padding: 0;
}

/* Stats bar between banner and groups */
.team-stats-bar {
  background: var(--section-1);
  padding: 28px 20px;
  border-bottom: 1px solid var(--color-border);
}

/* Override the .team-page.section > * max-width constraint */
.team-page .team-group {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 68px 20px;
  width: 100%;
  background: var(--section-2);
}

.team-page .team-group--alt {
  background: var(--section-3);
}

/* Content wrapper constrains to 1310px */
.team-group__inner {
  max-width: 1310px;
  margin: 0 auto;
}

/* ================================================
   FAQ — grouped categories
   ================================================ */
.faq-group {
  margin-bottom: 12px;
}

.faq-group__label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand);
  max-width: 800px;
  margin: 0 auto 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

/* FAQ callout — "Still have questions?" */
.faq-callout {
  max-width: 800px;
  margin: 44px auto 0;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 44px 40px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.faq-callout__title {
  font-family: "Playfair", serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 10px;
}

.faq-callout__sub {
  font-family: "Inter", sans-serif;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 24px;
}

.faq-callout__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================
   MOBILE — paragraph justification & list fix
   ================================================ */
@media (max-width: 768px) {

  /* Paragraphs: justify instead of center */
  section p:not(.contact-right p),
  .tag-line,
  .sub-text,
  .comment-text,
  .blog-summary,
  .blog-content,
  .faq p {
    text-align: justify;
  }

  /* Lists: restore left-aligned bullets */
  li {
    text-align: left;
  }

  ul.service-list,
  .about-text {
    padding-left: 18px;
    list-style-position: outside;
    text-align: left;
  }

  /* .team-category: swap border-left for a centred underline bar */
  .team-category {
    border-left: none;
    padding-left: 0;
  }

  .team-category::after {
    content: "";
    display: block;
    width: 2.75rem;
    height: 3px;
    margin: 0.4rem auto 0;
    border-radius: 2px;
    background: var(--color-brand);
  }

  /* .contact-left h3 ("Let's Talk"): swap border-left for centred underline */
  .contact-left h3 {
    border-left: none;
    padding-left: 0;
  }

  .contact-left h3::after {
    content: "";
    display: block;
    width: 2.75rem;
    height: 3px;
    margin: 0.4rem auto 0;
    border-radius: 2px;
    background: var(--color-brand);
  }

  /* Footer h4 accent: recentre the absolute-positioned bar */
  .footer-col h4::before {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Team carousel cards (index.html): keep name, role, contact centred */
  #team .card-role,
  #team .card-contact {
    text-align: center;
  }

  /* Sub-text for key sections: centre instead of justify */
  #team .sub-text,
  #practice-areas .sub-text,
  #clients .sub-text,
  #contact .sub-text {
    text-align: center;
  }

  /* Team page (team.html) card info: centre h4, role, email */
  .team-page .team-info h4,
  .team-page .team-info p,
  .team-page .team-info a {
    text-align: center;
  }
}

/* Small mobile adjustments for new components */
@media (max-width: 640px) {
  .page-banner {
    padding: 60px 16px;
  }

  .page-cta-strip {
    padding: 56px 16px;
  }

  .faq-callout {
    padding: 28px 20px;
  }

  .team-page .team-group {
    padding: 52px 16px;
  }
}

