:root {
    --color-primary: #004157;
    --color-background: #F8F7F3;
    --color-secondary-background: #EEF2F2;
    --color-text: #252A2B;
    --color-muted-text: #687377;
    --color-light-teal: #D9E5E7;
    --color-warm-accent: #B49A78;
    --color-white: #FFFFFF;
    --bg-gradient: linear-gradient( 180deg, var(--color-primary) 0%, var(--color-primary) 58%, #F8F7F3 58%, #F8F7F3 100% );
    --heading-font: "Cormorant Garamond",Georgia, 'Times New Roman', Times, serif;
    --text-font: "Lato",Georgia, 'Times New Roman', Times, serif;
}


html, body {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-x: clip; /* unlike hidden, doesn't create a scroll container, so position: sticky works */
    background:var(--color-background);
    font-family:var(--text-font);
}
.homepage-title{
    font-size:48px!important;
}
/* Custom Navbar */
.custom-navbar {
    font-family: var(--text-font);
    background-color: var(--color-background);
    border-bottom: 1px solid #B49A7866;
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    z-index: 30000;
}
.dropdown-hover {
    position: relative;
}
.dropdown-hover:hover .dropdown-menu {
    display: block !important;
    margin-top: 105px;
}
    .dropdown-hover:hover > .dropdown-menu {
        display: block !important;
        margin-top: 0; /* Prevents physical gap caused by default Bootstrap margin */
        animation: fadeIn 0.2s ease-in-out;
    }

    /* 3. Invisible bridge: fills any hover gap between parent link and menu */
    .dropdown-hover  > .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -15px; /* Extends hover target 15px upwards to overlap parent link */
        left: 0;
        right: 0;
        height: 15px;
        background: transparent;
    }

.brand-logo{
    width:100%;
    height:90px;
    object-fit:cover;
}
.btn-navy {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 9.6px 20px;
    font-weight: 600;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 13px;
    font-family: var(--text-font);
    text-decoration: none;
}
.btn-gray {
    background-color: #abc2a6 !important;
    color: var(--color-primary) !important;
}
.btn-radius {
    border-radius: 4px;
}
.nav-icon{
    color:var(--color-text);
    font-weight:200;
}

/*.btn-navy:hover,
.btn-navy:focus {
    box-shadow: 0 6px 10px -4px var(--color-primary);
    transform: translateY(-3px);
    transition: all 0.3s ease;
    color: var(--color-white)
}*/
.btn-navy:hover,
.btn-navy:focus {
    box-shadow: 0 6px 10px -4px #abc2a6;
    transform: translateY(-3px);
    transition: all 0.3s ease;
    color: var(--color-primary)
}


.rotate-45{
    transform:rotate(45deg);
}
.rotate-90 {
    transform: rotate(90deg);
}
.rotate-neg90 {
    transform: rotate(-90deg);
}
/* Nav Link Hover States */
.custom-nav-link {
    color: var(--color-text);
    font-size: 13px;
    font-weight: 500;
    position: relative;
    text-decoration: none;
}


.custom-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Normal links */
.custom-nav-link:hover::after,
.custom-nav-link.active::after {
    width: 100%;
}

/* Dropdown link — no underline */
.dropdown .custom-nav-link::after {
    display: none !important;
}


.dropdown-icon{
    font-size:13px;
    color:var(--color-text)
}

/* Header styling */
/* Hide sublist by default */
.dropdown-sublist {
    display: none;
    border-left: 2px solid rgba(0, 0, 0, 0.08); /* Optional vertical accent line */
    margin-left: 0.5rem !important;
}

/* Show sublist when parent container is hovered */
.dropdown-item-group:hover .dropdown-sublist {
    display: block;
}

.dropdown-li-header {
    font-size: 0.85rem;
    color: var(--color-text, #111111);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

.dropdown-li {
    font-size: 0.825rem;
    color: var(--color-text);
}

/* Sub-items styling */
.dropdown-li-u {
    font-size: 0.825rem;
    color: var(--color-text, #111111);
    opacity: 0.65; /* Lower opacity for subtle hierarchy */
    text-decoration: none;
    padding-left: 4px;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    border-radius: 4px;
}

    /* Hover effect on sub-items */
    .dropdown-li-u:hover {
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.04);
    }
/*Section hero styles*/

.hero-section {
    margin-top:5rem;
    min-height: calc(100vh - 70px);
    padding: 80px 20px;
}

.hero-content {
    max-width: 1100px;
}

/* Top Category Label */
.hero-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    color: #B49A78;
}

    .hero-label span {
        margin: 0 4px;
    }

/* Main Heading */
.hero-title {
    margin: 0 auto;
    max-width: 1050px;
    font-family: var(--heading-font);
    font-weight:800;
    font-size: clamp(2.2rem,4.6vw,4.6rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--color-primary);
}
.hero-title span{
    display:block;
    white-space:nowrap;
}

/* Decorative Divider */
.hero-divider {
    width: 48px;
    height: 2px;
    border-radius: 1px;
    background-color: #b49a78;
}

/* Description */
.hero-description {
    font-size: 0.9rem;
  font-family:var(--text-font);
    color: var(--color-muted-text);
    margin-bottom:2rem;
}



/*Experience section*/

.experience-section {
    padding: 80px 20px;
    background-color: var(--color-background);
   
}

.experience-text {
    font-family: var(--text-font);
    max-width: 360px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ffffff9E;
}

    .experience-text strong {
        font-weight: 700;
        color: #ffffffb8;
    }
   


/* =========================================
   Awards
   ========================================= */

.awards-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
}

/* Dial-style badge SVG (Views/Shared/_AwardBadge.cshtml) */
.award-badge {
    width: 92px;
    flex-shrink: 0;
}

.award-badge-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible; /* the 12 o'clock diamond sits just above the viewBox */
}

.award-badge-title {
    font-family: var(--text-font);
    font-size: 10.58px;
    font-weight: 800;
    fill: #ffffffb8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.award-badge-years {
    font-family: var(--text-font);
    font-size: 8.28px;
    font-weight: 400;
    fill: #ffffffb8;
    letter-spacing: 0.04em;
}
/*Experience section*/
/* Container Section Styling */
.practice-marquee {
    width: 100%;
    padding:80px 0 0;
   
}

.marquee-inner {
    padding: 0 clamp(1rem, 3.4vw, 4rem);
}

/* Static List Styling — full-width row, words spread edge to edge */
.marquee-content {
    width: 100%;
    padding: 1.75rem 0 1.4rem;
    border-top: 1px solid #B49A78;
    border-bottom: 1px solid #B49A78;
    font-family: var(--heading-font);
    /* Scales with the viewport so the spaced-out row always fits; 80px on wide desktops */
    font-size: 80px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.15em;
    color: #b49a78;
}

    .marquee-content li {
        white-space: nowrap;
    }

        /* Cancel trailing letter-spacing so the last word aligns with the rule's edge */
        .marquee-content li:last-child {
            margin-right: -0.15em;
        }

    .marquee-content .marquee-sep {
        letter-spacing: 0;
    }

/* =========================================
   Introduction Section
   ========================================= */

.intro-section {
    padding:0 2.5rem;
    background-color: var(--color-background);
}

.intro-text {
    max-width: 1400px;
    margin: 5rem auto 3rem;
    text-align: center;
    font-family: var(--heading-font);
    font-size: clamp(1.15rem, 2.1vw, 1.9rem);
    font-weight: 700;
    line-height: 1.55;
    color: #ffffff9E;
}

/* Apply 0.3 opacity only to the standard text */
.intro-text .muted-part {
   opacity:0.3;
    color: #ffffff9E;
}

/* Ensure strong text stays fully visible */
.intro-text strong {
    font-weight: 700;
    opacity: 1;
}
/* ---------- Stats ---------- */
.stats {
    padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.stat {
    position: relative;
    padding: 0.5rem 0 0.5rem clamp(1rem, 2.5vw, 2rem);
}

    /* Faded vertical divider on left */
    .stat::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 1px;
        background: linear-gradient(transparent, var(--color-gold, #c5a059), transparent);
        opacity: 0.6;
    }

.stat__number {
    font-family: Georgia,'Times New Roman';
    font-size: clamp(2.5rem, 4.5vw, 4.25rem);
    line-height: 1;
    color: #b49a78;
}

.stat__label {
    font-family:Arial, Helvetica, sans-serif;
    color: #7a8f93;
    margin-top: 0.75rem;
    font-size: clamp(0.85rem, 1vw, 1.05rem);
}
.stat__suffix {
    display: inline-block;
    font-size: 0.55em; /* smaller than the number */
    line-height: 1;
    vertical-align: middle; /* vertically centered against the digits */
    margin-left: 0.05em;
}
/* ---------- Scroll cue ---------- */
/* Container for badge positioning relative to image */
/* Notch geometry, shared by the badge and the cut-out so they always line up */
:root {
    --cue-size: 120px;    /* badge diameter */
    --cue-gap: 12px;      /* page-coloured gap around the badge */
    --cue-depth: 28px;    /* how far the badge centre sits below the image's top edge */
    --cue-shoulder: 28px; /* radius of the inward curves (keep <= --cue-depth so they meet the straight sides) */
    --cue-r: calc(var(--cue-size) / 2 + var(--cue-gap)); /* notch radius */
}

.scroll-cue-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    /* badge centre lands --cue-depth below the image's top edge */
    margin-bottom: calc(-1 * (var(--cue-size) / 2 + var(--cue-depth)));
}

/* Outer badge */
.scroll-cue-badge {
    width: var(--cue-size);
    height: var(--cue-size);
    background-color: var(--color-primary);
    border-radius: 50%;
    display: block;
    color: var(--color-background);
    box-shadow: 0 10px 24px -12px rgba(0, 45, 61, 0.6);
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease;
}

    .scroll-cue-badge:hover,
    .scroll-cue-badge:focus-visible {
        color: var(--color-background);
        transform: scale(1.05);
        box-shadow: 0 16px 30px -14px rgba(0, 45, 61, 0.75);
    }

    .scroll-cue-badge:focus-visible {
        outline: 2px solid var(--color-warm-accent);
        outline-offset: 4px;
    }

.scroll-cue-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.scroll-cue-ring {
    fill: #FFFFFF; /* white centre disc */
    stroke: rgba(248, 247, 243, 0.55);
    stroke-width: 1;
}

/* Text circles round the badge continuously */
.scroll-cue-text {
    transform-box: view-box;
    transform-origin: 60px 60px;
    animation: spinCircle 18s linear infinite;
    fill: currentColor;
    font-family: var(--text-font);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.scroll-cue-badge:hover .scroll-cue-text {
    animation-duration: 8s;
}

/* Thin arrow, gently bobbing */
.scroll-cue-arrow {
    fill: none;
    stroke: var(--color-primary); /* teal arrow on the white centre */
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: cueBob 2.2s ease-in-out infinite;
}

@keyframes spinCircle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes cueBob {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(3px); }
}

/* Hero image with rounded top corners and a notch behind the badge */
.hero-media {
    position: relative;
    z-index: 1;
    border-radius: 70px 70px 0 0;
    overflow: hidden; /* keeps the image's reveal zoom inside the rounded shape */
}

.hero-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center 60%;
    display: block;
}

