﻿/* LawFirma small global overrides (safe, minimal) */
:root {
    --lf-topbar-h: 44px;
}
.lf-topbar {
    background: var(--judges-black, #0b1220);
    color: rgba(255,255,255,.88);
    border-bottom: 1px solid rgba(255,255,255,.10);
    font-family: var(--judges-font, "Lato", sans-serif);
    font-size: 14px;
    height: 44px;
}

.lf-topbar {
    position: sticky;
    top: 0;
    z-index: 10050; /* above header/menu */
}

.stricky-header,
.stricked-menu,
.main-header-two.stricky-fixed,
.main-header-two.stricky-header,
.main-menu-two.stricky-fixed {
    top: var(--lf-topbar-h) !important;
    z-index: 10040;
}

/* Optional: subtle separation when it sticks */
.lf-topbar {
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.lf-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}

.lf-topbar__left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.lf-topbar__brand {
    font-weight: 700;
    letter-spacing: .2px;
}

.lf-topbar__sep {
    opacity: .35;
}

.lf-topbar__tag {
    opacity: .75;
}

/* Language dropdown */
.lf-lang__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.92);
    font-size: 13px;
    line-height: 1;
}

.lf-lang__btn:hover {
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.98);
}

.lf-lang__btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,.10);
}

.lf-lang__menu {
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.08);
    padding: 6px;
    min-width: 180px;
    z-index: 1400;
}

.lf-lang__menu .dropdown-item {
    border-radius: 10px;
    padding: 10px 12px;
}

.lf-lang__menu .dropdown-item:hover {
    background: rgba(0,0,0,.05);
}

.main-header-two {
    top: var(--lf-topbar-height);
}

.sticky-header {
    top: var(--lf-topbar-height) !important;
}

@media (max-width: 575.98px) {
    .lf-topbar__tag,
    .lf-topbar__sep {
        display: none;
    }
    
    :root {
        --lf-topbar-height: 42px;
    }
}
/* Fix About Two alignment (points list vs vision/mission divider) */
.about-two__points-and-vission-mission {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.about-two__points-box {
    flex: 0 0 260px;
    max-width: 260px;
}

.about-two__points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-two__points li p {
    margin: 0;
}

.about-two__vission-mission {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 10px;
    /* border-left: 1px solid rgba(0, 0, 0, .12); */
}

/* Equal-height service cards WITHOUT truncation */
.services-two .row {
    display: flex;
    flex-wrap: wrap;
}

    .services-two .row > [class*="col-"] {
        display: flex;
    }

/* Card stretches to the tallest card in the row */
.services-two__single {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Keeps the "Read More" aligned at bottom for every card */
.services-two__read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Optional: make titles occupy consistent space (still no truncation) */
.services-two__title {
    min-height: 3.2em; /* adjust if you want tighter/looser */
}

/* Equal-height Feature cards (NO truncation / NO ellipsis) */
.feature-one .lf-eq-feature {
    display: flex;
    flex-wrap: wrap;
}

    .feature-one .lf-eq-feature > [class*="col-"] {
        display: flex;
    }

.feature-one__single {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Pin CTA to bottom so all cards align */
.feature-one__read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Optional: normalize title block height (prevents unevenness from wrapping) */
.feature-one__title {
    min-height: 3.2em;
}

/* --- Contact CTA select dropdown fix (prevents clipping) --- */
.contact-two,
.contact-two .container,
.contact-two__inner,
.contact-two__form,
.contact-two__input-box,
.contact-two .select-box,
.contact-two .selectmenu {
    overflow: visible !important;
}

/* If your template uses Nice Select */
.contact-two .nice-select {
    width: 100%;
}

.contact-two .nice-select .list {
    max-height: 320px; /* prevents huge dropdown */
    overflow-y: auto; /* scroll instead of extending */
    z-index: 99999 !important; /* ensure it sits above nearby panels */
}

/* --- Style Nice Select "group headers" created via disabled options --- */
.contact-two .nice-select .option[data-value^="__group__"] {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    opacity: .75;
    cursor: default;
    padding-top: 14px;
    padding-bottom: 10px;
}

/* Prevent hover/selected background on headers */
.contact-two .nice-select .option[data-value^="__group__"]:hover,
.contact-two .nice-select .option[data-value^="__group__"].selected {
    background: transparent !important;
}