/* The notch: a page-coloured U (straight sides, round bottom) hanging from the top edge,
   with two concave "shoulders" so the image edge curves smoothly into it */
.hero-notch {
    position: absolute;
    top: 0;
    left: 50%;
    width: calc(var(--cue-r) * 2);
    height: calc(var(--cue-r) + var(--cue-depth));
    transform: translateX(-50%);
    background-color: var(--color-background);
    border-radius: 0 0 var(--cue-r) var(--cue-r);
    z-index: 2;
    pointer-events: none;
}

    .hero-notch::before,
    .hero-notch::after {
        content: "";
        position: absolute;
        top: 0;
        width: var(--cue-shoulder);
        height: var(--cue-shoulder);
    }

    /* each shoulder is page-coloured except a quarter circle on its outer-bottom corner */
    .hero-notch::before {
        right: 100%;
        background: radial-gradient(circle at 0 100%, transparent calc(var(--cue-shoulder) - 0.5px), var(--color-background) var(--cue-shoulder));
    }

    .hero-notch::after {
        left: 100%;
        background: radial-gradient(circle at 100% 100%, transparent calc(var(--cue-shoulder) - 0.5px), var(--color-background) var(--cue-shoulder));
    }

@media (max-width: 767.98px) {
    :root {
        --cue-size: 96px;
        --cue-gap: 9px;
        --cue-depth: 20px;
        --cue-shoulder: 20px;
    }

    .hero-media {
        border-radius: 36px 36px 0 0;
    }
}

/* ---------- About ---------- */
.about {
    margin-top: 6rem;
   
}

.btn-brand {
    font-family: var(--text-font);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-primary);
    color: #fff !important;
    font-weight: 500;
    padding: 10px 12px;
}


/* Narrower than the default container to match the design (~1110px content) */
.about__container {
    max-width: 1140px;
}

.about__intro {
    margin-bottom: 2.75rem;
}

.about .eyebrow {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing:0.15em;
}

.about .heading {
   
    line-height: 1.15;
}

.about .body-text {
    font-size: 15px;
    line-height: 1.85;
    padding: 0;
}

.about .btn-brand {
    font-size: 15px;
    font-weight: 600;
    padding: 0.8rem 1.4rem;
}

.about__image {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}
.heading {
    font-size: clamp(2.5rem, 1.6rem + 2vw, 3.25rem);
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.15;
    font-size: 3rem;
}

.eyebrow {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #B49A78;
    font-family: var(--text-font);
    margin-bottom: 1rem;
}

.body-text {
    padding: 5px 0;
    font-size: 13px;
    line-height: 1.9;
    color: var(--color-muted-text);
    font-family: var(--text-font);
    line-height: 24.48px;
    margin: 0;
}

/* ---------- Values (scroll-activated) ---------- */
/* Desktop: the whole About section pins below the navbar, filling the screen so the page
   looks frozen while scrolling steps through the values. site.js sets .about-pin's height
   (the scroll distance) and the sticky top for sections taller than the screen. */


.values {
    height: 100%;
/*    border-left: 1.5px solid #c8bfb4;
    padding-left: 2.75rem;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}


.value {
    --value-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    cursor: pointer;
}

/* Accent bar that slides along the divider next to the active value */
/*@media (min-width: 992px) {
    .value::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: calc(-2.75rem - 1.5px);
        width: 2px;
        background: var(--color-warm-accent);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.9s var(--value-ease);
    }

    .value.is-active::before {
        transform: scaleY(1);
    }
}*/

.value__title {
    font-family: var(--heading-font);
    font-size: 35px;
    color: rgba(0, 65, 87, 0.55);
    margin: 0px;
    line-height: 1.15;
    font-weight: 700;
    transition: color 0.8s var(--value-ease), font-size 0.8s var(--value-ease);
}
.value__title_about {
    font-family: var(--heading-font);
    font-size: 30px !important;
    color: rgba(0, 65, 87, 0.55);
    margin: 0px;
    line-height: 1.15;
    font-weight: 700;
    transition: color 0.8s var(--value-ease), font-size 0.8s var(--value-ease);
}
.value:hover .value__title {
    color: rgba(0, 65, 87, 0.75);
}

.value__desc-wrap { /* animates height without JS measuring */
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s var(--value-ease);
}

.value__desc {
    overflow: hidden;
    min-height: 0;
    margin: 0;
    padding: 0;
    max-width: 28rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, padding 0.6s var(--value-ease);
}

.value.is-active .value__title {
    color: var(--color-primary);
    font-size: 35px;
}
.value.is-active .value__title_about {
    color: var(--color-primary);
    font-size: 30px;
}

.value.is-active .value__desc-wrap {
    grid-template-rows: 1fr;
}

.value.is-active .value__desc {
    opacity: 1;
    transform: translateY(0);
    padding: 0.9rem 0 0;
    /* fade in alongside the space opening, just a beat behind */
    transition: opacity 0.5s ease 0.1s, transform 0.5s var(--value-ease) 0.1s, padding 0.6s var(--value-ease);
}

@media (prefers-reduced-motion: reduce) {
    .value::before, .value__title, .value__desc-wrap, .value__desc {
        transition: none;
    }
}


.section-padding {
    padding: 90px 0;
}

/*secion what we offer*/
.sub-header {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-muted-text);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.main-title {
    font-family: var(--heading-font);
    font-size: clamp(1.8rem,3vw,2.75rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    letter-spacing: -0.5px;
}



.lead-text {
    font-family: var(--text-font);
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-muted-text);
    font-weight: 400;
}
.btn-brand:hover{
    color:var(--color-white) !important;
    border:1px solid var(--color-primary);
}
    

.btn-card-outline {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 0px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

  

.btn-card-solid {
    background-color: var(--color-primary);
    color: #FFFFFF;
    border: 1px solid var(--color-primary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 0px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

   

/* Practice Cards Component */
.practice-card {
    border: 1px solid var(--color-light-teal);
    border-top: 3px solid var(--color-light-teal);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

}

    .practice-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }



    /* Dark Card Variant (Featured) */
    .practice-card.featured {
        background-color: var(--color-primary);
        color: #FFFFFF;
    }

        .practice-card.featured .card-title {
            color: #FFFFFF;
        }

        .practice-card.featured .card-text {
            color: rgba(255, 255, 255, 0.8);
        }

.new {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top: 3px solid rgba(255, 255, 255, 0.1) !important;
    justify-content: space-between !important;
}
    .practice-card.new:hover {
        transform: translateY(-6px);
        border-top: 3px solid  #B49A7877!important;
    }
.practice-card.new .card-title {
    font-size: 25px !important;
    line-height: 1.25;
}
.practice-card.new.featured {
    background-color: var(--color-background);
    color: var(--color-primary);
}
.practice-card.new.featured .card-title {
    color :var(--color-primary);
}

.practice-card.new.featured .card-text {
    color: var(--color-muted-text);
}


.card-icon-wrapper {
    margin-bottom: 2.5rem;
    height: 48px;
    display: flex;
    align-items: center;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.25rem;
    line-height: 1.35;
/*    min-height: calc(2 * 1.25em);*/
}
.card-subtitle {
    margin-top: 4px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-warm-accent);
    line-height: 1.35;
    min-height: calc(2 * 1.35em);
    font-family: var(--text-font);
}

.card-text {
  
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--color-muted-text);
    margin-bottom: 2.5rem;
}

.card-action {
    margin-top: 1rem;
}

/* SVG Icon styling */
.icon-svg {
    width: 38px;
    height: 38px;
}

/* Line icons (starburst, chevrons) are stroked with currentColor: teal by default, gold on the featured card */
.icon-line {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.practice-card.featured .icon-line {
    color: var(--color-warm-accent);
}
.practice-card.new.featured .icon-line {
    color: var(--color-primary);
}
.section-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #b49a78;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.section-title-dark {
    font-family: var(--heading-font);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.12;
    font-size: 2.75rem;
}
.practice-card.new .icon-line {
    color: var(--color-warm-accent);
}



/* Reusable Action Buttons */
.btn-outline-custom-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #ffffff80;
    color: #ffffff;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    border-radius: 0;
}
.btn-outline-custom-light:hover{
    color:var(--color-white);
}

.btn-solid-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 0;
}

/* ==========================================================================
   Section Legal Experts / Team Section
   ========================================================================== */
.legal-team-section {
    font-family: var(--text-font);
    background-color: var(--color-primary);
    color: #ffffff;
    padding-top: 5rem;
    padding-bottom: 4rem;
}
.legal-text {
    color: #ffffffb8;
    font-size:0.85rem;
}
/* Container & Perspective */
/* Card Setup & Flip Logic */
.team-card {
    border: none;
    background-color: transparent;
    border-radius: 0;
    height: 100%;
    perspective: 1000px;
    cursor: pointer;
}


.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border: none;
}

/* class used by the auto-flip / tap on mobile */
.team-card.is-flipped .team-card-inner {
    transform: rotateY(180deg);
}

/* USE this instead */
@media (hover: hover) and (min-width: 768px) {
    .team-card:hover .team-card-inner {
        transform: rotateY(180deg);
    }
}

.team-card.is-flipped .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    border: none;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Front Side CSS */
.team-card-front {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

.team-card-img-wrapper {
    aspect-ratio: 4 / 4;
    width: 100%;
    overflow: hidden;
}

.team-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.team-card-body {
    padding: 1.25rem 1.5rem;
    color: var(--color-text-dark);
}

.team-card-name {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.team-card-role {
    font-size: 0.8rem;
    color: var(--color-muted-text);
    margin-bottom: 0;
}

/* Back Side with Overlay & Background Image */
.team-card-back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    color: #ffffff;
    /* Background Image Setup */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    /* Use overlay instead of multiply for higher contrast */
    background-blend-mode: overlay;
    background-color: var(--color-primary, #032b3a);
}

    /* Semi-transparent dark overlay for high text legibility */
    .team-card-back::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, rgba(3, 43, 58, 0.65) 0%, rgba(3, 43, 58, 0.82) 100% );
        z-index: 1;

    }


/* Ensure back content stays above overlay */
.team-card-back-name,
.team-card-back-role,
.team-card-divider,
.team-card-back-text {
    position: relative;
    z-index: 2;
}

.team-card-back-name {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    color: #ffffff;
    font-weight:700;
    margin: 0 0 0.3rem;
    line-height: 1.2;
}

.team-card-back-role {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 1.25rem;
    letter-spacing: 0.02em;
}

.team-card-divider {
    width: 45px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    margin: 0 0 1.5rem 0;
    opacity: 1;
}

.team-card-back-text {
    font-size: 0.925rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.85;
    margin: 0;
}
.team-row > [class*="col-"] {
    display: flex;
}

.team-row .team-card {
    width: 100%;
}


.card-instruction-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.why-choose-us-section {
    background-color: var(--color-bg-light);
    padding-bottom: 5rem;
}
.banner {
    background-color: #eef2f2;
}
.section-title-light {
    color: var(--color-text);
    font-family: var(--heading-font);
    font-size: clamp(1.6rem,2.4vw,2.25rem);
    font-weight:700;
}
/* Logos Grid Header */
/* Outer Container */
.logos-container {
    border-bottom: 1px solid #e2e0d8;
    overflow: hidden;
    width: 100%;
}
.logos-container-white {
   
    overflow: hidden;
    width: 100%;
}


/* Marquee Overflow Wrapper */
.logos-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    width: 100%;
}

/* Animated track holding two identical groups; site.js fills each group to at least the
   screen width and sets the duration, so shifting by -50% loops with no gap */
.logos-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee-logos 25s linear infinite;
}

.logos-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Pause animation on hover */
.logos-marquee:hover .logos-track {
    animation-play-state: paused;
}

/* Individual Logo Styles */
.logo-item {
    font-family:Arial, Helvetica, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #35566A;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    padding: 0.85rem 2.5rem;
    border-left: 1px solid #e2e0d8;
    white-space: nowrap;
    flex-shrink: 0;
}

    .logo-item svg {
        fill:  #35566A;
    }

.logo-item-white {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #ffffffb8;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    padding: 0.85rem 2.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}
    .logo-item-white svg {
        fill: #ffffffb8;
    }

/* Keyframe shifting exactly -50% for a seamless infinite loop */
@keyframes marquee-logos {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Feature Item Components */
.feature-box {
    display: flex;
    flex-direction: column;
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    background-color: #0041570f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
    border: 1px solid #00415726;
}

.feature-title {
    font-family: var(--heading-font);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0;
}

.feature-text {
    font-size: 0.82rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 0;
    max-width:300px;
}
/* ==========================================================================
   Section 3: Featured Publications Section
   ========================================================================== */
.publications-section {
  background-color: var(--color-primary);
  color: #ffffff;
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}
.publications-section-beige {
    background-color: var(--color-background);
    color: var(--color-muted-text);
    padding-top: 5rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

/* Subtle background watermark text "LAW" */
.publications-watermark {
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(12rem, 25vw, 28rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}
.publications-watermark-beige {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(12rem, 25vw, 28rem);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

.publications-container {
  position: relative;
  z-index: 2;
}

/* Divider Line */
.publication-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.publication-divider-beige {
    border-top: 1px solid #a8b3b4;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.publication-divider-thin {
    width: 40px;
    height: 1px;
    background-color: rgb(180, 154, 120);
    margin: 0px auto 1.75rem;
    opacity: 0.7;

}
.publish-title {
    font-family: var(--heading-font);
    font-weight:700;
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    color: rgb(255, 255, 255);
    line-height: 1.12;
    margin: 0px 0px 1.25rem;
}
.publish-title-beige {
    font-family: var(--heading-font);
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    color: var(--color-text);
    line-height: 1.12;
    margin: 0px 0px 1.25rem;
}
.publish-span {
    color: rgb(180, 154, 120);
    font-style: italic;

}
.publish-text {
    color: #ffffff9e;
    font-size: 0.875rem;
    line-height: 1.85;
    max-width: 560px;
    margin: 0px auto 2rem;
}
.publish-text-beige {
    color: var(--color-muted-text);
    font-size: 0.875rem;
    line-height: 1.85;
    max-width: 560px;
    margin: 0px auto 2rem;
}

/* Publication Item Component */
.publication-item {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.publication-item-beige {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #a8b3b4;
}

.publication-title {
    font-family: var(--heading-font);
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    color: var(--color-white);
    margin: 0px 0px 0.4rem;
    line-height: 1.3;
    font-weight: 700;
    transition: color 0.25s;
}
.publication-title-beige {
    font-family: var(--heading-font);
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    color: var(--color-text);
    margin: 0px 0px 0.4rem;
    line-height: 1.3;
    font-weight: 700;
    transition: color 0.25s;
}

.publication-journal {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0px;
    font-style: italic;
}

.publication-description {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin: 0px;
}

/* Arrow Button Circle */
.icon-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
}
.icon-circle-btn-navy {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    text-decoration: none;
}

/* Call To Action Button with Circle Arrow inside */
.btn-outline-with-arrow {
   
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background-color: transparent;
        color: rgb(255, 255, 255);
        padding: 0.75rem 2rem;
        font-size: 0.85rem;
        font-weight: 600;
        text-decoration: none;
        letter-spacing: 0.06em;
       
        transition: 0.2s;
        border: 1.5px solid rgba(255, 255, 255, 0.45);
    
}

/* Fix for the arrow icon inside the circle */
.btn-arrow-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: border-color 0.35s ease;
}

    /* Ensure rotated icon maintains exact center origin on hover/transform */
    .btn-arrow-circle i {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        width: 1em;
        height: 1em;
        text-align: center;
        transform-origin: center center; /* Keeps rotation centered */
    }

/* Optional: Match the circle border color with hover text */

.btn-navy:hover .btn-arrow-circle {
    border-color: var(--color-primary);
    border: 1px solid var(--color-primary);
}
.btn-outline-with-arrow:hover,
.btn-outline-with-arrow:focus-visible {
    color: var(--color-primary) !important;
    border-color: var(--color-primary);
    box-shadow: 0 12px 22px -12px rgba(0, 0, 0, 0.45);
}


/* ==========================================================================
   SECTION 4: CLIENTS REVIEWS (TESTIMONIALS)
   ========================================================================== */
.client-reviews-section {
    background-color: var(--color-bg-light);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Narrower than the default container to match the design (~1215px content) */


.client-reviews__title {
    font-size: clamp(2.25rem, 1.6rem + 1.6vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.client-span {
    color: rgb(180, 154, 120);
    font-style: normal;
}

.client-reviews__text {
    font-family: var(--text-font);
    font-size: 15px;
    line-height: 1.9;
    color: var(--color-muted-text);
    max-width: 24rem;
    margin: 0 0 2.25rem;
}

.review-slider-controls {
    display: flex;
    gap: 0.9rem;
}

.review-nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgb(0, 65, 87);
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgb(0, 65, 87);
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

    .review-nav-btn:hover,
    .review-nav-btn:focus-visible {
        background-color: rgb(0, 65, 87);
        color: #fff;
    }

/* Testimonial card / slider: slides are stacked in one grid cell and cross-fade */
.testimonial-card-wrapper {
    display: grid;
    background-color: var(--color-secondary-background);
    border-top: 3px solid rgb(180, 154, 120);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-radius:4px;
}

.testimonial-slide {
    grid-area: 1 / 1;
    display: block; /* Spans full width starting from the left */
    width: 100%;
    min-height: 250px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}

    .testimonial-slide.is-active {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.7s ease, visibility 0s;
    }

.testimonial-content-col {
    padding-left: 0; /* Ensures content aligns flush to the left boundary */
}




.testimonial-portrait {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.06);
    transition: transform 6s ease-out;
}

.testimonial-slide.is-active .testimonial-portrait {
    transform: scale(1);
}

.testimonial-content-col {
    padding: 2.5rem 3rem 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    /* Text rises in slightly after the slide fades in */
    .testimonial-content-col > * {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

.testimonial-slide.is-active .testimonial-content-col > * {
    opacity: 1;
    transform: none;
}

.testimonial-slide.is-active .testimonial-content-col > :nth-child(1) { transition-delay: 0.15s; }
.testimonial-slide.is-active .testimonial-content-col > :nth-child(2) { transition-delay: 0.25s; }
.testimonial-slide.is-active .testimonial-content-col > :nth-child(3) { transition-delay: 0.35s; }

.testimonial-quote-text {
    font-family: var(--text-font);
    font-size: 1rem;
    line-height: 1.85;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.testimonial-quote-mark {
    color: rgb(180, 154, 120);
    font-size: 2.25rem;
    line-height: 1;
    font-family: Georgia, serif;
    flex-shrink: 0;
}

.testimonial-quote-text p {
    margin: 0;
    line-height: 1.85;
}
.testimonial-author-meta {
    font-size: 0.8125rem;
    color: rgb(104, 115, 119);
    margin: 0px;
}

.testimonial-author-name {
    font-family: var(--text-font);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
    margin: 0px 0px 0.35rem;
}

@media (max-width: 767.98px) {
    .testimonial-slide {
        grid-template-columns: 1fr;
        grid-template-rows: 260px auto;
    }

    .testimonial-content-col {
        padding: 2rem 1.5rem;
    }
}

/* Reduced motion: slides still cross-fade, but no zoom or rising text */
@media (prefers-reduced-motion: reduce) {
    .testimonial-portrait,
    .testimonial-slide.is-active .testimonial-portrait,
    .testimonial-content-col > * {
        transform: none !important;
    }
}
    /* ==========================================================================
   SECTION 5: LEGAL INSIGHTS (BLOG ARTICLES GRID)
   ========================================================================== */
    .legal-insights-section {
        background-color: var(--color-primary);
        color: #ffffff;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
.insights-header {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    color: rgb(248, 247, 243);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0px 0px 1rem;
}
.legal-insights-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;

}
    .legal-insights-divider div {
        width: 60px;
        height: 1px;
        background-color: rgba(180, 154, 120, 0.5);
    }
    .legal-insights-divider span {
        color: rgb(180, 154, 120);
        font-size: 1rem;
    }
.insights-text {
    font-size: 0.875rem;
    color: rgba(238, 242, 242, 0.62);
    line-height: 1.8;
    max-width: 1000px;
    margin: 0px auto;
}

    .insight-card {
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        overflow: hidden;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .insight-card-media {
        height: 190px;
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .insight-card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .insight-card-body {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

.insight-category-tag {
    font-size: 0.68rem;
    color: rgb(180, 154, 120);
    letter-spacing: 0.08em;
    text-transform: capitalize;
    margin: 0px 0px 0.6rem;
    font-weight: 600;
}

    .insight-card-title {
        font-family: var(--font-serif);
        font-size: 1.1rem;
        font-weight: 700;
        color: #ffffff;
        line-height: 1.35;
        margin-bottom: 0.75rem;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.5rem;
    }

.insight-title-link {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.05rem;
    color: rgb(248, 247, 243);
    line-height: 1.35;
    margin: 0px;
    flex-grow: 1;
    text-decoration: none;
}

    .insight-arrow-icon {
        font-size: 0.8rem;
        opacity: 0.7;
    }

.insight-card-excerpt {
    font-size: 0.8rem;
    color: rgba(238, 242, 242, 0.58);
    line-height: 1.7;
    margin: 0px 0px 1.25rem;
    flex-grow: 1;
}
    /* Article Author Metadata Footer */
    .insight-author-wrapper {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .insight-author-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
    }

    .insight-author-details {
        display: flex;
        flex-direction: column;
    }

.insight-author-name {
    font-size: 0.72rem;
    color: rgb(248, 247, 243);
    margin: 0px;
    font-weight: 600;
}

.insight-publish-date {
    font-size: 0.65rem;
    color: rgba(238, 242, 242, 0.45);
    margin: 0px;
    
}
    /* Custom Footer Container */
.custom-footer {
    overflow: hidden;
    font-family: var(--text-font);
    background-color: var(--color-primary);
    background-color: #034159;
    position: relative;
}
    /* ==========================================================================
   SECTION 6: CONSULTATION FORM & FAQ
   ========================================================================== */
    .consultation-faq-section {
        background-color: var(--color-background);
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    /* Consultation Form Card */
.consultation-card {
    background-color: transparent;
    border-width: 3px 1px 1px;
    border-style: solid;
    border-color: rgb(180, 154, 120) #E8E6E0 #E8E6E0;
    border-image: none;
    padding: 2.5rem 2.25rem;
}

.consultation-card-title {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 1.2rem + 2vw, 3rem);
    color: #1A1A1A;
    font-weight: 700;
    line-height: 1.22;
    margin-bottom: 2.25rem;
}

/* Row gap comes only from the gutter (~30px between an underline and the next label) */
.consultation-form .row {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.85rem;
}
    /* Custom Minimal Form Inputs */
    .consultation-form .form-group {
        margin-bottom: 0;
    }

.consultation-form .form-label-custom {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(104, 115, 119);
    margin-bottom: 0.25rem;
}

.consultation-form .form-control-minimal,
.consultation-form .form-select-minimal {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #D5D3CD;
    border-radius: 0;
    padding: 0.5rem 0;
    height: 2.4rem;
    font-size: 0.95rem;
    font-family: var(--text-font);
    color: var(--color-text);
    box-shadow: none;
    width: 100%;
    transition: border-color 0.2s ease;
}

.consultation-form .btn-solid-primary {
    padding: 1.05rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

    .consultation-form .btn-solid-primary:hover {
        background-color: #00303F;
    }

        .consultation-form .form-control-minimal:focus,
        .consultation-form .form-select-minimal:focus {
            outline: none;
            border-bottom-color: var(--color-primary);
            background-color: transparent;
            box-shadow: none;
        }

    .consultation-form .form-select-minimal {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%64748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0 center;
    }
    /* Custom Date Picker Indicator */
    .consultation-form input[type="date"]::-webkit-calendar-picker-indicator {
        cursor: pointer;
        opacity: 0.6;
    }
    /* FAQ Accordion Styling */
    .faq-header-title {
        font-family: var(--font-serif);
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--color-primary);
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .faq-subtitle {
        letter-spacing: 0.22em;
        margin-bottom: 1.25rem;
    }

    .faq-divider {
        width: 46px;
        height: 2px;
        background-color: var(--color-primary);
        margin: 0 0 1.75rem;
    }

    .faq-custom-accordion {
        display: flex;
        flex-direction: column;
        /* no white Bootstrap cards: rows sit flat on the page background */
        --bs-accordion-bg: transparent;
        --bs-accordion-active-bg: transparent;
        --bs-accordion-active-color: #1A1A1A;
        --bs-accordion-border-color: #E8E6E0;
    }

.faq-item-custom {
    background-color: transparent;
    border-bottom: 1px solid #E8E6E0;
    padding: 0;
}

        .faq-item-custom:first-child {
            border-top: 1px solid #E8E6E0;
        }

.faq-button-custom {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    text-align: left;
    font-family: var(--text-font);
    font-weight: 500;
    color: #1A1A1A;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}
    .faq-button-custom:hover{
        color:var(--color-text);
    }



    .faq-answer-custom {
        font-size: 0.875rem;
        color: var(--color-muted-text);
        line-height: 1.85;
        padding-bottom: 1rem;
    }
    /* Show state for open FAQ items */
    .faq-item-custom.active .faq-answer-custom {
        display: block;
    }
/* Remove Bootstrap's default accordion arrow */
.faq-button-custom::after {
    display: none !important;
}

/* Base button styling override */
.faq-button-custom {
    background: transparent !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 0;
    border: none;
}


/* Icon container circle: small, faint */
.faq-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(37, 42, 43, 0.05);
    color: var(--color-muted-text);
    flex-shrink: 0;
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-button-custom:hover .faq-icon-circle,
.accordion-button:not(.collapsed) .faq-icon-circle {
    background-color: #1A1A1A;
    color: #fff;
}

/* Keep the open question black instead of Bootstrap's blue active colour */
.faq-button-custom.accordion-button:not(.collapsed),
.faq-button-custom.accordion-button:focus {
    color: #1A1A1A;
}

    /* Default state: Plus (+) sign */
    .faq-icon-circle::before {
        content: "+";
    }

/* Active/Expanded state: Minus (−) sign */
.accordion-button:not(.collapsed) .faq-icon-circle::before {
    content: "−";
}
    /* Paragraph styling */
    .footer-description {
        font-size: 14px;
        line-height: 25.2px;
        max-width: 330px;
        color: #FFFFFFBF;
    }
.footer-bottom-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.newsletter-box .form-control::placeholder {
    color: #ffffffbf;
    font-size: 0.95rem;
  
}
form-control {
    color: #ffffffbf;
}
.newsletter-box {
    border: 1px solid #ffffffbf;
}

.btn-newsletter {
    width: 48px;
    height: 38px;
    background-color: var(--color-background);
    border: none;
    transition: background-color 0.2s ease;
}

    .btn-newsletter:hover,
    .btn-newsletter:focus {
        background-color: var(--color-light-teal);
        box-shadow: none;
    }


.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .footer-socials a,
    .footer-socials a i {
        color: #FFFFFFB2 !important;
        font-size: 18px;
        text-decoration: none;
        transition: color 0.3s ease, transform 0.3s ease;
    }

        .footer-socials a:hover,
        .footer-socials a:hover i {
            color: #ffffff !important;
        }

        .footer-socials a:hover {
            transform: translateY(-3px);
        }

@media (max-width: 767px) {
    .footer-bottom-info {
        align-items: flex-start;
        flex-direction: column;
    }
}

    .footer-admitted {
        font-size: 12px;
        color: #FFFFFF80;
        font-weight: 500;
    }

    .footer-links a {
        font-size: 14px;
        color: #FFFFFFB2;
        font-weight: 500;
        text-decoration: none;
    }

        .footer-links a:hover {
            color: #ffffff !important;
            transform: translateX(2px);
        }


    .footer-heading {
        text-transform: uppercase;
        font-weight: 700;
        color: var(--color-white);
        margin-bottom: 1rem;
        font-size: 10px;
    }

    .footer-text {
        color: #ffffff73;
        font-size: 12px;
    }

        .footer-text a:hover {
            color: #ffffff !important;
        }

    .custom-border {
        border-top: 1px solid #ffffff26;
    }
.footer-watermark {
    position: absolute;
    left: 0;
    bottom: 0; /* Aligns directly to the bottom edge */
    font-family: var(--heading-font);
    font-size: clamp(8rem, 15vw, 18rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 0.85; /* Tighter line-height prevents whitespace padding at the bottom */
    user-select: none;
    pointer-events: none;
    z-index: 1;
    /* Ensure the watermark doesn't trigger horizontal scrolling */
    overflow: hidden;
    max-width: 100%;
}


    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }



/* ---------- Cursor glow (created in site.js) ---------- */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 42, 43, 0.07) 0%, rgba(37, 42, 43, 0.035) 35%, rgba(37, 42, 43, 0) 70%);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 29999; /* above page content, below the fixed navbar */
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: transform;
}

    .cursor-glow.is-visible {
        opacity: 1;
    }

/* ==========================================================================
   Scroll reveal (classes added by site.js, so content stays visible without JS)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}

.reveal--zoom {
    transform: scale(1.04);
}

/* Hero accent line draws outward from the centre */
.hero-divider.reveal {
    transform: scaleX(0);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   Links: no Bootstrap blue on hover / click
   ========================================================================== */
a:hover,
a:focus {
    color: inherit;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item.active {
    color: var(--color-text);
    background-color: rgba(0, 65, 87, 0.06);
}

/* ==========================================================================
   Buttons: shared hover — colour sweeps in from the left, slight lift,
   arrow nudges in its direction
   ========================================================================== */
.btn-navy,
.btn-brand,
.btn-card-solid,
.btn-solid-primary,
.btn-card-outline,
.btn-outline-custom-light,
.btn-outline-with-arrow {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

    /*.btn-navy::before,
    .btn-brand::before,
    .btn-card-solid::before,
    .btn-solid-primary::before,
    .btn-card-outline::before,
    .btn-outline-custom-light::before,
    .btn-outline-with-arrow::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background-color: #002D3D;*/ /* solid buttons: deeper teal */
        /*transform: scaleX(0);
        transform-origin: right center;
        transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
    }*/
    .btn-brand::before,
    .btn-card-solid::before,
    .btn-solid-primary::before,
    .btn-card-outline::before,
    .btn-navy::before,
    .btn-outline-custom-light::before,
    .btn-outline-with-arrow::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background-color: #abc2a6; /* solid buttons: deeper teal */
        color: var(--color-primary);
        transform: scaleX(0);
        transform-origin: right center;
        transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
        border: 1px solid var(--color-primary);
    }

    /* Outline buttons sit on dark backgrounds: they fill white and the text turns teal */
   .btn-card-outline::before,
    .swal-contact-button:hover::before,
    .btn-outline-custom-light::before,
    .btn-outline-with-arrow::before {
/*        background-color: #abc2a6;*/
       
    }

.swal-contact-button:hover {
    background-color: #abc2a6;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 22px -12px rgba(0, 45, 61, 0.7);
}
 .btn-navy:focus-visible,
.btn-brand:hover, .btn-brand:focus-visible,
.btn-card-solid:hover, .btn-card-solid:focus-visible,
.btn-solid-primary:hover, .btn-solid-primary:focus-visible {
    color: var(--color-primary) !important;
    transform: translateY(-2px);
/*    background-color: #abc2a6;*/
    box-shadow: 0 12px 22px -12px rgba(0, 45, 61, 0.7);
}


    .btn-card-outline:hover, .btn-card-outline:focus-visible,
    .btn-outline-custom-light:hover, .btn-outline-custom-light:focus-visible {
        color: var(--color-primary) !important;
        border-color: #abc2a6;
        transform: translateY(-2px);
        box-shadow: 0 12px 22px -12px rgba(0, 0, 0, 0.45);
    }
    .btn-outline-with-arrow:not(.btn-navy):hover,
    .btn-outline-with-arrow:not(.btn-navy):focus-visible {
        color: var(--color-primary) !important;
        border-color: var(--color-primary);
        box-shadow: 0 12px 22px -12px rgba(0, 0, 0, 0.45);
    }


        .btn-navy:hover::before, .btn-navy:focus-visible::before,
        .btn-brand:hover::before, .btn-brand:focus-visible::before,
        .btn-card-solid:hover::before, .btn-card-solid:focus-visible::before,
        .btn-solid-primary:hover::before, .btn-solid-primary:focus-visible::before,
        .btn-card-outline:hover::before, .btn-card-outline:focus-visible::before,
        .btn-outline-custom-light:hover::before, .btn-outline-custom-light:focus-visible::before,
        .btn-outline-with-arrow:hover::before, .btn-outline-with-arrow:focus-visible::before {
            transform: scaleX(1);
            transform-origin: left center;
        }

    /* Replace Bootstrap's blue focus glow with a brand-coloured outline for keyboard users */
    .btn-navy:focus, .btn-card-solid:focus, .btn-card-outline:focus {
        box-shadow: none;
    }

    .btn-navy:focus-visible,
    .btn-brand:focus-visible,
    .btn-card-solid:focus-visible,
    .btn-solid-primary:focus-visible,
    .btn-card-outline:focus-visible,
    .btn-outline-custom-light:focus-visible,
    .btn-outline-with-arrow:focus-visible {
        outline: 2px solid var(--color-warm-accent);
        outline-offset: 3px;
    }

    .btn-outline-with-arrow:hover .btn-arrow-circle {
        border-color: currentColor;
    }

/* Arrows inside buttons (text arrows are wrapped in .btn-arrow by site.js) */
.btn-arrow,
.btn-navy i, .btn-brand i, .btn-card-solid i, .btn-solid-primary i,
.btn-card-outline i, .btn-outline-custom-light i, .btn-outline-with-arrow i,
.btn-navy svg, .btn-outline-with-arrow svg {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

:is(.btn-navy, .btn-brand, .btn-card-solid, .btn-solid-primary, .btn-card-outline, .btn-outline-custom-light, .btn-outline-with-arrow):hover :is(.btn-arrow--diag, i:not(.rotate-45), svg) {
    transform: translate(0px, 0px);
}


:is(.btn-navy, .btn-brand, .btn-card-solid, .btn-solid-primary, .btn-card-outline, .btn-outline-custom-light, .btn-outline-with-arrow):hover .btn-arrow--right {
    transform: translateX(4px);
}

/* Rotated arrow icon: move along its own (rotated) axis, i.e. up-right */
:is(.btn-navy, .btn-brand, .btn-card-solid, .btn-solid-primary, .btn-card-outline, .btn-outline-custom-light, .btn-outline-with-arrow):hover i.rotate-45 {
    transform: rotate(45deg) translateY(-3px);
}

/* Reduced motion (e.g. Windows "Animation effects" off): keep a soft fade, drop the movement */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal--zoom,
    .hero-divider.reveal {
        transform: none;
        transition: opacity 0.6s ease;
    }
}

/* ==========================================================================
   Hover & micro-interactions
   ========================================================================== */
/* Navbar gains a soft shadow once the page is scrolled (class toggled in site.js) */
.custom-navbar {
    transition: box-shadow 0.35s ease, background-color 0.35s ease;
}

    .custom-navbar.is-scrolled {
        box-shadow: 0 8px 24px -16px rgba(0, 45, 61, 0.35);
    }

/* Practice cards: starburst turns, chevrons bounce down */
.practice-card .icon-line {
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.practice-card:hover .icon-line:not(:has(polyline)) {
    transform: rotate(90deg);
}

.practice-card:hover .icon-line:has(polyline) {
    animation: chevron-nudge 0.9s ease-in-out infinite;
}

@keyframes chevron-nudge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Why-choose-us features: icon tile fills teal and tilts */
.feature-icon-wrapper {
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
    flex-shrink: 0;
}
    .feature-icon-wrapper svg {
        display: block; /* removes the baseline gap under the SVG */
    }
    .feature-title {
   padding-bottom:5px;
}

.feature-box:hover .feature-icon-wrapper {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-3px) rotate(-6deg);
}

/* Award badges lift slightly */
.award-badge {
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

    .award-badge:hover {
        transform: translateY(-4px);
    }

/* Partner logos brighten */
.logo-item {
    transition: color 0.3s ease;
}

    .logo-item svg {
        transition: fill 0.3s ease, transform 0.3s ease;
    }

    .logo-item:hover {
        color: var(--color-primary);
    }

        .logo-item:hover svg {
            fill: var(--color-primary);
            transform: scale(1.12);
        }
.approach-section{
    padding:0 0 7rem;
}
/* Publications: row slides right, arrow circle fills white */
.publication-item,.publication-item-beige {
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

    .publication-item:hover, .publication-item-beige:hover {
        transform: translateX(6px);
    }

.icon-circle-btn {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.icon-circle-btn-navy {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.publication-item:hover .icon-circle-btn,
.icon-circle-btn:hover,
.icon-circle-btn:focus-visible {
    background-color: #fff;
    border-color: #fff;
    color: var(--color-primary);
    transform: rotate(45deg);
}
.publication-item-beige:hover .icon-circle-btn-navy,
.icon-circle-btn-navy:hover,
.icon-circle-btn-navy:focus-visible {
    background-color: var(--color-primary);
   
    color: #fff;
    transform: rotate(45deg);
}
/* Insight cards: lift, image zooms, arrow nudges */
.insight-card {
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

    .insight-card:hover {
        transform: translateY(-6px);
        border-color: rgba(255, 255, 255, 0.25);
        box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.6);
    }

.insight-card-media {
    overflow: hidden;
}

.insight-card-img {
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.insight-card:hover .insight-card-img {
    transform: scale(1.07);
}

.insight-arrow-icon {
    display: inline-block;
    transition: transform 0.35s ease;
}

.insight-card:hover .insight-arrow-icon {
    transform: translate(3px, -3px);
}

/* FAQ answer text fades in as it opens */
.faq-custom-accordion .accordion-collapse .faq-answer-custom {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.faq-custom-accordion .accordion-collapse.show .faq-answer-custom {
    opacity: 1;
    transform: none;
}

/* FAQ plus icon turns as it becomes a minus */
.faq-icon-circle {
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.35s ease;
}

.accordion-button:not(.collapsed) .faq-icon-circle {
    transform: rotate(180deg);
}

/* Smooth in-page jumps (e.g. the scroll badge), landing below the fixed navbar */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

.about {
    scroll-margin-top: 100px;
}

/* ==========================================================================
   Word-by-word heading reveal (words wrapped by site.js)
   ========================================================================== */
.split-words .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    /* room for descenders (g, y, p) inside the mask without changing line spacing */
    padding-bottom: 0.14em;
    margin-bottom: -0.14em;
}

.split-words .word-inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: calc(var(--i, 0) * var(--word-step, 70ms));
}

.split-words.is-visible .word-inner {
    transform: none;
}

/* Reduced motion: words fade in one by one instead of sliding */
@media (prefers-reduced-motion: reduce) {
    .split-words .word-inner {
        transform: none;
        opacity: 0;
        transition: opacity 0.5s ease;
        transition-delay: calc(var(--i, 0) * var(--word-step, 70ms));
    }

    .split-words.is-visible .word-inner {
        opacity: 1;
    }
}

/*About Page*/
.law-section{
    padding:80px 20px 30px;
    background:var(--bg-gradient);
}
.law-about-section {
    margin-top: 5rem;
}
.law-about-title {
    margin: 0 auto;
    max-width: 1200px;
    font-family: var(--heading-font);
    font-size: 40px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color-white);
}

/* Ensure spans inside the hero title stacked vertically */

    .law-about-title span.d-block {
        display: block !important;
    }
/* Base wrapper setup */
.nh-foundation-grid-wrapper {
    width: 100%;
    overflow: hidden;
}

/* Hide duplicate elements on desktop/large screens */
.mobile-duplicate {
    display: none;
}
/* Container grid setup */
.nh-foundation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Base style for each article card */
.nh-principle {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    /* Ensure images fill card containers nicely */
   
    /* Dynamic height & layout variations per card */
    /* Card size variations: Squares vs Rectangles */
    /* Card size variations: Squares vs Shorter Rectangles */
    .nh-principle:nth-child(1) {
        aspect-ratio: 1 / 1; /* Square */
        height: auto;
    }

    .nh-principle:nth-child(2) {
        aspect-ratio: 4 / 3; /* Shorter landscape rectangle */
        height: auto;
    }

    .nh-principle:nth-child(3) {
        aspect-ratio: 1 / 1; /* Square */
        height: auto;
    }

    .nh-principle:nth-child(4) {
        aspect-ratio: 4 / 3; /* Shorter landscape rectangle */
        height: auto;
    }

    /* Ensure images fit cleanly */
    .nh-principle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 16px;
    }

    /* Fixed image stretching */
    .nh-principle img {
        width: 100%; /* Changed from 105% to avoid horizontal overflow */
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 16px;
    }

/* Animation reveal states */
.nh-page [data-nh-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    will-change: auto;
}
/*our story*/
.our-story-section {
    padding: 80px 0;
    background:var(--color-background);
}
.custom-margin {
    margin: 80px 0;
}
/* Two-column layout grid matching the reference design */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Column Styling */
.story-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.mob-break{
    display:none;
}

.story-heading {
    margin-bottom: 28px;
    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 700;
    color: rgb(248, 247, 243);
    letter-spacing: 0.04em;
    line-height: 1.1;
}
.text-color {
    color: var(--color-text);
}

}

    .story-btn:hover {
        background-color: color-mix(in srgb, var(--color-primary) 85%, black);
    }

/* Right Column Styling */
.law-description {
    font-size: 0.9rem;
    font-family: var(--text-font);
    color: var(--color-muted-text);
}

.law-heading {
    font-size: 1.05rem;
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--color-text);
}

/*stats*/
.bg-light-blue {
    background: var(--color-light-teal);
}

/* Section wrapper */
.purpose-section {
    padding: 80px 20px;
    text-align: center;
    background:var(--color-primary);
}

.purpose-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header Text Constraints */
.purpose-header {
    max-width: 1000px;
    margin: 0 auto 60px auto;
}

    .purpose-header .eyebrow {
        display: block;
        margin-bottom: 16px;
    }

    .purpose-header .heading {
        margin-bottom: 20px;
    }

    .purpose-header .description {
        color: var(--text-body);
        line-height: 1.6;
    }

/* Side-by-Side Cards Grid */
.purpose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: left;
}

/* Card Styling */
.purpose-card {
    background-color: var(--color-light-teal);
    padding: 48px 40px;
    border-radius: 12px;
    border: 1px solid rgba(0, 65, 87, 0.08);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.09);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .purpose-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 35px rgba(255, 255, 255, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
    }

.card-quote-icon {
 
        color: rgb(180, 154, 120);
        font-size: 2.25rem;
        line-height: 1;
        font-family: Georgia, serif;
        flex-shrink: 0;
    
}

.card-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 30px;
    color: var(--color-primary);
    margin: 0;
}


/* Team Section Outer Container */
.team-section {
    background-color: var(--color-primary);
    padding: 80px 20px;
    color: var(--text-light);
    font-family: var(--text-font);
}


/* Header Text (Centered over dark background) */
.team-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}


 

/* 2-Column Alternating Checkerboard Grid */
.team-grid {
    max-width:1100px;
    margin:0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    overflow: hidden;
}


/* Profile Image Block */
.team-image-block {
    width: 100%;
    height: 100%;
    max-height: 640px;
}

    .team-image-block img {
        width: 100%;
        height: 640px;
        object-fit: cover;
        object-position: center 25%; /* Anchors the top of the image so heads are not cropped */
        display: block;
    }


.monogram {
    font-family: var(--heading-font);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -2px;
}

/* Profile Info Text Block */
.team-info-block {
    background-color: var(--color-primary-dark);
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
    .team-info-block p{
        text-align:justify;
    }

.member-role {
    font-family: var(--text-font);
    font-size: 12px;
    letter-spacing: 1.5px;
    color: #B49A78;
    margin-bottom: 24px;
    font-style: italic;
    border-bottom: 1px solid #FFFFFF40;
    padding-bottom: 16px;
}

.member-name {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 30px;
    color: #F8F7F3;
    margin-bottom: 6px;
}


.member-details {
    font-size: 10px;
    color: #FFFFFFD1;
    margin-bottom: 20px;
    font-weight:700;
}



.profile-link {
    width:140px;
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

    .profile-link:hover {
        opacity: 0.8;
    }

/* Outer Section */
.memberships-section {
    padding: 80px 20px;
    font-family: var(--text-font);
    background: var(--color-background);
}

/* Header Two-Column Split Grid */
.memberships-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom:20px;

}

/* Horizontal Cards Grid (5 Columns) */
.memberships-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Outer wrapper to clip overflowing items */
.memberships-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
   
}

/* Track holding the pills, animated infinitely */
.memberships-slider-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee 25s linear infinite;
}
.memberships-slider-track-lr {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marqueenew 25s linear infinite;
}

/* Pause animation on hover so users can interact */
.memberships-slider-wrapper:hover .memberships-slider-track {
    animation-play-state: paused;
}

/* Rounded Pill Card Styling */
.membership-card {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

    .membership-card:hover {
        transform: translateY(-2px);
        background-color: color-mix(in srgb, var(--color-primary, #004157) 85%, white);
    }

   



/* Infinite Scrolling Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%); /* Moves half the distance (one full duplicate set) */
    }
}
@keyframes marqueenew {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0); /* Moves half the distance (one full duplicate set) */
    }
}
.heading-navy {
    color: var(--color-primary);
    font-family: var(--heading-font);
}


.card-arrow {
    font-size: 0.9rem;
    color: var(--color-primary);
    line-height: 1;
}

/* Card Title */
.membership-title {
    font-family: var(--heading-font);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin: 0;
    text-align: center;
}
.custom-border-new {
    border-bottom: 1px solid #a8b3b4;
    ;
}
.custom-bg{
   color:var(--color-primary);
   
    border:1px solid var(--color-primary)
}
.publication-journal-new {
    font-size: 0.7rem;
    color: var(--color-muted-text);
    margin: 0px;
    font-style: italic;
}
.nh-final {
    padding:80px 0;
  
}

.nh-final-card {
    position: relative;
    overflow: hidden;
    padding: 40px 10px;
    border-radius: 15px;
    color: #fff;
    text-align: center;
    background:var(--color-primary)
}

    .nh-final-card > * {
        position: relative;
        z-index: 1
    }


    .nh-final-card .nh-actions {
        margin-top: 35px
    }
.faq-item-custom-new {
    background-color: transparent;
    border-bottom: 1px solid #a8b3b4;
    padding: 0px;
    padding: 0px;
}
.nh-final-content{
    max-width:992px;
    margin:0 auto;
}
    .nh-final-content p {
      color: #ffffffb8;
    }

.new-heading {
    font-size: 40px;
}
.experience-section-new-bg{
    background:var(--color-primary);
}
.new-eyebrow {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #B49A78;
    font-family: var(--text-font);
    margin-bottom: 16px;
}
.navy-border{
    border:1px solid var(--color-primary)
}
/*Contact us page*/
.law-contact {
    background: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    display: grid;
    min-height:320px;
    width: min(calc(100% - 100px), 1840px);
    margin: 105px auto 0;
    place-items: center;
    border-radius: 28px;
    isolation: isolate;
}
    .law-contact h1 {
        color: var(--color-white);
        font-family: var(--heading-font);
        font-size: 40px;
        text-align: center;
        font-weight: 800;
    }

.contact-title {
    color: var(--color-primary);
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 40px;
    margin-top: 6px;
}

.law-contact-form{
    padding:80px 20px;
    background:var(--color-background);
   

    }
.law-contact-card {
    display: flex;
    align-items: start;
   
    gap: 16px;
    color: var(--color-text)
}
.law-contact-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
    color: #2d3748;
    font-size: 15px;
}
.law-contact-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
    color: #2d3748;
    font-size: 15px;
}

.law-mail-link {
   
    text-decoration: none;
    color:var(--color-text)
}
.law-contact-card {
    border-bottom: 1px solid #D5D3CD;
    padding-bottom:10px;
    max-width:510px;
}
.law-contact-card i {
    font-size:0.75rem;
}
.law-contact-office {
    color: var(--color-primary)
}
.consultation-box {
    border: 1.5px solid var(--color-primary);
    padding: 1rem 1.5rem;
    margin-top: 1.75rem;
    display: inline-block;
    background-color: transparent;
    border-radius: 14px;
/*    background: var(--color-light-teal);*/
}
.btn-consult {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 9.6px 0;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 14.4px;
    font-family: var(--text-font);
    text-decoration: none;
}

/*Featured page*/

/* Feature Hero Section */
.feature-hero-container {
    margin-top: 100px;
    position: relative;
    min-height: 450px;
    height: 50vh;
    max-height: 620px;
    background-color: var(--color-primary);
    overflow: hidden;
}

/* Image: right half, full height */
.feature-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    object-fit: cover; 
    object-position: center top;
    overflow: hidden;
    background-color: #1a1a1a;
}

    .feature-hero-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center 25%;
    }

    /* Fades the bottom of the photo into the primary colour so the description is readable */
    .feature-hero-image::after {
        content: "";
        position: absolute;
        inset: 0;
/*        background: linear-gradient(to top, var(--color-primary) 0%, transparent 55%);*/
        pointer-events: none;
    }

/* Text layer on top of both halves */
.feature-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 70px 80px 55px;
}

/* Heading: two lines, second one spans across the image */
.feature-hero-heading {
    margin: 0 0 32px;
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.015em;
}
.feature-hero-line:first-child {
    font-size: 0.55em; /* relative to the h1 size; lower = smaller */
    line-height: 1.1;
    margin-bottom: 0.15em; /* small gap above the big line */
}
.feature-hero-line {
    display: block;
    white-space: nowrap; /* keeps each line intact on desktop */
}

/* Description: starts at the left edge of the image */
.feature-hero-description {
    max-width: 520px;
    margin: 0 0 0 calc(50% - 80px); /* 80px = left padding of .feature-hero-content */
    line-height: 1.7;
    font-size: 0.95rem;
    font-family: var(--text-font);
    color: rgba(255, 255, 255, 0.75);
}

/* Tablet and mobile: image on top, then heading, then description */
/* Tablet and below: 1024px and under (image first, blue section below) */
@media (max-width: 1024px) {
    .feature-hero-container {
        position: relative !important;
        margin-top: 100px;
        height: auto !important;
        min-height: 450px !important;
        max-height: none !important;
        background-color: var(--color-primary) !important; /* left half blue */
        overflow: hidden;
    }

    /* Right half = image, full height, always */
    .feature-hero-image {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 50% !important;
        width: 50% !important;
        height: 100% !important;
        aspect-ratio: auto !important;
        max-height: none !important;
    }

        .feature-hero-image img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover;
            object-position: center 25%;
        }

    /* Text on top of both halves: heading, then description, in one column */
    .feature-hero-content {
        position: absolute;
        bottom:5px;
        z-index: 2;
        height: auto !important;
        min-height: 520px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end !important; /* text starts from the bottom */
        padding: 40px 16px 36px !important;
    }

    .feature-hero-heading {
        margin: 0 0 16px;
        font-size: clamp(2rem, 9vw, 3.2rem);
    }

    .feature-hero-line {
        white-space: normal;
    }

    .feature-hero-description {
        max-width: 100% !important;
        margin: 0 !important;
        font-size: 0.9rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.92);
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    }
}
/* Base Card Styles */
.feature-publications-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.feature-publication-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 14px;
    border: 1px solid #E8E6E0;
    border-radius: 16px;
    background-color: var(--color-light-teal);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

    .feature-publication-card:hover {
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
        transform: translateY(-3px);
    }

/* Base Image Block */
.feature-publication-image-link {
    display: block;
    width: 100%;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
}


.feature-publication-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-publication-card:hover .feature-publication-image {
    transform: scale(1.04);
}

/* Content Area */
.feature-publication-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 6px 6px;
}

.feature-publication-heading {
    position: relative;
    width: 100%;
}

.feature-publication-title {
    margin: 0;
    padding-right: 26px;
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

    .feature-publication-title a {
        width: 100%;
        color: inherit;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .feature-publication-title a:hover {
            color: #004157;
        }

.feature-publication-arrow {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-publication-card:hover .feature-publication-arrow {
    color: #004157;
    transform: translate(3px, -3px);
}

.feature-publication-desc {
    margin: 8px 0 0;
    font-size: 0.9rem;
    line-height: 1.6;
    font-family: var(--text-font);
    color: var(--color-muted-text);
}
/*======================Practice Page=================*/
.law-practice-section{
    background:var(--color-primary);
    padding:80px 0;

}
.beige-bg{
    background:var(--color-background)!important;
}
.law-practice-hero {
    position: relative;
    margin-top: 100px;
    min-height: 40vh;
    display: flex;
    align-items: stretch;
    font-family: var(--heading-font);
    font-weight: 800;
    color: var(--color-white);
    /* Unsplash photo: Vitaly Gariev - business people signing a contract at a table */
    background: url("https://images.unsplash.com/photo-1758518731462-d091b0b4ed0d?auto=format&fit=crop&w=2000&q=70") center / cover no-repeat;
    background-color: #1b1f24; /* fallback while the image loads */
    overflow: hidden;
}

    /* Dark overlay for text legibility */
    .law-practice-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, rgba(10, 14, 20, 0.70) 0%, rgba(10, 14, 20, 0.45) 45%, rgba(10, 14, 20, 0.80) 100% );
    }

    .law-practice-hero > .container {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-top: 72px;
        padding-bottom: 56px;
    }

.law-practice-heading {
    font-family:var(--heading-font);
    font-weight: 400;
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 14em;
    margin: 0;
}

.law-practice-heading-serif {
    font-weight: 400;
    letter-spacing: -0.01em;
}

    .law-practice-heading-serif em {
        font-style: italic;
    }

.law-practice-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #ffffff;
    margin: 0;
    font-family: var(--text-font);
}

.law-practice-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    font-family:var(--text-font);
}

.law-practice-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--law-practice-ink);
    background: var(--law-practice-white);
    border: 1px solid var(--law-practice-white);
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

    .law-practice-btn:hover,
    .law-practice-btn:focus-visible {
        background: transparent;
        color: var(--law-practice-white);
    }

.law-practice-link {
    font-size: 0.85rem;
    color: var(--law-practice-white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
}

    .law-practice-link:hover,
    .law-practice-link:focus-visible {
        color: var(--law-practice-white);
        border-bottom-color: var(--law-practice-white);
    }

.law-practice-bottom {
    margin-top: 64px;
}

@media (max-width: 991.98px) {
    .law-practice-hero > .container {
        padding-top: 56px;
        padding-bottom: 40px;
    }

    .law-practice-bottom {
        margin-top: 48px;
    }
}

@media (max-width: 575.98px) {
    .law-practice-hero {
        min-height: 90vh;
    }

    .law-practice-actions {
        gap: 18px;
    }
}
.practice-work-section {

    padding: 80px 0;
}

.law-practice-steps {
    position: relative;
    padding:20px 0;
}

    /* Dashed connecting line (desktop only) */
    .law-practice-steps::before {
        content: "";
        position: absolute;
        top: 65px; /* centre of the icon circle */
        left: 16.66%;
        right: 16.66%;
        border-top: 2px dashed var(--color-primary);
        z-index: 0;
    }

.law-practice-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.law-practice-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light-teal);
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

    .law-practice-icon svg {
        width: 38px;
        height: 38px;
        stroke: var(--color-primary);
        fill: none;
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.law-practice-title {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.35;
}

.law-practice-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-muted-text);
    max-width: 280px;
    margin: 0 auto;
}

/* Tablet and mobile: stack steps, hide the horizontal line */
@media (max-width: 767.98px) {
    .law-practice-section {

        padding: 56px 0;
    }

    .law-practice-steps::before {
        display: none;
    }

    .law-practice-step {
        margin-bottom: 40px;
    }

        .law-practice-step:last-child {
            margin-bottom: 0;
        }
}
.law-practice-commitment {
    padding: 60px 0;
    background:var(--color-primary);
}

.law-practice-description p {
    font-size: 15px;
    line-height: 1.5;
    color: #ffffffb8;
    margin-bottom: 16px;
}

    .law-practice-description p:last-child {
        margin-bottom: 0;
    }

/* Image */
.law-practice-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    background: var(--law-practice-bg-soft); /* shows if the image is missing */
    aspect-ratio: 4 / 3;
}

.law-practice-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.legal-client-lists li {
    font-size: 0.9rem;
    font-family: var(--text-font);
    color: var(--color-muted-text);
}

/*===================== Intellectual Property ===================*/

/* Slider */
.cards-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.cards-track {
    display: flex;
    align-items: stretch; /* all cards same height */
    width: max-content;
    will-change: transform;
    transition: transform .6s ease;
}

.cards-slide {
    flex: 0 0 auto;
    padding: 0 12px;
    box-sizing: border-box;
    width: 400px; /* overridden by your inline 480px */
}

    .cards-slide .practice-card.new {
        height: 100%;
    }

/* Active (featured) vs inactive text colors.
   Inline colors are stripped by JS so the class can switch them. */
.practice-card.new:not(.featured) .card-title {
    color: #fff;
}

.practice-card.new:not(.featured) .card-text,
.practice-card.new:not(.featured) .card-text li {
    color: #ffffffb8;
}

.practice-card.new.featured .card-text,
.practice-card.new.featured .card-text li {
    color: #687377;
}

/* Nav */
.cards-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 1.5rem;
}

.cards-arrow {
    width: 44px;
    height: 44px;
 border:none;
   
    background: transparent;
    color: #ffffffb8;
    cursor: pointer;
    transition: background .2s, color .2s;
}


@media (max-width: 575.98px) {
    .cards-slide {
        width: min(370px, calc(100vw - 32px)) !important;
    }
    .cards-slide {
        padding: 0 8px;
    }

    .cards-nav {
        margin-top: 1.25rem;
        gap: 14px;
    }
}

@media (max-width: 575.98px) {
    .cards-slide {
        padding: 0 8px;
    }

    .cards-nav {
        margin-top: 1.25rem;
        gap: 14px;
    }
}
    .cards-arrow:hover {
        background: #0b1f3a;
        color: #fff;
    }

.cards-dots {
    display: flex;
    gap: 8px;
}

    .cards-dots button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 0;
        padding: 0;
        background: #c4cbd0;
        cursor: pointer;
        transition: width .3s, background .3s;
    }

        .cards-dots button.is-active {
            width: 28px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.1);
        }

@media (prefers-reduced-motion: reduce) {
    .cards-track {
        transition: none;
    }
}
/* Accessibility: Stop animation if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cards-track {
        animation: none;
    }
}
.trademark-checklist {
    list-style: none;
    padding-left: 0;
    margin-top: 16px;
}
    .trademark-checklist li {
        position: relative;
        padding-left: 28px;
        margin-bottom: 12px;
        color: #ffffffb8;
        line-height: 1.6;
    }

        .trademark-checklist li::before {
            content: "✓";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 3px;
            color: #B49A78;
            font-size: 13px;
        }
/*Blog Deatil Page*/
/* Card Wrapper Styling */
.content-card {
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    height: 100%;
   
}

/* Accent Line beneath Headings */
.heading-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    font-size: 30px;
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--color-text);
}

    .heading-underline::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 45px;
        height: 3px;
        background:var(--color-warm-accent);
        border-radius: 2px;
    }

/* Sidebar Recent Blogs Styling */
.sidebar-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
}

.sidebar-title {
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-family: var(--heading-font);
}

.blog-item {
    display: flex;
    flex-direction: column; /* Stacks image on top, text below */
    padding: 16px 0;
    border-bottom: 1px solid #f2f4f7;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

    .blog-item:last-child {
        border-bottom: none;
    }

    .blog-item:hover .blog-title {
        transform:translateY(-3px)
    }

.blog-thumb {
    width: 100%; /* Spans full width of the sidebar column */
    height: 180px; /* Adjust height as needed */
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 0; /* Removed horizontal margin */
    margin-bottom: 12px; /* Added vertical spacing below image */
}

.blog-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--text-font);
}

.blog-date {
    font-size: 0.78rem;
    color: var(--color-muted-text);
    display: flex;
    align-items: center;
    gap: 5px;
}
.versus-heading {
    font-size: 20px;
    line-height: 1.3;
    margin: 1em 0 .5em;
    padding-left: 16px;
    border-left: 4px solid var(--color-primary);
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--color-text);
}
.blog-heading {
    font-size: 30px;
    line-height: 1.3;
    margin: 1em 0 .5em;
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--color-text);
}
.blog-subheading {
    font-size: 25px;
    line-height: 1.3;
    margin: 1em 0 .5em;
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--color-text);
}
/*TABLE STYLING*/
/* TABLE STYLING */
.comparison-table-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    font-family: var(--text-font);
    color: #000000;
    overflow-x: auto; /* keeps the page from scrolling sideways on small screens */
}

/* Base Table Setup */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    border-radius: 14px;
    overflow: hidden; /* clips the corners so the header and last row are rounded */
}

    /* Column Headers */
    .comparison-table th {
        font-size: 1.1rem;
        font-weight: 700;
        text-align: center;
        vertical-align: middle;
        padding: 16px 20px;
        color: #ffffff;
        background: var(--color-primary);
        border-right: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
    }

    /* Table Body Cells */
    .comparison-table td {
        font-size: 1.05rem;
        line-height: 1.5;
        padding: 14px 20px;
        vertical-align: middle;
        text-align: center;
        color: var(--color-muted-text);
        background: var(--color-light-teal);
        border-right: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
    }

   

    /* Remove the extra white lines on the outer edges */
    .comparison-table th:last-child,
    .comparison-table td:last-child {
        border-right: none;
    }

    .comparison-table tbody tr:last-child td {
        border-bottom: none;
    }

    /* First column (row labels), matching the "Factor" column in your reference */
    .comparison-table td:first-child {
        font-weight: 500;
    }
/* CTA BUTTON */
.blog-btn-consult {
    display: inline-block;
    max-width: 100%;
    padding: 14px 28px;
    font-family: var(--text-font);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

    .blog-btn-consult:hover,
    .blog-btn-consult:focus {
        background: transparent;
        color: var(--color-primary);
        transform: translateY(-2px);
    }

    .blog-btn-consult:active {
        transform: translateY(0);
    }
/* Dynamic blog content (admin-authored HTML).
   :where() keeps specificity at zero so classes like .blog-heading still win. */
:where(.blog-content) p,
:where(.blog-content) li {
    font-size: 0.9rem;
    font-family: var(--text-font);
    color: var(--color-muted-text);
}

:where(.blog-content) h2,
:where(.blog-content) h3,
:where(.blog-content) h4 {
    line-height: 1.3;
    margin: 1em 0 .5em;
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--color-text);
}

:where(.blog-content) h2 { font-size: 30px; }
:where(.blog-content) h3 { font-size: 25px; }

:where(.blog-content) img {
    max-width: 100%;
    height: auto;
}
body .swal2-container .swal2-popup .swal2-actions button.swal-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 9.6px 20px;
    font-weight: 600;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 13px;
    font-family: var(--text-font);
    text-decoration: none;
    border: none;
}
.swal-high-zindex {
    z-index: 99999 !important;
    font-family: var(--text-font);
}
.swal2-popup.swal-mobile-popup {
    padding: 1rem !important;
    max-width: 420px !important; /* Sets a compact max width on mobile */
}
/* Title size */
.swal-mobile-title {
    color:var(--color-primary);
   
}

/* Body text size */
.swal-mobile-text {
    color:var(--color-muted-text);
   
}

/* Mobile adjustments for SweetAlert */
@media (max-width: 576px) {
    /* Main dialog box container */
    .swal2-popup.swal-mobile-popup {
        padding: 1rem !important;
        max-width: 300px !important; /* Sets a compact max width on mobile */
    }

    /* Icon scaling */
    .swal2-popup .swal2-icon {
        transform: scale(0.75);
        margin: 0.5rem auto !important;
    }

    /* Title size */
    .swal-mobile-title {
        font-size: 1.25rem !important;
        margin-bottom: 0.5rem !important;
    }

    /* Body text size */
    .swal-mobile-text {
        font-size: 0.875rem !important;
        margin-top: 0.25rem !important;
    }

    /* Button size */
    .swal-contact-button {
        font-size: 0.85rem !important;
        padding: 8px 16px !important;
    }
}
/* 1. Hide ALL sublists by default */
.level-1-sublist,
.level-2-sublist {
    display: none !important;
}

/* --- DESKTOP (Hover) & MOBILE (Tap / Focus) --- */

/* Level 1: Open "Trademark Law" on hover or tap */
.level-1-group:hover > .level-1-sublist,
.level-1-group:focus-within > .level-1-sublist {
    display: block !important;
}

/* Level 2: Open sub-items on hover or tap */
.level-2-group:hover > .level-2-sublist,
.level-2-group:focus-within > .level-2-sublist {
    display: block !important;
}

